CN112163406B - Interactive message display method and device, computer equipment and storage medium - Google Patents

Interactive message display method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN112163406B
CN112163406B CN202011139489.2A CN202011139489A CN112163406B CN 112163406 B CN112163406 B CN 112163406B CN 202011139489 A CN202011139489 A CN 202011139489A CN 112163406 B CN112163406 B CN 112163406B
Authority
CN
China
Prior art keywords
user
online document
document
message
session
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011139489.2A
Other languages
Chinese (zh)
Other versions
CN112163406A (en
Inventor
黄铁鸣
张玖林
梅寒晴
邹杉
文琛
李斌
罗程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202011139489.2A priority Critical patent/CN112163406B/en
Priority to CN202410235713.XA priority patent/CN118036574A/en
Publication of CN112163406A publication Critical patent/CN112163406A/en
Application granted granted Critical
Publication of CN112163406B publication Critical patent/CN112163406B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an interactive message display method, an interactive message display device, computer equipment and a storage medium, and belongs to the technical field of computers. According to the method and the device, when the online document is created, the session corresponding to the online document is generated, the interactive information generated in the subsequent online document editing process belongs to the session, the session corresponding to the online document is triggered, the information interface can be accessed, the interactive information associated with the online document is checked, the aggregation of the interactive information associated with the online document from the dimension of the document is realized, a user does not need to query and collect a large amount of chat information as before, the acquisition difficulty of the interactive information is reduced, and the checking efficiency of the interactive information is improved.

Description

Interactive message display method and device, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an interactive message display method, an interactive message display device, a computer device, and a storage medium.
Background
The online document is a document form supporting online browsing and editing of multiple people, and a user can send interactive information to other users in the process of editing the online document, and the terminals of the other users display the interactive information.
However, in the current interactive message display mode, the interactive messages about the online documents received by the user are mixed with a large amount of chat messages, namely session messages, the interactive messages are very scattered, the difficulty of summarizing and viewing the interactive messages by the user is high, and the viewing efficiency of the interactive messages is low.
Disclosure of Invention
The embodiment of the application provides an interactive message display method, an interactive message display device, computer equipment and a storage medium, which can improve the efficiency of viewing interactive messages. The technical scheme is as follows:
in one aspect, an interactive message display method is provided, which includes:
responding to the first user to create an online document based on a target social application or receive an interaction message associated with the online document, and displaying at least a session corresponding to the online document in a session list of the target social application;
and in response to a triggering operation of the session, displaying an information interface of the online document, wherein the information interface displays interaction messages associated with the online document.
In one aspect, an interactive message display method is provided, which includes:
receiving an interaction instruction and content sent by a first user based on an online document, wherein the online document is created based on a target social application, and the interaction instruction carries a user identification of a second user;
Generating an interactive message in response to the interactive instruction, wherein the interactive message comprises the content;
and based on the user identification of the second user, sending the interactive message to a second terminal of the second user, wherein the second terminal is used for displaying the interactive message on the information interface of the online document in the target social application.
In one aspect, there is provided an interactive message display apparatus, the apparatus comprising:
the first display module is used for responding to the first user to create an online document based on the target social application or receiving an interaction message associated with the online document, and displaying at least a session corresponding to the online document in a session list of the target social application;
and the second display module is used for responding to the triggering operation of the session and displaying an information interface of the online document, wherein the information interface displays interaction messages associated with the online document.
In one possible implementation, the apparatus further includes:
the sending module is used for responding to the first user to create an online document and sending document creation information to the server, and the server generates a session identifier corresponding to the online document based on the document creation information;
the first display module is used for responding to the received session identification sent by the server and displaying the session corresponding to the online document in the session list of the target social application.
In one possible implementation, the apparatus further includes:
the receiving module is used for receiving an interactive message associated with the online document, wherein the interactive message carries a session identifier corresponding to the online document;
the query module is used for querying a session corresponding to the online document in the session list based on the session identifier;
and the first display module is used for displaying the session corresponding to the online document in the session list of the target social application in response to the session list not including the session corresponding to the online document.
In one possible implementation, the second display module is configured to:
determining a display order of the interactive messages associated with the online document based on a generation time of the interactive messages;
based on the display order, an interactive message associated with the online document is displayed at the information interface.
In one possible implementation, the second display module includes:
the first sub-module is used for displaying the online document on the information display interface;
and a second sub-module for displaying an interactive message associated with the online document in the online document.
In one possible implementation, the message display submodule is configured to:
For any interactive message, determining the adding position of the any interactive message in the online document;
and displaying the any interactive message at the adding position in the online document.
In one possible implementation, the second display module includes:
a third sub-module for displaying an interactive message associated with the online document in a first area of the information interface;
and a fourth sub-module for displaying the online document in the second area of the information interface.
In one possible implementation, the fourth submodule is configured to perform at least one of:
displaying the content of a first position in the online document in a second area of the information interface, wherein the first position is indicated by a first interactive message in the online document, and the first interactive message is an interactive message with the generation moment closest to the current moment in the interactive message;
in the online document displayed by the information interface, an interactive message associated with the online document is displayed.
In one possible implementation, the second display module is configured to:
determining a second interactive message associated with the first user from among the interactive messages associated with the online document;
Highlighting the second interactive message at the information interface.
In one possible implementation, the interactive message is displayed in the information interface of the online document in the form of a message card; the message card includes user information of a user who transmits the interactive message and content in the interactive message.
In one possible implementation, the apparatus further includes:
the detection module is used for detecting the content added by the first user in the online document;
the sending module is used for sending the content and an interaction instruction to the server in response to the fact that the content comprises the reminding symbol, wherein the interaction instruction is used for instructing the server to generate an interaction message based on the content and sending the interaction message to a second user associated with the reminding symbol.
In one aspect, there is provided an interactive message display apparatus, the apparatus comprising:
the first receiving module is used for receiving an interaction instruction and content sent by a first user based on an online document, wherein the online document is created based on a target social application, and the interaction instruction carries a user identification of a second user;
the message generation module is used for responding to the interaction instruction and generating an interaction message, wherein the interaction message comprises the content;
And the message sending module is used for sending the interactive message to a second terminal of the second user based on the user identification of the second user, and the second terminal is used for displaying the interactive message on the information interface of the online document in the target social application.
In one possible implementation, the message sending module is configured to:
based on the user identification of the second user, inquiring the interactive information comprising the user identification of the second user in the historical interactive information corresponding to the online document;
responding to the inquiry of the interactive information comprising the user identification of the second user, and sending the interactive information to a second terminal of the second user;
and sending session adding information to the second user in response to the fact that the interactive information including the user identification of the second user is not queried, and then sending the interactive information to a second terminal of the second user, wherein the session adding information is used for indicating the second terminal to add a session corresponding to the online document in a session list interface of the target social application.
In one possible implementation, the apparatus further includes:
the session generation module is used for responding to the first user to create an online document based on the target social application and generating a session corresponding to the online document;
The information sending module is used for sending session generation information to a first terminal of the first user, the first terminal is used for responding to the session generation information and displaying a session corresponding to the online document on a session list interface of the target social application, and the session is used for viewing an interaction message associated with the online document.
In one aspect, a computer device is provided that includes one or more processors and one or more memories having stored therein at least one program code that is loaded and executed by the one or more processors to implement the operations performed by the interactive message display method.
In one aspect, a computer readable storage medium having at least one program code stored therein is provided, the at least one program code loaded and executed by a processor to implement operations performed by the interactive message display method.
In one aspect, a computer program product is provided that includes at least one program code stored in a computer readable storage medium. The processor of the computer device reads the at least one program code from the computer-readable storage medium, and the processor executes the at least one program code to cause the computer device to perform the operations performed by the interactive message display method.
According to the technical scheme provided by the embodiment of the application, the session corresponding to the online document is generated when the online document is created, the interactive information generated in the subsequent editing process of the online document belongs to the session, the session corresponding to the online document is displayed in the session list interface, the information interface can be entered when the session is triggered, the interactive information associated with the online document is checked, the interactive information associated with the online document is aggregated from the dimension of the document, and a user does not need to query and collect a large amount of chat information as before, so that the acquisition difficulty of the interactive information is reduced, and the checking efficiency of the interactive information is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an implementation environment of an interactive message display method according to an embodiment of the present application;
FIG. 2 is a flowchart of an interactive message display method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an interface of a target social application provided in an embodiment of the present application;
FIG. 4 is a schematic interface diagram of another target social application provided by an embodiment of the present application;
FIG. 5 is a schematic interface diagram of yet another target social application provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of an online document display mode in an information interface according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a reference message structure provided in an embodiment of the present application;
fig. 8 is a schematic diagram of a session display manner in a session list according to an embodiment of the present application;
fig. 9 is a schematic diagram of a method for setting a message receiving mode according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an interactive message display device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an interactive message display device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The terms "first," "second," and the like in this application are used to distinguish between identical or similar items that have substantially the same function and function, and it should be understood that there is no logical or chronological dependency between the "first," "second," and "nth" terms, nor is it limited to the number or order of execution.
In order to facilitate understanding of the technical process of the embodiments of the present application, some terms related to the embodiments of the present application are explained below:
interaction message: in this application, a message generated when multiple people interact in the same online document, that is, when other users are mentioned in the content edited by the user, an interactive message can be generated based on the content, for example, the user at other users in the online document, reviews the content edited by other users, endorses the content edited by other users, and the embodiment of the application does not limit the type and specific content of the interactive message.
Fig. 1 is a schematic diagram of an implementation environment of an interactive message display method according to an embodiment of the present application, referring to fig. 1, the implementation environment includes: a first terminal 110, a server 140 and a second terminal 160.
The first terminal 110 installs and runs an application program supporting online document creation and instant messaging. For example, the application is an instant messaging tool, an office application, etc., which is not limited in this embodiment. Optionally, the application running in the first terminal 110 has a user account of a first user logged in, and the first user can use the first terminal 110 to send a message to other users applying the application, where the message includes, but is not limited to: at least one of text, voice, video, image, expression package, and link.
The second terminal 160 installs and runs an application program supporting online document creation and instant messaging. For example, the application is an instant messaging tool, an office application, etc., which is not limited in this embodiment. Optionally, the application running in the second terminal 160 has a user account of a first user logged in, and the first user can use the second terminal 160 to send a message to other users applying the application, where the message includes, but is not limited to: at least one of text, voice, video, image, expression package, and link.
Alternatively, the applications installed on the first terminal 110 and the second terminal 160 are the same, or the applications installed on the two terminals are the same type of application of different operating system platforms. Alternatively, the first terminal 110 and the second terminal 160 refer to one of a plurality of terminals in general, and the present embodiment is exemplified only by the first terminal 110 and the second terminal 160. The device types of the first terminal 110 and the second terminal 160 are the same or different, and include: at least one of a smart phone, a tablet computer, an electronic book reader, an MP3 (Moving Picture Experts Group Audio Layer III, moving picture experts compression standard audio layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, moving picture experts compression standard audio layer 4) player, a laptop portable computer, and a desktop computer.
Optionally, the server 140 is a stand-alone physical server, or a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs (Content Delivery Network, content delivery networks), and basic cloud computing services such as big data and artificial intelligence platforms. The server 140 is used to provide background services for applications supporting online document creation and instant messaging. Optionally, the server 140 takes on primary computing work, and the first terminal 110 and the second terminal 160 take on secondary computing work; alternatively, the server 140 performs a secondary computing job, and the first terminal 110 and the second terminal 160 perform a primary computing job; alternatively, the server 140, the first terminal 110 and the second terminal 160 perform cooperative computing by using a distributed computing architecture.
Those skilled in the art will recognize that the number of terminals may be greater or lesser. Such as only one of the terminals, or tens or hundreds of terminals, or more. The number of terminals and the device type are not limited in the embodiment of the present application.
According to the interactive message display method, a session is created for each online document, in the online document editing process, the interactive messages associated with the online documents are aggregated by the document dimension, the interactive messages associated with the same online document belong to the same session, and a user can view the interactive messages associated with a certain online document from the information interface of the online document. In the embodiment of the application, the interactive messages are aggregated according to the dimension of the document, so that a user can quickly and clearly see the history interactive messages associated with each online document, the user is not required to collect the interactive messages of each online document by himself, and the viewing efficiency of the interactive messages is effectively improved.
Fig. 2 is a flowchart of an interactive message display method according to an embodiment of the present application. Taking the example that the method is applied to the implementation environment, and referring to fig. 2, after the first user creates the online document, the process of sending the interactive message based on the online document, and the second user receives and views the interactive message is described, referring to fig. 2, in one possible implementation manner, the embodiment includes the following steps:
201. The first terminal sends document creation information to the server in response to the first user creating an online document based on the target social application.
In this embodiment of the present application, a user may create an online document based on the target social application, and other users using the target social application may edit the online document when obtaining an operation right for the online document.
In one possible implementation manner, the first terminal detects an online document creation operation of the first user, for example, the online document creation operation is a triggering operation of the first user on an online document creation control in the target social application, which is not limited in the embodiment of the present application. And after the first terminal determines that the first user needs to create the online document, sending online document creation information to the server. Alternatively, the online document creation information includes a document type, a document title, document authority information, etc. of an online document that the user needs to create, and can instruct the server to create an online document based on the online document creation information. In the embodiment of the application, the online document creation information is further used for indicating a server to generate a session corresponding to the online document. It should be noted that, in the embodiment of the present application, the content included in the online document creation information is not limited.
202. The server generates a session corresponding to the online document in response to the document creation information.
In one possible implementation, a server, in response to a first user creating an online document based on a target social application, generates a session corresponding to the online document, and assigns a session identifier (con) to the session corresponding to the online document. In the embodiment of the application, the interactive messages associated with the online document belong to the session corresponding to the online document, and the interactive messages all carry the session identifier of the session corresponding to the online document. Wherein a session identification can uniquely indicate a session in the target social application.
203. The server transmits session generation information to the first terminal in response to the session generation of the online document.
The session generation information is used for indicating that the session corresponding to the online document is generated, and optionally, the session generation information carries a session identifier of the session corresponding to the online document. In one possible implementation, the server needs to send session generation information to the first terminal, notify the first terminal that a session of the online document has been generated, and execute a subsequent interface display step by the first terminal.
204. And the first terminal responds to receiving the session generation information sent by the server, and at least displays the session corresponding to the online document in the session list interface of the target social application.
The session list interface comprises a session in which the first user participates in the target application program, and the session of the online document displayed in the session list interface can be used as a viewing inlet of the interactive message, namely, the session of the online document is used for viewing the interactive message associated with the online document.
In one possible implementation manner, the first terminal responds to the first user to create the online document based on the target social application, and adds a session corresponding to the online document in the session list interface after determining that the session of the online document is created. For example, a session control corresponding to the online document is displayed on the session list interface, and an icon of the online document, a title of the online document, a time when the first user recently receives an interaction message associated with the online document, a part of content of the interaction message associated with the online document, etc. are displayed on the session control. It should be noted that, in the embodiment of the present application, a session corresponding to the online document is added in the session list interface, that is, a viewing entry of an interactive message is added for viewing the interactive message associated with the online document.
205. The first terminal responds to the triggering operation of the session, displays an information interface of the online document, and detects the added content of the first user in the online document.
Optionally, the triggering operation is a clicking operation, a long press operation, or the like, which is not limited in the embodiments of the present application.
In one possible implementation, a method of displaying an information interface of the online document includes any one of the following implementations:
in one implementation, an interactive message associated with the online document is displayed on the information interface. In one possible implementation, the first terminal displays the interactive message associated with the online document in the form of an information stream. For example, the first terminal determines a display order of the interactive messages associated with the online document based on a generation time of the interactive messages; based on the display order, an interactive message associated with the online document is displayed at the information interface. Fig. 3 is a schematic interface diagram of a target social application provided in an embodiment of the present application, and referring to fig. 3, the interface of the target social application includes a session list interface 301 and an information interface 302, where the information interface 302 displays an interaction message 303 associated with the online document. In one possible implementation manner, the interface of the target social application further displays a viewing control of the online document, and the online document is displayed in response to a triggering operation of the viewing control, or the first terminal displays the online document in response to a triggering operation of any interaction message, which is not limited in the embodiment of the present application. The online document may be displayed on the information interface or on another interface, which is not limited in the embodiment of the present application.
And in the second implementation mode, displaying the online document on the information interface, and displaying the interactive message associated with the online document in the online document. For example, for any interactive message, the first terminal determines the adding position of the any interactive message in the online document; and displaying the any interactive message at the adding position in the online document. FIG. 4 is a schematic diagram of an interface of another target social application provided in an embodiment of the present application, where the interface of the target social application includes an information interface 401, where the information interface 401 displays an online document, and different interactive messages are displayed at different locations of the online document, for example, the interactive messages are displayed in the form shown in FIG. 4. Of course, the interactive message may be displayed in other forms in the online document, which is not limited in this embodiment of the present application.
In a third implementation, an interactive message associated with an online document is displayed in a first area of the information interface and the online document is displayed in a second area of the information interface. Fig. 5 is a schematic interface diagram of another target social application provided in an embodiment of the present application, referring to fig. 5, where the interface of the target social application includes a session list interface 501 and an information interface 502, and in one possible implementation, a first area of the information interface 502 of a first terminal displays an interactive message associated with the online document, and a second area of the information interface 502 displays the online document. In the embodiment of the present application, only the first area is taken as the right area of the information interface and the second area is taken as the left area of the information interface as an example for explanation, and the specific style of the information interface is not limited in the embodiment of the present application. In one possible implementation manner, the triggering operation of the first user on the session of the online document detected by the first terminal opens an information interface of the online document in the target social application, and when the interactive message and the online document are displayed, the online document can be displayed based on the interactive message currently received by the first user. For example, the first terminal displays the content of a first position in the online document on the information interface, wherein the first position is the position indicated by a first interactive message in the online document, that is, the adding position of the first interactive message in the online document, and the first interactive message is an interactive message with the generation time closest to the current time in the interactive message. Fig. 6 is a schematic diagram of an online document display manner in an information interface according to an embodiment of the present application, as shown in fig. 6 (a), an interaction message associated with the online document received by a first user last time is a first interaction message 601, where a first position indicated by the first interaction message 601 is a 602 position in the online document, and when the first terminal displays the online document, the first terminal directly displays the content of the 602 position in the online document. In one possible implementation manner, the first terminal can switch online document content displayed in the information interface based on a triggering operation of the first user on any interactive message in the information interface, that is, the first terminal determines a third position indicated by any interactive message in the online document in response to the triggering operation of the first user on any interactive message in the information interface, and displays the content of the third position in the online document in the information interface. As shown in fig. 6 (a), the third location indicated by the interactive message 603 is a 604 location in the online document, and when the first user clicks the interactive message 603 in the information interface, the first terminal switches the content of the online document currently displayed to the content of the 604 location, as shown in fig. 6 (b). In the embodiment of the application, the online document display mode can enable a user to quickly and intuitively see the document content corresponding to the latest interaction message, and switch the currently displayed online document content according to the triggering operation of the user on the interaction message, so that the user can accurately find the document content corresponding to each interaction message, does not need to manually find in the online document, is convenient for the user to check information, and improves the man-machine interaction efficiency.
It should be noted that the above description of the display manner of the information interface is merely an exemplary illustration of several possible implementation manners, and in the embodiments of the present application, the various display methods may be combined, for example, an interactive message and an online document are displayed on the information interface, where the interactive message is displayed in the form of an information stream, and the interactive message is also displayed in the online document. Of course, the information interface may be displayed based on other combinations, which are not limited in this embodiment of the present application.
In one possible implementation, the information interface of the online document displays all the interactive messages associated with the online document, in which case the first terminal determines a second interactive message associated with the first user among the interactive messages associated with the online document. In one possible implementation manner, when the first terminal displays the interactive messages, the user identifiers carried by the interactive messages are obtained, including the user identifier of the sending user of the interactive message and the user identifier of the receiving user of the interactive message, and in response to the user identifier carried by any interactive message including the user identifier of the first user, it is determined that any interactive message is associated with the first user. For example, the interactive message associated with the first user may include at the first user's interactive message, comment on the first user's interactive message, and so on. After determining a second interactive message associated with the first user, the first terminal highlights the second interactive message at the information interface. For example, a reference identifier is added to the first interactive message, the first interactive message is displayed as a reference color, etc., and the method for highlighting the first interactive message is not limited in this embodiment. In one possible implementation, the information interface is further provided with an interactive message screening control, and in response to a triggering operation of the interactive message screening control, only a second interactive message associated with the first user is displayed on the information interface. That is, the user rapidly screens the information concerned by triggering the interactive message screening control, so that the viewing efficiency of the interactive message is improved.
In the embodiment of the application, the first terminal detects the editing operation of the first user on the online document in real time, acquires the content added by the first user in the online document, sends the content to the server, and the server performs content synchronization.
In the embodiment of the application, the interactive information associated with the online document is displayed and the online document is directly opened by triggering the session corresponding to the online document, so that a user can conveniently check the interactive information and edit the online document.
206. The first terminal sends the content and the interaction instruction to the server in response to detecting that the content added in the online document comprises a reminding symbol.
Optionally, the alert symbol is an "@" symbol, which is associated with an alert object, for example, presented in the form of an "@ alert object", which in the embodiments of the present application is referred to as a second user.
In one possible implementation manner, when the first terminal detects a reminding symbol in the content added by the first user, the first terminal determines a second user associated with the reminding symbol, generates an interaction instruction, and sends the content and the interaction instruction to the server. The interaction instruction is used for indicating the server to generate an interaction message based on the content and sending the interaction message to a second user associated with the reminding symbol. Optionally, the interaction instruction includes a user identifier of the first user, a user identifier of the second user, and a session identifier of a session corresponding to the online document. It should be noted that, in one possible implementation manner, the first terminal sends the content added by the first user to the server, without sending an interaction instruction, and the server detects whether the content includes a reminder symbol, so as to determine whether the first user needs to interact with other users. In the embodiment of the present application, only the case where the first terminal sends the content and the interaction instruction to the server will be described.
In the embodiment of the present application, the reminding symbol is described by taking the "@" symbol as an example, and the reminding symbol may also include other symbols, for example, when comments, praise, etc. on contents edited by other users correspond to different reminding symbols, which is not limited in the embodiment of the present application.
207. And the server responds to the interaction instruction, generates an interaction message associated with the online document and sends the interaction message to a second terminal of a second user.
In one possible implementation manner, the server responds to the interaction instruction and generates an interaction Message associated with the online document based on the content and a reference Message structure (Message structure), wherein the interaction Message comprises the content added by the first user in the online document, optionally, the identification of the first user, the identification of the second user and the like, and the embodiment of the application is not limited in this regard. Fig. 7 is a schematic diagram of a reference message structure provided in an embodiment of the present application, referring to fig. 7, where the reference message structure includes a session identifier (connected) 701, document information (docinfo) 702, and an interaction type (actionType) 703. The session identifier 701 is used for indicating a session to which the interactive message belongs; the document information 702 is information of an online document associated with the interactive message, including a document title, a document type, information of a document creation user, a document link, and the like of the online document; the interaction type 703 includes at, comment, praise, and the like. In one possible implementation, the interactive message is displayed in the information interface in the form of a card, in which case the reference message structure further includes card document information (content) 704, and optionally, the card document information 704 includes a portion of the content in the interactive message, which is not limited in this embodiment. It should be noted that the above description of the method for generating the interactive message is merely an exemplary description, and the embodiment of the present application does not limit what method is specifically adopted to generate the interactive message.
In this embodiment of the present application, after the server generates the interactive message, the server sends the interactive message to the second terminal of the second user based on the user identifier of the second user, and the second terminal executes the subsequent interactive message display step.
In one possible implementation manner, before the server sends the interaction message to the second user, the server determines whether the user has interacted with the second user based on the online document, that is, whether the second user has received the interaction message associated with the online document, if the second user has received the interaction message associated with the online document, it determines that a session corresponding to the online document has been added in the session list interface of the second user, and if the interaction message associated with the online document has not been received, it needs the second terminal to add a session of the online document in the session list interface. In one possible implementation, the server queries the interactive message including the user identifier of the second user in the historical interactive message corresponding to the online document. For example, the server obtains the historical interaction information corresponding to the online document from the database based on the session identifier of the session corresponding to the online document, and queries the interaction information including the user identifier of the second user from the historical interaction information based on the user identifier of the second user. Responsive to querying an interaction message comprising a user identification of the second user, the server performs the step of sending the interaction message to a second terminal of the second user; and in response to not querying the interactive message comprising the user identification of the second user, the server firstly transmits session adding information to the second user and then performs the step of transmitting the interactive message to the second terminal of the second user. The session adding information is used for indicating the second terminal to add the session corresponding to the online document in the session list interface of the target social application. It should be noted that, the step of determining whether the session list interface includes the session corresponding to the online document may also be performed by the second terminal, that is, when the second terminal receives the interaction message associated with the online document, it queries whether the session list of the target social application includes the session corresponding to the online document. In the embodiment of the present application, the above steps are only described by taking the server as an example.
208. The second terminal receives the interaction message associated with the online document in the target social response, and responds to the detection of the triggering operation of the session corresponding to the online document, and the interaction message is displayed on the information interface of the online document.
Wherein the session list interface of the target social application includes the session of the online document.
In one possible implementation manner, the second terminal receives an interaction message associated with the online document, caches the interaction message in an interaction message list (message list) corresponding to the online document based on a session identifier carried by the interaction message, and in response to detecting a triggering operation on a session corresponding to the online document, displays an information interface of the online document, and displays the interaction message in the information interface. For example, the second terminal responds to the detection of the triggering operation of the session corresponding to the online document, acquires the history interaction message associated with the online document from the interaction message list corresponding to the online document, and displays the interaction message and the history interaction message on the information interface of the online document. Note that, the display manner of the information interface is the same as that of the information interface in the step 205, and will not be described herein. In one possible implementation, the interactive message is displayed in the information interface of the online document in the form of a message card, wherein the message card includes user information of a first user who sent the interactive message and content in the interactive message. Of course, the interactive message can be displayed based on other forms, which are not limited in the embodiments of the present application.
It should be noted that, in the above embodiment, only the second user receives the interaction message, and displays the interaction message as an example, in this embodiment of the present application, any user may receive the interaction message associated with the online document, for example, the first terminal of the first user receives the interaction message associated with the online document, where the interaction message carries the session identifier corresponding to the online document; based on the session identification, inquiring a session corresponding to the online document in the session list; and responding to the conversation list which does not comprise the conversation corresponding to the online document, displaying the conversation corresponding to the online document in the conversation list of the target social application, and responding to the triggering operation of the conversation, and displaying the interactive message on the information interface of the online document. It should be noted that, the method for displaying the session and the interactive message by the first terminal of the first user or the terminal of any other user is the same as the process for displaying the session and the interactive message by the second terminal in the above embodiment, and will not be described herein.
According to the technical scheme provided by the embodiment of the application, the session corresponding to the online document is generated when the online document is created, the interactive information generated in the subsequent editing process of the online document belongs to the session, the session corresponding to the online document can enter an information interface to check the interactive information associated with the online document, the aggregation of the interactive information associated with the online document from the dimension of the document is realized, a user does not need to query and collect a large amount of chat information as before, the acquisition difficulty of the interactive information is reduced, and the checking efficiency of the interactive information is improved.
The above embodiments introduce a scheme of displaying a session of an online document on a session list interface, and viewing an interactive message associated with the session document based on the session.
In one possible implementation, the order in which the sessions corresponding to the online document are displayed in the session list interface can be adjusted. For example, setting the session of the online document as a set-top display on a setting menu interface corresponding to the session; alternatively, in response to a user dragging a top region of a session list interface for a session of an online document, the session is moved to the top of the session list interface for display. It should be noted that, the user may also drag the session to any position of the session list interface, which is not limited in the embodiment of the present application. In the embodiment of the application, the user can adjust the display position of the session of the online document according to the requirement, for example, the session is displayed on the top, so that the user can conveniently and quickly find the session corresponding to the online document in the session list interface, and the user can conveniently view the interaction message associated with the online document.
In one possible implementation manner, the sessions corresponding to the online documents can be aggregated into one session group, the entrance of the session group is displayed in the session list interface of the target social application, and the sessions included in the session group, that is, the sessions corresponding to the online documents included in the session list, are displayed in response to the triggering operation of the entrance of the session group. Fig. 8 is a schematic diagram of a session display manner in a session list provided in the embodiment of the present application, referring to fig. 8, an entry 802 of a session group is displayed in a session list interface 801, and after clicking on the entry 801 of the session group, a session 803 corresponding to a plurality of online documents included in the session group is displayed in the session list interface. In the embodiment of the application, through aggregating the sessions corresponding to the online documents, users with high online document use frequency can be prevented from being occupied by a large number of online document sessions on the session list interface, and common chat sessions in the target social application are prevented from being submerged.
In one possible implementation, a message reception mode of a session to which an online document corresponds can be set. Fig. 9 is a schematic diagram of a method for setting a message receiving mode according to an embodiment of the present application, where, as shown in fig. 9, a setting menu interface 901 corresponding to a session of the online document includes a message receiving mode setting item 902, and in response to a triggering operation on the message receiving mode setting item 902, a message receiving mode setting interface 903 is displayed, where the message receiving mode setting interface 903 includes multiple priority options, and different priority options correspond to different message prompting manners. For example, where the third priority is the lowest priority, in response to a user selection of the third priority, the session of the online document is set to a no-disturb mode, i.e., no prompt is displayed when an interactive message associated with the online document is received. In the embodiment of the application, different message receiving modes are set for the sessions of different online documents, so that the priority of the interactive messages can be distinguished, and the influence on the ongoing process caused by frequently triggering a message receiving notification when the interactive messages associated with a certain online document are received is avoided.
In the embodiment of the application, a session is generated for each online document, so that a user can inquire interactive messages related to the online documents according to the dimension of the documents, the user can adjust the display sequence and state of the session of the online documents in a session list interface according to the self requirements, and adjust the message receiving mode corresponding to the online documents, so that different online documents correspond to different priorities, and the user can process the interactive messages of different online documents according to the different priorities, thereby improving the information processing efficiency.
Any combination of the above optional solutions may be adopted to form an optional embodiment of the present application, which is not described herein in detail.
Fig. 10 is a schematic structural diagram of an interactive message display device provided in an embodiment of the present application, referring to fig. 10, the device includes:
a first display module 1001, configured to, in response to the first user creating an online document based on a target social application, or receiving an interaction message associated with the online document, display at least a session corresponding to the online document in a session list of the target social application;
a second display module 1002, configured to display an information interface of the online document in response to a triggering operation for the session, where the information interface displays an interactive message associated with the online document.
In one possible implementation, the apparatus further includes:
the sending module is used for responding to the first user to create an online document and sending document creation information to the server, and the server generates a session identifier corresponding to the online document based on the document creation information;
the first display module 1001 is configured to display, in response to receiving a session identifier sent by the server, a session corresponding to the online document in the session list of the target social application.
In one possible implementation, the apparatus further includes:
the receiving module is used for receiving an interactive message associated with the online document, wherein the interactive message carries a session identifier corresponding to the online document;
the query module is used for querying a session corresponding to the online document in the session list based on the session identifier;
the first display module 1001 is configured to display, in the session list of the target social application, a session corresponding to the online document in response to the session list not including the session corresponding to the online document.
In one possible implementation, the second display module 1002 is configured to:
determining a display order of the interactive messages associated with the online document based on a generation time of the interactive messages;
Based on the display order, an interactive message associated with the online document is displayed at the information interface.
In one possible implementation, the second display module 1002 includes:
the first sub-module is used for displaying the online document on the information display interface;
and a second sub-module for displaying an interactive message associated with the online document in the online document.
In one possible implementation, the message display submodule is configured to:
for any interactive message, determining the adding position of the any interactive message in the online document;
and displaying the any interactive message at the adding position in the online document.
In one possible implementation, the second display module 1002 includes:
a third sub-module for displaying an interactive message associated with the online document in a first area of the information interface;
and a fourth sub-module for displaying the online document in the second area of the information interface.
In one possible implementation, the fourth submodule is configured to perform at least one of:
displaying the content of a first position in the online document in a second area of the information interface, wherein the first position is indicated by a first interactive message in the online document, and the first interactive message is an interactive message with the generation moment closest to the current moment in the interactive message;
In the online document displayed by the information interface, an interactive message associated with the online document is displayed.
In one possible implementation, the second display module 1002 is configured to:
determining a second interactive message associated with the first user from among the interactive messages associated with the online document;
highlighting the second interactive message at the information interface.
In one possible implementation, the interactive message is displayed in the information interface of the online document in the form of a message card; the message card includes user information of a user who transmits the interactive message and content in the interactive message.
In one possible implementation, the apparatus further includes:
the detection module is used for detecting the content added by the first user in the online document;
the sending module is used for sending the content and an interaction instruction to the server in response to the fact that the content comprises the reminding symbol, wherein the interaction instruction is used for instructing the server to generate an interaction message based on the content and sending the interaction message to a second user associated with the reminding symbol.
According to the device provided by the embodiment of the application, when the online document is created, the session corresponding to the online document is generated, the interactive messages generated in the subsequent editing process of the online document belong to the session, the session corresponding to the online document can enter the information interface, the interactive messages associated with the online document are checked, the interactive messages associated with the online document are aggregated from the dimension of the document, a user does not need to query and collect a large amount of chat messages as before, the acquisition difficulty of the interactive messages is reduced, and the checking efficiency of the interactive messages is improved.
Fig. 11 is a schematic structural diagram of an interactive message display device provided in an embodiment of the present application, referring to fig. 11, the device includes:
the first receiving module 1101 is configured to receive an interaction instruction and content sent by a first user based on an online document, where the online document is created based on a target social application, and the interaction instruction carries a user identifier of a second user;
a message generating module 1102, configured to generate an interaction message in response to the interaction instruction, where the interaction message includes the content;
the message sending module 1103 is configured to send the interaction message to a second terminal of the second user based on the user identifier of the second user, where the second terminal is configured to display the interaction message on the information interface of the online document in the target social application.
In one possible implementation, the message sending module 1103 is configured to:
based on the user identification of the second user, inquiring the interactive information comprising the user identification of the second user in the historical interactive information corresponding to the online document;
responding to the inquiry of the interactive information comprising the user identification of the second user, and sending the interactive information to a second terminal of the second user;
and sending session adding information to the second user in response to the fact that the interactive information including the user identification of the second user is not queried, and then sending the interactive information to a second terminal of the second user, wherein the session adding information is used for indicating the second terminal to add a session corresponding to the online document in a session list interface of the target social application.
In one possible implementation, the apparatus further includes:
the session generation module is used for responding to the first user to create an online document based on the target social application and generating a session corresponding to the online document;
the information sending module is used for sending session generation information to a first terminal of the first user, the first terminal is used for responding to the session generation information and displaying a session corresponding to the online document on a session list interface of the target social application, and the session is used for viewing an interaction message associated with the online document.
According to the device provided by the embodiment of the application, when the online document is created, the session corresponding to the online document is generated, the interactive messages generated in the subsequent editing process of the online document belong to the session, the session corresponding to the online document can enter the information interface, the interactive messages associated with the online document are checked, the interactive messages associated with the online document are aggregated from the dimension of the document, a user does not need to query and collect a large amount of chat messages as before, the acquisition difficulty of the interactive messages is reduced, and the checking efficiency of the interactive messages is improved.
It should be noted that: in the interactive message display device provided in the above embodiment, only the division of the above functional modules is used for illustration when displaying interactive messages, and in practical application, the above functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the interactive message display device and the interactive message display method provided in the above embodiments belong to the same concept, and detailed implementation processes of the interactive message display device and the interactive message display method are detailed in the method embodiments, which are not repeated herein.
The computer device provided by the above technical solution may be implemented as a terminal or a server, for example, fig. 12 is a schematic structural diagram of a terminal provided in an embodiment of the present application. The terminal 1200 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion picture expert compression standard audio plane 3), an MP4 (Moving Picture Experts Group Audio Layer IV, motion picture expert compression standard audio plane 4) player, a notebook computer, or a desktop computer. Terminal 1200 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, etc.
In general, the terminal 1200 includes: one or more processors 1201 and one or more memories 1202.
Processor 1201 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor 1201 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 1201 may also include a main processor, which is a processor for processing data in an awake state, also called a CPU (Central Processing Unit ), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1201 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and rendering of content required to be displayed by the display screen. In some embodiments, the processor 1201 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
Memory 1202 may include one or more computer-readable storage media, which may be non-transitory. Memory 1202 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1202 is used to store at least one program code for execution by processor 1201 to implement the interactive message display methods provided by the method embodiments herein.
In some embodiments, the terminal 1200 may further optionally include: a peripheral interface 1203, and at least one peripheral. The processor 1201, the memory 1202, and the peripheral interface 1203 may be connected by a bus or signal lines. The individual peripheral devices may be connected to the peripheral device interface 1203 via buses, signal lines, or a circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1204, a display 1205, a camera assembly 1206, audio circuitry 1207, and a power supply 1209.
The peripheral interface 1203 may be used to connect at least one peripheral device associated with an I/O (Input/Output) to the processor 1201 and the memory 1202. In some embodiments, the processor 1201, the memory 1202, and the peripheral interface 1203 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 1201, the memory 1202, and the peripheral interface 1203 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 1204 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuit 1204 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 1204 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1204 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuit 1204 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity ) networks. In some embodiments, the radio frequency circuit 1204 may also include NFC (Near Field Communication ) related circuits, which are not limited in this application.
The display 1205 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 1205 is a touch display, the display 1205 also has the ability to collect touch signals at or above the surface of the display 1205. The touch signal may be input as a control signal to the processor 1201 for processing. At this time, the display 1205 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 1205 may be one, providing a front panel of the terminal 1200; in other embodiments, the display 1205 may be at least two, respectively disposed on different surfaces of the terminal 1200 or in a folded design; in some embodiments, the display 1205 may be a flexible display disposed on a curved surface or a folded surface of the terminal 1200. Even more, the display 1205 may be arranged in an irregular pattern that is not rectangular, i.e., a shaped screen. The display 1205 can be made of LCD (Liquid Crystal Display ), OLED (Organic Light-Emitting Diode) or other materials.
The camera assembly 1206 is used to capture images or video. Optionally, camera assembly 1206 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal and the rear camera is disposed on the rear surface of the terminal. In some embodiments, the at least two rear cameras are any one of a main camera, a depth camera, a wide-angle camera and a tele camera, so as to realize that the main camera and the depth camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting and Virtual Reality (VR) shooting function or other fusion shooting functions. In some embodiments, camera assembly 1206 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and can be used for light compensation under different color temperatures.
The audio circuitry 1207 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1201 for processing, or inputting the electric signals to the radio frequency circuit 1204 for voice communication. For purposes of stereo acquisition or noise reduction, a plurality of microphones may be respectively disposed at different portions of the terminal 1200. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is used to convert electrical signals from the processor 1201 or the radio frequency circuit 1204 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, the audio circuitry 1207 may also include a headphone jack.
The power supply 1209 is used to power the various components in the terminal 1200. The power source 1209 may be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power source 1209 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1200 also includes one or more sensors 1210. The one or more sensors 1210 include, but are not limited to: an acceleration sensor 1211, a gyro sensor 1212, a pressure sensor 1213, an optical sensor 1215, and a proximity sensor 1216.
The acceleration sensor 1211 may detect the magnitudes of accelerations on three coordinate axes of the coordinate system established with the terminal 1200. For example, the acceleration sensor 1211 may be used to detect components of gravitational acceleration in three coordinate axes. The processor 1201 may control the display 1205 to display a user interface in either a landscape view or a portrait view based on the gravitational acceleration signal acquired by the acceleration sensor 1211. The acceleration sensor 1211 may also be used for the acquisition of motion data of a game or a user.
The gyro sensor 1212 may detect a body direction and a rotation angle of the terminal 1200, and the gyro sensor 1212 may collect a 3D motion of the user on the terminal 1200 in cooperation with the acceleration sensor 1211. The processor 1201 may implement the following functions based on the data collected by the gyro sensor 1212: motion sensing (e.g., changing UI according to a tilting operation by a user), image stabilization at shooting, game control, and inertial navigation.
The pressure sensor 1213 may be disposed at a side frame of the terminal 1200 and/or at a lower layer of the display 1205. When the pressure sensor 1213 is provided at a side frame of the terminal 1200, a grip signal of the terminal 1200 by a user may be detected, and the processor 1201 performs a left-right hand recognition or a shortcut operation according to the grip signal collected by the pressure sensor 1213. When the pressure sensor 1213 is disposed at the lower layer of the display 1205, the processor 1201 controls the operability control on the UI interface according to the pressure operation of the user on the display 1205. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
The optical sensor 1215 is used to collect the ambient light intensity. In one embodiment, processor 1201 may control the display brightness of display 1205 based on the intensity of ambient light collected by optical sensor 1215. Specifically, when the intensity of the ambient light is high, the display brightness of the display screen 1205 is turned up; when the ambient light intensity is low, the display brightness of the display screen 1205 is turned down. In another embodiment, processor 1201 may also dynamically adjust the shooting parameters of camera assembly 1206 based on the intensity of ambient light collected by optical sensor 1215.
A proximity sensor 1216, also referred to as a distance sensor, is typically provided on the front panel of the terminal 1200. The proximity sensor 1216 is used to collect the distance between the user and the front of the terminal 1200. In one embodiment, when the proximity sensor 1216 detects that the distance between the user and the front face of the terminal 1200 gradually decreases, the processor 1201 controls the display 1205 to switch from the bright screen state to the off screen state; when the proximity sensor 1216 detects that the distance between the user and the front surface of the terminal 1200 gradually increases, the processor 1201 controls the display 1205 to switch from the off-screen state to the on-screen state.
It will be appreciated by those skilled in the art that the structure shown in fig. 12 is not limiting and that more or fewer components than shown may be included or certain components may be combined or a different arrangement of components may be employed.
Fig. 13 is a schematic structural diagram of a server according to an embodiment of the present application, where the server 1300 may include one or more processors (Central Processing Units, CPU) 1301 and one or more memories 1302, where the one or more memories 1302 store at least one program code, and the at least one program code is loaded and executed by the one or more processors 1301 to implement the methods provided in the foregoing method embodiments. Of course, the server 1300 may also have a wired or wireless network interface, a keyboard, an input/output interface, etc. for performing input/output, and the server 1300 may also include other components for implementing the functions of the device, which are not described herein.
In an exemplary embodiment, a computer readable storage medium, such as a memory, including at least one program code executable by a processor to perform the interactive message display method of the above embodiment is also provided. For example, the computer readable storage medium may be Read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), compact disc Read-Only Memory (CD-ROM), magnetic tape, floppy disk, optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided, the computer program product comprising at least one piece of program code, the at least one piece of program code being stored in a computer readable storage medium. The processor of the computer device reads the at least one program code from the computer-readable storage medium, and the processor executes the at least one program code to cause the computer device to perform the operations performed by the interactive message display method.
It will be appreciated by those of ordinary skill in the art that all or part of the steps of implementing the above-described embodiments may be implemented by hardware, or may be implemented by at least one piece of hardware associated with a program, where the program may be stored in a computer readable storage medium, where the storage medium may be a read-only memory, a magnetic disk or optical disk, etc.
The foregoing description of the preferred embodiments is merely exemplary in nature and is not intended to limit the invention, but is intended to cover various modifications, substitutions, improvements, and alternatives falling within the spirit and principles of the invention.

Claims (18)

1. An interactive message display method, the method comprising:
responding to a first user to create an online document based on a target social application, and sending document creation information to a server, wherein the server generates a session identifier corresponding to the online document based on the document creation information; the document creation information comprises a document type, a document title and a document authority of the online document; responding to the received session identification sent by the server, and displaying at least a session corresponding to the online document in a session list of the target social application; or, in response to the first user receiving an interaction message associated with the online document, the interaction message carrying the session identifier; based on the session identification, inquiring a session corresponding to the online document in the session list; responding to the conversation list not including the conversation corresponding to the online document, and displaying at least the conversation corresponding to the online document in the conversation list;
The setting menu interface corresponding to the session comprises a message receiving mode setting item; the message receiving mode setting item displays a message receiving mode setting interface after being triggered; the message receiving mode setting interface comprises a plurality of priority options, and different priority options correspond to different message prompting modes;
responding to the triggering operation of the session, and acquiring a user identifier carried by an interactive message associated with the online document; the user identification comprises the user identification of the sending user of the interactive message and the user identification of the receiving user; determining that any interactive message is associated with the first user in response to the user identifier carried by the any interactive message and including the user identifier of the first user; highlighting a second interactive message associated with the first user in a first region of an information interface of the online document;
displaying the content of the first position in the online document in a second area of the information interface; the first position is a position indicated by a first interactive message in the interactive messages in the online document, and the first interactive message is an interactive message with the generation moment closest to the current moment in the interactive messages; determining a third position indicated by any interactive message in the online document by the first user in response to the triggering operation of the first user on any interactive message in the first region, and switching from the content of the first position to the content of the third position in the online document;
Detecting content added by the first user in the online document; in response to detecting that the content comprises a reminder symbol, sending the content and an interaction instruction to the server, wherein the interaction instruction is used for instructing the server to generate an interaction message comprising the content based on the content and a reference message structure, and sending the interaction message comprising the content to a second user associated with the reminder symbol;
wherein, the interactive information is displayed in the information interface in the form of a message card; the reference message structure comprises a session identifier corresponding to the online document, document information of the online document, interaction type and card document information; the document information comprises a document title, a document type, information of a document creation user and a document link of the online document; the card document information comprises part of the content in the interactive message;
wherein the method further comprises: displaying an entry of a conversation group in the conversation list, wherein conversations corresponding to a plurality of online documents are aggregated in the conversation group; and responding to the triggering operation of the entrance, and displaying the conversations corresponding to the plurality of online documents included in the conversation group.
2. The method according to claim 1, wherein the method further comprises:
determining a display sequence of the interactive messages associated with the online document based on the generation time of the interactive messages;
and displaying interactive messages associated with the online document on the information interface based on the display order.
3. The method according to claim 1, wherein the method further comprises:
displaying the online document on the information interface;
and displaying the interaction message associated with the online document in the online document.
4. The method of claim 3, wherein the displaying in the online document an interactive message associated with the online document comprises:
for any interactive message, determining the adding position of the any interactive message in the online document;
and displaying any interactive message at the adding position in the online document.
5. The method of claim 1, wherein the message card includes user information of a user who sent the interactive message and content in the interactive message.
6. An interactive message display method, the method comprising:
Receiving an interaction instruction and content sent by a first user based on an online document, wherein the online document is created based on a target social application, and the interaction instruction carries a user identification of a second user;
the session corresponding to the online document is displayed on the first terminal of the first user in the following manner: responding to the first user to create an online document based on the target social application, and sending document creation information to a server, wherein the document creation information is used for indicating the server to generate a session identifier corresponding to the online document; the document creation information comprises a document type, a document title and a document authority of the online document; responding to the received session identification sent by the server, and displaying at least a session corresponding to the online document in a session list of the target social application; or, in response to receiving an interaction message associated with the online document, the interaction message carrying the session identification; based on the session identification, inquiring a session corresponding to the online document in the session list; responding to the conversation list not including the conversation corresponding to the online document, and displaying at least the conversation corresponding to the online document in the conversation list;
Wherein, the interactive message associated with the online document is displayed on the first terminal by: responding to the triggering operation of the session, and acquiring a user identifier carried by an interactive message associated with the online document; the user identification comprises the user identification of the sending user of the interactive message and the user identification of the receiving user; determining that any interactive message is associated with the first user in response to the user identifier carried by the any interactive message and including the user identifier of the first user; highlighting a second interactive message associated with the first user in a first region of an information interface of the online document; displaying the content of the first position in the online document in a second area of the information interface; the first position is a position indicated by a first interactive message in the interactive messages in the online document, and the first interactive message is an interactive message with the generation moment closest to the current moment in the interactive messages; determining a third position indicated by any interactive message in the online document by the first user in response to the triggering operation of the first user on any interactive message in the first region, and switching from the content of the first position to the content of the third position in the online document;
Generating an interactive message based on the content and a reference message structure in response to the interactive instruction, the interactive message including the content;
based on the user identification of the second user, sending the interactive message to a second terminal of the second user, wherein the second terminal is used for displaying the interactive message on an information interface of the online document in the target social application;
wherein, the interactive message is displayed in the information interface in the form of a message card; the reference message structure comprises a session identifier corresponding to the online document, document information of the online document, interaction type and card document information; the document information comprises a document title, a document type, information of a document creation user and a document link of the online document; the card document information comprises part of the content in the interactive message;
the session corresponding to the online document is used for viewing the interactive message associated with the online document; the setting menu interface corresponding to the session comprises a message receiving mode setting item; the message receiving mode setting item displays a message receiving mode setting interface after being triggered; the message receiving mode setting interface comprises a plurality of priority options, and different priority options correspond to different message prompting modes;
Wherein the method further comprises: displaying an entry of a conversation group in the conversation list, wherein conversations corresponding to a plurality of online documents are aggregated in the conversation group; and responding to the triggering operation of the entrance, and displaying the conversations corresponding to the plurality of online documents included in the conversation group.
7. The method of claim 6, wherein the sending the interactive message to the second terminal of the second user based on the user identification of the second user comprises:
inquiring an interactive message comprising the user identification of the second user in the historical interactive message corresponding to the online document based on the user identification of the second user;
responding to an interactive message comprising a user identifier of the second user, and sending the interactive message to a second terminal of the second user;
and sending session adding information to the second user in response to the fact that the interactive information including the user identification of the second user is not queried, and then sending the interactive information to a second terminal of the second user, wherein the session adding information is used for indicating the second terminal, and adding a session corresponding to the online document in a session list interface of the target social application.
8. The method of claim 6, wherein prior to receiving the interaction instruction and the content sent by the first user based on the online document, the method further comprises:
responding to the first user to create an online document based on a target social application, and generating a session corresponding to the online document;
and sending session generation information to a first terminal of the first user, wherein the first terminal is used for responding to the session generation information to display a session corresponding to the online document on a session list interface of the target social application.
9. An interactive message display device, the device comprising:
the first display module is used for responding to the first user to create an online document based on the target social application or the first user receives an interaction message associated with the online document, and displaying at least a session corresponding to the online document in a session list of the target social application; the setting menu interface corresponding to the session comprises a message receiving mode setting item; the message receiving mode setting item displays a message receiving mode setting interface after being triggered; the message receiving mode setting interface comprises a plurality of priority options, and different priority options correspond to different message prompting modes;
The second display module is used for responding to the triggering operation of the session and displaying an information interface of the online document, wherein the information interface displays an interactive message associated with the online document;
a detection module for detecting content added by the first user in the online document;
the sending module is used for responding to the fact that the content comprises a reminding symbol, sending the content and an interaction instruction to a server, wherein the interaction instruction is used for instructing the server to generate an interaction message comprising the content based on the content and a reference message structure, and sending the interaction message comprising the content to a second user associated with the reminding symbol;
wherein, the interactive information is displayed in the information interface in the form of a message card; the reference message structure comprises a session identifier corresponding to the online document, document information of the online document, interaction type and card document information; the document information comprises a document title, a document type, information of a document creation user and a document link of the online document; the card document information comprises part of the content in the interactive message;
The sending module is used for responding to the first user to create an online document and sending document creation information to a server, and the server generates a session identifier corresponding to the online document based on the document creation information; the document creation information comprises a document type, a document title and a document authority of the online document;
the first display module is used for responding to the received session identification sent by the server and displaying the session corresponding to the online document in the session list of the target social application;
the receiving module is used for receiving an interaction message associated with the online document, wherein the interaction message carries a session identifier corresponding to the online document;
the query module is used for querying the session corresponding to the online document in the session list based on the session identifier;
the first display module is used for displaying the session corresponding to the online document in the session list of the target social application in response to the session list not including the session corresponding to the online document;
wherein the second display module includes:
a third sub-module, configured to obtain a user identifier carried by an interaction message associated with the online document; the user identification comprises the user identification of the sending user of the interactive message and the user identification of the receiving user; determining that any interactive message is associated with the first user in response to the user identifier carried by the any interactive message and including the user identifier of the first user; highlighting a second interactive message associated with the first user in a first region of an information interface of the online document;
A fourth sub-module, configured to display, in a second area of the information interface, content in the first location in the online document; the first position is a position indicated by a first interactive message in the interactive messages in the online document, and the first interactive message is an interactive message with the generation moment closest to the current moment in the interactive messages;
the fourth sub-module is further configured to determine a third location indicated by any one of the interactive messages in the online document in response to a triggering operation of the first user on any one of the interactive messages in the first area, and switch from the content of the first location to the content of the third location in the online document;
the device also comprises an inlet for displaying a conversation group in the conversation list, wherein conversations corresponding to a plurality of online documents are aggregated in the conversation group; and means for displaying, in response to a trigger operation on the portal, sessions corresponding to a plurality of online documents included in the session group.
10. The apparatus of claim 9, wherein the second display module is configured to:
determining a display sequence of the interactive messages associated with the online document based on the generation time of the interactive messages;
And displaying interactive messages associated with the online document on the information interface based on the display order.
11. The apparatus of claim 9, wherein the second display module comprises:
the first sub-module is used for displaying the online document on the information interface;
and the second sub-module is used for displaying the interaction message associated with the online document in the online document.
12. The apparatus of claim 11, wherein the second submodule is configured to:
for any interactive message, determining the adding position of the any interactive message in the online document;
and displaying any interactive message at the adding position in the online document.
13. The apparatus of claim 9, wherein the message card includes user information of a user who sent the interactive message and content in the interactive message.
14. An interactive message display device, the device comprising:
the first receiving module is used for receiving an interaction instruction and content sent by a first user based on an online document, wherein the online document is created based on a target social application, and the interaction instruction carries a user identification of a second user;
The message generation module is used for responding to the interaction instruction and generating an interaction message based on the content and a reference message structure, wherein the interaction message comprises the content;
the message sending module is used for sending the interactive message to a second terminal of the second user based on the user identification of the second user, and the second terminal is used for displaying the interactive message on the information interface of the online document in the target social application;
the session corresponding to the online document is displayed on the first terminal of the first user in the following manner: responding to the first user to create an online document based on the target social application, and sending document creation information to a server, wherein the document creation information is used for indicating the server to generate a session identifier corresponding to the online document; the document creation information comprises a document type, a document title and a document authority of the online document; responding to the received session identification sent by the server, and displaying at least a session corresponding to the online document in a session list of the target social application; or, in response to receiving an interaction message associated with the online document, the interaction message carrying the session identification; based on the session identification, inquiring a session corresponding to the online document in the session list; responding to the conversation list not including the conversation corresponding to the online document, and displaying at least the conversation corresponding to the online document in the conversation list;
Wherein, the interactive message associated with the online document is displayed on the first terminal by: responding to the triggering operation of the session, and acquiring a user identifier carried by an interactive message associated with the online document; the user identification comprises the user identification of the sending user of the interactive message and the user identification of the receiving user; determining that any interactive message is associated with the first user in response to the user identifier carried by the any interactive message and including the user identifier of the first user; highlighting a second interactive message associated with the first user in a first region of an information interface of the online document; displaying the content of the first position in the online document in a second area of the information interface; the first position is a position indicated by a first interactive message in the interactive messages in the online document, and the first interactive message is an interactive message with the generation moment closest to the current moment in the interactive messages; determining a third position indicated by any interactive message in the online document by the first user in response to the triggering operation of the first user on any interactive message in the first region, and switching from the content of the first position to the content of the third position in the online document;
Wherein, the interactive message is displayed in the information interface in the form of a message card; the reference message structure comprises a session identifier corresponding to the online document, document information of the online document, interaction type and card document information; the document information comprises a document title, a document type, information of a document creation user and a document link of the online document; the card document information comprises part of the content in the interactive message;
the session corresponding to the online document is used for viewing the interactive message associated with the online document; the setting menu interface corresponding to the session comprises a message receiving mode setting item; the message receiving mode setting item displays a message receiving mode setting interface after being triggered; the message receiving mode setting interface comprises a plurality of priority options, and different priority options correspond to different message prompting modes;
the device also comprises an inlet for displaying a conversation group in the conversation list, wherein conversations corresponding to a plurality of online documents are aggregated in the conversation group; and means for displaying, in response to a trigger operation on the portal, sessions corresponding to a plurality of online documents included in the session group.
15. The apparatus of claim 14, wherein the message sending module is configured to:
inquiring an interactive message comprising the user identification of the second user in the historical interactive message corresponding to the online document based on the user identification of the second user;
responding to an interactive message comprising a user identifier of the second user, and sending the interactive message to a second terminal of the second user;
and sending session adding information to the second user in response to the fact that the interactive information including the user identification of the second user is not queried, and then sending the interactive information to a second terminal of the second user, wherein the session adding information is used for indicating the second terminal to add a session corresponding to the online document in a session list interface of the target social application.
16. The apparatus of claim 14, wherein the apparatus further comprises:
the session generation module is used for responding to the fact that the first user creates an online document based on the target social application and generating a session corresponding to the online document;
the information sending module is used for sending session generation information to a first terminal of the first user, the first terminal is used for responding to the session generation information and displaying a session corresponding to the online document on a session list interface of the target social application, and the session is used for viewing an interaction message associated with the online document.
17. A computer device comprising one or more processors and one or more memories, the one or more memories having stored therein at least one program code loaded and executed by the one or more processors to implement the operations performed by the interactive message display method of any of claims 1-5; or operations performed by the interactive message display method of any one of claims 6 to 8.
18. A computer readable storage medium having stored therein at least one program code loaded and executed by a processor to implement the operations performed by the interactive message display method of any one of claims 1 to 5; or operations performed by the interactive message display method of any one of claims 6 to 8.
CN202011139489.2A 2020-10-22 2020-10-22 Interactive message display method and device, computer equipment and storage medium Active CN112163406B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011139489.2A CN112163406B (en) 2020-10-22 2020-10-22 Interactive message display method and device, computer equipment and storage medium
CN202410235713.XA CN118036574A (en) 2020-10-22 2020-10-22 Interactive message display method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011139489.2A CN112163406B (en) 2020-10-22 2020-10-22 Interactive message display method and device, computer equipment and storage medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202410235713.XA Division CN118036574A (en) 2020-10-22 2020-10-22 Interactive message display method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112163406A CN112163406A (en) 2021-01-01
CN112163406B true CN112163406B (en) 2024-02-20

Family

ID=73866020

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202011139489.2A Active CN112163406B (en) 2020-10-22 2020-10-22 Interactive message display method and device, computer equipment and storage medium
CN202410235713.XA Pending CN118036574A (en) 2020-10-22 2020-10-22 Interactive message display method and device, computer equipment and storage medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202410235713.XA Pending CN118036574A (en) 2020-10-22 2020-10-22 Interactive message display method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (2) CN112163406B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112801752B (en) * 2021-02-04 2024-05-03 腾讯科技(深圳)有限公司 Page display method, device, equipment and medium based on application mall
CN113568538A (en) * 2021-08-13 2021-10-29 北京字跳网络技术有限公司 Interaction method, device, equipment and storage medium
CN113791855B (en) * 2021-08-31 2023-06-09 腾讯科技(深圳)有限公司 Interactive information display method and device, electronic equipment and storage medium
CN117519526A (en) * 2021-11-17 2024-02-06 北京字跳网络技术有限公司 Information interaction method, device, electronic equipment and storage medium
CN114398136A (en) * 2022-01-17 2022-04-26 北京达佳互联信息技术有限公司 Object mentioning method, device, terminal and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8938669B1 (en) * 2011-03-15 2015-01-20 Google Inc. Inline user addressing in chat and document editing sessions
WO2019076372A1 (en) * 2017-10-20 2019-04-25 维沃移动通信有限公司 Session message display method, and mobile terminal
CN110138645A (en) * 2019-03-29 2019-08-16 腾讯科技(深圳)有限公司 Display methods, device, equipment and the storage medium of conversation message
CN110752984A (en) * 2019-10-24 2020-02-04 北京字节跳动网络技术有限公司 Method and device for displaying online document, electronic equipment and storage medium
CN111045999A (en) * 2019-12-23 2020-04-21 腾讯科技(深圳)有限公司 Document display method and device, computer equipment and storage medium
CN111078655A (en) * 2019-12-23 2020-04-28 腾讯科技(深圳)有限公司 Document content sharing method and device, terminal and storage medium
CN111277487A (en) * 2020-01-16 2020-06-12 腾讯科技(深圳)有限公司 Message processing method and device, computer readable storage medium and computer equipment
CN111447074A (en) * 2020-03-22 2020-07-24 腾讯科技(深圳)有限公司 Reminding method, device, equipment and medium in group session
CN111654382A (en) * 2020-05-29 2020-09-11 腾讯科技(深圳)有限公司 Message processing method and device, computer equipment and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11087068B2 (en) * 2016-10-31 2021-08-10 Fujifilm Business Innovation Corp. Systems and methods for bringing document interactions into the online conversation stream

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8938669B1 (en) * 2011-03-15 2015-01-20 Google Inc. Inline user addressing in chat and document editing sessions
WO2019076372A1 (en) * 2017-10-20 2019-04-25 维沃移动通信有限公司 Session message display method, and mobile terminal
CN110138645A (en) * 2019-03-29 2019-08-16 腾讯科技(深圳)有限公司 Display methods, device, equipment and the storage medium of conversation message
CN110752984A (en) * 2019-10-24 2020-02-04 北京字节跳动网络技术有限公司 Method and device for displaying online document, electronic equipment and storage medium
CN111045999A (en) * 2019-12-23 2020-04-21 腾讯科技(深圳)有限公司 Document display method and device, computer equipment and storage medium
CN111078655A (en) * 2019-12-23 2020-04-28 腾讯科技(深圳)有限公司 Document content sharing method and device, terminal and storage medium
CN111277487A (en) * 2020-01-16 2020-06-12 腾讯科技(深圳)有限公司 Message processing method and device, computer readable storage medium and computer equipment
CN111447074A (en) * 2020-03-22 2020-07-24 腾讯科技(深圳)有限公司 Reminding method, device, equipment and medium in group session
CN111654382A (en) * 2020-05-29 2020-09-11 腾讯科技(深圳)有限公司 Message processing method and device, computer equipment and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"科研在线"平台文档的移动客户端;王巧;郑依华;南凯;;科研信息化技术与应用(第06期);全文 *

Also Published As

Publication number Publication date
CN112163406A (en) 2021-01-01
CN118036574A (en) 2024-05-14

Similar Documents

Publication Publication Date Title
CN110138645B (en) Session message display method, device, equipment and storage medium
CN112947823B (en) Session processing method, device, equipment and storage medium
CN112163406B (en) Interactive message display method and device, computer equipment and storage medium
CN111324259B (en) Group creation method, device and storage medium
CN111597008A (en) Popup management method, popup management device, terminal and storage medium
CN113204298B (en) Method and device for displaying release progress, electronic equipment and storage medium
CN112764608B (en) Message processing method, device, equipment and storage medium
CN110147503B (en) Information issuing method and device, computer equipment and storage medium
US20220318762A1 (en) Method for creating group and electronic device
CN110890969B (en) Method and device for mass-sending message, electronic equipment and storage medium
CN112825048B (en) Message reminding method and device, electronic equipment and storage medium
CN111192072B (en) User grouping method and device and storage medium
CN114143280B (en) Session display method and device, electronic equipment and storage medium
CN113485596B (en) Virtual model processing method and device, electronic equipment and storage medium
CN112311661B (en) Message processing method, device, equipment and storage medium
CN112311652B (en) Message sending method, device, terminal and storage medium
CN111399717B (en) Method, device, equipment and storage medium for publishing contents
CN114329292A (en) Resource information configuration method and device, electronic equipment and storage medium
CN113408809A (en) Automobile design scheme evaluation method and device and computer storage medium
CN114546188A (en) Interaction method, device and equipment based on interaction interface and readable storage medium
CN114513479B (en) Message transmitting and receiving method, device, terminal, server and storage medium
CN113220203B (en) Activity entry display method, device, terminal and storage medium
CN111526221B (en) Domain name quality determining method, device and storage medium
CN111275561B (en) Method, device, computer equipment and storage medium for acquiring association relation
CN112116682B (en) Method, device, equipment and system for generating cover picture of information display page

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40037412

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant