[go: up one dir, main page]

CN111045999A - Document display method and device, computer equipment and storage medium - Google Patents

Document display method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111045999A
CN111045999A CN201911342760.XA CN201911342760A CN111045999A CN 111045999 A CN111045999 A CN 111045999A CN 201911342760 A CN201911342760 A CN 201911342760A CN 111045999 A CN111045999 A CN 111045999A
Authority
CN
China
Prior art keywords
document
user
content
notification message
document content
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.)
Pending
Application number
CN201911342760.XA
Other languages
Chinese (zh)
Inventor
黄铁鸣
郭金辉
林莉
向航
刘渊
李斌
黄梓群
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201911342760.XA priority Critical patent/CN111045999A/en
Publication of CN111045999A publication Critical patent/CN111045999A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to an online document display method, an online document display device, computer equipment and a storage medium. The method comprises the following steps: receiving a first notification message, wherein the first notification message is sent by a server in response to other users selecting first document content in a document and after determining a first user with a special reminder; displaying the first notification message; and at least presenting the first document content in response to the triggering operation of the first notification message. In the process, the first user to be reminded can trigger the display of the first document content only through the first notification message, and the first user does not need to search the first document content from the document, so that the step of viewing the document content in the document by the user is greatly simplified, and the viewing efficiency of the document content in the document is improved.

Description

Document display method and device, computer equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of network application, in particular to a document display method and device, computer equipment and a storage medium.
Background
With the continuous development of network application technology, the application of network office class brings great convenience to daily office of enterprises. Online documents are an emerging network office application.
In the related art, a creator user of an online document creates a document, fills or updates document contents needing to be processed by other users in the document, and submits the document to a server; meanwhile, the creator of the document sends the link of the document to other users or a group where the other users are located through the instant messaging application, the other users can open the document by clicking the link, and the document contents which need to be processed respectively are searched in the opened document.
However, the solution shown in the related art requires other users to search for the document content to be processed in the document, and this process requires more operation time of the user, resulting in inefficient viewing of the document content in the document.
Disclosure of Invention
The embodiment of the application provides a document display method, a document display device, computer equipment and a storage medium, which can improve the viewing efficiency of document contents in a document, and the technical scheme is as follows:
in one aspect, an online document presentation method is provided, where the method is executed by a terminal, and the method includes:
receiving a first notification message, wherein the first notification message is sent by a server in response to other users selecting first document content in a document and after determining a first user with a special reminder;
displaying the first notification message;
and at least presenting the first document content in response to the triggering operation of the first notification message.
In one aspect, an online document presentation method is provided, where the method is performed by a server, and the method includes:
responding to the creation or update operation of a document, and acquiring the document content of the document;
inquiring document contents of special reminders for users in the document contents of the documents;
responding to a first document content selected by other users in the document and determining a first user with a special reminder, sending a first notification message to a terminal corresponding to the first user, so that the terminal displays the first notification message, and responding to a triggering operation of the first notification message to display at least the first document content.
In one aspect, an online document presentation method is provided, where the method is executed by a terminal, and the method includes:
displaying a notification card in a communication interface of the instant messaging application, wherein the notification card comprises notification display information, and the notification display information comprises a document name of a document, a user name of a reminder user and a content brief introduction of a first document content; the reminder user is other users of the first user who selects the first document content in the document and determines special reminding;
and at least displaying the first document content in response to the triggering operation of the notification card.
In one aspect, an online document presentation method is provided, where the method is executed by a terminal, and the method includes:
displaying a document interface, wherein a document is displayed in the document interface;
in response to the operation of selecting the first document content in the document, overlaying and displaying a user list on the document interface;
and in response to the operation of the first user with the special reminder determined in the user list, triggering the server to send a first notification message to the terminal of the first user.
In another aspect, an online document presentation apparatus is provided, where the apparatus is used in a terminal, and the apparatus includes:
the notification message receiving module is used for receiving a first notification message, wherein the first notification message is sent by the server in response to other users selecting first document content in the document and determining a user of a special reminder;
the first notification message display module is used for displaying the first notification message;
and the document content display module is used for responding to the triggering operation of the first notification message and at least displaying the first document content.
Optionally, the document content presentation module is configured to pull the document from the server in response to a trigger operation on the first notification message; and displaying the document by taking the position of the first document content in the document as the initial display position of the document.
Optionally, the first document content corresponds to a first data object, where the first data object is a data object for performing special reminding on the first user; the device further comprises:
a node query module, configured to query, before the document content presentation module presents the document by using the position of the first document content in the document as an initial presentation position of the document, a DOM node where the first data object exists from document object model DOM nodes of the document;
and the position acquisition module is used for acquiring the position of the DOM node with the first data object in the document as the position of the first document content in the document.
Optionally, the first notification message includes an object identifier of the first data object;
the node query module is configured to, in response to the node query module,
inquiring the object identification of the first data object from each Document Object Model (DOM) node of the document;
and taking the DOM node containing the object identifier of the first data object as the DOM node of the first data object.
Optionally, the first notification message includes notification display information; the notification presentation information includes: the document name of the document, the user names of the other users, and the content profile of the first document content;
the notification message receiving module is used for receiving the first notification message through an instant messaging application;
the first notification message display module is configured to display a notification card in a communication interface of the instant messaging application, where the notification card includes the notification display information.
Optionally, the apparatus further comprises:
the second notification message display module is used for responding to the existence of second document content in the document and displaying a second notification message at a specified position in an interface where the document is located;
wherein the second document content is a document content that is in addition to the first document content and that is specifically reminded to the first user.
Optionally, the apparatus further comprises:
and the repositioning module is used for repositioning the display position of the document to the position of the second document content in the document in response to the triggering operation of the second notification message.
Optionally, the document content presentation module is further configured to pull the first document content from the server in response to a trigger operation on the first notification message; and displaying the first document content outside the document.
In another aspect, an online document presentation apparatus is provided, the apparatus being used in a server, the apparatus including:
the document content acquisition module is used for responding to the creation or update operation of a document and acquiring the document content of the document;
the content query module is used for querying the document content which is specially reminded for the user in the document content of the document;
and the notification module is used for responding to a first document content selected by other users in the document and determining a first user with a special prompt, sending a first notification message to a terminal corresponding to the first user so that the terminal can display the first notification message, and responding to a trigger operation of the first notification message to at least display the first document content.
Optionally, the apparatus further comprises:
the backlog establishing module is used for responding to the first document content as the designated content and establishing target backlogs for the first user;
the specified content is document content belonging to backlogs.
Optionally, the apparatus further comprises:
a backlog canceling module, configured to cancel the target backlog in response to a completion flag of the first document content; the completion mark is a mark indicating that the corresponding to-do-item is completed in the document.
Optionally, the apparatus further comprises:
and the group establishing module is used for responding to the special prompt of the first document content to a second user except the first user in the document, and establishing an instant communication group, wherein the members in the instant communication group comprise the first user and the second user.
In another aspect, a computer device is provided, which comprises a processor and a memory, wherein at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the memory, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the online document presentation method as described above.
In another aspect, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a set of codes, or a set of instructions is stored, which is loaded and executed by a processor to implement the online document presentation method as described above.
The technical scheme provided by the application can comprise the following beneficial effects:
the method comprises the steps that a server responds to other users to select first document content in a document and determines a first user with special reminding, a first notification message is sent to a terminal corresponding to the first user, the terminal of the first user receives the first notification message and then displays the first document content, and responds to the triggering operation of the first notification message to at least display the first document content.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a system configuration diagram of a document system to which various embodiments of the present application relate;
FIG. 2 is a flowchart illustrating a document presentation method according to an exemplary embodiment;
FIG. 3 is a flow chart of an implementation of an At function for a document according to the embodiment shown in FIG. 2;
FIG. 4 is a flowchart illustrating a document presentation method in accordance with an exemplary embodiment;
FIG. 5 is a schematic diagram of a contact selection according to the embodiment shown in FIG. 4;
FIG. 6 is a schematic diagram of a completion flag associated with the embodiment of FIG. 4;
FIG. 7 is a flowchart block diagram illustrating a document presentation process in accordance with an exemplary embodiment;
FIG. 8 is an interface diagram illustrating a document presentation process according to the embodiment shown in FIG. 7;
FIG. 9 is a block diagram illustrating the structure of a document presentation apparatus according to an exemplary embodiment;
FIG. 10 is a block diagram illustrating the structure of a document presentation apparatus according to an exemplary embodiment;
FIG. 11 is a block diagram illustrating a computer device in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The embodiment of the application provides an efficient online document display scheme, which can be used for directly positioning the position of the content needing attention of the current user in the online document and displaying the content when the online document is opened by the user aiming at different users. For ease of understanding, the terms referred to in this application are explained below.
Online documentation:
in the embodiment of the application, the online document is a document product which is created and pushed based on a server, can be simultaneously viewed/edited online by a plurality of users, and is synchronized in real time at each user side.
Online documents may include, but are not limited to, Word documents, tabular documents, and graphical presentation documents, among others, depending on the type of document.
And (3) authority management:
the method refers to the authority control capability provided by the online document, and can control the members of the document allowed to be collaboratively edited and viewed, for example, the authority control modes such as all members of the enterprise, designated members, temporary access of external enterprise members and the like are provided.
Collaborators:
the member who has the online document editing right, generally speaking, the member who has the right to collaboratively edit the online document can become one of the collaborators who edit the online document after the online document is opened. Alternatively, the online document may show the editorial records of collaborators.
The At function:
in the embodiment of the application, At refers to a function for triggering and selecting a personnel list after a user inputs @ characters, and is a short name of the @ function.
In the embodiment of the application, the online document can be created and pushed based on the instant messaging application based on one function of the instant messaging application. An online document may be accessed through an instant messaging application or through an external browser.
The users in the online document are distinguished by accounts, wherein the account system of the online document can directly reuse the account system of the instant messaging application which the users depend on, and can also use an independent account system.
Basic implementation procedures of online documents in subsequent embodiments of the present application (including identity authentication in different environments such as an instant messaging application and an external browser) are as follows:
step 1, a creator of an online document opens an online collaboration option in a workbench of an instant messaging application client and then enters an option list, when a document access option or a document creation option is selected, the client uses the identity of a login user of a current instant messaging application to exchange an identity bill (docsid, docsk) for a collaboration document for a background, wherein the docsid is used for marking the identity of a current user, the docsk and docsk are matched for authentication and are used for marking the valid period and authority information of the document, the docsk is carried in a Uniform Resource Locator (URL) of the document, and the docsk is sensitive information and needs to be planted in a cookie of a domain where the current domain is located, and then web view is started to open the address access of the document.
Step 2, after receiving the request for accessing the document, the NodeJS server of the online document firstly obtains docsid, docskey and docid (document ID) from the URL and cookie of the online document, and is used for verifying the authentication logics such as whether the current user login state is valid, whether the authority for viewing the document exists and the like.
And step 3, if the identity verification is successful, the NodeJS server can store Svr pull online document related data (including information of current collaborator information, document content, authority configuration and the like) in the background of the bottom layer and return the data to the browser for rendering display.
And 4, after a browser (webview) opened by a user opens a document, the identity authentication is passed, and meanwhile, a long link service (WebSocket) is initiated to establish a long link with a background, so that the long link is used for communication of data such as document content updating, permission updating notification and the like in the cooperation process.
And 5, in the process of operating the document by the user, triggering message notification of the long-link service every time the operation behavior in the editor is performed, updating the data of the document to a background for storage in real time, and simultaneously notifying other people of the change or authority notification logic of the document in the cooperation process by the background in real time.
And 6, after the document opened by the user receives the content change pushed by the server, the content of the document exists in the form of an instruction set, if operation conflicts of different users for the document at the same position occur, a merging algorithm of the instruction set is triggered, the document content after the merging conflicts is rendered to the user, when conflicts which cannot be merged occur, the user is prompted to have version conflicts, and a part of the content needs to be abandoned or the user manually merges the conflicting content.
And 7, in the process of opening the collaborative document, the user can forward the document to other users at any time, invite the document to be collaboratively checked at the same time, the user receiving the forward notification message can directly enter the document through the notification message, and can see the online collaborator list of the current document, and the information of editors in each line of the document can be displayed on the left side of the document. Alternatively, if the document has only one user edit, the editor's information may not be displayed.
Taking a Word document as an example, the instruction set of the online document may be as follows:
the Word type online document uses an open source library, Quill, whose document format uses a structure called delta. The structure of delta is essentially an array of JSON, exemplified by:
Figure BDA0002332073440000081
wherein, the representation of a document is operated by a series of insets, and an insert can be a string or an object.
For example, say that
insert:{
image:'https://xxxxxcon.png'
},
Representing a picture, each insert object has an attribute, representing the attributes of the insert object, such as boldface, font size, etc.
In the embodiment of the present application, the rights management of the online document and the implementation logic of the collaborators may be as follows:
1) collaborator storage
The information of collaborators is stored in the vidFileInfo field of PB, and the original authorsType is kept unchanged for controlling the overall authority of the document. Newly adding structural bodies collaborators for storing the authority of collaborators. The structure has n fields, such as: vid, type, alias, userid, authority, etc., where authority follows the enumerated type AuthorType.
2) Recent collaborator store
Taking the PB store as an example, a field UserInfo may be newly opened for storage. The save information includes vid, alias, name, time (time of last addition), cnt (number of additions).
In the embodiment of the present application, the latest collaborators need not be actively added, but may be automatically added when addVidFileList or addcoollaboratories is called, and the operation time and cnt may be updated.
3) Basic logic
The owner of the online document has the highest rights to use. If a user's vid is in the list of collaborators, the user is given the corresponding collaborator rights. If a user's vid belongs to a collaboration group, the user is given the rights to the collaboration group to which the user belongs (in terms of highest rights if a user belongs to multiple collaboration groups at the same time). If a user is neither on the list of collaborators nor in the collaboration group, the user's permissions may be default permissions for the online document.
When the server checks the user right, the server checks the four items in sequence, and accumulation is not needed. For example, when it is checked that a user belongs to a collaborator, the collaborative group permissions of the user are not checked any more, and the online document default permissions of the user are not checked any more.
4) Addition of collaborators
The owner of the online document can add collaborators, and the rights of the added collaborators can be set by the owner of the online document; if a collaborator or a collaboration group member of an online document pulls a new collaborator, the new collaborator's permissions are the same as the puller's permissions. If a new collaborator is actively joined through a link, the new collaborator may have default permissions on the online document.
5) Deletion of collaborators
Mode a. can be deleted by deletecollectors instructions, for example, only the owner of the online document may operate. This approach is not actually deleted from storage, but simply marks no permission. Thus, unless the owner of the online document and the collaborators actively add, they cannot become collaborators again. After a collaborator is deleted, the online document disappears from the collaborator document list corresponding to the deleted collaborator, and meanwhile, the server can send a deletion notification to the deleted collaborator.
Way b. collaborators may also actively exit the collaboration of the online document, at which point the server deletes the collaborators from storage, in which case the collaborators may enter through the links of the online document and become collaborators again. When the collaborator quits the cooperation of the online document actively, the server deletes the information of the collaborator and then sends a notification of quitting the collaborator to the owner of the online document.
6) Collaborator modification
The owner of the online document may modify the collaborators via modifycollarotors instructions.
7) Collaborator acquisition
The owner or collaborators of the online document may obtain information of the respective collaborators through the getcolloborators instruction.
8) Checking of rights
When the server receives an authority query instruction for the collaborative document, if the inquirer is the owner of the online document, the highest authority is returned to the inquirer; if the inquirer is a collaborator of the online document, returning collaborator rights (including the case of no rights) to the inquirer; if the inquirer is a member of the cooperation group of the online document, returning the authority of the cooperation group to the inquirer, and if the inquirer corresponds to a plurality of cooperation groups at the same time, returning the highest authority information; if the querier is not the owner, collaborator, or a member of the collaboration group of the online document, the default permissions for the online document are returned to the querier.
In the above scheme, there may be a plurality of collaborators in a document, and different collaborators may need to pay attention to different document contents in the document, for example, taking a document as a table document, the table document may include cells that need to be paid attention to corresponding to each collaborator, and when one collaborator opens the document, the cells that need to be paid attention to need to be manually searched from each cell, which seriously affects the search efficiency of the document contents. The scheme shown in each subsequent embodiment of the application can greatly improve the searching efficiency of the document content in the document.
Referring to fig. 1, a system configuration diagram of a document system according to various embodiments of the present application is shown. As shown in fig. 1, the system includes a server 120, a database 140, and a number of terminals 160.
The server 120 is a server, or a plurality of servers, or a virtualization platform, or a cloud computing service center.
Server 120 may be a server that provides background support for documents. The server 120 may be composed of one or more functional units. Alternatively, as shown in fig. 1, the server 120 may include an interface unit 120a, an online document management unit 120b, and a push unit 120 c.
The interface unit 120a is configured to perform information interaction with a document-supporting application program (such as an instant messaging application or an external browser) installed in the terminal 160, so as to obtain relevant information of a user corresponding to the terminal 160, such as user account information and user operation information.
The document managing unit 120b is used for generating or updating documents for the respective users according to the relevant information of the respective users.
The pushing unit 120c is used for pushing the document content of the newly created or updated document to the terminal 160 corresponding to each user.
The database 140 may be a Redis database, or may be another type of database. The database 140 is used to store various types of data, such as user information of each user, document contents including each document, and the like.
The terminal 160 may be a terminal device having a network connection function and installed with an application program corresponding to the server 120, for example, the terminal 160 may be a mobile phone, a tablet computer, an e-book reader, smart glasses, a smart watch, an MP3 player (Moving Picture Experts Group Audio Layer III, mpeg Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, mpeg Audio Layer 4), a laptop computer, a desktop computer, and the like.
The terminal 160 is connected to the server 120 via a communication network. Optionally, the communication network is a wired network or a wireless network.
Optionally, the system may further include a management device (not shown in fig. 1), which is connected to the server 120 through a communication network. Optionally, the communication network is a wired network or a wireless network.
Optionally, the wireless network or wired network described above uses standard communication techniques and/or protocols. The Network is typically the Internet, but may be any Network including, but not limited to, a Local Area Network (LAN), a Metropolitan Area Network (MAN), a Wide Area Network (WAN), a mobile, wireline or wireless Network, a private Network, or any combination of virtual private networks. In some embodiments, data exchanged over a network is represented using techniques and/or formats including Hypertext Mark-up Language (HTML), Extensible markup Language (XML), and the like. All or some of the links may also be encrypted using conventional encryption techniques such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet protocol Security (IPsec). In other embodiments, custom and/or dedicated data communication techniques may also be used in place of, or in addition to, the data communication techniques described above.
FIG. 2 is a flowchart illustrating a document presentation method according to an exemplary embodiment, which may be performed by a computer device, for example, interactively performed by a server and a terminal of the system shown in FIG. 1. As shown in fig. 2, the document presentation method may include the steps of:
in step 21, the server responds to the creation or update operation of the document and acquires the document content of the document.
In step 22, the server inquires about the document contents of the document, which are specially reminded for the user.
The special reminder refers to a reminder for the user in a special notification message manner, and includes but is not limited to an instant messaging message notification, a pop-up window notification, a mail notification, and the like.
In one possible implementation manner, the server may query the document content for the special reminder for the user by querying a data object in the document content for the special reminder for the user.
For example, the data object for reminding the user may include an identifier of the data object, an identifier of a creator of the data object, an identifier of a person to be reminded of the data object, a sequence number of the data object, and the like.
The data objects can be added manually by the creator of the data objects in the process of editing the document contents in the document. For example, the owner or collaborator of a document may add a data object to the document for reminding another collaborator through the At function.
Correspondingly, when a creator of the data object adds a data object for reminding a user in the document, the server can inquire the data object according to the document content updated in real time.
Step 23, the server responds to the first document content selected in the document by other users and determines a first user with special reminding, and sends a first notification message to a terminal corresponding to the first user; accordingly, the terminal receives the first notification message.
The other users can also be called reminder users, and in the process of editing the document content, if the other users need to remind the first user of paying attention to the first document content in the document, the other users can select the first document content and determine the first user needing special reminding, so that the server is triggered to send a first notification message to the terminal corresponding to the first user.
The manner of selecting the first document content by the other users may be various, for example, the other users may directly select the first document content, for example, directly select the first document content by clicking and dragging a cursor.
Alternatively, the other user may indirectly select the first document content, for example, the other user may indirectly select the first document content by adding a special data structure at a specified position in the document relative to the first document content.
For example, in one possible implementation, the other user may add a special data structure to the back or front of the first document content to indirectly select the first document content. Optionally, the special data structure may also be used to trigger a special reminder for the first user.
Optionally, the special data structure added corresponding to the first document content may be a first data object, that is, the first data object is a data object for reminding the first user. In this embodiment of the application, when the server detects that a first data object for reminding a first user exists in newly updated content in a document, the server may send a first notification message to a terminal corresponding to the first user.
For example, when one collaborator a edits a document, another collaborator B is reminded through the @ function, at this time, the terminal of the collaborator a adds the data object of the @ collaborator B to the document, and updates the added data object to a server in the background, and when the server detects that the newly added content of the collaborator a contains the data object of the @ collaborator B, the server sends a notification message to the terminal of the collaborator B to notify the collaborator B that the document contains the newly added content which needs attention.
Step 24, the terminal displays the first notification message.
And step 25, the terminal responds to the triggering operation of the first notification message and at least displays the first document content.
In this embodiment of the application, after the terminal corresponding to the first user displays the first notification message, if the first user needs to view the newly added content needing attention in the document, the content of at least the first document may be triggered to be displayed through the first notification message.
For example, when the terminal detects that the first user triggers the operation of opening the first notification message, the terminal may pull the document content of the document to the server, and the terminal displays the document by using the position of the first document content in the document as the initial display position of the document.
The initial display position refers to a default display position when no further operation of the user is received after the document is opened.
Alternatively, the above-mentioned presentation position may be indicated by a scroll bar parameter of the document.
In this embodiment of the present application, after the terminal of the first user pulls the document, when the document is displayed through the document interface, the terminal may be directly positioned to the position of the first data object in the document to display the document, that is, after the terminal opens the document, and in a case that the user does not need to adjust the scroll bar, the default display content is the content of the position where the first data object is located.
For example, please refer to fig. 3, which shows a flowchart of an implementation of an At function for a document according to an embodiment of the present application. As shown in FIG. 3, the implementation flow of the At function for the document may be as follows:
s31, user a @ user B in the document displayed by client a.
S32, client a generates the data object of @ user B in the document and sends an update notification to the server.
User a is the creator of the data object of @ user B.
S33, the server receives the update notification and sends a reminder notification message to the client B of the user B.
The reminding notification message is equivalent to the first notification message, and the user B is equivalent to the first user.
S34, the server saves the updated content in the server-side document.
And S35, the client b receives the reminding notification message and displays the reminding notification message.
S36, when receiving the trigger operation of the reminder notification message from the user B, the client B pulls the document from the server, and directly locates the position of the data object of the @ user B to display the document.
In another possible implementation manner, the displaying of at least the first document content may also be separately obtaining the first document content in the document, and displaying the first document content outside the document.
For example, when the terminal detects that the first user triggers the operation of opening the first notification message, the terminal may pull the first document content to the server separately, and the terminal may present the first document content separately from the document, for example, may present the first document content as an instant messaging message.
To sum up, according to the scheme shown in the embodiment of the application, in response to a first document content selected by other users in a document and a first user with a special reminder determined, a server sends a first notification message to a terminal corresponding to the first user, the terminal of the first user receives the first notification message and then displays the first notification message, and in response to a trigger operation on the first notification message, at least the first document content is displayed.
Based on the scheme shown in fig. 2, the method can be deeply integrated with the office capacity of the instant messaging application, provide the supplement of the capacity of solving team cooperation and notification reach of enterprise members in the daily office process, combine the very important functions of the interactive capacity of the instant messaging application, document and group chat, Artificial Intelligence (AI) robots, automatic group establishment and the like, and provide an efficient enterprise daily office system for the enterprise members.
FIG. 4 is a flowchart illustrating a document presentation method according to an exemplary embodiment, which may be performed by a computer device, for example, interactively performed by a server and a terminal of the system shown in FIG. 1. As shown in fig. 4, the document presentation method may include the steps of:
in step 401, a first terminal sends an operation notification to a server in response to an operation of an editing user to create or update a document.
Optionally, the operation notification may include updated document content of the document.
In the embodiment of the application, when the editing user edits the document, a specific collaborator can be reminded to pay attention to the document content at a certain position in the document by creating a special data object or directly determining a mode of the user needing special reminding.
Optionally, the editing user may create a data object for a specific collaborator, or the first terminal may provide a function selected by the collaborator when determining a user who needs a special reminder for a document content.
For example, taking the creation of a data object for a particular collaborator as an example, when an editing user edits a document, the editing user may enter @ in the document or trigger the evoking of a hot contact list by clicking on an @ tool provided on a work bar, where the hot contact list is based on the user who is more hot during the use of the instant messaging application by the current user (i.e., the editing user). After the editing user selects one collaborator user from the hot contact list as the collaborator to be reminded of by the data object to be generated, the first terminal can generate the data object for reminding the collaborator in the document.
For example, please refer to fig. 5, which illustrates a schematic diagram of a contact selection according to an embodiment of the present application. As shown in fig. 5, in an interface 51 displayed by the first terminal of the editing user, a document interface with a document is displayed, after the editing user inputs an "@" symbol in the document interface, a contact list 52 is displayed in a pop-up manner, the contact list includes a hotspot contact of the editing user in the instant messaging application, and when the editing user selects a contact 53 (corresponding to a contact BBB) in the contact list, a data object 54 of "@ BBB" is displayed in the document interface.
For example, after the editing user @ a collaborator user in the document, the first terminal may generate a @ someone data object in the document, the data object may be presented as an independent data structure, when a collaborator clicks the @ object data structure in the document, a user information window for displaying collaborators prompted by the data object may be triggered, and related information of the collaborators prompted by the data object, including a head portrait, a job number, a position, a contact manner, and the like, may be displayed in the user information window.
In step 402, the server obtains the document content of the document in response to a create or update operation on the document.
In the embodiment of the application, the first terminal generates and sends an update notification to the server according to the editing operation of the editing user in the document, wherein the update notification includes the content edited by the editing user in the document, including deleted content and/or newly added content, and correspondingly, the server updates the document content in the document on the server side according to the update notification and simultaneously acquires the document content in the updated document.
Optionally, in response to the creation operation of the document, the server may obtain all document contents in the document; and responding to the new operation of the document, the server can acquire the newly added document content in the document of the editing user.
In step 403, the server queries the document contents of the document, which are specially reminded for the user.
In the embodiment of the application, when the server responds to the creation operation of the document and acquires all document contents in the document, the server may query all document contents in the document for the document content specifically reminding the user.
When the server responds to a new operation on the document and acquires the newly added document content in the document of the current time of the editing user, the server can inquire the document content for specially reminding the user in the newly added document content.
Optionally, in a scenario where a special reminder is given to the user by creating a special data object, the server may query the document content of the document to remind the user of the data object.
Or, in a scene that the document content is directly selected and the user needing special reminding is determined, the server can inquire the document content of the document, select and determine the document content of the user needing special reminding.
Step 404, the server responds to the first document content selected in the document by other users and determines a first user with special reminding, and sends a first notification message to a second terminal corresponding to the first user; accordingly, the second terminal receives the first notification message.
For example, in a scene of specially reminding a user by creating a special data object, in a document displayed by a first terminal, the behavior of At others is triggered by monitoring an @ event input by an editing user or an @ event of a toolbar, and in the document in the first terminal, a user list is provided for the editing user to select in a manner of dynamically creating the user list, wherein the user list is hot contact data obtained by data communication between a webpage displaying the document and an instant messaging application through an interface; when the editing user selects the At user, a data object of @ + user name based on the user information vid is generated in the document displayed by the first terminal and displayed in the document, and simultaneously triggering a notification instruction to be submitted to a background server, wherein the notification instruction comprises information such as the identification ID of the data object, the name of the @ user, vid, At initiator (namely editing user), enterprise identification morphid and the like, and after the background receives the notification instruction, push of notification message is made according to the corpid and vid of the collaborator user being @, the first notification message is issued through the notification channel between the background and the second terminal, the issued first notification message also contains the At initiator information and the At-released user information, and summary information of the document content preceding the data object for information presentation of subsequent notification messages.
The first terminal stores the data objects as data in a document while sending a notification to a terminal where a user (i.e. a collaborator) is located, generates a changeset instruction of the position of the document as an independent data object rule, and updates the position of the document to a background server through a websocket data channel and push collaboration data, and the background server simultaneously pushes the document opened by each collaborator of the current document after receiving the update of the collaboration data, so that the document displayed in the terminal of other collaborators can update the content in real time.
Correspondingly, from the interface display angle of the first terminal, the first terminal can display a document interface, and a document is displayed in the document interface; in response to the operation of selecting the first document content in the document, overlaying and displaying a user list on the document interface; and in response to the operation of the first user with the special reminder determined in the user list, the trigger server sends a first notification message to the terminal of the first user.
Optionally, in a scenario where a special reminder is performed on the user by creating a special data object, in response to determining an operation of a first user of the special reminder in the user list, the first terminal may further add and display the first data object at a position in the document corresponding to the content of the first document.
In step 405, the second terminal displays the first notification message.
Optionally, the first notification message includes notification display information; the notification presentation information includes: the document name of the document, the user names of the other users, and the content profile of the target content in the document corresponding to the position of the first data object. The other users are reminder users of the first user who selects the first document content in the document and determines the special reminder.
In this embodiment, the second terminal may receive the first notification message through the instant messaging application.
When the first notification message is displayed, the second terminal can display a notification card in a communication interface of the instant messaging application, wherein the notification card contains the notification display information.
And step 406, the second terminal responds to the triggering operation of the first notification message and at least displays the first document content.
Optionally, in a possible implementation manner, in response to the triggering operation on the first notification message, the second terminal may pull the document from the server, and display the document with a position of the content of the first document in the document as an initial display position of the document.
Besides directly showing the first document content in the document, the second terminal may also directly show the first document content outside the document instead of showing the document. For example, after pulling a document, the terminal may extract a first document content from the document, and display the first document content outside the document, for example, display the first document content in the form of an instant messaging message; or, the terminal may also pull the first document content from the server separately, and directly display the pulled first document content.
From the aspect of interface display of the second terminal, the second terminal can display a notification card in a communication interface of the instant messaging application, wherein the notification card comprises notification display information, and the notification display information comprises a document name of a document, a user name of a reminder user and a content introduction of the first document content; the reminder user is other users of the first user who selects the first document content in the document and determines the special reminder; and responding to the triggering operation of the notification card, and at least showing the first document content by the second terminal. In a possible implementation manner, the second terminal may present the document in a document interface, and the initial presentation position of the document is a position of the first document content in the document; or, in another possible implementation manner, the second terminal may also directly present the content of the first document without presenting the document.
Optionally, in a scenario where a special data object is created to perform special reminding on a user, the first document content corresponds to a first data object, and the first data object is a data object for performing special reminding on the first user; the second terminal takes the position of the first document content in the document as the initial display position of the document, and queries DOM nodes with the first data object from all document object model DOM nodes of the document before displaying the document; and acquiring the position of the DOM node where the first data object exists in the document as the position of the first document content in the document.
Optionally, the first notification message includes an object identifier of the first data object; the second terminal can inquire the object identification of the first data object from each Document Object Model (DOM) node of the document; and taking the DOM node containing the object identification of the first data object as the DOM node in which the first data object exists.
In the embodiment of the application, after the second terminal displays the notification card, when the target user clicks the notification card to enter the document, the second terminal searches for document DOM node information through the unique ID information of the first data object sent by the background in the first notification message after opening the document, and directly triggers the position location logic of the document after the matched data object exists, so as to help the user locate the content corresponding to the position of At.
Optionally, the scheme shown in the present application further includes: responding to the first document content as the designated content, and establishing a target backlog for the first user; the specified content is document content belonging to the backlog.
Optionally, the scheme shown in the present application further includes: canceling the target backlog in response to the completion flag for the first document content; the completion flag is a flag indicating that the corresponding to-do item has been completed in the document.
Optionally, the scheme shown in the present application further includes: responding to the document, the first document content also carries out special reminding on a second user except the first user, and an instant communication group is established, wherein the members in the instant communication group comprise the first user and the second user.
In the embodiment of the application, by means of the collaboration notification reach and interaction capability of the instant messaging application, when: opening the document, the information flow of editors can be displayed on the right side of the document, who updates the document, the swarm robots are used for sending update prompts to the swarm by taking a certain time interval as a rule, and a plurality of obj (such as a calendar, a schedule, a task and the like) which mainly interact with the swarm can be added in the document. E.g. a member of the @ group; tasks to members in the group, completion notifications, etc.
For example, based on the capability of the instant messaging application to combine the to-do and task hierarchy, the following scenarios may be implemented in cooperation with the document: in an enterprise office scenario, a user uses a document At to a colleague, if the At is located behind the text content corresponding to a backlog in the document, the instant messaging application will directly create a backlog for the colleague through a backlog task system, and the colleague At can follow up the backlog through a notification card or an automatically created backlog task.
Optionally, if the At colleague completes the backlog, a completion flag may be set in the document corresponding to a location of a document content of the backlog in the document, and the server may automatically cancel the backlog after detecting the completion flag.
For example, please refer to fig. 6, which shows a schematic diagram of a completion flag according to an embodiment of the present application. As shown in fig. 6, the document 61 includes text contents 62 corresponding to several backlogs (shown in fig. 6 as text contents corresponding to 4 backlogs), a data object for reminding the collaborators to process is corresponding to the text content corresponding to each backlog, and the server creates respective backlogs for the collaborators corresponding to each data object; after the collaborator corresponding to the data object 63 completes the backlog corresponding to the collaborator, a completion flag 64 may be added to a frame before the text content corresponding to the data object 63 to indicate that the backlog is completed, and after the server detects the completion flag 64, the backlog corresponding to the data object 63 may be cancelled.
The type of the completion flag may be set according to an actual application requirement, for example, the completion flag may be a delete line on the content corresponding to the to-do-event, or the completion flag may be a specific symbol flag set before the content corresponding to the to-do-event.
In addition, for the backlog of At multiple collaborators among the document collaboration members, the server can automatically create a group among the multiple collaborators At in the document through the instant messaging application, and the members in the group can directly perform discussion aiming At specific contents in the document and cooperate with the combination of other office capacity, so that the efficiency of enterprises for daily office capacity is improved.
In addition, the server can also count the remaining backlogs (including the number of key messages forwarded by At or reference, backlogs in the instant messaging application, and the like) of the current user, and the server can initiate a timing push reminder to avoid the omission of the user on the key events.
Optionally, in a scenario that the second terminal, in response to the triggering operation on the first notification message, pulls the document from the server, and displays the document by using the position of the first document content in the document as the initial display position of the document, the second terminal, in response to the presence of the second document content in the document, displays a second notification message at a specified position in the interface where the document is located; the second document content is the document content which is except the first document content and specially reminded for the first user.
Optionally, the second terminal repositions the presentation position of the document to the position of the second document content in the document in response to the triggering operation on the second notification message.
In the embodiment of the application, the possibility that a user is reminded at different positions in the same document may occur, and a plurality of reminders are issued notification messages, and at this time, if the user opens the document through one of the notification messages, the document position corresponding to the notification message is automatically located.
For example, in the embodiment of the present application, in a scenario where a special data object is created to perform a special reminder on a user, when a target user corresponds to a first data object and a second data object in the document, if the target user triggers to display the document through a first notification message corresponding to the first data object, the first terminal may further display a second notification message corresponding to the second data object in a page where the displayed document is located, and if the target user wants to view other reminded locations, the second notification message may be triggered to jump to the location where the second data object is located.
For example, according to the scheme disclosed by the application, by extracting the popularity contact of the enterprise WeChat, when the user uses the online collaboration document, the user can be helped to quickly select a person needing to be reminded, for a collaborator who opens the collaboration document in a non-instant messaging application, a collaborator list of the current document can be provided for selection, and in combination with the notification reminding capability of the instant messaging application, the collaborator to be At receives a notification card exclusive to the document, the notification card can show the content summary before the position of the At, and the collaborator to be At can directly open the document by clicking the notification and directly locate the position of the At.
Optionally, if the At collaborator opens the document in a manner other than the notification message, for example, the document is opened through a document link, the terminal corresponding to the At collaborator may also display the current At information in the document (i.e., display the notification message according to the display manner of the second notification message), and the At collaborator may directly locate the corresponding position after being clicked, so that the At collaborator may quickly process the important information related to the At collaborator; optionally, after being clicked and located by the At collaborators, the server may eliminate a prompt triggered by the clicked notification, so as to solve the problem that the data objects of a plurality of At collaborators cannot be located effectively when existing in the document. Optionally, the data object after being viewed opens the document again will not be reminded again, otherwise the data object that is not viewed may retain the prompt each time the document is opened subsequently.
To sum up, according to the scheme shown in the embodiment of the application, in response to a first document content selected by other users in a document and a first user with a special reminder determined, a server sends a first notification message to a terminal corresponding to the first user, the terminal of the first user receives the first notification message and then displays the first notification message, and in response to a trigger operation on the first notification message, at least the first document content is displayed.
Reference is now made to FIG. 7, which is a flowchart block diagram illustrating a document presentation process in accordance with an exemplary embodiment. As shown in fig. 7, the document presentation process is as follows:
in step 71, user A inputs the "@" symbol in the document presented on the first terminal via the Web page.
The first terminal can establish a long link with the server through a long link channel, and obtains a document through the long link channel and displays the document by using a Web page.
Step 72, the instant messaging application in the first terminal provides the popularity contact list of the user a in the instant messaging application to the Web page, and the popularity contact list is displayed by the Web page.
Optionally, the hot contact list may include N contacts. When the number of the popularity contact persons in the instant messaging application of the user A is not less than N, adding N with the highest popularity in the popularity contact persons in the instant messaging application of the user A into a popularity contact person list; when the number of the hot contacts in the instant messaging application of the user A is less than N, the N contacts can be supplemented from the contacts in the instant messaging application of the user A and added into a hot contact list.
In step 73, after the user a selects the user B from the hot contact list, the first terminal generates a data object of "@ user B" in the document, and notifies the server of the document content including the data object.
And step 74, after receiving the document content notified by the first terminal, the server updates and stores the document content of the document, and synchronizes the document displayed by each collaborator side.
Step 75, the server detects the data object of the "@ user B" and sends a notification card to the second terminal of the user B, and the second terminal displays the notification card in the instant messaging application.
And 76, in the process of displaying the notification card, when the second terminal receives the trigger operation of the notification card, pulling the document to the server through the long access channel, and positioning the document to the position of the data object of the "@ user B" in the document for displaying.
Please refer to fig. 8, which illustrates an interface diagram of a document presentation process according to an embodiment of the present application. As shown in fig. 8, a user a inputs an "@" symbol in a Web page 81 displayed on a first terminal side, selects a user B in a pop-up hotness contact list, clicks a completion button to issue updated content, and then the document content in the Web page 81 is refreshed to the updated document content, wherein the updated document content includes a data object 82 displayed as "@ user B", and meanwhile, the server sends a notification message to a second terminal according to the data object 82 in the document content notified by the first terminal, and a notification card 84 is displayed in an interface 83 of an instant messaging application on the second terminal side, and the notification card 84 displays a user name of the user a, a document name of the document, and profile information of the document content located outside the data object 82 in the document. After the user B clicks the notification card 84, the first terminal will display the document in the jump value Web page 85, and the display position is the position of the data object 82.
The scheme shown in the embodiment of the application can be used for reminding the important concerned content of specific collaborators in the document, the user can be helped to quickly select the people needing to be reminded by extracting the hot contact of the instant messaging application, the collaborators who open the document in the environment outside the instant messaging application can also provide the collaborator list of the current document for selection, in addition, in combination with the notification reminding capability of the instant messaging application, the collaborator at @ can receive the special notification card of the document, the notification card can show the content summary before the position at which the collaborator at @ can directly open the document by clicking the notification card and can be positioned at the position at which the collaborator @ is positioned, and the synchronization and cooperation problems of important information in an office scene can be effectively improved.
FIG. 9 is a block diagram illustrating the structure of a document presentation apparatus according to an exemplary embodiment. The document presentation apparatus may be used in a computer device, such as a terminal, to perform all or part of the steps performed by the terminal in the embodiments shown in fig. 2 or fig. 4. The document presentation apparatus may include:
a notification message receiving module 901, configured to receive a first notification message, where the first notification message is a message sent by a server in response to a first document content selected in a document by another user and after determining a location user of a special reminder;
a first notification message displaying module 902, configured to display the first notification message;
a document content presentation module 903, configured to respond to a trigger operation on the first notification message, and present at least the first document content.
Optionally, the document content presentation module 903 is configured to pull the document from the server in response to a trigger operation on the first notification message; and displaying the document by taking the position of the first document content in the document as the initial display position of the document.
Optionally, the first document content corresponds to a first data object, where the first data object is a data object for performing special reminding on the first user; the device further comprises:
a node query module, configured to query, before the document content presentation module 903 presents the document by using the position of the first document content in the document as the initial presentation position of the document, a DOM node where the first data object exists from document object model DOM nodes of the document;
and the position acquisition module is used for acquiring the position of the DOM node with the first data object in the document as the position of the first document content in the document.
Optionally, the first notification message includes an object identifier of the first data object;
the node query module is configured to, in response to the node query module,
inquiring the object identification of the first data object from each Document Object Model (DOM) node of the document;
and taking the DOM node containing the object identifier of the first data object as the DOM node of the first data object.
Optionally, the first notification message includes notification display information; the notification presentation information includes: the document name of the document, the user names of the other users, and the content profile of the first document content;
the notification message receiving module 901 is configured to receive the first notification message through an instant messaging application;
the first notification message display module 902 is configured to display a notification card in a communication interface of the instant messaging application, where the notification card includes the notification display information.
Optionally, the apparatus further comprises:
the second notification message display module is used for responding to the existence of second document content in the document and displaying a second notification message at a specified position in an interface where the document is located;
wherein the second document content is a document content that is in addition to the first document content and that is specifically reminded to the first user.
Optionally, the apparatus further comprises:
and the repositioning module is used for repositioning the display position of the document to the position of the second document content in the document in response to the triggering operation of the second notification message.
Optionally, the document content presentation module 903 is further configured to pull the first document content from the server in response to a trigger operation on the first notification message; and displaying the first document content outside the document.
To sum up, according to the scheme shown in the embodiment of the application, in response to a first document content selected by other users in a document and a first user with a special reminder determined, a server sends a first notification message to a terminal corresponding to the first user, the terminal of the first user receives the first notification message and then displays the first notification message, and in response to a trigger operation on the first notification message, at least the first document content is displayed.
FIG. 10 is a block diagram illustrating the structure of a document presentation apparatus according to an exemplary embodiment. The document presentation apparatus may be used in a computer device, such as a server, to perform all or part of the steps performed by the server in the embodiments shown in fig. 2 or fig. 4. The document presentation apparatus may include:
a document content obtaining module 1001, configured to obtain a document content of a document in response to a creation or update operation on the document;
a content query module 1002, configured to query document contents of the document, which are specially reminded to the user;
the notification module 1003 is configured to send, in response to a first user who selects a first document content in the document and determines a special reminder, a first notification message to a terminal corresponding to the first user, so that the terminal displays the first notification message, and in response to a trigger operation on the first notification message, at least displays the first document content.
Optionally, the apparatus further comprises:
the backlog establishing module is used for responding to the first document content as the designated content and establishing target backlogs for the first user;
the specified content is document content belonging to backlogs.
Optionally, the apparatus further comprises:
a backlog canceling module, configured to cancel the target backlog in response to a completion flag of the first document content; the completion mark is a mark indicating that the corresponding to-do-item is completed in the document.
Optionally, the apparatus further comprises:
and the group establishing module is used for responding to the special prompt of the first document content to a second user except the first user in the document, and establishing an instant communication group, wherein the members in the instant communication group comprise the first user and the second user.
To sum up, according to the scheme shown in the embodiment of the application, in response to a first document content selected by other users in a document and a first user with a special reminder determined, a server sends a first notification message to a terminal corresponding to the first user, the terminal of the first user receives the first notification message and then displays the first notification message, and in response to a trigger operation on the first notification message, at least the first document content is displayed.
FIG. 11 is a block diagram illustrating a computer device in accordance with an exemplary embodiment. The computer device 1100 includes a Central Processing Unit (CPU)1101, a system memory 1104 including a Random Access Memory (RAM)1102 and a Read Only Memory (ROM)1103, and a system bus 1105 connecting the system memory 1104 and the central processing unit 1101. The computer device 1100 also includes a basic input/output system (I/O system) 1106, which facilitates transfer of information between devices within the computer, and a mass storage device 1107 for storing an operating system 1113, application programs 1114 and other program modules 1115.
The basic input/output system 1106 includes a display 1108 for displaying information and an input device 1109 such as a mouse, keyboard, etc. for user input of information. Wherein the display 1108 and input device 1109 are connected to the central processing unit 1101 through an input output controller 1110 connected to the system bus 1105. The basic input/output system 1106 may also include an input/output controller 1110 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, input-output controller 1110 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 1107 is connected to the central processing unit 1101 through a mass storage controller (not shown) that is connected to the system bus 1105. The mass storage device 1107 and its associated computer-readable media provide non-volatile storage for the computer device 1100. That is, the mass storage device 1107 may include a computer-readable medium (not shown) such as a hard disk or CD-ROM drive.
Without loss of generality, the computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD, or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the foregoing. The system memory 1104 and mass storage device 1107 described above may be collectively referred to as memory.
The computer device 1100 may connect to the internet or other network devices through the network interface unit 1111 that is connected to the system bus 1105.
The memory further includes one or more programs, the one or more programs are stored in the memory, and the central processing unit 1101 implements all or part of the steps executed by the terminal or the server in the method shown in fig. 2 or fig. 4 by executing the one or more programs.
In an exemplary embodiment, a non-transitory computer readable storage medium including instructions, such as a memory including computer program (instructions), which are executable by a processor of a computer device to perform all or part of the steps performed by a terminal or a server in the methods shown in the various embodiments of the present application, is also provided. For example, the non-transitory computer readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (19)

1. A document content presentation method is characterized by comprising the following steps:
receiving a first notification message, wherein the first notification message is sent by a server in response to other users selecting first document content in a document and after determining a first user with a special reminder;
displaying the first notification message;
and at least presenting the first document content in response to the triggering operation of the first notification message.
2. The method of claim 1, wherein the presenting at least the first document content in response to the triggering operation of the first notification message comprises:
in response to a triggering operation on the first notification message, pulling the document from the server;
and displaying the document by taking the position of the first document content in the document as the initial display position of the document.
3. The method according to claim 2, wherein the first document content corresponds to a first data object, and the first data object is a data object for performing a special reminder for the first user;
the method, before the document is displayed, of using the position of the first document content in the document as an initial display position of the document, further includes:
inquiring DOM nodes with the first data object from all document object model DOM nodes of the document;
and acquiring the position of the DOM node with the first data object in the document as the position of the first document content in the document.
4. The method of claim 3, wherein the first notification message includes an object identification of the first data object;
the querying, from Document Object Model (DOM) nodes of the document, a DOM node in which the first data object exists, includes:
inquiring the object identification of the first data object from each Document Object Model (DOM) node of the document;
and taking the DOM node containing the object identifier of the first data object as the DOM node of the first data object.
5. The method of claim 2, further comprising:
responding to the existence of second document content in the document, and displaying a second notification message at a specified position in an interface where the document is located;
wherein the second document content is a document content that is in addition to the first document content and that is specifically reminded to the first user.
6. The method of claim 5, further comprising:
and in response to the triggering operation of the second notification message, repositioning the display position of the document to the position of the second document content in the document.
7. The method of claim 1, wherein the presenting at least the first document content in response to the triggering operation of the first notification message comprises:
in response to a triggering operation on the first notification message, pulling the first document content from the server;
and displaying the first document content outside the document.
8. The method according to claim 1, wherein the first notification message includes notification presentation information; the notification presentation information includes: the document name of the document, the user names of the other users, and the content profile of the first document content;
the receiving a first notification message includes:
receiving the first notification message through an instant messaging application;
the presenting the first notification message includes:
and displaying a notification card in a communication interface of the instant messaging application, wherein the notification card comprises the notification display information.
9. A document presentation method, performed by a server, the method comprising:
responding to the creation or update operation of a document, and acquiring the document content of the document;
inquiring document contents of special reminders for users in the document contents of the documents;
responding to a first document content selected by other users in the document and determining a first user with a special reminder, sending a first notification message to a terminal corresponding to the first user, so that the terminal displays the first notification message, and responding to a triggering operation of the first notification message to display at least the first document content.
10. The method of claim 9, further comprising:
responding to the first document content as the designated content, and establishing a target to-do item for the first user;
the specified content is document content belonging to backlogs.
11. The method of claim 10, further comprising:
canceling the target backlog in response to a completion flag for the first document content; the completion mark is a mark indicating that the corresponding to-do-item is completed in the document.
12. The method of claim 9, further comprising:
responding to the document, wherein the first document content also carries out special reminding on a second user except the first user, and an instant communication group is established, wherein members in the instant communication group comprise the first user and the second user.
13. A document presentation method, wherein the method is executed by a terminal, and the method comprises:
displaying a notification card in a communication interface of the instant messaging application, wherein the notification card comprises notification display information, and the notification display information comprises a document name of a document, a user name of a reminder user and a content brief introduction of a first document content; the reminder user is other users of the first user who selects the first document content in the document and determines special reminding;
and at least displaying the first document content in response to the triggering operation of the notification card.
14. The method of claim 13, wherein the presenting at least the first document content in response to the triggering operation on the notification card comprises:
the document is presented in a document interface, and the initial presentation position of the document is the position of the first document content in the document.
15. A document presentation method, wherein the method is executed by a terminal, and the method comprises:
displaying a document interface, wherein a document is displayed in the document interface;
in response to the operation of selecting the first document content in the document, overlaying and displaying a user list on the document interface;
and in response to the operation of the first user with the special reminder determined in the user list, triggering the server to send a first notification message to the terminal of the first user.
16. A document presentation apparatus, wherein the apparatus is used in a terminal, the apparatus comprising:
the notification message receiving module is used for receiving a first notification message, wherein the first notification message is sent by the server in response to other users selecting first document content in the document and determining a user of a special reminder;
the notification message display module is used for displaying the first notification message;
and the document content display module is used for responding to the triggering operation of the first notification message and at least displaying the first document content.
17. A document presentation apparatus, wherein the apparatus is used in a server, the apparatus comprising:
the document content acquisition module is used for responding to the creation or update operation of a document and acquiring the document content of the document;
the document content query module is used for querying document contents of the documents, which are specially reminded for the user;
and the notification message sending module is used for responding to a first document content selected in the document by other users and determining a first user with a special prompt, sending a first notification message to a terminal corresponding to the first user so that the terminal can display the first notification message, and responding to a triggering operation of the first notification message to display at least the first document content.
18. A computer device comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the online document presentation method according to any one of claims 1 to 15.
19. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the online document presentation method according to any one of claims 1 to 15.
CN201911342760.XA 2019-12-23 2019-12-23 Document display method and device, computer equipment and storage medium Pending CN111045999A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911342760.XA CN111045999A (en) 2019-12-23 2019-12-23 Document display method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911342760.XA CN111045999A (en) 2019-12-23 2019-12-23 Document display method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111045999A true CN111045999A (en) 2020-04-21

Family

ID=70237475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911342760.XA Pending CN111045999A (en) 2019-12-23 2019-12-23 Document display method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111045999A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654429A (en) * 2020-06-22 2020-09-11 腾讯科技(深圳)有限公司 To-do-list creating method, display method, terminal device and storage medium
CN111931464A (en) * 2020-07-30 2020-11-13 北京字节跳动网络技术有限公司 Document editing method and device and electronic equipment
CN112163406A (en) * 2020-10-22 2021-01-01 腾讯科技(深圳)有限公司 Interactive message display method, device, computer equipment and storage medium
CN112307397A (en) * 2020-10-29 2021-02-02 腾讯科技(深圳)有限公司 Schedule processing method, device and equipment based on online document and storage medium
CN112632931A (en) * 2020-08-06 2021-04-09 腾讯科技(深圳)有限公司 Task verification and cancellation method based on table, table generation method and device
WO2021077883A1 (en) * 2019-10-24 2021-04-29 北京字节跳动网络技术有限公司 Method and apparatus for displaying online document, electronic device, and storage medium
CN112989766A (en) * 2021-05-11 2021-06-18 金锐同创(北京)科技股份有限公司 Method and device for processing document labeling information and terminal equipment
CN113868201A (en) * 2021-12-02 2021-12-31 天津联想协同科技有限公司 Method, device and storage medium for sharing file by cooperation of multiple persons
CN113918835A (en) * 2020-07-09 2022-01-11 Tcl科技集团股份有限公司 Item reminding method, item reminding system, terminal device and storage medium
WO2022148485A1 (en) * 2021-01-11 2022-07-14 北京字跳网络技术有限公司 Information display method and apparatus, and electronic device
CN114765640A (en) * 2021-01-04 2022-07-19 腾讯科技(深圳)有限公司 To-do-list display method, related device, equipment and storage medium
CN115174508A (en) * 2021-08-31 2022-10-11 北京字跳网络技术有限公司 Message notification method, device, equipment and storage medium
CN115277617A (en) * 2022-08-02 2022-11-01 北京达佳互联信息技术有限公司 Information processing method and device, electronic equipment and computer readable storage medium
CN116319731A (en) * 2022-09-06 2023-06-23 北京达佳互联信息技术有限公司 Online document sending method and device, electronic equipment and storage medium
WO2024159922A1 (en) * 2023-01-30 2024-08-08 北京字跳网络技术有限公司 Information processing method and apparatus
US12430497B2 (en) 2020-07-30 2025-09-30 Douyin Vision Co., Ltd. Document editing method and apparatus, and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040003352A1 (en) * 2002-06-27 2004-01-01 Bargeron David M. Notification of activity around documents
CN105264516A (en) * 2013-03-14 2016-01-20 微软技术许可有限责任公司 Document collaboration and notification of changes
CN110210007A (en) * 2018-05-30 2019-09-06 腾讯科技(深圳)有限公司 A kind of processing method of document, terminal and computer equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040003352A1 (en) * 2002-06-27 2004-01-01 Bargeron David M. Notification of activity around documents
CN105264516A (en) * 2013-03-14 2016-01-20 微软技术许可有限责任公司 Document collaboration and notification of changes
CN110210007A (en) * 2018-05-30 2019-09-06 腾讯科技(深圳)有限公司 A kind of processing method of document, terminal and computer equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
宋光昕,何丽梅,武田艳: "BIM技术在造价控制中的研究及实践", 华南理工大学出版社, pages: 0086 *

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11699028B2 (en) 2019-10-24 2023-07-11 Beijing Bytedance Network Technology Co., Ltd. Method and apparatus for displaying online document, electronic device, and storage medium
WO2021077883A1 (en) * 2019-10-24 2021-04-29 北京字节跳动网络技术有限公司 Method and apparatus for displaying online document, electronic device, and storage medium
CN111654429A (en) * 2020-06-22 2020-09-11 腾讯科技(深圳)有限公司 To-do-list creating method, display method, terminal device and storage medium
CN111654429B (en) * 2020-06-22 2023-12-12 腾讯科技(深圳)有限公司 To-do creation method, display method, terminal device and storage medium
CN113918835A (en) * 2020-07-09 2022-01-11 Tcl科技集团股份有限公司 Item reminding method, item reminding system, terminal device and storage medium
US12430497B2 (en) 2020-07-30 2025-09-30 Douyin Vision Co., Ltd. Document editing method and apparatus, and electronic device
CN111931464A (en) * 2020-07-30 2020-11-13 北京字节跳动网络技术有限公司 Document editing method and device and electronic equipment
CN112632931A (en) * 2020-08-06 2021-04-09 腾讯科技(深圳)有限公司 Task verification and cancellation method based on table, table generation method and device
CN112163406B (en) * 2020-10-22 2024-02-20 腾讯科技(深圳)有限公司 Interactive message display method and device, computer equipment and storage medium
CN112163406A (en) * 2020-10-22 2021-01-01 腾讯科技(深圳)有限公司 Interactive message display method, device, computer equipment and storage medium
CN112307397A (en) * 2020-10-29 2021-02-02 腾讯科技(深圳)有限公司 Schedule processing method, device and equipment based on online document and storage medium
CN114765640A (en) * 2021-01-04 2022-07-19 腾讯科技(深圳)有限公司 To-do-list display method, related device, equipment and storage medium
CN114765640B (en) * 2021-01-04 2024-04-23 腾讯科技(深圳)有限公司 To-do display method, related device, equipment and storage medium
WO2022148485A1 (en) * 2021-01-11 2022-07-14 北京字跳网络技术有限公司 Information display method and apparatus, and electronic device
CN112989766B (en) * 2021-05-11 2021-08-03 金锐同创(北京)科技股份有限公司 Method and device for processing document labeling information and terminal equipment
CN112989766A (en) * 2021-05-11 2021-06-18 金锐同创(北京)科技股份有限公司 Method and device for processing document labeling information and terminal equipment
CN115174508A (en) * 2021-08-31 2022-10-11 北京字跳网络技术有限公司 Message notification method, device, equipment and storage medium
CN113868201B (en) * 2021-12-02 2022-03-15 天津联想协同科技有限公司 Method, device and storage medium for sharing file by cooperation of multiple persons
CN113868201A (en) * 2021-12-02 2021-12-31 天津联想协同科技有限公司 Method, device and storage medium for sharing file by cooperation of multiple persons
CN115277617B (en) * 2022-08-02 2024-02-23 北京达佳互联信息技术有限公司 Information processing method and apparatus, electronic device, and computer-readable storage medium
CN115277617A (en) * 2022-08-02 2022-11-01 北京达佳互联信息技术有限公司 Information processing method and device, electronic equipment and computer readable storage medium
CN116319731A (en) * 2022-09-06 2023-06-23 北京达佳互联信息技术有限公司 Online document sending method and device, electronic equipment and storage medium
WO2024159922A1 (en) * 2023-01-30 2024-08-08 北京字跳网络技术有限公司 Information processing method and apparatus

Similar Documents

Publication Publication Date Title
CN111045999A (en) Document display method and device, computer equipment and storage medium
US20230289519A1 (en) Embedded spreadsheet data implementation and synchronization
US11113041B2 (en) Spreadsheet-based software application development
US10296577B1 (en) Spreadsheet comment navigation
US10282405B1 (en) Task management in a collaborative spreadsheet environment
US11381536B2 (en) Mobile notifications for comment threads
US11170345B2 (en) Content item activity feed for presenting events associated with content items
EP3549013B1 (en) Spreadsheet-based software application development
US10467335B2 (en) Automated outline generation of captured meeting audio in a collaborative document context
US10791071B2 (en) File-level comments in collaborative content items
US20190213243A1 (en) Collaborative Spreadsheet Embedding and Management
US11726753B2 (en) Spreadsheet-based software application development
US11488602B2 (en) Meeting transcription using custom lexicons based on document history
CA3084152C (en) Spreadsheet-based software application development
US9898172B2 (en) Content item activity feed for presenting events associated with content items
US10554664B2 (en) Activity feed for hosted files
US7328408B2 (en) Apparatus and method for extracting and sharing information
JP2021028828A6 (en) Spreadsheet-based software application development
US11727190B1 (en) Previews for collaborative documents
US11763258B2 (en) Workflows for documents
US20240127183A1 (en) Method, electronic device and storage medium for information processing
US20180246946A1 (en) Selectively synchronizing data on computing devices based on selective sync templates
HK40022940A (en) Document display method, apparatus, computer device and storage medium
US20240364758A1 (en) Displaying pinned content in a user interface
CN120419151A (en) Mention processor configured to process mention identifiers

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40022940

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination