CN115859909A - Method, device, server and storage medium for displaying comments of collaborative documents - Google Patents

Method, device, server and storage medium for displaying comments of collaborative documents Download PDF

Info

Publication number
CN115859909A
CN115859909A CN202310152870.XA CN202310152870A CN115859909A CN 115859909 A CN115859909 A CN 115859909A CN 202310152870 A CN202310152870 A CN 202310152870A CN 115859909 A CN115859909 A CN 115859909A
Authority
CN
China
Prior art keywords
annotation
document
annotations
visible
current user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310152870.XA
Other languages
Chinese (zh)
Other versions
CN115859909B (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

Images

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 method, a device, a server and a storage medium for displaying a collaborative document annotation. Wherein the method comprises the following steps: receiving a viewing comment display operation, acquiring all comment ownership attributes in metadata of a collaborative document, and screening comments of which the current user has viewing authority in all comments according to the ownership attributes to obtain visible comments; 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 annotation content corresponding to the visible annotation identifier. The method and the device can avoid the influence of a large amount of annotation content which is irrelevant to the current user and is generated by collaborators on reading the collaborative document, enhance the readability of the annotation content in the collaborative document, avoid the mistaken deletion and modification and the misoperation of the annotation content, and improve the processing efficiency of the collaborative document.

Description

Method, device, server and storage medium for displaying comments of collaborative documents
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 office is becoming more and more popular. Multi-person collaborative online documents are a major tool in collaborative offices. For the same online document, corresponding permissions can be set for personnel to determine collaborators, and the purposes that multiple collaborators can simultaneously perform operations such as adding, deleting, modifying, checking and the like on the document content are achieved.
In the collaboration document, the collaborators can add auxiliary content such as comments and the like to the content in the collaboration document for the collaborators or other collaborators to view, and can modify or publish opinions on the collaboration file according to the comment content.
In the process of implementing the invention, the inventor finds the following technical problems: generally, a great number of collaborative users exist in a collaborative document, which results in a sharp increase in the number of annotations in the document, wherein most of the annotations are irrelevant to the current user, which not only causes reading interference to the current user, but also sharply reduces readability of the collaborative document. Meanwhile, the difficulty of annotation management is increased, the situations of mistaken deletion, mistaken modification and the like are easily caused, and the processing efficiency of the collaborative document is greatly reduced.
Disclosure of Invention
The embodiment of the invention provides a method, a device, a server and a storage medium for displaying comments of a collaborative document, and aims to solve the technical problem that the processing efficiency of the collaborative document is reduced due to the fact that a large number of comments in the collaborative document are reduced.
In a first aspect, an embodiment of the present invention provides a method for displaying a collaborative document annotation, including:
receiving a viewing comment display operation, acquiring all comment ownership attributes in metadata of a collaborative document, and screening comments of which the current user has viewing authority in all comments according to the ownership attributes to obtain visible comments;
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 annotation content corresponding to the visible annotation identifier.
In a second aspect, an embodiment of the present invention further provides a device for displaying a collaborative document annotation, including:
the receiving module is used for receiving the operation of viewing the comment display, acquiring all comment ownership attributes from the metadata of the collaborative document, and screening comments of which the current user has viewing permission from all the comments according to the ownership attributes to obtain visible comments;
the traversal module is used for traversing the structure of the collaborative document to obtain the annotation identifier corresponding to the visible annotation in the document structure;
and the adjusting 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.
In a third aspect, an embodiment of the present invention further provides a server, including:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the collaborative document annotation display method provided by the above-described embodiment.
In a fourth aspect, an embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for displaying a collaborative document annotation provided in the foregoing embodiment.
According to the method, the device, the server and the storage medium for displaying the comments of the collaborative document, provided by the embodiment of the invention, the comment display operation is received, all comment ownership attributes are obtained from the metadata of the collaborative document, and the comments of which the current user has the viewing authority are screened from all the comments according to the ownership attributes to obtain the visible comments; 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 annotation content corresponding to the visible annotation identifier. And determining the annotation having the association relation with the current user by utilizing the authority corresponding to the annotation, and adjusting the display attribute of the annotation having the association relation, so that the current collaboration document only displays the annotation content having the association relation with the current user. The method and the device can avoid the influence of a large amount of annotation content which is irrelevant to the current user and is generated by collaborators on reading the collaborative document, enhance the readability of the annotation content in the collaborative document, avoid the mistaken deletion and modification and the misoperation of the annotation content, and improve the processing efficiency of the collaborative document.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments thereof, made with reference to the following drawings:
fig. 1 is a flowchart of a method for displaying a comment of a collaborative document according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for displaying a comment of a collaborative document according to a second embodiment of the present invention;
FIG. 3 is a flowchart of a method for displaying a comment of a collaborative document according to a third embodiment of the present invention;
fig. 4 is a structural diagram of a collaborative document annotation display apparatus according to a fourth embodiment of the present invention;
fig. 5 is a block diagram of a server according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a method for displaying annotations of a collaborative document according to an embodiment of the present invention, where this embodiment is applicable to a situation where a large number of annotations exist in a collaborative document and the annotations are displayed in a targeted manner, and the method may be executed by a device for displaying annotations of a collaborative document, and may be set in a server, and specifically includes the following steps:
and 110, receiving a viewing comment display operation, acquiring all comment ownership attributes in metadata of the collaborative document, and screening comments of which the current user has viewing authority from all comments according to the ownership attributes to obtain visible comments.
In this embodiment, after the user opens the collaborative document, the user may select to close or open the display state of the annotations of the collaborative document. Specifically, the display state of the comments in the collaborative document can be opened by viewing the comment display operation.
When the operation of viewing the annotations is received, the corresponding rights of all the annotations in the collaborative document need to be viewed. The rights may include: preview authority or edit authority set for each collaborator. In the collaboration document, the authority of the annotation in the collaboration document can be controlled through the server. Specifically, the management and control data may be recorded in metadata of the collaborative document, and the metadata may be stored in an online document server.
And acquiring authority information of all annotations in the collaborative document by searching metadata of the collaborative document, wherein the authority information is recorded in a ownership attribute mode. Because the ownership attributes correspond to different collaborators, the ID of the current user can be used as a query condition to obtain the annotations of the current user with the viewing right through screening, where the annotations of the current user with the viewing right include: annotations with preview or edit rights. And taking the result obtained by screening as a visible annotation.
Step 120, traversing the structure of the collaborative document, and acquiring the 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 collaborative document into the document structure to form the overall document content. Illustratively, comment identifiers may be utilized as annotation identifiers in the document structure, and the annotation identifiers may be utilized to write the content of the annotations and other related information, such as: the information of the annotation person, the annotation time, the corresponding cell, paragraph or sentence of the annotation, and whether the annotation displays the corresponding switch code. Each annotation corresponds to an annotation identifier.
Thus, by traversing the overall structure of the collaborative document, by looking for annotation identifiers corresponding to the visible annotations described above. Illustratively, the annotation identifier corresponding to the comment can be obtained through the correspondence between the annotation ID in the metadata and the ID of the annotation identifier.
Step 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 the annotation identifier. And when the cooperative document is loaded, determining whether to load corresponding annotation content or not through the display switch of the annotation. Illustratively, the display switch of the annotation is realized by a display bit in the annotation identifier, for example, when the display bit is 0, the display is not displayed, and when the display bit is 1, the display is displayed. And inquiring and determining the corresponding annotation identifier of the visible annotation according to the steps, and adjusting the display position in the annotation identifier to 1. Accordingly, the display bit in the other annotation identifiers can also be adjusted to 0, so that the collaborative document only displays the annotation content visible to the current user.
In the embodiment, by receiving the operation of viewing the comment display, all comment ownership attributes are acquired from the metadata of the collaborative document, and comments of which the current user has viewing authority are screened from all comments according to the ownership attributes to obtain visible comments; 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 annotation content corresponding to the visible annotation identifier. And determining the annotation having the association relation with the current user by utilizing the authority corresponding to the annotation, and adjusting the display attribute of the annotation having the association relation, so that the current collaboration document only displays the annotation content having the association relation with the current user. The method and the device can avoid the influence of a large amount of annotation content which is irrelevant to the current user and is generated by collaborators on reading the collaborative document, enhance the readability of the annotation content in the collaborative document, avoid the mistaken deletion and modification and the misoperation of the annotation content, and improve the processing efficiency of the collaborative document.
Example two
Fig. 2 is a flowchart illustrating a method for displaying a comment of a collaborative document according to a second embodiment of the present invention. In this embodiment, all annotation ownership attributes may be obtained from the metadata of the collaborative document, and an annotation of which the current user has viewing permission is screened in all annotations according to the ownership attributes, which is specifically optimized as follows: acquiring all annotation ownership attributes from metadata of a collaboration document, and screening annotations with public rights and annotations with private rights of a current user, wherein the annotations with the private rights of the current user comprise: the annotations created by the current user and the annotation identifiers created by other users are provided with the annotations pointing to the prompt of the current user.
Correspondingly, the method for displaying the annotation of the collaborative document provided by the embodiment specifically includes:
step 210, receiving and viewing the annotation display operation, obtaining all annotation ownership attributes in the metadata of the collaborative document, and screening the annotations with public rights and the annotations with the private rights of the current user to obtain visible annotations.
The annotations visible to the current user are typically annotations with private and public attributes, which may be annotations added by the user himself. The notes of the common attribute may be notes created by other collaborators and set as notes viewable by all collaborators.
In this embodiment, the annotation with the private right of the current user may include:
the annotations created by the current user and the annotation identifiers created by other users are provided with the annotations pointing to the prompt of the current user. The annotation identifier created by the other user is provided with an annotation pointing to the prompt of the current user, and the annotation comprises: the annotation identifiers created by other users are provided with annotations of the visible identification prompt symbols of the current user; and the annotation identifiers created by other users are provided with annotations which do not comprise the shielding identification prompt of the current user.
For example, the collaboration document may support annotations that the user has permission to set permissions for other collaborators. Specifically, corresponding symbols and rights objects may be written in the annotations. The collaboration document may convert the respective markup into corresponding annotation identifiers. And the server analyzes the annotation identifier in the collaborative document, acquires corresponding authority information and writes the authority information into metadata.
For example: the current user may add the @ @ mark after annotation and add the corresponding collaborator ID after @, which may be multiple. Correspondingly, the comment identifier is correspondingly added with a corresponding @ @ mark and is correspondingly written into 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 the collaborator corresponding to the corresponding authority and write the collaborator into the authority metadata.
In addition, the user may add a # mark to the annotation and write a corresponding collaborator ID after the # mark, where the number of collaborator IDs may be multiple. The note identifier is also added with a corresponding # mark and corresponds to the written collaborator ID. 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 mark, endow viewing and editing permission to other collaborators except the written collaborator ID, and correspondingly write the permission into the metadata.
Step 220, traversing the structure of the collaborative document, and acquiring the annotation identifier corresponding to the visible annotation in the document structure.
And step 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.
In this embodiment, all annotation ownership attributes are obtained from the metadata of the collaborative document, and annotations having viewing permissions of the current user are screened from all annotations according to the ownership attributes, which is specifically optimized as follows: acquiring all annotation ownership attributes from metadata of a collaboration document, and screening annotations with public rights and annotations with private rights of a current user, wherein the annotations with the private rights of the current user comprise: the annotations created by the current user and the annotation identifiers created by other users are provided with the annotations pointing to the prompt of the current user. The method is convenient for the collaborators to flexibly set the authority of other collaborators to the current annotation according to the actual situation of the document. And the information in the authority identifier is analyzed by the server and written into the metadata for flexible management and control. Compared with the traditional mode of adding annotation copies for annotations with different authorities to realize authority management and control, a plurality of copies do not need to be established, and when the authorities change, the annotation copies do not need to be modified or newly added, so that the storage pressure is reduced. The method is more suitable for the situation that the annotation authority flexibly changes.
In a preferred embodiment of this embodiment, the method may further include the following steps: checking the authority attribute of the document area corresponding to the annotation; comparing the authority attribute of the document area with the authority attribute generated by the postil provided with the prompt pointing to the current user in the postil identifiers created by other users, modifying the authority attribute generated by the postil provided with the prompt pointing to the current user in the postil identifiers created by other users into the authority attribute consistent with the authority attribute of the document area when the authority attribute is inconsistent with the authority attribute of the current user, and determining the sponsor of the postil with inconsistent authority attribute; and sending an authority setting error prompt to the initiator. Since the collaboration document may set different rights for different collaborators in different paragraph areas, the initiator who adds the rights of other collaborators to annotation by adding the identifier may not know the rights of the paragraph to the collaborator, resulting in rights conflict and leakage. Therefore, the authority attribute of the document area needs to be compared with the authority attribute generated by the annotation with the prompt pointing to the current user in the annotation identifier created by other users, whether the authority conflict exists is determined, and under the condition that the authority conflict exists, a prompt is sent to the user with the prompt pointing to the current user, namely the initiator, so as to avoid the risk of disclosure caused by the authority conflict.
EXAMPLE III
Fig. 3 is a flowchart illustrating a method for displaying a comment of a collaborative document according to a third embodiment of the present invention. The method can also be added with the following steps: receiving a newly added annotation operation on the original annotation; determining the 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 method for displaying the annotation of the collaborative document provided by the embodiment specifically includes:
and 310, receiving a newly added annotation operation on the original annotation.
In the collaborative document, since there are a plurality of collaborators, there may be an operation of additionally generating a new annotation on the original annotation. The newly-added annotation operation may include: and newly adding annotation content in the original annotation content. Or adding other annotations in the annotation area range corresponding to the original annotation.
And 320, determining the corresponding relation with the original annotation according to the newly added annotation operation.
Newly adding annotation content in the original annotation content, and under the condition, determining that the corresponding relation is an inheritance relation;
and adding other annotations in the annotation region range corresponding to the original annotation, and determining that the corresponding relationship is a combination relationship. Illustratively, the document region of the new annotation and the document region of the original annotation can be obtained; and determining a merging relation when the contents of the document area of the newly added annotation and the document area part of the original annotation coincide.
And step 330, determining the authority attribute of the newly added annotation according to the corresponding relation.
When the new annotation is in an inheritance relationship, the authority of the new annotation can inherit the authority of the original annotation, so that a collaborator corresponding to the new annotation can check the related information of the previous annotation, and the efficiency of document collaborative editing is improved.
When the relationship is a combination relationship, the authority of the newly added annotation and the authority of the original annotation can be combined, and the authority attributes of the newly added annotation and the original annotation are combined. And modifying the authority attribute of the original annotation and increasing 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 situation that the original collaborators and the newly added collaborators cannot know the comprehensive information of the annotation is avoided.
And 340, receiving the operation of viewing the annotations, acquiring all the annotation ownership attributes in the metadata of the collaborative document, and screening the annotations of which the current user has viewing authority from all the annotations according to the ownership attributes to obtain the visible annotations.
Step 350, traversing the structure of the collaborative document, and acquiring the annotation identifier corresponding to the visible annotation in the document structure.
And 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 present embodiment adds the following steps: receiving a newly added annotation operation on the original annotation; determining the 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 authority of the newly added annotation can be flexibly set aiming at the condition of the newly added annotation content. Therefore, 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 include the following steps: 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, jumping to the priority display document area is carried out. 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 user 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, sequence labels can be set in the bookmark identifiers, when a plurality of newly-added annotations exist, a current user can conveniently and quickly jump to a document area corresponding to the next newly-added annotation, and the efficiency of utilizing the annotations to improve the editing of the collaborative document is further improved.
Example four
Fig. 4 is a schematic structural diagram of a collaborative document annotation display apparatus according to a fourth embodiment of the present invention, and as shown in fig. 4, the apparatus includes:
the receiving module 410 is configured to receive a viewing comment display operation, obtain all comment ownership attributes from metadata of the collaborative document, and screen, according to the ownership attributes, comments of the current user that have viewing permissions, from among all comments, to obtain a visible comment;
a traversing module 420, configured to traverse a structure of the collaborative document, and obtain an annotation identifier corresponding to the visible annotation in the document structure;
an adjusting module 430, 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 device for displaying the comments of the collaborative document, provided by the embodiment, acquires all comment ownership attributes from metadata of the collaborative document by receiving the comment viewing display operation, and screens comments of which the current user has viewing authority from all the comments according to the ownership attributes to obtain visible comments; 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 annotation content corresponding to the visible annotation identifier. And determining the annotation having the association relation with the current user by utilizing the authority corresponding to the annotation, and adjusting the display attribute of the annotation having the association relation, so that the current collaboration document only displays the annotation content having the association relation with the current user. The method and the device can avoid the influence of a large amount of annotation content which is irrelevant to the current user and is generated by collaborators on reading the collaborative document, enhance the readability of the annotation content in the collaborative document, avoid the mistaken deletion and modification and the misoperation of the annotation content, and improve the processing efficiency of the collaborative document.
On the basis of the foregoing embodiments, the receiving module includes:
the screening unit is used for obtaining all the annotation ownership attributes in the metadata of the collaborative document, screening the annotations with public authority and the annotations with the private authority of the current user, and the annotations with the private authority of the current user comprise:
the annotations created by the current user and the annotation identifiers created by other users are provided with the annotations pointing to the prompt of the current user.
On the basis of the above embodiments, the annotation identifier created by the other user is provided with an annotation pointing to the prompt of the current user, and the method includes:
the annotation identifiers created by other users are provided with annotations only visible to the current user;
and the annotation identifiers created by other users are provided with annotations which do not comprise the shielding identification prompt of the current user.
On the basis of the above embodiments, the apparatus further includes:
the newly-added receiving module is used for receiving newly-added 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 foregoing embodiments, the correspondence determining module includes:
a document region acquisition unit, configured to acquire a document region of the newly added annotation and a document region of the original annotation;
a merging relation determining unit, configured to determine that a merging relation is formed when contents of the document region of the newly added annotation and a part of the document region of the original annotation overlap;
the permission attribute determining module comprises:
and the merging unit is used for merging the authority attributes of the newly added annotation and the original annotation.
On the basis of the above embodiments, the apparatus 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 apparatus further includes:
the checking module is used for checking the authority attribute of the document area corresponding to the annotation;
the comparison module is used for comparing the authority attribute of the document area with the authority attribute generated by the annotations provided with the prompt pointing to the current user in the annotation identifiers established by other users, modifying the authority attribute generated by the annotations provided with the prompt pointing to the current user in the annotation identifiers established by other users into the authority attribute consistent with the authority attribute of the document area and determining the sponsor of the annotations with inconsistent authority attributes;
and the sending module is used for sending an authority setting error prompt to the initiator.
On the basis of the above embodiments, the apparatus further includes:
a newly added document area acquisition module, configured to acquire a document area 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 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 illustrates 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 only an example, and should not bring any limitation to the function and the scope of use of the embodiment 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 the server 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, 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.
The server 12 typically includes a variety of computer system readable media. Such media may 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 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 and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, and commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in 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 of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
The server 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with the server 12, and/or with 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 be through an input/output (I/O) interface 22. Also, the server 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with the other modules of the server 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the server 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing, for example, implementing the collaborative document annotation display method provided by the embodiment of the present invention, by running a program stored in the system memory 28.
EXAMPLE six
The sixth embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform any one of the collaborative document annotation display methods provided in the foregoing embodiments.
Computer storage media for embodiments of the invention may employ 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. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination 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 the context of 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.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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 for aspects 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 + + or the like 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 latter scenario, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. 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, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (11)

1. A method for displaying a collaborative document annotation, comprising:
receiving a viewing comment display operation, acquiring all comment ownership attributes in metadata of a collaborative document, and screening comments of which the current user has viewing authority in all comments according to the ownership attributes to obtain visible comments;
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 annotation content corresponding to the visible annotation identifier.
2. The method of claim 1, wherein the obtaining all annotation ownership attributes in the metadata of the collaborative document and screening all annotations for which the current user has viewing rights according to the ownership attributes comprises:
acquiring all annotation ownership attributes from metadata of a collaboration document, and screening annotations with public rights and annotations with private rights of a current user, wherein the annotations with the private rights of the current user comprise:
the annotations created by the current user and the annotation identifiers created by other users are provided with the annotations pointing to the prompt of the current user.
3. The method according to claim 2, wherein the annotation identifier created by the other user is provided with an annotation pointing to the prompt of the current user, and the method comprises the following steps:
the annotation identifiers created by other users are provided with annotations only visible to the current user;
and the annotation identifiers created by other users are provided with annotations which do not comprise the shielding identification prompt of the current user.
4. The method of claim 1, further comprising:
receiving a newly added annotation operation on the original annotation;
determining the 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.
5. The method according to claim 4, wherein the determining the correspondence relationship with the original annotation according to the new annotation operation comprises:
acquiring the document area of the newly added annotation and the document area of the original annotation;
when the contents of the document area of the newly added annotation and the document area part of the original annotation coincide, determining that the document area of the newly added annotation and the document area part of the original annotation are in a combination relationship;
determining the authority attribute of the newly added annotation according to the corresponding relation, comprising the following steps:
and combining the authority attributes of the newly added annotations and the original annotations.
6. The method of claim 5, further comprising:
and modifying the authority attribute of the original annotation and increasing the authority attribute of the newly added annotation.
7. The method of claim 2, further comprising:
checking the authority attribute of the document area corresponding to the annotation;
comparing the authority attribute of the document area with the authority attribute generated by the postil which is provided with a prompt pointing to the current user in the postil identifiers created by other users, modifying the authority attribute generated by the postil which is provided with the prompt pointing to the current user in the postil identifiers created by other users into the authority attribute which is consistent with the authority attribute of the document area when the authority attribute is inconsistent with the authority attribute generated by the postil which is provided with the prompt pointing to the current user in the postil identifiers created by other users, and determining the sponsor of the postil with inconsistent authority attribute;
and sending an authority setting error prompt to the initiator.
8. The method of claim 4, further comprising:
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, jumping to the priority display document area is carried out.
9. A collaborative document annotation display apparatus, comprising:
the receiving module is used for receiving display operation of viewing the annotations, acquiring ownership attributes of all the annotations in metadata of the collaborative document, and screening the annotations of which the current user has viewing authority in all the annotations according to the ownership attributes to obtain visible annotations;
the traversal module is used for traversing the structure of the collaborative document to obtain the annotation identifier corresponding to the visible annotation in the document structure;
and the adjusting 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.
10. A server, characterized in that the server comprises:
one or more processors;
storage means for storing 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-8.
11. A storage medium containing computer-executable instructions for performing the collaborative document annotation display method of any one of claims 1-8 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 true CN115859909A (en) 2023-03-28
CN115859909B 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
CN115859909B (en) 2023-10-20

Similar Documents

Publication Publication Date Title
Lee et al. The state of the art and practice in digital preservation
US9015118B2 (en) Determining and presenting provenance and lineage for content in a content management system
US20080037789A1 (en) Document Processing Device, Document Reading Device, and Document Processing Method
US9182947B2 (en) Program source code navigation
US20210326310A1 (en) System for tracking and displaying changes in a set of related electronic documents
CN107729768B (en) Page display method and device, intelligent panel and storage medium
CN111796809A (en) Interface document generation method and device, electronic equipment and medium
CN112559095A (en) Target service execution method, system, server and storage medium
CN111078205A (en) Modular programming method and device, storage medium and electronic equipment
US20180054483A1 (en) Uploading user and system data from a source location to a destination location
CN113051514A (en) Element positioning method and device, electronic equipment and storage medium
CN114329366B (en) Network disk file control method and device, network disk and storage medium
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
CN115408358B (en) Network disk online file management method and device, network disk and storage medium
CN115130130B (en) Network disk file unlocking method and device, network disk and storage medium
CN114816646B (en) Shortcut operation method, device, terminal and storage medium suitable for network disk drive letter
CN115859909B (en) Collaborative document annotation display method, collaborative document annotation display device, server and storage medium
US11429782B2 (en) Document retrieval and processing from online databases using thumbnail image indexing
CN112559541B (en) Document auditing method, device, equipment and storage medium
US7730105B2 (en) Time sharing managing apparatus, document creating apparatus, document reading apparatus, time sharing managing method, document creating method, and document reading method
CN115248803B (en) Collection method and device suitable for network disk file, network disk and storage medium
CN110889013A (en) Data association method, device, server and storage medium based on XML
CN115952525B (en) Online document region authority setting method, device, server and storage medium
CN116011415B (en) Document annotation generation method and device, network disk and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant