CN112163406A - 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 PDFInfo
- Publication number
- CN112163406A CN112163406A CN202011139489.2A CN202011139489A CN112163406A CN 112163406 A CN112163406 A CN 112163406A CN 202011139489 A CN202011139489 A CN 202011139489A CN 112163406 A CN112163406 A CN 112163406A
- Authority
- CN
- China
- Prior art keywords
- online document
- user
- interactive
- session
- interactive message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000002452 interceptive effect Effects 0.000 title claims abstract description 303
- 238000000034 method Methods 0.000 title claims abstract description 71
- 230000003993 interaction Effects 0.000 claims description 71
- 230000004044 response Effects 0.000 claims description 35
- 230000015654 memory Effects 0.000 claims description 17
- 238000001514 detection method Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 abstract description 13
- 230000001960 triggered effect Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 23
- 230000002093 peripheral effect Effects 0.000 description 10
- 230000001133 acceleration Effects 0.000 description 9
- 230000006870 function Effects 0.000 description 9
- 238000012545 processing Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 6
- 230000006835 compression Effects 0.000 description 4
- 238000007906 compression Methods 0.000 description 4
- 238000013473 artificial intelligence Methods 0.000 description 3
- 238000012216 screening Methods 0.000 description 3
- 239000000919 ceramic Substances 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000004931 aggregating effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Artificial Intelligence (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses an interactive message display method and 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 messages generated in the process of editing the online document subsequently belong to the session, the session corresponding to the online document is triggered, the information interface can be accessed, the interactive messages associated with the online document can be checked, the interactive messages associated with the online document can be aggregated from the dimension of the document, a user does not need to query and summarize the interactive messages in a large amount of chat information as in the past, the acquisition difficulty of the interactive messages is reduced, and the checking efficiency of the interactive messages is improved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to an interactive message display method and apparatus, a computer device, and a storage medium.
Background
The online document is a document form supporting online browsing and editing of multiple users, and users can send interactive messages to other users in the process of editing the online document, and the interactive messages are displayed by terminals of other users.
However, in the current interactive message display mode, the interactive messages related to the online documents received by the user are mixed with a large amount of chat information, i.e., session messages, the interactive messages are very scattered to be presented, the difficulty of summarizing and viewing the interactive messages by the user is high, and the interactive message viewing efficiency is low.
Disclosure of Invention
The embodiment of the application provides an interactive message display method and device, computer equipment and a storage medium, and the efficiency of viewing interactive messages can be improved. The technical scheme is as follows:
in one aspect, an interactive message display method is provided, and the method includes:
in response to the first user creating an online document based on the target social application or receiving an interaction message associated with the online document, displaying at least a session corresponding to the online document in a session list of the target social application;
and responding to the triggering operation of the session, and displaying an information interface of the online document, wherein the information interface displays interactive messages associated with the online document.
In one aspect, an interactive message display method is provided, and the method 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 identifier of a second user;
generating an interactive message in response to the interactive instruction, wherein the interactive message comprises the content;
and sending the interactive message to a second terminal of the second user based on the user identifier 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.
In one aspect, an interactive message display apparatus is provided, the apparatus including:
the first display module is used for responding to the first user to create an online document based on a target social application or receiving an interaction message associated with the online document, and at least displaying 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 conversation and displaying an information interface of the online document, and the information interface displays the interactive message associated with the online document.
In one possible implementation, the apparatus further includes:
the sending module is used for responding to the online document created by the first user 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 the session corresponding to the online document in the session list based on the session identifier;
the first display module is used for responding to the conversation list not including the conversation corresponding to the online document, and displaying the conversation corresponding to the online document in the conversation list of the target social application.
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 the generation time of the interactive messages;
based on the display order, interactive messages associated with the online document are displayed on the information interface.
In one possible implementation, the second display module includes:
the first submodule is used for displaying the online document on the information display interface;
a second sub-module for displaying in the online document an interactive message associated with the online document.
In one possible implementation, the message display sub-module is configured to:
for any interactive message, determining the adding position of the any interactive message in the online document;
displaying the any interactive message at the added position in the online document.
In one possible implementation, the second display module includes:
the third submodule is used for displaying the interactive message associated with the online document in the first area of the information interface;
and the fourth submodule is used for displaying the online document in the second area of the information interface.
In one possible implementation, the fourth sub-module 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 the 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;
and displaying the interactive messages associated with the online document in the online document displayed by the information interface.
In one possible implementation, the second display module is configured to:
determining a second interactive message associated with the first user among the interactive messages associated with the online document;
the second interactive message is highlighted at the information interface.
In one possible implementation manner, the interactive message is displayed in an information interface of the online document in the form of a message card; the message card includes user information of a user who sends 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 a server in response to detecting that the content comprises a 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, an interactive message display apparatus is provided, the apparatus including:
the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving an interaction instruction and content sent by a first user based on an online document, the online document is created based on a target social application, and the interaction instruction carries a user identifier of a second user;
the message generating module is used for responding to the interaction instruction and generating an interaction message, and 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 identifier of the second user, and the second terminal is used for displaying the interactive message on an 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 message comprising the user identification of the second user in the historical interactive message corresponding to the online document;
responding to an interactive message comprising the user identification of the second user, and sending the interactive message to a second terminal of the second user;
and in response to the interaction message comprising the user identifier of the second user is not inquired, sending session adding information to the second user, and then sending the interaction message to a second terminal of the second user, wherein the session adding information is used for indicating the second terminal to add the 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 conversation generating 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 conversation 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 interactive messages associated with the online document.
In one aspect, a computer apparatus is provided that includes one or more processors and one or more memories having at least one program code stored therein, the at least one program code being loaded and executed by the one or more processors to perform 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 being loaded into and executed by a processor to implement the 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, so that the computer device implements the operations performed by the interactive message display method.
According to the technical scheme provided by the embodiment of the application, when the online document is created, the session corresponding to the online document is generated, the subsequent interactive messages generated in the process of editing the online document all belong to the session, the session corresponding to the online document is displayed in the session list interface, the session can be triggered to enter the information interface, the interactive messages associated with the online document can be checked, the interactive messages associated with the online document can be aggregated from the dimension of the document, a user does not need to query and summarize the interactive messages in a large amount of chat messages like the past, the acquisition difficulty of the interactive messages is reduced, and the checking efficiency of the interactive messages is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
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 interface diagram 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 another target social application provided by an embodiment of the present application;
FIG. 6 is a diagram illustrating a display manner of an online document 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 illustrating a session display manner in a session list according to an embodiment of the present application;
fig. 9 is a schematic diagram illustrating 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
To make the purpose, technical solutions and advantages of the present application clearer, the following will describe embodiments of the present application in further detail with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in this application are used for distinguishing between similar items and items that have substantially the same function or similar functionality, and it should be understood that "first," "second," and "nth" do not have any logical or temporal dependency or limitation on the number or order of execution.
In order to facilitate understanding of the technical processes of the embodiments of the present application, some terms referred to in the embodiments of the present application are explained below:
interactive information: in the present application, a message generated when multiple people interact in the same online document is referred to, that is, 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 has commented on the content edited by other users in the online document, the content edited by other users is praised, and the like, and the embodiment of the present 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 provided in an embodiment of the present application, and with reference to fig. 1, the implementation environment includes: a first terminal 110, a server 140 and a second terminal 160.
The first terminal 110 is installed and operated with an application program supporting online document creation and instant messaging. For example, the application is an instant messenger, an office application, and the like, which is not limited in the embodiment of the present application. Optionally, the application running in the first terminal 110 has a user account of a first user logged therein, 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, emoticon, and link.
The second terminal 160 is installed and operated with an application program supporting online document creation and instant messaging. For example, the application is an instant messenger, an office application, and the like, which is not limited in the embodiment of the present application. 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, emoticon, 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. Optionally, the first terminal 110 and the second terminal 160 generally refer to one of a plurality of terminals, and this embodiment is only illustrated 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 e-book reader, an MP3(Moving Picture Experts Group Audio Layer III, motion Picture Experts compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, motion Picture Experts compression standard Audio Layer 4) player, a laptop portable computer, and a desktop computer.
Optionally, the server 140 is an independent physical server, or a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, cloud database, cloud computing, cloud function, cloud storage, web service, cloud communication, middleware service, domain name service, security service, CDN (Content Delivery Network), big data and artificial intelligence platform. Server 140 is used to provide background services for applications that support online document creation and instant messaging. Alternatively, the server 140 undertakes primary computational tasks and the first terminal 110 and the second terminal 160 undertakes secondary computational tasks; alternatively, the server 140 undertakes the secondary computing work and the first terminal 110 and the second terminal 160 undertakes the primary computing work; 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 appreciate that the number of terminals described above may be greater or fewer. For example, the number of the terminals is only one, or the number of the terminals is dozens or hundreds, or more. The number of terminals and the type of the device are not limited in the embodiments of the present application.
The interactive message display method provided by the embodiment of the application establishes a session for each online document, and in the process of editing the online documents, the interactive messages associated with the online documents are aggregated by using the document dimensions, the interactive messages associated with the same online document belong to the same session, and a user can check the interactive messages associated with the certain online document from an information interface of the certain online document. In the embodiment of the application, the interactive messages are aggregated according to the document dimensions, so that a user can quickly and clearly see the historical interactive messages associated with each online document, the user does not need to gather the interactive messages of each online document, 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 application of the method to the above-mentioned implementation environment as an example, with reference to fig. 2, a process of sending an interactive message based on an online document after a first user creates the online document, and receiving and viewing the interactive message by a second user is described, with reference to fig. 2, in a possible implementation manner, the embodiment includes the following steps:
201. the first terminal responds to the first user to create an online document based on the target social application and sends document creation information to the server.
In the embodiment of the application, a user can create an online document based on the target social application, and other users using the target social application can edit the online document when acquiring the operation right of the online document.
In a 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 trigger operation of the first user on an online document creation control in the target social application, and the like, which is not limited in this embodiment of the application. And after determining that the first user needs to create the online document, the first terminal sends online document creation information to the server. Optionally, the online document creation information includes a document type, a document title, document authority information, and the like of the 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 this embodiment, the online document creation information is further used to instruct the 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 responds to the document creating information and generates a session corresponding to the online document.
In one possible implementation manner, in response to the first user creating an online document based on the target social application, the server generates a session corresponding to the online document, and assigns a session identification (covid) to the session corresponding to the online document. In the embodiment of the present application, the interactive messages associated with the online document all 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 session generation of the online document.
The session generation information is used to indicate that a 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 a possible implementation manner, the server needs to send session generation information to the first terminal, notify the first terminal that the session of the online document is generated, and execute the subsequent interface display step by the first terminal.
204. And the first terminal responds to the received session generation information sent by the server and at least displays the session corresponding to the online document in a session list interface of the target social application.
The conversation list interface comprises a conversation in which the first user participates in the target application program, and the conversation of the online document displayed in the conversation list interface can be used as a viewing entrance of the interactive message, namely the conversation 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 an online document based on the target social application, and after the session creation of the online document is determined to be completed, a session corresponding to the online document is added to the session list interface. 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 has recently received the interactive message associated with the online document, a part of content of the interactive message associated with the online document, and the like are displayed on the session control. It should be noted that, in the embodiment of the present application, a session corresponding to an online document is added to the session list interface, that is, a viewing entry of an interactive message is added, so as to view the interactive message associated with the online document.
205. And the first terminal responds to the triggering operation of the session, displays an information interface of the online document, and detects the content added in the online document by the first user.
Optionally, the trigger operation is a click operation, a long-time press operation, and the like, which is not limited in this embodiment of the application.
In one possible implementation, the method for displaying the information interface of the online document comprises any one of the following implementation modes:
in a first implementation, interactive messages associated with the online document are 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 the display sequence of the interactive messages associated with the online document based on the generation time of the interactive messages; based on the display order, interactive messages associated with the online document are displayed on 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, and the information interface 302 displays an interactive message 303 associated with the online document. In a possible implementation manner, the interface of the target social application further displays a viewing control of an online document, and the online document is displayed in response to a triggering operation on the viewing control, or the online document is displayed in response to a triggering operation on any interactive message by the first terminal, which is not limited in this embodiment of the present application. The online document may be displayed on the information interface, or may be displayed on other interfaces, which is not limited in this embodiment of the application.
And 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; displaying the any interactive message at the added position in the online document. Fig. 4 is a schematic interface diagram 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 positions of the online document, for example, the interactive messages are displayed in a form as shown in fig. 4. Of course, the interactive message may also be displayed in the online document in other forms, which is not limited in this embodiment of the application.
And the third implementation mode is that the interactive message associated with the online document is displayed in the first area of the information interface, and the online document is displayed in the second area of the information interface. Fig. 5 is an interface schematic diagram of another target social application provided in an embodiment of the present application, and referring to fig. 5, the interface of the target social application includes a session list interface 501 and an information interface 502, in a possible implementation manner, a first terminal displays an interactive message associated with the online document in a first area of the information interface 502, and displays the online document in a second area of the information interface 502. In the embodiment of the present application, only the first region is taken as the right region of the information interface, and the second region is taken as the left region of the information interface, which is not limited to the specific style of the information interface in the embodiment of the present application. In a possible implementation manner, the first terminal detects that a first user triggers a session of an online document, opens an information interface of the online document in a target social application, and can display the online document based on an interactive message currently received by the first user when displaying the interactive message and the online document. For example, the first terminal displays the content of a first position in the online document on an information interface, where the first position is a position indicated by a first interactive message in the online document, that is, an added position of the first interactive message in the online document, and the first interactive message is an interactive message generated in the interactive message and having a time closest to the current time. Fig. 6 is a schematic diagram of a display manner of an online document in an information interface according to an embodiment of the present application, as shown in fig. 6 (a), an interactive message that is received by a first user last time and associated with the online document is a first interactive message 601, a first location indicated by the first interactive message 601 is a location 602 in the online document, and when the online document is displayed, a first terminal directly displays content of the location 602 in the online document. In a possible implementation manner, the first terminal may switch the content of the online document displayed in the information interface based on a trigger 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 trigger 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 (a) of fig. 6, the third position indicated by the interactive message 603 is the position 604 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 currently displayed online document to the content of the position 604, as shown in (b) of fig. 6. In the embodiment of the application, by applying the online document display mode, a user can quickly and intuitively see the document content corresponding to the latest interactive message, and the currently displayed online document content can be switched according to the triggering operation of the user on the interactive message, so that the user can accurately find the document content corresponding to each interactive message without manually searching in the online document, the user can conveniently check the information, and the man-machine interaction efficiency is improved.
It should be noted that the above description of the information interface display manner is only an exemplary description of several possible implementation manners, and in the embodiment of the present application, the multiple 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 a form of an information stream, and the interactive message is also displayed in the online document. Of course, the information interface may also be displayed based on other combination manners, which is not limited in the embodiment of the present application.
In one possible implementation manner, the information interface of the online document displays all interactive messages associated with the online document, in this case, the first terminal determines a second interactive message associated with the first user in the interactive messages associated with the online document. In a possible implementation manner, when the interactive messages are displayed, the first terminal acquires user identifiers carried by the interactive messages, including a user identifier of a sending user of the interactive message and a user identifier of a receiving user of the interactive message, and determines that any interactive message is associated with the first user in response to that the user identifier carried by any interactive message includes the user identifier of the first user. For example, the interactive messages associated with the first user include interactive messages of the first user, interactive messages of commenting on the first user, and the like. After the first terminal determines a second interactive message associated with the first user, the second interactive message is highlighted 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, and the like. In one possible implementation manner, the information interface is further provided with an interactive message screening control, and only the second interactive message associated with the first user is displayed on the information interface in response to the triggering operation of the interactive message screening control. That is, the user can quickly select the concerned information by triggering the interactive message screening control, so that the interactive message viewing efficiency 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, obtains the contents added in the online document by the first user, sends the contents to the server, and the server performs content synchronization.
In the embodiment of the application, the interactive message 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 view the interactive message and edit the online document.
206. And the first terminal sends the content and an interaction instruction to the server in response to detecting that the content added in the online document comprises a reminding symbol.
Optionally, the reminder symbol is an "@" symbol, and the reminder symbol is associated with a reminder object, for example, presented in the form of an "@ reminder object", which is referred to as a second user in this embodiment of the present application.
In a 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. And the interaction instruction is used for instructing the server to generate an interaction message based on the content and sending the interaction message to the 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, and the specific content of the interaction instruction is not limited in this embodiment of the application. It should be noted that, in a possible implementation manner, the first terminal sends the content added by the first user to the server, and the server detects whether the content includes a reminder symbol without sending an interaction instruction, and determines whether the first user needs to interact with another user. In the embodiment of the present application, only the first terminal sends the content and the interaction instruction to the server as an example for description.
In the embodiment of the present application, only the case where the reminder symbol is an "@" symbol is taken as an example for explanation, the reminder symbol may include other symbols, for example, comments, praise, and the like on contents edited by other users correspond to different reminder symbols, and the embodiment of the present application is not limited to this.
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 a possible implementation manner, the server generates, in response to the interaction instruction, an interaction Message associated with the online document based on the content and a reference Message structure (Message structure), where the interaction Message includes the content added by the first user in the online document, and optionally includes an identifier of the first user, an identifier of the second user, and the like, which is not limited in this embodiment of the present application. Fig. 7 is a schematic diagram of a reference message structure provided in an embodiment of the present application, and referring to fig. 7, the reference message structure includes a session identifier (envid) 701, document information (docinnfo) 702, and an interaction type (actionType) 703. The session identifier 701 is used to indicate a session to which the interactive message belongs; the document information 702 is information of an online document associated with the interactive message, and includes a document title, a document type, information of a document creating user, a document link, and the like of the online document; the interaction type 703 includes at, comment, like. In a possible implementation manner, the interactive message is displayed in the information interface in the form of a card, in this case, the reference message structure further includes card document information (content)704, and optionally, the card document information 704 includes a part of the content in the interactive message, which is not limited in this embodiment. It should be noted that the above description of the interactive message generation method is only an exemplary description, and the embodiment of the present application does not limit which method is specifically used to generate the interactive message.
In the embodiment of the 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 a possible implementation manner, before sending the interaction message to the second user, the server first determines whether a 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 is determined that a session corresponding to the online document has been added to a session list interface of the second user, and if the interaction message associated with the online document has not been received, it is required that the second terminal adds a session of the online document to the session list interface. In one possible implementation manner, the server queries the history interactive messages corresponding to the online document for interactive messages including the user identifier of the second user. For example, the server first obtains the history interaction messages corresponding to the online document from the database based on the session identifier of the session corresponding to the online document, and then queries the interaction messages including the user identifier of the second user from the history interaction messages based on the user identifier of the second user. Responding to the interactive message comprising the user identification of the second user, and executing the step of sending the interactive message to a second terminal of the second user by the server; and in response to the interactive message comprising the user identification of the second user is not inquired, the server firstly sends session addition information to the second user and then executes the step of sending 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 executed by the second terminal, that is, when the second terminal receives the interaction message associated with the online document, it is queried whether the session list of the target social application includes the session corresponding to the online document. In the embodiments of the present application, the server performs the above steps only as an example.
208. And the second terminal receives the interactive message associated with the online document in the target social application, and responds to the detection of the triggering operation of the session corresponding to the online document, and displays the interactive message 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 a possible implementation manner, the second terminal receives an interaction message associated with the online document, caches the interaction message in an interaction message list (messagelist) corresponding to the online document based on a session identifier carried by the interaction message, and in response to detecting a trigger 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, in response to detecting a trigger operation on a session corresponding to the online document, the second terminal acquires a history interactive message associated with the online document from an interactive message list corresponding to the online document, and displays the interactive message and the history interactive message on an information interface of the online document. It should be noted that the display manner of the information interface is the same as that in the step 205, and is not described herein again. In one possible implementation manner, the interactive message is displayed in an 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 sends the interactive message and content in the interactive message. Of course, the interactive message can also be displayed based on other forms, which is not limited in this application.
It should be noted that, in the above embodiment, only the second user receives the interactive message and displays the interactive message as an example, in the embodiment of the present application, any user can receive the interactive message associated with the online document, for example, the first terminal of the first user receives the interactive message associated with the online document, where the interactive 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 in response to the session list not including the session corresponding to the online document, displaying the session corresponding to the online document in the session list of the target social application, and in response to a trigger operation on the session, displaying the interactive message on an 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 details are not described herein.
According to the technical scheme provided by the embodiment of the application, when the online document is created, the session corresponding to the online document is generated, the subsequent interactive messages generated in the process of editing the online document all belong to the session, the session corresponding to the online document can enter the information interface, and the interactive messages associated with the online document are checked, so that the interactive messages associated with the online document are aggregated from the dimension of the document, a user does not need to inquire and summarize the interactive messages in a large amount of chat information as in the past, the acquisition difficulty of the interactive messages is reduced, and the checking efficiency of the interactive messages is improved.
In the embodiment of the present application, the display order and the display state of the session corresponding to the online document in the session list interface can also be adjusted.
In one possible implementation, the display order of the sessions corresponding to the online document in the session list interface can be adjusted. For example, setting the session of the online document to be set to be displayed on the top in a setting menu interface corresponding to the session; or, in response to the user dragging the top area of the session list interface of the session of the online document, the session is moved to the top of the session list interface to be displayed. It should be noted that the user can 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 at the top, so that the user can conveniently find the session corresponding to the online document in the session list interface, and the user can conveniently view the interactive message associated with the online document.
In a possible implementation manner, sessions corresponding to a plurality of online documents can be aggregated into a session group, an entry of the session group is displayed in a session list interface of a target social application, and a plurality of sessions included in the session group, that is, sessions corresponding to the plurality of online documents included in the session list, are displayed in response to a trigger operation on the entry of the session group. Fig. 8 is a schematic view of a session display mode in a session list according to an embodiment of the present application, and referring to fig. 8, an entry 802 of a session group is displayed in a session list interface 801, and after the entry 801 of the session group is clicked, 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, by aggregating the sessions corresponding to the multiple online documents, for the user with high online document use frequency, the situation that a large number of sessions of the online documents are occupied on a session list interface can be avoided, and the situation that common chat sessions in a target social application are submerged can be avoided.
In one possible implementation, a message reception mode for a session corresponding to an online document can be set. Fig. 9 is a schematic diagram of a setting method of a message reception mode according to an embodiment of the present application, and as shown in fig. 9, a setting menu interface 901 corresponding to a session of an online document includes a message reception mode setting item 902, and a message reception mode setting interface 903 is displayed in response to a trigger operation on the message reception mode setting item 902, where the message reception mode setting interface 903 includes multiple priority options, and different priority options correspond to different message prompt modes. For example, where the third priority is the lowest priority, the session of the online document is set to the non-disturbing mode in response to the user selecting the third priority, i.e., no prompt information 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 sessions of different online documents, so that the priority of interactive messages can be distinguished, and the problem that when the interactive message associated with a certain online document is received, a message receiving notification is frequently triggered to influence an ongoing process is avoided.
In the embodiment of the application, a session is generated for each online document, so that a user can query the interactive messages associated with the online documents according to the document dimensions, the display sequence and the state of the session of the online documents in a session list interface can be adjusted according to the requirement of the user, the message receiving mode corresponding to the online documents is adjusted, different online documents correspond to different priorities, the user can process the interactive messages of different online documents according to different priorities, and the information processing efficiency is improved.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
Fig. 10 is a schematic structural diagram of an interactive message display device according to an embodiment of the present application, and referring to fig. 10, the interactive message display 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;
the second display module 1002 is configured to display an information interface of the online document in response to a trigger operation on 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 online document created by the first user 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, in response to receiving the session identifier sent by the server, display 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 the session corresponding to the online document in the session list based on the session identifier;
the first display module 1001 is configured to, in response to that the session list does not include the session corresponding to the online document, display the session corresponding to the online document in the session list of the target social application.
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 the generation time of the interactive messages;
based on the display order, interactive messages associated with the online document are displayed on the information interface.
In one possible implementation, the second display module 1002 includes:
the first submodule is used for displaying the online document on the information display interface;
a second sub-module for displaying in the online document an interactive message associated with the online document.
In one possible implementation, the message display sub-module is configured to:
for any interactive message, determining the adding position of the any interactive message in the online document;
displaying the any interactive message at the added position in the online document.
In one possible implementation, the second display module 1002 includes:
the third submodule is used for displaying the interactive message associated with the online document in the first area of the information interface;
and the fourth submodule is used for displaying the online document in the second area of the information interface.
In one possible implementation, the fourth sub-module 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 the 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;
and displaying the interactive messages associated with the online document in the online document displayed by the information interface.
In one possible implementation, the second display module 1002 is configured to:
determining a second interactive message associated with the first user among the interactive messages associated with the online document;
the second interactive message is highlighted at the information interface.
In one possible implementation manner, the interactive message is displayed in an information interface of the online document in the form of a message card; the message card includes user information of a user who sends 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 a server in response to detecting that the content comprises a 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 subsequent interactive messages generated in the process of editing the online document all belong to the session, the session corresponding to the online document can enter the information interface, and the interactive messages associated with the online document are checked, so that the interactive messages associated with the online document are aggregated from the dimension of the document, a user does not need to query and summarize the interactive messages in a large amount of chat information as in the past, 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 according to an embodiment of the present application, and referring to fig. 11, the interactive message display device includes:
a first receiving module 1101, 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 interactive message in response to the interactive instruction, where the interactive message includes the content;
a message sending module 1103, configured to send the interactive 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 interactive message on an information interface of the online document in the target social application.
In one possible implementation, the messaging module 1103 is configured to:
based on the user identification of the second user, inquiring the interactive message comprising the user identification of the second user in the historical interactive message corresponding to the online document;
responding to an interactive message comprising the user identification of the second user, and sending the interactive message to a second terminal of the second user;
and in response to the interaction message comprising the user identifier of the second user is not inquired, sending session adding information to the second user, and then sending the interaction message to a second terminal of the second user, wherein the session adding information is used for indicating the second terminal to add the 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 conversation generating 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 conversation 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 interactive messages 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 subsequent interactive messages generated in the process of editing the online document all belong to the session, the session corresponding to the online document can enter the information interface, and the interactive messages associated with the online document are checked, so that the interactive messages associated with the online document are aggregated from the dimension of the document, a user does not need to query and summarize the interactive messages in a large amount of chat information as in the past, the acquisition difficulty of the interactive messages is reduced, and the checking efficiency of the interactive messages is improved.
It should be noted that: the interactive message display device provided in the above embodiment is illustrated by only dividing the functional modules when displaying the interactive message, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the interactive message display device and the interactive message display method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
The computer device provided by the above technical solution can 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 video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 1200 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and so forth.
In general, terminal 1200 includes: one or more processors 1201 and one or more memories 1202.
The 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 a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1201 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1201 may be integrated with a GPU (Graphics Processing Unit) that is responsible for rendering and drawing content that the display screen needs to display. In some embodiments, the processor 1201 may further include an AI (Artificial Intelligence) processor for processing a computing operation related to machine learning.
In some embodiments, the terminal 1200 may further optionally include: a peripheral interface 1203 and at least one peripheral. The processor 1201, memory 1202, and peripheral interface 1203 may be connected by a bus or signal line. Various peripheral devices may be connected to peripheral interface 1203 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1204, display 1205, camera assembly 1206, audio circuitry 1207, positioning assembly 1208, and power supply 1209.
The peripheral interface 1203 may be used to connect at least one peripheral associated with I/O (Input/Output) to the processor 1201 and the memory 1202. In some embodiments, the processor 1201, memory 1202, and peripheral interface 1203 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1201, the memory 1202 and the peripheral device interface 1203 may be implemented on a separate chip or circuit board, 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 by electromagnetic signals. The radio frequency circuit 1204 converts an electric signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electric signal. Optionally, the radio frequency circuit 1204 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1204 may communicate with other terminals through at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 1204 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 1205 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1205 is a touch display screen, the display screen 1205 also has the ability to acquire touch signals on or over the surface of the display screen 1205. The touch signal may be input to the processor 1201 as a control signal for processing. At this point, 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 the front panel of the terminal 1200; in other embodiments, the display 1205 can 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 on a folded surface of the terminal 1200. Even further, the display screen 1205 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The Display panel 1205 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or other materials.
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 into the processor 1201 for processing or inputting the electric signals into the radio frequency circuit 1204 to achieve voice communication. For stereo capture or noise reduction purposes, multiple microphones may be provided at different locations of terminal 1200. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1201 or the radio frequency circuit 1204 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 1207 may also include a headphone jack.
The positioning component 1208 is configured to locate a current geographic Location of the terminal 1200 to implement navigation or LBS (Location Based Service). The Positioning component 1208 can be a Positioning component based on the united states GPS (Global Positioning System), the chinese beidou System, the russian graves System, or the european union galileo System.
The power supply 1209 is used to provide power to various components within the terminal 1200. The power source 1209 may be alternating current, direct current, disposable or rechargeable. 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: acceleration sensor 1211, gyro sensor 1212, pressure sensor 1213, fingerprint sensor 1214, optical sensor 1215, and proximity sensor 1216.
The acceleration sensor 1211 can detect 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 the gravitational acceleration in three coordinate axes. The processor 1201 may control the display screen 1205 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1211. The acceleration sensor 1211 may also be used for 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 can implement the following functions according to the data collected by the gyro sensor 1212: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 1213 may be disposed on the side frames of terminal 1200 and/or underlying display 1205. When the pressure sensor 1213 is disposed on the side frame of the terminal 1200, the user's holding signal of the terminal 1200 can be detected, and the processor 1201 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1213. When the pressure sensor 1213 is disposed at a lower layer of the display screen 1205, the processor 1201 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 1205. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1214 is used for collecting a fingerprint of the user, and the processor 1201 identifies the user according to the fingerprint collected by the fingerprint sensor 1214, or the fingerprint sensor 1214 identifies the user according to the collected fingerprint. When the user identity is identified as a trusted identity, the processor 1201 authorizes the user to perform relevant sensitive operations, including unlocking a screen, viewing encrypted information, downloading software, paying, changing settings, and the like. The fingerprint sensor 1214 may be provided on the front, back, or side of the terminal 1200. When a physical button or vendor Logo is provided on the terminal 1200, the fingerprint sensor 1214 may be integrated with the physical button or vendor Logo.
The optical sensor 1215 is used to collect the ambient light intensity. In one embodiment, the processor 1201 may control the display brightness of the display 1205 according to the ambient light intensity collected by the optical sensor 1215. Specifically, when the ambient light intensity is high, the display luminance of the display panel 1205 is increased; when the ambient light intensity is low, the display brightness of the display panel 1205 is turned down. In another embodiment, processor 1201 may also dynamically adjust the camera head 1206 shooting parameters based on the ambient light intensity collected by optical sensor 1215.
A proximity sensor 1216, also known as a distance sensor, is typically disposed on the front panel of the terminal 1200. The proximity sensor 1216 is used to collect a distance between the user and the front surface of the terminal 1200. In one embodiment, when the proximity sensor 1216 detects that the distance between the user and the front surface of the terminal 1200 gradually decreases, the processor 1201 controls the display 1205 to switch from the bright screen state to the dark screen state; when the proximity sensor 1216 detects that the distance between the user and the front surface of the terminal 1200 gradually becomes larger, the processor 1201 controls the display 1205 to switch from the breath-screen state to the bright-screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 12 is not intended to be limiting of terminal 1200 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
Fig. 13 is a schematic structural diagram of a server 1300 according to an embodiment of the present application, where the server 1300 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 1301 and one or more memories 1302, where at least one program code is stored in the one or more memories 1302, and is loaded and executed by the one or more processors 1301 to implement the methods provided by the foregoing method embodiments. Certainly, the server 1300 may further include components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input and output, and the server 1300 may further include other components for implementing the functions of the device, which is not described herein again.
In an exemplary embodiment, a computer readable storage medium, such as a memory including at least one program code, which is executable by a processor to perform the interactive message display method in the above embodiments, is also provided. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also 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, so that the computer device implements the operations performed by the interactive message display method.
It will be understood by those skilled in the art that all or part of the steps of implementing the above embodiments may be implemented by hardware, or implemented by at least one program code associated with hardware, where the program code is stored in a computer readable storage medium, such as a read only memory, a magnetic or optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (18)
1. An interactive message display method, the method comprising:
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, displaying at least a session corresponding to the online document in a session list of the target social application;
and responding to the triggering operation of the conversation, and displaying an information interface of the online document, wherein the information interface displays interactive messages related to the online document.
2. The method of claim 1, wherein before displaying at least a session corresponding to an online document in a session list of a target social application, the method further comprises:
responding to the first user to create an online document, 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;
and 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.
3. The method of claim 1, wherein before displaying at least a session corresponding to an online document in the session list of the target social application, the method further comprises:
receiving an interactive message associated with the online document, wherein the interactive message carries a session identifier corresponding to the online document;
inquiring a session corresponding to the online document in the session list based on the session identification;
in response to the session list not including the session corresponding to the online document, displaying the session corresponding to the online document in the session list of the target social application.
4. The method of claim 1, wherein displaying the information interface of the online document comprises:
determining a display order of interactive messages associated with the online document based on a generation time of the interactive messages;
and displaying the interactive messages associated with the online documents on the information interface based on the display sequence.
5. The method of claim 1, wherein displaying the information interface of the online document comprises:
displaying the online document on the information display interface;
displaying an interactive message associated with the online document in the online document.
6. The method of claim 5, wherein displaying the interactive message associated with the online document in 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.
7. The method of claim 1, wherein displaying the information interface of the online document comprises:
displaying an interactive message associated with the online document in a first area of the information interface;
and displaying the online document in a second area of the information interface.
8. The method of claim 7, wherein displaying the online document in the second area of the information interface comprises 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 the 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;
and displaying the interactive messages associated with the online documents in the online documents displayed by the information interface.
9. The method of claim 1, wherein displaying the information interface of the online document comprises:
determining a second interactive message associated with the first user among the interactive messages associated with the online document;
and highlighting the second interactive message on the information interface.
10. The method of claim 1, wherein the interactive message is displayed in an information interface of the online document in the form of a message card;
the message card comprises user information of a user sending the interactive message and content in the interactive message.
11. The method of claim 1, wherein after displaying an information interface of the online document in response to the triggering operation on the session, the method further comprises:
detecting content added by the first user in the online document;
and in response to the detection 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 based on the content, and sending the interaction message to a second user associated with the reminding symbol.
12. 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 identifier of a second user;
generating an interactive message in response to the interactive instruction, wherein the interactive message comprises the content;
and sending the interactive message to a second terminal of the second user based on the user identification 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.
13. The method of claim 12, wherein the sending the interactive message to the second terminal of the second user based on the user identifier of the second user comprises:
based on the user identification of the second user, inquiring the interactive message comprising the user identification of the second user in the historical interactive message corresponding to the online document;
responding to an interactive message comprising the user identification of the second user, and sending the interactive message to a second terminal of the second user;
and responding to an interaction message comprising the user identification of the second user, sending session adding information to the second user, and sending the interaction message 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.
14. The method of claim 12, wherein prior to receiving the interactive instructions and content sent by the first user based on the online document, the method further comprises:
in response to a first user creating an online document based on a target social application, 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 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 interactive message associated with the online document.
15. 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 a target social application or receiving an interaction message associated with the online document, and at least displaying 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 conversation and displaying an information interface of the online document, wherein the information interface displays the interactive message associated with the online document.
16. An interactive message display device, the device comprising:
the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving an interaction instruction and content sent by a first user based on an online document, the online document is created based on a target social application, and the interaction instruction carries a user identifier of a second user;
the message generating module is used for responding to the interaction instruction and generating an interaction message, and 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 identifier of the second user, and the second terminal is used for displaying the interactive message on an information interface of the online document in the target social application.
17. A computer device comprising one or more processors and one or more memories having stored therein at least one program code, the at least one program code loaded into and executed by the one or more processors to perform operations performed by the interactive message display method of any one of claims 1 to 11; or an operation performed by the interactive message display method according to any one of claims 12 to 14.
18. A computer-readable storage medium having at least one program code stored therein, the at least one program code being loaded into and executed by a processor to perform operations performed by the interactive message display method according to any one of claims 1 to 11; or an operation performed by the interactive message display method according to any one of claims 12 to 14.
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 true CN112163406A (en) | 2021-01-01 |
CN112163406B 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) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112801752A (en) * | 2021-02-04 | 2021-05-14 | 腾讯科技(深圳)有限公司 | 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 |
CN113791855A (en) * | 2021-08-31 | 2021-12-14 | 腾讯科技(深圳)有限公司 | Interactive information display method and device, electronic equipment and storage medium |
CN114047854A (en) * | 2021-11-17 | 2022-02-15 | 北京字跳网络技术有限公司 | Information interaction method and device for document processing, electronic equipment and storage medium |
CN114398136A (en) * | 2022-01-17 | 2022-04-26 | 北京达佳互联信息技术有限公司 | Object mentioning method, device, terminal and storage medium |
Citations (10)
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 |
US20180121394A1 (en) * | 2016-10-31 | 2018-05-03 | Fuji Xerox Co., Ltd. | Systems and methods for bringing document interactions into the online conversation stream |
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 |
-
2020
- 2020-10-22 CN CN202011139489.2A patent/CN112163406B/en active Active
- 2020-10-22 CN CN202410235713.XA patent/CN118036574A/en active Pending
Patent Citations (10)
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 |
US20180121394A1 (en) * | 2016-10-31 | 2018-05-03 | Fuji Xerox Co., Ltd. | Systems and methods for bringing document interactions into the online conversation stream |
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)
Title |
---|
王巧;郑依华;南凯;: ""科研在线"平台文档的移动客户端", 科研信息化技术与应用, no. 06 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112801752A (en) * | 2021-02-04 | 2021-05-14 | 腾讯科技(深圳)有限公司 | Page display method, device, equipment and medium based on application mall |
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 |
CN113791855A (en) * | 2021-08-31 | 2021-12-14 | 腾讯科技(深圳)有限公司 | Interactive information display method and device, electronic equipment and storage medium |
CN113791855B (en) * | 2021-08-31 | 2023-06-09 | 腾讯科技(深圳)有限公司 | Interactive information display method and device, electronic equipment and storage medium |
CN114047854A (en) * | 2021-11-17 | 2022-02-15 | 北京字跳网络技术有限公司 | Information interaction method and device for document processing, electronic equipment and storage medium |
CN114047854B (en) * | 2021-11-17 | 2023-09-26 | 北京字跳网络技术有限公司 | Information interaction method and device for document processing, electronic equipment and storage medium |
CN114398136A (en) * | 2022-01-17 | 2022-04-26 | 北京达佳互联信息技术有限公司 | Object mentioning method, device, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN118036574A (en) | 2024-05-14 |
CN112163406B (en) | 2024-02-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112947823B (en) | Session processing method, device, equipment and storage medium | |
CN111324259B (en) | Group creation method, device and storage medium | |
CN110278464B (en) | Method and device for displaying list | |
CN111597008A (en) | Popup management method, popup management device, terminal and storage medium | |
CN111614549B (en) | Interaction processing method and device, computer equipment and storage medium | |
CN112764608B (en) | Message processing method, device, equipment and storage medium | |
CN113098755B (en) | Group chat creating method, device, terminal and storage medium | |
CN112163406B (en) | Interactive message display method and device, computer equipment and storage medium | |
CN112751679B (en) | Instant messaging message processing method, terminal and server | |
CN110147503B (en) | Information issuing method and device, computer equipment and storage medium | |
CN113204298A (en) | Method and device for displaying release progress, electronic equipment and storage medium | |
CN110032417A (en) | Session entry mask method, apparatus, equipment and storage medium | |
CN110890969B (en) | Method and device for mass-sending message, electronic equipment and storage medium | |
CN112311661B (en) | Message processing method, device, equipment and storage medium | |
CN111064657B (en) | Method, device and system for grouping concerned accounts | |
CN110493448A (en) | Communication message processing method, device and storage medium | |
CN113485596A (en) | Virtual model processing method and device, electronic equipment and storage medium | |
CN113837709A (en) | Online processing method and device of business process, terminal and readable storage medium | |
CN114143280B (en) | Session display method and device, electronic equipment and storage medium | |
CN116418771A (en) | Message display method, message processing method, device and electronic equipment | |
CN111399717B (en) | Method, device, equipment and storage medium for publishing contents | |
CN115134316A (en) | Topic display method, device, terminal and storage medium | |
CN113051494A (en) | Information display method and device, electronic equipment and storage medium | |
CN114546188A (en) | Interaction method, device and equipment based on interaction interface and readable storage medium | |
CN111444289A (en) | Incidence relation establishing method |
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 |