CN115859909B - Collaborative document annotation display method, collaborative document annotation display device, server and storage medium - Google Patents

Collaborative document annotation display method, collaborative document annotation display device, server and storage medium Download PDF

Info

Publication number
CN115859909B
CN115859909B CN202310152870.XA CN202310152870A CN115859909B CN 115859909 B CN115859909 B CN 115859909B CN 202310152870 A CN202310152870 A CN 202310152870A CN 115859909 B CN115859909 B CN 115859909B
Authority
CN
China
Prior art keywords
annotation
document
attribute
authority
identifier
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.)
Active
Application number
CN202310152870.XA
Other languages
Chinese (zh)
Other versions
CN115859909A (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.)
Tianjin Lenovo Collaboration Technology Inc
Original Assignee
Tianjin Lenovo Collaboration Technology Inc
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 Tianjin Lenovo Collaboration Technology Inc filed Critical Tianjin Lenovo Collaboration Technology Inc
Priority to CN202310152870.XA priority Critical patent/CN115859909B/en
Publication of CN115859909A publication Critical patent/CN115859909A/en
Application granted granted Critical
Publication of CN115859909B publication Critical patent/CN115859909B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

The embodiment of the invention discloses a collaborative document annotation display method, a collaborative document annotation display device, a server and a storage medium. Wherein the method comprises the following steps: receiving and checking annotation display operation, acquiring all annotation attribute in the metadata of the collaboration document, selecting the endorsements with the viewing authority of the current user from all endorsements according to the rights attribute to obtain visible endorsements; traversing the structure of the collaborative document to obtain an annotation identifier corresponding to the visible annotation in the document structure; and adjusting the display attribute of the visible annotation identifier to be visible so that the collaborative document only displays the annotation content corresponding to the visible annotation identifier. The method can avoid the influence of a large amount of annotation content which is generated by the collaborators and is irrelevant to the current user on the reading of the collaborative document, enhance the readability of the annotation content in the collaborative document, avoid the misdeletion and misoperation of the annotation content, and promote the processing efficiency of the collaborative document.

Description

Collaborative document annotation display method, collaborative document annotation display device, server and storage medium
Technical Field
The embodiment of the invention relates to the technical field of collaborative documents, in particular to a collaborative document annotation display method, a collaborative document annotation display device, a server and a storage medium.
Background
With the development of computer and network technologies, collaborative offices are becoming more and more popular. The multi-person collaborative online document is a main tool for collaborative office. For the same online document, corresponding authority can be set for personnel to determine the collaborators, so that the purposes that a plurality of collaborators can perform operations such as simultaneous deletion, correction and the like on the document content are achieved.
In the collaboration document, collaborators can add auxiliary content such as endorsements to the content in the collaboration document for viewing by themselves or other collaborators, and can modify or make comments on the collaboration document according to the endorsed content.
In the process of realizing the invention, the inventor finds the following technical problems: in general, more collaborative users exist in the collaborative document, so that the number of endorsements in the document is increased sharply, wherein most of endorsements are irrelevant to the current user, and not only can reading interference be generated on the endorsements, but also the readability of the collaborative document is reduced sharply. Meanwhile, the difficulty of annotation management is increased, the conditions of misdeletion, mismodification and the like are easy to generate, and the processing efficiency of the collaborative document is greatly reduced.
Disclosure of Invention
The embodiment of the invention provides a collaborative document annotation display method, a collaborative document annotation display device, a server and a storage medium, which are used for solving the technical problem of reducing collaborative document processing efficiency caused by a large number of annotations in collaborative documents.
In a first aspect, an embodiment of the present invention provides a collaborative document annotation display method, including:
receiving and checking annotation display operation, acquiring all annotation attribute in the metadata of the collaboration document, selecting the endorsements with the viewing authority of the current user from all endorsements according to the rights attribute to obtain visible endorsements;
traversing the structure of the collaborative document to obtain an annotation identifier corresponding to the visible annotation in the document structure;
and adjusting the display attribute of the visible annotation identifier to be visible so that the collaborative document only displays the annotation content corresponding to the visible annotation identifier.
In a second aspect, an embodiment of the present invention further provides a collaborative document annotation display device, including:
a receiving module for receiving and viewing the annotation display operation, acquiring all the annotation attribute from the metadata of the collaboration document, selecting the endorsements with the viewing authority of the current user from all endorsements according to the rights attribute to obtain visible endorsements;
the traversing module is used for traversing the structure of the collaborative document and acquiring an annotation identifier corresponding to the visible annotation in the document structure;
and the adjustment module is used for adjusting the display attribute of the visible annotation identifier to be visible so that the collaborative document only displays the annotation content corresponding to the visible annotation identifier.
In a third aspect, an embodiment of the present invention further provides a server, including:
one or more processors;
a storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the collaborative document annotation display method provided in the above embodiments.
In a fourth aspect, embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a collaborative document annotation display method as provided by the above embodiments.
The collaborative document annotation display method, the collaborative document annotation display device, the server and the storage medium provided by the embodiment of the invention are characterized in that by receiving the annotation display operation, acquiring all annotation attribute in metadata of the collaboration document, and screening the annotations with viewing rights of the current user from all annotations according to the attribute of the annotation to obtain visible annotations; traversing the structure of the collaborative document to obtain an annotation identifier corresponding to the visible annotation in the document structure; and adjusting the display attribute of the visible annotation identifier to be visible so that the collaborative document only displays the annotation content corresponding to the visible annotation identifier. And determining the endorsement with the association relation with the current user by utilizing the authority corresponding to the endorsement, and adjusting the display attribute of the endorsement with the association relation so that the current collaboration document only displays the endorsement content with the association relation with the current user. The method can avoid the influence of a large amount of annotation content which is generated by the collaborators and is irrelevant to the current user on the reading of the collaborative document, enhance the readability of the annotation content in the collaborative document, avoid the misdeletion and misoperation of the annotation content, and promote the processing efficiency of the collaborative document.
Drawings
Other features, objects and advantages of the present invention will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the accompanying drawings in which:
FIG. 1 is a flowchart of a collaborative document annotation display method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a collaborative document annotation display method provided in a second embodiment of the present invention;
FIG. 3 is a flowchart of a collaborative document annotation display method provided by a third embodiment of the present invention;
FIG. 4 is a block diagram of a collaborative document annotation display device according to a fourth embodiment of the present invention;
fig. 5 is a structural diagram of a server according to a fifth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1 is a flowchart of a collaborative document annotation display method provided by an embodiment of the present invention, where the embodiment may be applicable to a case where a large number of annotations exist in a collaborative document and the annotations are displayed in a targeted manner, the method may be executed by a collaborative document annotation display device and may be set in a server, and specifically includes the following steps:
and 110, receiving a comment checking display operation, acquiring all the attribute of the comments in the metadata of the collaborative document, and screening the comments with the checking authority of the current user from all the comments according to the attribute of the rights to obtain the visible comments.
In this embodiment, after opening the collaborative document, the user may select to close or open the display state of the annotation of the collaborative document. Specifically, the display state of the middle annotation of the collaborative document can be opened by checking the annotation display operation.
When receiving the operation of checking the annotation display, the corresponding authorities of all the annotations in the collaborative document need to be checked. The rights may include: preview rights or editing rights set for each collaborator. In the collaboration document, the comments in the collaboration document may be rights managed by the server. In particular, the management and control data can be recorded in metadata of the collaboration document, and the metadata can be stored in an online document server.
And acquiring authority information of all endorsements in the collaboration document by searching metadata of the collaboration document, wherein the authority information is recorded in a property mode. Because the rights attributes correspond to different collaborators, the ID of the current user can be used as a query condition to screen and obtain endorsements with viewing rights of the current user, and the endorsements with viewing rights comprise: endorsements with preview or editing rights. The result of the screening was annotated as visible.
And 120, traversing the structure of the collaborative document, and acquiring an annotation identifier corresponding to the visible annotation in the document structure.
In this embodiment, the annotation content and related information may be embedded in the document structure in the collaboration document, forming the overall document content. By way of example, the comment identifier may be utilized in the document structure as a comment identifier and the comment identifier may be utilized to write the content of the comment and other related information, such as: the annotators, the annotating attention person, the annotating time, the corresponding cell, paragraph or sentence information and whether the annotating displays the corresponding switch code. Each annotation corresponds to an annotation identifier.
Thus, the annotation identifier corresponding to the visible annotation described above may be found by traversing the overall structure of the collaborative document. By way of example, the annotation identifier corresponding to the annotation can be obtained from the correspondence between the annotation ID and the ID of the annotation identifier in the metadata.
And 130, adjusting the display attribute of the visible annotation identifier to be visible, so that the collaborative document only displays annotation content corresponding to the visible annotation identifier.
In this embodiment, the display switch of the annotation is embodied by an annotation identifier. When the collaborative document is loaded, determining whether to load the corresponding annotation content through the display switch of the annotation. The annotation display switch is illustratively implemented by a display bit in the annotation identifier, e.g., not displayed when 0 and displayed when 1. And inquiring and determining the annotation identifier of the corresponding visible annotation according to the steps, and adjusting the display bit in the annotation identifier to be 1. Accordingly, the display bit in the other annotation identifiers may also be adjusted to 0 so that the collaboration document only displays annotation content that is visible to the current user.
The present embodiment obtains all annotation attributes in the metadata of the collaborative document by receiving the view annotation display operation, selecting the endorsements with the viewing authority of the current user from all endorsements according to the rights attribute to obtain visible endorsements; traversing the structure of the collaborative document to obtain an annotation identifier corresponding to the visible annotation in the document structure; and adjusting the display attribute of the visible annotation identifier to be visible so that the collaborative document only displays the annotation content corresponding to the visible annotation identifier. And determining the endorsement with the association relation with the current user by utilizing the authority corresponding to the endorsement, and adjusting the display attribute of the endorsement with the association relation so that the current collaboration document only displays the endorsement content with the association relation with the current user. The method can avoid the influence of a large amount of annotation content which is generated by the collaborators and is irrelevant to the current user on the reading of the collaborative document, enhance the readability of the annotation content in the collaborative document, avoid the misdeletion and misoperation of the annotation content, and promote the processing efficiency of the collaborative document.
Example two
Fig. 2 is a flow chart of a collaborative document annotation display method according to a second embodiment of the present invention. In this embodiment, all endorsement attributes may be obtained from metadata of the collaboration document, and endorsements having viewing rights of a current user may be screened from all endorsements according to the attribute of the endorsements, which is specifically optimized as follows: acquiring all annotation attribute in metadata of the collaboration document, screening the annotations with public rights and the annotations with the private rights of the current user, wherein the annotations with the private rights of the current user comprise the following steps: the endorsements of the prompt pointed to by the current user are arranged in endorsement identifiers created by the current user and the endorsements created by other users.
Correspondingly, the collaborative document annotation display method provided by the embodiment specifically comprises the following steps:
step 210, receiving and checking annotation display operation, acquiring all the annotation attribute in the metadata of the collaboration document, screening the annotation with public authority and the annotation with the private authority of the current user, and obtaining the visible annotation.
The endorsements visible to the current user are typically endorsements with private and public properties, which may be endorsements added by the user themselves. The endorsements of the common attribute may be endorsements created by other collaborators and set to be endorsements viewable by all collaborators.
In this embodiment, the endorsement with the private authority of the current user may include:
the endorsements of the prompt pointed to by the current user are arranged in endorsement identifiers created by the current user and the endorsements created by other users. And the endorsement identifier created by the other users is provided with endorsements pointing to the prompt of the current user, and the endorsement identifier comprises: the endorsement identifiers created by other users are provided with endorsements of visible identifier prompt identifiers of the current users; the endorsement identifier created by other users is provided with endorsements which do not include the shielding identification prompt of the current user.
For example, the collaboration document may support a user to set rights for other collaborators on endorsements that have rights to themselves. Specifically, corresponding symbols and rights objects can be written in the annotation correspondingly. The collaboration document may convert the respective tokens to corresponding annotation identifiers. And the server analyzes the annotation identifier in the collaboration document, acquires corresponding authority information, and writes the authority information into metadata.
For example: the current user may add the @ @ mark after annotating and add the corresponding collaborator ID after @, which may be multiple. Correspondingly, the annotation identifier is correspondingly added with a corresponding @ @ mark, and correspondingly written with the collaborator ID. The server can acquire the information from the annotation identifier, analyze the information, determine the information as an added authority mark in the authority control mark through the @ @ mark, acquire a collaborator corresponding to the corresponding authority, and write the collaborator into the authority metadata.
In addition, the user can add a # mark in the annotation and write a corresponding collaborator ID after the mark, and the collaborator IDs can be multiple. The corresponding # mark is correspondingly added in the note identifier, and the corresponding partner ID is written. The server can acquire the information from the annotation identifier, analyze the information, determine the information as a permission removal mark in the permission control marks, endow viewing and editing permission to other collaborators except the written collaborator ID, and correspondingly write the viewing and editing permission into the metadata.
And 220, traversing the structure of the collaborative document, and acquiring an annotation identifier corresponding to the visible annotation in the document structure.
And 230, adjusting the display attribute of the visible annotation identifier to be visible, so that the collaborative document only displays annotation content corresponding to the visible annotation identifier.
According to the embodiment, all the endorsement attribute is obtained from the metadata of the collaboration document, and endorsements with viewing rights of the current user are screened from all the endorsements according to the attribute of the endorsement attribute, and the method is specifically optimized as follows: acquiring all annotation attribute in metadata of the collaboration document, screening the annotations with public rights and the annotations with the private rights of the current user, wherein the annotations with the private rights of the current user comprise the following steps: the endorsements of the prompt pointed to by the current user are arranged in endorsement identifiers created by the current user and the endorsements created by other users. The method is convenient for the collaborators to flexibly set the authority of other collaborators on the current annotation according to the actual condition of the document. And the information in the authority identifier is analyzed through the server and written into the metadata for flexible management and control. Compared with the traditional way of adding annotation copies for the annotations with different authorities to realize authority management and control, a plurality of copies are not required to be established, and when the authorities change, the annotation copies are not required to be modified or added newly, so that the storage pressure is reduced. The method is more suitable for the situation that the annotation authority flexibly changes.
In a preferred implementation of this embodiment, the method may further comprise the steps of: checking authority attributes of the document areas corresponding to the endorsements; comparing the authority attribute of the document area with the authority attribute generated by the annotation with the prompt pointed to the current user in the annotation identifier created by other users, and when the authority attribute is inconsistent, modifying the authority attribute generated by the annotation with the prompt pointed to the current user in the annotation identifier created by other users to be consistent with the authority attribute of the document area, and determining the sponsor of the annotation with inconsistent attribute of the authority; setting an error prompt to the sponsor. Because the collaboration document can set different rights for different paragraph areas for different collaborators, an initiator adopting the identifier increasing manner to increase the rights of other collaborators to the annotation may not know the rights of the paragraph to the collaborators, which results in rights conflict and leakage. Therefore, the authority attribute of the document area needs to be compared with the authority attribute generated by the endorsement with the prompt pointed to the current user in the endorsement identifier created by other users, whether the authority conflict exists or not is determined, and under the condition that the authority conflict exists, the prompt is sent to the user with the prompt pointed to the current user, namely the initiator, so that the risk of disclosure caused by the authority conflict is avoided.
Example III
Fig. 3 is a schematic flow chart of a collaborative document annotation display method according to a third embodiment of the present invention. The method may further comprise the steps of: receiving a new annotation operation on the original annotation; determining a corresponding relation with the original annotation according to the newly added annotation operation; and determining the authority attribute of the newly added annotation according to the corresponding relation.
Correspondingly, the collaborative document annotation display method provided by the embodiment specifically comprises the following steps:
step 310, receiving a new annotation operation on the original annotation.
In the collaborative document, since there are a plurality of collaborators, there may be an additional annotation operation of generating a new annotation on the original annotation. The adding annotation operation may include: and newly adding annotation content into the original annotation content. Or adding other annotations in the range of the annotation region corresponding to the original annotation.
Step 320, determining a corresponding relation with the original annotation according to the newly added annotation operation.
The annotation content is newly added in the original annotation content, and in this case, the corresponding relationship can be determined as an inheritance relationship;
and if other annotations are newly added in the range of the annotation region corresponding to the original annotation, determining that the corresponding relationship is a merging relationship. For example, the document area of the newly added annotation and the document area of the original annotation can be obtained; and determining a merging relation when the content of the newly added annotated document region and the content of the original annotated document region are overlapped.
And 330, determining the authority attribute of the newly added annotation according to the corresponding relation.
When the relationship is inheritance, the authority of the newly added annotation inherits the authority of the original annotation, so that the collaborators corresponding to the newly added annotation can view the related information of the previous annotation, and the efficiency of document collaborative editing is improved.
And when the relationship is a merging relationship, merging the authority of the newly added annotation and the authority of the original annotation, and merging the authority attribute of the newly added annotation and the authority attribute of the original annotation. And modifying the authority attribute of the original annotation and adding the authority attribute of the newly added annotation. The collaborators corresponding to the original annotation and the collaborators of the newly added annotation have the same authority. The method and the system avoid that original collaborators and newly added collaborators can not know the overall information of annotation.
And 340, receiving a comment checking display operation, acquiring all the attribute of the comments in the metadata of the collaborative document, and screening the comments with the checking authority of the current user from all the comments according to the attribute of the rights to obtain the visible comments.
And 350, traversing the structure of the collaborative document, and acquiring an annotation identifier corresponding to the visible annotation in the document structure.
And step 360, adjusting the display attribute of the visible annotation identifier to be visible, so that the collaborative document only displays annotation content corresponding to the visible annotation identifier.
The embodiment adds the following steps: receiving a new annotation operation on the original annotation; determining a corresponding relation with the original annotation according to the newly added annotation operation; and determining the authority attribute of the newly added annotation according to the corresponding relation. The permission of the newly added annotation can be flexibly set according to the situation of the newly added annotation content. The related collaborators can fully know the newly added annotation content and the previous annotation content, and the efficiency of editing the collaborative document by using the annotation is improved.
In a preferred implementation of this embodiment, the method may further comprise the steps of: acquiring a document area corresponding to the newly added annotation operation; and taking the document area corresponding to the newly added annotation operation as a priority display document area, so that when the collaborative document is opened, the document area is jumped to the priority display document area. For example, a priority display bookmark may be set in a document area corresponding to the newly added annotation operation, and when the collaborative document is loaded, the method jumps to the priority display document area. Further, the permission attribute of the bookmark can be set to be private to the current user so as to avoid conflict with other collaborators. Furthermore, sequential labels can be set in the bookmark identifier, when a plurality of newly added annotations exist, the current user can conveniently and quickly jump to a document area corresponding to the next newly added annotation, and the collaborative document editing efficiency is further improved by utilizing the annotations.
Example IV
Fig. 4 is a schematic structural diagram of a collaborative document annotation display device according to a fourth embodiment of the present invention, as shown in fig. 4, where the device includes:
the receiving module 410 is configured to receive an annotation viewing display operation, obtain all the attribute of the right of the annotation from the metadata of the collaboration document, and screen the annotation with the viewing authority of the current user from all the annotations according to the attribute of the right to obtain a visible annotation;
the traversing module 420 is configured to traverse the structure of the collaborative document, and obtain an annotation identifier corresponding to the visible annotation in the document structure;
and the adjustment module 430 is configured to adjust the display attribute of the visible annotation identifier to be visible, so that the collaborative document only displays annotation content corresponding to the visible annotation identifier.
The collaborative document annotation display device provided by the embodiment obtains all annotation attribute in the metadata of the collaborative document by receiving the operation of viewing the annotation display, selecting the endorsements with the viewing authority of the current user from all endorsements according to the rights attribute to obtain visible endorsements; traversing the structure of the collaborative document to obtain an annotation identifier corresponding to the visible annotation in the document structure; and adjusting the display attribute of the visible annotation identifier to be visible so that the collaborative document only displays the annotation content corresponding to the visible annotation identifier. And determining the endorsement with the association relation with the current user by utilizing the authority corresponding to the endorsement, and adjusting the display attribute of the endorsement with the association relation so that the current collaboration document only displays the endorsement content with the association relation with the current user. The method can avoid the influence of a large amount of annotation content which is generated by the collaborators and is irrelevant to the current user on the reading of the collaborative document, enhance the readability of the annotation content in the collaborative document, avoid the misdeletion and misoperation of the annotation content, and promote the processing efficiency of the collaborative document.
On the basis of the above embodiments, the receiving module includes:
the screening unit is used for acquiring all the annotation attribute in the metadata of the collaboration document, screening the annotation with the public authority and the annotation with the private authority of the current user, wherein the annotation with the private authority of the current user comprises the following steps:
the endorsements of the prompt pointed to by the current user are arranged in endorsement identifiers created by the current user and the endorsements created by other users.
On the basis of the above embodiments, the endorsement identifier created by the other user and provided with the reminder pointing to the current user includes:
the endorsement identifiers created by other users are provided with endorsements of the visible identifier prompt of the current user only;
the endorsement identifier created by other users is provided with endorsements which do not include the shielding identification prompt of the current user.
On the basis of the above embodiments, the device further includes:
the new annotation receiving module is used for receiving the new annotation operation on the original annotation;
the corresponding relation determining module is used for determining the corresponding relation with the original annotation according to the newly added annotation operation;
and the permission attribute determining module is used for determining the permission attribute of the newly added annotation according to the corresponding relation.
On the basis of the above embodiments, the correspondence determining module includes:
a document region acquisition unit for acquiring the document region of the newly added annotation and the document region of the original annotation;
a merging relation determining unit, configured to determine a merging relation when the content of the document area of the newly added annotation and the content of the document area portion of the original annotation overlap;
the authority attribute determining module includes:
and the merging unit is used for merging the authority attribute of the newly added annotation and the authority attribute of the original annotation.
On the basis of the above embodiments, the device further includes:
and the adding module is used for modifying the authority attribute of the original annotation and adding the authority attribute of the newly added annotation.
On the basis of the above embodiments, the device further includes:
the checking module is used for checking authority attributes of the document areas corresponding to the endorsements;
the comparison module is used for comparing the authority attribute of the document area with the authority attribute generated by the annotation with the prompt pointed to the current user in the annotation identifier created by other users, and when the authority attribute is inconsistent, modifying the authority attribute generated by the annotation with the prompt pointed to the current user in the annotation identifier created by other users into the authority attribute consistent with the authority attribute of the document area, and determining the sponsor of the annotation with inconsistent attribute of the authority;
and the sending module is used for setting the permission to the initiator to set an error prompt.
On the basis of the above embodiments, the device further includes:
the newly added document region acquisition module is used for acquiring a document region corresponding to the newly added annotation operation;
and the module is used for taking the document area corresponding to the newly added annotation operation as a priority display document area so as to jump to the priority display document area when the collaborative document is opened.
The collaborative document annotation display device provided by the embodiment of the invention can execute the collaborative document annotation display method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example five
Fig. 5 is a schematic structural diagram of a server according to a fifth embodiment of the present invention. Fig. 5 shows a block diagram of an exemplary server 12 suitable for use in implementing embodiments of the present invention. The server 12 shown in fig. 5 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 5, the server 12 is in the form of a general purpose computing device. The components of server 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Server 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by server 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The server 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, commonly referred to as a "hard disk drive"). Although not shown in fig. 5, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of the embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The server 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the server 12, and/or any devices (e.g., network card, modem, etc.) that enable the server 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Also, the server 12 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, via a network adapter 20. As shown, network adapter 20 communicates with the other modules of server 12 via bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with server 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing the collaborative document annotation display method provided by the embodiment of the present invention.
Example six
A sixth embodiment of the present invention also provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the collaborative document annotation display method according to any one of the above embodiments.
The computer storage media of embodiments of the invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (6)

1. A collaborative document annotation display method, comprising:
receiving and checking annotation display operation, acquiring all annotation attribute in the metadata of the collaboration document, selecting the endorsements with the viewing authority of the current user from all endorsements according to the rights attribute to obtain visible endorsements;
traversing the structure of the collaborative document, acquiring an annotation identifier corresponding to the visible annotation in the document structure, setting the annotation identifier in the document, and writing the annotation content, the annotation person, the annotation attention person, the annotation time, the corresponding cell, paragraph or sentence of the annotation and whether the corresponding switch code is displayed or not by utilizing the annotation identifier;
adjusting the display attribute of the visible annotation identifier to be visible so that the collaborative document only displays annotation content corresponding to the visible annotation identifier;
the adjusting the display attribute of the visible annotation identifier to be visible comprises:
adjusting display bits in the annotation identifiers, and determining whether to load annotation content corresponding to the annotation identifiers according to the display bits;
the method for acquiring all the annotation attributes from the metadata of the collaboration document and screening the annotations with the viewing authority of the current user from all the annotations according to the attributes of the annotations comprises the following steps:
acquiring all annotation attribute in metadata of the collaboration document, screening the annotations with public rights and the annotations with the private rights of the current user, wherein the annotations with the private rights of the current user comprise the following steps:
endorsements with prompt points to the current user are arranged in endorsement identifiers created by the current user and the endorsement identifiers created by other users; and the endorsement identifier created by the other users is provided with endorsements pointing to the prompt of the current user, and the endorsement identifier comprises:
the endorsement identifiers created by other users are provided with endorsements of the visible identifier prompt of the current user only;
the endorsement identifiers created by other users are provided with endorsements which do not comprise the shielding identifier prompt of the current user;
receiving a new annotation operation on the original annotation;
determining a corresponding relation with the original annotation according to the newly added annotation operation;
determining authority attributes of newly added annotations according to the corresponding relation;
the determining the corresponding relation with the original annotation according to the newly added annotation operation comprises the following steps:
acquiring the document area of the newly added annotation and the document area of the original annotation;
determining a merging relation when the content of the newly added annotated document region and the content of the original annotated document region are overlapped;
determining the authority attribute of the newly added annotation according to the corresponding relation, wherein the determining comprises the following steps:
combining the authority attributes of the newly added annotation and the original annotation;
checking authority attributes of the document areas corresponding to the endorsements;
comparing the authority attribute of the document area with the authority attribute generated by the annotation with the prompt pointed to the current user in the annotation identifier created by other users, and when the authority attribute is inconsistent, modifying the authority attribute generated by the annotation with the prompt pointed to the current user in the annotation identifier created by other users to be consistent with the authority attribute of the document area, and determining the sponsor of the annotation with inconsistent attribute of the authority;
setting an error prompt to the sponsor.
2. The method according to claim 1, wherein the method further comprises:
and modifying the authority attribute of the original annotation and adding the authority attribute of the newly added annotation.
3. The method according to claim 1, wherein the method further comprises:
acquiring a document area corresponding to the newly added annotation operation;
and taking the document area corresponding to the newly added annotation operation as a priority display document area, so that when the collaborative document is opened, the document area is jumped to the priority display document area.
4. A collaborative document annotation display device, comprising:
a receiving module for receiving and viewing the annotation display operation, acquiring all the annotation attribute from the metadata of the collaboration document, selecting the endorsements with the viewing authority of the current user from all endorsements according to the rights attribute to obtain visible endorsements;
the traversal module is used for traversing the structure of the collaborative document, acquiring an annotation identifier corresponding to the visible annotation in the document structure, setting the annotation identifier in the document, writing the annotation content, the annotation person, the annotation attention person, the annotation time, the corresponding cell, paragraph or sentence of the annotation and displaying the corresponding switch code by utilizing the annotation identifier;
the adjustment module is used for adjusting the display attribute of the visible annotation identifier to be visible so that the collaborative document only displays annotation content corresponding to the visible annotation identifier;
the adjustment module comprises:
the adjustment unit is used for adjusting the display bit in the annotation identifier and determining whether to load the annotation content corresponding to the annotation identifier according to the display bit;
the receiving module includes:
the screening unit is used for acquiring all the annotation attribute in the metadata of the collaboration document, screening the annotation with the public authority and the annotation with the private authority of the current user, wherein the annotation with the private authority of the current user comprises the following steps:
endorsements with prompt points to the current user are arranged in endorsement identifiers created by the current user and the endorsement identifiers created by other users;
and the endorsement identifier created by the other users is provided with endorsements pointing to the prompt of the current user, and the endorsement identifier comprises:
the endorsement identifiers created by other users are provided with endorsements of the visible identifier prompt of the current user only;
the endorsement identifiers created by other users are provided with endorsements which do not comprise the shielding identifier prompt of the current user;
the new annotation receiving module is used for receiving the new annotation operation on the original annotation;
the corresponding relation determining module is used for determining the corresponding relation with the original annotation according to the newly added annotation operation;
the permission attribute determining module is used for determining permission attributes of the newly added comments according to the corresponding relation;
the correspondence determining module includes:
a document region acquisition unit for acquiring the document region of the newly added annotation and the document region of the original annotation;
a merging relation determining unit, configured to determine a merging relation when the content of the document area of the newly added annotation and the content of the document area portion of the original annotation overlap;
the authority attribute determining module includes:
the merging unit is used for merging the authority attribute of the newly added annotation and the authority attribute of the original annotation;
the checking module is used for checking authority attributes of the document areas corresponding to the endorsements;
the comparison module is used for comparing the authority attribute of the document area with the authority attribute generated by the annotation with the prompt pointed to the current user in the annotation identifier created by other users, and when the authority attribute is inconsistent, modifying the authority attribute generated by the annotation with the prompt pointed to the current user in the annotation identifier created by other users into the authority attribute consistent with the authority attribute of the document area, and determining the sponsor of the annotation with inconsistent attribute of the authority;
and the sending module is used for setting the permission to the initiator to set an error prompt.
5. A server, the server comprising:
one or more processors;
a storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the collaborative document annotation display method of any of claims 1-3.
6. A storage medium containing computer executable instructions for performing the collaborative document annotation display method of any of claims 1-3 when executed by a computer processor.
CN202310152870.XA 2023-02-23 2023-02-23 Collaborative document annotation display method, collaborative document annotation display device, server and storage medium Active CN115859909B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310152870.XA CN115859909B (en) 2023-02-23 2023-02-23 Collaborative document annotation display method, collaborative document annotation display device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310152870.XA CN115859909B (en) 2023-02-23 2023-02-23 Collaborative document annotation display method, collaborative document annotation display device, server and storage medium

Publications (2)

Publication Number Publication Date
CN115859909A CN115859909A (en) 2023-03-28
CN115859909B true CN115859909B (en) 2023-10-20

Family

ID=85658724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310152870.XA Active CN115859909B (en) 2023-02-23 2023-02-23 Collaborative document annotation display method, collaborative document annotation display device, server and storage medium

Country Status (1)

Country Link
CN (1) CN115859909B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984502A (en) * 2018-06-22 2018-12-11 阿里巴巴集团控股有限公司 The method, apparatus and browser of annotation are shown in online document
CN109064129A (en) * 2018-07-19 2018-12-21 平安科技(深圳)有限公司 Processing method, device, computer equipment and the storage medium of file endorsement information
CN112257394A (en) * 2020-09-15 2021-01-22 广州市保伦电子有限公司 Layout document collaborative annotation display method and processing terminal
CN114461580A (en) * 2021-12-23 2022-05-10 北京达佳互联信息技术有限公司 Online document sharing method and device, electronic equipment and storage medium
CN114692195A (en) * 2020-12-29 2022-07-01 腾讯科技(深圳)有限公司 Document processing method, device, equipment and storage medium
CN114707182A (en) * 2022-05-30 2022-07-05 天津联想协同科技有限公司 Online document annotation authority control method and device
CN115048659A (en) * 2022-04-26 2022-09-13 北京字跳网络技术有限公司 Sharing method and device of shared object, electronic equipment and storage medium
CN115134104A (en) * 2021-03-25 2022-09-30 北京字跳网络技术有限公司 Information processing method, information display method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984502A (en) * 2018-06-22 2018-12-11 阿里巴巴集团控股有限公司 The method, apparatus and browser of annotation are shown in online document
CN109064129A (en) * 2018-07-19 2018-12-21 平安科技(深圳)有限公司 Processing method, device, computer equipment and the storage medium of file endorsement information
CN112257394A (en) * 2020-09-15 2021-01-22 广州市保伦电子有限公司 Layout document collaborative annotation display method and processing terminal
CN114692195A (en) * 2020-12-29 2022-07-01 腾讯科技(深圳)有限公司 Document processing method, device, equipment and storage medium
CN115134104A (en) * 2021-03-25 2022-09-30 北京字跳网络技术有限公司 Information processing method, information display method and device
CN114461580A (en) * 2021-12-23 2022-05-10 北京达佳互联信息技术有限公司 Online document sharing method and device, electronic equipment and storage medium
CN115048659A (en) * 2022-04-26 2022-09-13 北京字跳网络技术有限公司 Sharing method and device of shared object, electronic equipment and storage medium
CN114707182A (en) * 2022-05-30 2022-07-05 天津联想协同科技有限公司 Online document annotation authority control method and device

Also Published As

Publication number Publication date
CN115859909A (en) 2023-03-28

Similar Documents

Publication Publication Date Title
Lee et al. The state of the art and practice in digital preservation
US10089497B2 (en) Event log tamper detection
US9424281B2 (en) Systems and methods for document and material management
US20080037789A1 (en) Document Processing Device, Document Reading Device, and Document Processing Method
CN103761218A (en) Method for annotating and commenting electronic document on computer
US11418592B2 (en) Uploading user and system data from a source location to a destination location
US20210326310A1 (en) System for tracking and displaying changes in a set of related electronic documents
US9588952B2 (en) Collaboratively reconstituting tables
CN107729768B (en) Page display method and device, intelligent panel and storage medium
TW201525730A (en) Annotation hint display
CN110688145A (en) Android MVP code automatic generation method, device, medium and electronic equipment
JP2020047275A (en) Reader mode for presentation slides in cloud collaboration platform
CN114329366B (en) Network disk file control method and device, network disk and storage medium
US9507790B2 (en) Providing file indexes and per-file viewing modes within a file management application
CN104571804B (en) A kind of method and system to being associated across the document interface of application program
CN112783482B (en) Visual form generation method, device, equipment and storage medium
WO2023237024A1 (en) Document collaboration method and device and storage medium
CN115859909B (en) Collaborative document annotation display method, collaborative document annotation display device, server and storage medium
US9069884B2 (en) Processing special attributes within a file
CN114816646B (en) Shortcut operation method, device, terminal and storage medium suitable for network disk drive letter
CN115408358A (en) Network disk online file management method and device, network disk and storage medium
CN115130130A (en) Network disk file unlocking method and device, network disk and storage medium
US20150095458A1 (en) Methods and systems for providing a seamless transition of documents between client types
CN112559541B (en) Document auditing method, device, equipment and storage medium
US11429782B2 (en) Document retrieval and processing from online databases using thumbnail image indexing

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