CN114205324A - Message display method, device, terminal, server and storage medium - Google Patents

Message display method, device, terminal, server and storage medium Download PDF

Info

Publication number
CN114205324A
CN114205324A CN202111523129.7A CN202111523129A CN114205324A CN 114205324 A CN114205324 A CN 114205324A CN 202111523129 A CN202111523129 A CN 202111523129A CN 114205324 A CN114205324 A CN 114205324A
Authority
CN
China
Prior art keywords
comment
message
session message
terminal
picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111523129.7A
Other languages
Chinese (zh)
Other versions
CN114205324B (en
Inventor
李晓伟
孟磊
张全鹏
纪侃侃
陈振涛
彭颜开
郭一木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202111523129.7A priority Critical patent/CN114205324B/en
Publication of CN114205324A publication Critical patent/CN114205324A/en
Application granted granted Critical
Publication of CN114205324B publication Critical patent/CN114205324B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction 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 using icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information

Abstract

The application discloses a message display method, a message display device, a terminal, a server and a storage medium, and belongs to the technical field of communication. The method comprises the following steps: displaying the first session message; when a comment instruction for the first session message is received, displaying a candidate comment identifier, wherein the comment instruction is used for indicating that comment information is added to the first session message; obtaining comment information of the first session message based on the selected candidate comment identification; and displaying a second session message, wherein the second session message comprises the message content and the comment information of the first session message. Because the comment information and the first commented conversation message are displayed through the same conversation message, the information display efficiency of the interface is greatly improved, and the communication efficiency is improved. And when a comment instruction is received, a candidate comment identifier is provided, so that comment information is obtained according to the selected candidate comment identifier, and convenience and efficiency in obtaining the comment information are improved.

Description

Message display method, device, terminal, server and storage medium
The application is a divisional application of Chinese patent application with application number 201810050911.3, which is filed on 18.01.2018 and named as 'message display method, device, terminal and computer readable storage medium'.
Technical Field
The present application relates to the field of communications technologies, and in particular, to a message display method, apparatus, terminal, server, and storage medium.
Background
With the development of communication technology, instant messaging based on social applications is becoming a popular way of communication. On the social application platform, a plurality of users can form a group to carry out instant messaging in the form of the group. In the group, the user can send characters, pictures and the like to other users; in addition, the user can comment on the pictures of other users in a conversation mode, and therefore information communication among multiple users is facilitated. However, a cross comment often occurs in a group session, for example, when a certain user sends a picture a, some users comment on the picture a in a conversation, if a certain user sends a picture B again, and some users comment on the picture B, the conversation messages on the conversation interface are disordered and difficult to distinguish, and the information efficiency that can be actually embodied is low.
Disclosure of Invention
The embodiment of the application provides a message display method, a message display device, a terminal, a server and a storage medium, and can solve the problem of low communication efficiency in the related art. The technical scheme is as follows:
in one aspect, a message display method is provided, and the method includes:
displaying the first session message;
when a comment instruction of the first session message is received, displaying a candidate comment identifier, wherein the comment instruction is used for indicating that comment information is added to the first session message;
obtaining comment information of the first session message based on the selected candidate comment identification;
displaying a second conversation message, wherein the second conversation message comprises the message content of the first conversation message and the comment information.
In one aspect, a message display method is provided, and the method includes:
receiving a first session message of a first terminal, and sending the first session message to a second terminal; the second terminal is used for receiving the first session message, displaying a candidate comment identifier when a comment instruction of the first session message is received, obtaining comment information of the first session message based on the selected candidate comment identifier, and sending a comment issuing instruction to a server;
receiving a comment publishing instruction of a second terminal, wherein the comment publishing instruction at least carries a message identifier of the first session message and a selected candidate comment identifier, and the message identifier is used for indicating to acquire the first session message;
and forwarding the comment issuing instruction to the first terminal.
In one aspect, there is provided a message display apparatus, the apparatus including:
the first display module is used for displaying the first session message;
the first obtaining module is used for displaying a candidate comment identifier when a comment instruction for the first session message is received, wherein the comment instruction is used for indicating that comment information is added to the first session message;
the first obtaining module is further configured to obtain comment information of the first session message based on the selected candidate comment identifier;
and the second display module is used for displaying a second session message, and the second session message comprises the message content of the first session message and the comment information.
In one aspect, there is provided a message display apparatus, the apparatus including:
the first receiving module is used for receiving a first session message of a first terminal and sending the first session message to a second terminal; the second terminal is used for receiving the first session message, displaying a candidate comment identifier when a comment instruction of the first session message is received, obtaining comment information of the first session message based on the selected candidate comment identifier, and sending a comment issuing instruction to a server;
a second receiving module, configured to receive a comment issuing instruction of a second terminal, where the comment issuing instruction at least carries a message identifier of the first session message and the selected candidate comment identifier, and the message identifier is used to indicate to acquire the first session message;
and the forwarding module is used for forwarding the comment issuing instruction to the first terminal.
In one aspect, a message display method is provided, and the method includes:
displaying the text message;
when a comment instruction of the text message is received, acquiring an animation corresponding to the comment instruction, wherein the comment instruction is used for indicating that comment information is added to the text message;
displaying a second conversation message, the second conversation message including the message content of the text message and the animation.
In one aspect, a message display method is provided, and the method includes:
displaying a first session message, wherein the message content of the first session message is a picture, audio or video;
when a comment instruction of the first session message is received, acquiring character comment information, wherein the comment instruction is used for indicating that character comment information is added to the first session message;
displaying a second session message, wherein the second session message comprises the message content of the first session message and the text comment information.
In one aspect, a terminal is provided and includes a processor and a memory, where at least one instruction is stored in the memory, and the instruction is loaded and executed by the processor to implement the operations performed by the message display method in any aspect.
In one aspect, a server is provided, which includes a processor and a memory, where at least one instruction is stored, and the instruction is loaded and executed by the processor to implement the operations performed by the message display method in any aspect.
In one aspect, a computer-readable storage medium is provided, in which at least one instruction is stored, the instruction being loaded and executed by a processor to implement the operations performed by the message display method in any aspect.
The technical scheme provided by the embodiment of the application has the following beneficial effects:
in the embodiment of the application, in the conversation process, the first conversation message can be commented, and the comment information and the commented first conversation message are displayed through the same conversation message, so that the displayed content is enriched, a brand-new interaction mode is provided, the information display efficiency is greatly improved, the communication efficiency is improved, in addition, the interaction mode does not need to check the commented content based on the skip, the operation of triggering the page skip is omitted, particularly, the number of messages is large during the group conversation, and the conversation efficiency can be greatly improved. And when a comment instruction is received, a candidate comment identifier is provided, so that comment information is obtained according to the selected candidate comment identifier, and convenience and efficiency in obtaining the comment information are 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 illustration of an implementation environment provided by an embodiment of the present application;
fig. 2 is a signaling interaction diagram of a message display method according to an embodiment of the present application;
FIG. 3A is a schematic illustration of a session interface provided by an embodiment of the present application;
FIG. 3B is a diagram of an example of a session interface provided by an embodiment of the present application;
FIG. 4A is a schematic diagram of another session interface provided by an embodiment of the present application;
FIG. 4B is a diagram of another example of a session interface provided by an embodiment of the present application;
FIG. 5A is a diagram of another example of a session interface provided by an embodiment of the present application;
FIG. 5B is a diagram illustrating another example of a session interface provided by an embodiment of the present application;
FIG. 5C is a schematic diagram of another session interface provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of an implementation framework provided by an embodiment of the present application;
FIG. 7 is a schematic diagram of another implementation framework provided in the embodiments of the present application;
fig. 8 is a flowchart of a message display method according to an embodiment of the present application;
fig. 9 is a flowchart of another message display method provided in the embodiment of the present application;
fig. 10 is a schematic structural diagram of a message display device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of another message display device provided in 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
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, 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.
Fig. 1 is a schematic diagram of an implementation environment provided in an embodiment of the present application, and referring to fig. 1, the implementation environment includes: a first terminal 101, a second terminal 102 and a server 103. The first terminal 101, the second terminal 102 and the server 103 are connected through a network. The first terminal 101 and the second terminal 102 run a social application program associated with the server 103, and based on the social application program, the server 103 can be logged in, so that a communication connection is established between the first terminal 101 and the second terminal 102.
The first terminal 101 is a terminal where a first user is located, the second terminal 102 is a terminal where a second user is located, the first terminal 101 may send a first session message of the first user to the server 103, the server 103 forwards the first session message to the second terminal 102, and the second terminal 102 displays the first session message to the second user. Further, the second terminal 102 may also provide a comment entry for the first session message for a second user, the second user may trigger the comment entry to comment on the first session message, the second terminal 102 uses both the comment information of the second user and the first session message as a second session message for the second user, and forwards the second session message to the first terminal; the first terminal 101 and the second terminal 102 present the second session message on the session interface.
The first terminal 101 and the second terminal 102 may be any terminals in which the social application is installed. For example, the first terminal 101 and the second terminal 102 may be mobile phone terminals, PAD (Portable Android Device) terminals, or computer terminals. Server 103 is a backend server for the social application. The server 103 may be a server, a server cluster composed of several servers, or a cloud computing server center.
Fig. 2 is a signaling interaction diagram of a message display method according to an embodiment of the present application. The method can be interactively realized by a second terminal, a server and a first terminal, and referring to fig. 2, the method comprises the following steps:
201. the server receives a first session message of a first terminal and sends the first session message to a second terminal, wherein the first terminal is a terminal where a first user is located, and the second terminal is a terminal where a second user is located.
In this embodiment of the application, the first user and the second user may be two users in a group, and therefore, when receiving a first session message issued by the first user in a group session, the server sends the first session message to other users in the group, where only the second user among the other users is taken as an example for description. Of course, the session between the first user and the second user may also be a one-to-one session, and in this case, when receiving the first session message sent by the first user to the second user, the server forwards the first session message to the second user. It should be noted that the first user and the second user may or may not have a friend relationship, which is not limited in the embodiment of the present application. The first user and the second user in the embodiment of the present application may be represented by user accounts, for example, the first user of the first terminal is represented by a first user identifier, and the first user identifier is a user identifier for the first terminal to log in.
The message content of the first session message may be of different types, such as text, picture, audio or video, etc. In a possible implementation manner, when the first terminal sends the first session message, the first terminal may identify a type of message content of the first session message to obtain indication information for indicating the type and send the indication information and the first session message to the server, or, when the server receives the first session message, the first terminal may identify the type of message content of the first session message to obtain indication information for indicating the type and send the indication information and the first session message to the second user.
202. And the second terminal receives the first session message and displays the first session message of the first user on a session interface.
In one implementation manner, the second terminal receives the first session message, obtains a position of a message frame of the first session message on the session interface, and displays the first session message in the message frame of the session interface according to the position of the message frame on the session interface. The session message on the session interface may be displayed according to the sending time sequence of the session message, which is not limited in this embodiment of the present application.
203. The second terminal identifies a type of message content of the first session message.
When the second terminal receives the first session message sent by the server, the second terminal can also obtain the indication information of the first session message from the server, and the indication information is used for indicating the type of the message content of the first session message. The types include pictures, text, video or audio, etc. The terminal may store a plurality of indication information and a type corresponding to each indication information in association in advance, thereby identifying the type of the message content based on the indication information. Accordingly, the step of the second terminal identifying the type of the message content of the first session message may be: and the second terminal acquires the indication information of the first session message and determines the type of the message content of the first session message from the corresponding relation between the indication information and the type according to the indication information.
It should be noted that the type identification may be executed by the first terminal and notified to the server, or executed by the server and notified to the second terminal through the indication information, or may be self-identified by the second terminal, which is not limited in this embodiment of the present application.
204. And when the message content is a picture and the picture does not meet the filtering condition, the second terminal displays the comment triggering option of the first session message at the first specified position of the first session message.
In one possible design, the number of messages in a conversation is large, and the types of the message contents are different, such as text, pictures, audio or video. In comparison, the pictures in the message stream are more attractive to the attention of the user, and the users in the group are often induced to comment on the pictures. Therefore, in order to improve the efficiency of the comment, the second terminal may first screen out the message whose message content is the picture from the message stream, and provide the comment trigger option for the picture.
It should be noted that, because the picture can improve the enthusiasm of the user comments, the second terminal detects the types of the message contents first, and displays the comment triggering option when the message contents are the picture, so that comment entries are provided for the user in a targeted manner in a large number of conversation messages, and waste of interface display space, which may be caused by displaying the comment entries in each type, is avoided.
The filtering condition is used for filtering pictures which may affect the picture display in a plurality of pictures so as to determine the pictures which need to display the comment triggering option. In a possible design, during a group conversation, a message stream may include multiple pictures, and sizes, formats, or contents of the multiple pictures may be different, for example, overlaying comment information on a picture or a dynamic picture with a smaller size may affect picture presentation, in order to avoid affecting normal display of the picture, the second terminal may further perform filtering among the multiple pictures based on a filtering condition and a picture size and/or a picture type, and when the picture size and/or the picture type do not satisfy the filtering condition, the second terminal displays a comment triggering option of the first session message at a first specified position of the first session message. And when the picture size and/or the picture type meet the filtering condition, the second terminal does not display the comment triggering option of the first session message.
During an actual session, the filtering condition may be: the picture is not larger than a specified size and/or the picture is in a specified format. Based on the filtering condition, the screening process of the picture may include: and judging whether the picture in the message content is larger than the specified size, judging whether the picture in the message content is in a GIF (Graphics Interchange Format) Format, displaying the comment triggering option of the first session message when the picture in the message content is larger than the specified size and is not in the GIF Format, and not displaying the comment triggering option of the first session message when the picture in the message content is not larger than the specified size and is in the GIF Format. Wherein the specified size may be 400 pixels by 400 pixels.
In the above step, when the size of the picture is too small and unclear, or when the picture is a fighting picture among a plurality of users, if a comment triggering option is provided, the normal display of the session interface may be affected, in addition to considering the normal display of the picture, the filtering condition may actually predict whether the user has a comment requirement on the picture, and for some smaller pictures or dynamic pictures, the user usually does not have a comment requirement, so that the second terminal provides a comment entry only for the pictures which do not affect the normal display and have the comment requirement, thereby avoiding interference on the normal display of the session interface.
Taking the message content of the first session message as a picture as an example, as shown in fig. 3A, on the session interface, the message content of the session message 300 is a picture, and the size of the picture is greater than 400 × 400, the comment trigger option is displayed outside the lower right corner of the message frame, and the message content of the session message 301 is a picture, but the size of the message content is less than 400 × 400, the comment trigger option is not displayed. In actual operation, the actual effect of the second terminal displaying the comment triggering option may be as shown in fig. 3B.
The comment triggering option is used for triggering a comment instruction of the first session message, the comment triggering option is actually a comment entry of the second terminal on the session interface, and the second user can trigger the comment instruction of the second terminal for generating the first session message by triggering the comment triggering option.
Wherein the first designated location may be a lower right corner (as shown in fig. 3A), an upper right corner, or a middle position of the message box near the first session message. Then this step may be: and the second terminal acquires the position of the message frame of the first session message on the session interface, takes the position as the first appointed position of the first session message, and displays the comment triggering option of the first session message on the first appointed position. For example, when the first session message is a picture, the second terminal displays a comment triggering option of the picture at a first specified position.
When a second user needs to comment on the first session message, the second user can trigger a comment triggering option, and when the terminal detects that the comment triggering option is triggered, a comment instruction for the first session message is generated.
205. And when a comment instruction of a second user to the first conversation message is received, the second terminal displays a plurality of candidate comment identifications at a second designated position of the first conversation message.
In this step, the candidate comment identifiers are identifiers corresponding to the candidate comment information, and each candidate comment identifier may be displayed as an expression picture (as shown in fig. 4A). The second designated position may be a middle position, a lower right corner position, an upper right corner position, etc. of a message frame of the first session message. The second designated position and the first designated position may be the same or different, and the embodiment of the present application is not particularly limited. When a comment instruction is received at a second terminal, the second terminal respectively obtains a plurality of candidate comment identifications corresponding to a plurality of candidate comment information, determines the position of a message frame of the first session message, and displays the candidate comment identifications at a second designated position of the message frame according to the position of the message frame for selection by a second user.
It should be noted that the candidate comment information may be an expression, and the candidate comment identifier may be an expression ID (Identity). The emoticon may be a text emoticon or an animation, such as an animation with special effects designed based on the text emoticon, e.g., a GIF animation. The candidate comment identification can correspond to an animation and a text expression, when the animation is supported on the terminal, the animation corresponding to the candidate comment identification can be displayed, and when the animation is not supported on the terminal, the text expression corresponding to the candidate comment identification can be displayed.
The message content of the first session message may be text, picture, audio or video, etc. The second terminal may further set, for each type of session message, corresponding candidate comment information, and store the type of each message content and the candidate comment identifier corresponding to the type in an associated manner, and the step of the second terminal obtaining, respectively, a plurality of candidate comment identifiers corresponding to a plurality of candidate comment information may be: and the second terminal acquires a plurality of candidate comment identifications corresponding to the type of the first session message from the corresponding relation between the type of the message content and the candidate comment identifications according to the type of the message content of the first session message.
The type of the message content may be a picture, a text, an audio or a video, and as described above, corresponding candidate comment information may be set for different types, and accordingly, when displaying the candidate comment identifier, the candidate comment identifier of the corresponding candidate comment information may be displayed for different types. For the message content, the same type of message can also embody different meanings, so the message content can be further identified, the category is determined, and candidate comment information aiming at the category is provided based on the category, so that the intelligent degree of comments is improved. In the following, the description is based on different types respectively:
the message content of the first session message is a picture.
The pictures can be pictures of multiple picture categories such as landscape pictures, figure pictures, building pictures and the like, when a user reviews the pictures of different picture categories, common candidate review information may be different, and in order to improve user experience, the second terminal can selectively display candidate review marks according to the picture categories of the pictures. Specifically, the step of displaying, by the second terminal, a plurality of candidate comment identifiers at a second designated position of the first session message may be: and when the message content of the first session message is a picture, the second terminal identifies the picture category of the picture, and displays a group of candidate comment identifications corresponding to the picture category at a second appointed position of the first session message according to the picture category of the picture, wherein different picture categories correspond to different groups of candidate comment identifications.
The second terminal can pre-store basic feature sets corresponding to a plurality of standard picture categories respectively, and identify the picture categories of the pictures based on the basic feature sets; the standard picture category may be defined based on user requirements, for example, a basic feature set corresponding to the second terminal portrait picture, the landscape picture, and the building picture, respectively; accordingly, the picture category includes portrait pictures, landscape pictures, and building pictures. Or, the second terminal may also directly identify whether the picture is a picture of a certain category based on a preset picture identification algorithm, for example, identify whether the picture is a portrait picture through a face identification algorithm. Correspondingly, the step of identifying the picture category of the picture and displaying the group of candidate comment identifiers corresponding to the picture category by the second terminal can be realized in the following two ways.
In a first manner, when the second terminal identifies whether the picture is a picture of a certain category, taking whether the second terminal identifies whether the picture is a portrait picture as an example, the second terminal identifies whether the picture includes characteristic elements of people through a preset picture identification algorithm, when the picture includes the characteristic elements of the people, the picture category of the picture is determined to be the portrait picture, and when the picture does not include the characteristic elements of the people, the picture category of the picture is determined to be a non-portrait picture. When the picture category of the picture is a portrait picture, the second terminal displays a first candidate comment information set corresponding to the picture category at a second appointed position of the first session message; or when the picture category of the picture is a non-portrait picture, the second terminal displays a second candidate comment information group corresponding to the picture category at a second designated position of the first session message.
The characteristic elements of the figure can be the specific parts of the human body such as the five sense organs of the human face, the hair, the arms and the hands of the human body and the like. The preset image recognition algorithm can be set according to the needs of the user, and the embodiment of the application is not particularly limited to this. For example, the preset picture recognition algorithm may be a face detection algorithm, and when the picture includes five sense organs of a human face, the picture is a portrait picture, otherwise, the picture is a non-portrait picture.
In fact, the step of displaying, by the second terminal, the candidate comment identifier corresponding to the plurality of candidate comment information in the candidate comment information group on the picture, taking the picture category of the picture as a portrait picture as an example, and displaying, by the second terminal, the first candidate comment information group corresponding to the picture category at the second designated position of the first session message, may be: the second terminal obtains a plurality of candidate comment information included in a first candidate comment information group corresponding to the picture category, determines candidate comment identifications corresponding to the candidate comment information respectively, enables the candidate comment identifications to form a first candidate comment identification group, and displays the first candidate comment identification group at a second designated position of the first session message.
Further, the first candidate comment information group may include a plurality of candidate comment information, and the second terminal may further rank the plurality of candidate comment information based on a selection behavior of the user, for example, rank the candidate comment information that is selected by the second user the most frequently first. Correspondingly, the step that the second terminal forms the candidate comment identifications into the first candidate comment identification group comprises the following steps: and the second terminal acquires the historical selection times of the candidate comment information corresponding to each candidate comment identification, arranges the candidate comment identifications in a descending order according to the historical selection times, and forms a first candidate comment identification group by the arranged candidate comment identifications.
As shown in fig. 4A, when the picture is a portrait picture, the second terminal arranges the candidate comment identifier of hematemesis with the largest number of historical selections at the head, arranges the candidate comment identifier of laugh at the second, arranges the candidate comment identifier of startle at the third, and similarly, arranges the candidate comment identifiers sequentially in descending order according to the number of historical selections.
As shown in fig. 4B, the portrait picture and the non-portrait picture may respectively correspond to different candidate comment identification groups. The candidate comment identifications included in the two different candidate comment identification groups are not identical.
In a second manner, when the second terminal performs identification based on a plurality of basic feature sets, the second terminal extracts the picture feature set of the first session message through a preset feature extraction algorithm, respectively determines the similarity between the picture feature set and the plurality of basic feature sets, and determines a standard picture category corresponding to the basic feature set with the maximum similarity as the picture category of the first session message. The plurality of standard picture categories may include, but are not limited to, landscape pictures, building pictures, portrait pictures, and/or car pictures, among others.
Correspondingly, when the picture category of the picture is a landscape picture, the second terminal displays a third candidate comment information group corresponding to the picture category at a second appointed position of the first session message; when the picture category of the picture is a building picture, the second terminal displays a fourth candidate comment information group corresponding to the picture category at a second appointed position of the first session message; when the picture category of the picture is a portrait picture, the second terminal displays a fifth candidate comment information group corresponding to the picture category at a second appointed position of the first session message; and when the picture category of the picture is the car picture, the second terminal displays a sixth candidate comment information group corresponding to the picture category at a second appointed position of the first session message.
The manner in which the second terminal displays the third, fourth, fifth, or sixth candidate comment information group is the same as that in the first manner, and is not described here any more. The preset feature extraction algorithm may be set based on user requirements, which is not specifically limited in the embodiment of the present application. For example, the preset Feature extraction algorithm may be a speedup Robust Feature (SURF) algorithm.
And (II) the message content of the first session message is characters.
The text can be a viewpoint issued by other users, a suggested suggestion and the like, for example, a plurality of users in the group can comment on the ball game in real time, and a second user can also comment on the text. Therefore, when the message content of the first session message is a character, the second terminal identifies the subject of the character according to the keyword in the character, displays a group of candidate comment identifications corresponding to the subject of the character at a second designated position of the first session message, and different subjects correspond to different groups of candidate comment identifications.
The subject may include, but is not limited to, a ball game, a game, music, the eight trigrams for entertainment, etc. For example, a set of candidate commentary identifications for a ball game may be: "Je! "," agree +1 "," win beautiful "wait for to choose the comment identification; the set of candidate comment identifications corresponding to music may be: and the comment identifier is listened to and liked to be selected.
And (iii) the message content of the first session message is audio.
The audio is divided according to categories, wherein the audio can comprise voice, music and the like, the second terminal identifies the audio to determine that the audio category is voice or music, a group of candidate comment identifications corresponding to the audio category are displayed at a second designated position of the first session message according to the audio category, and different audio categories correspond to different groups of candidate comment identifications.
For example, a set of candidate comment identifications corresponding to a voice may be: and a plurality of candidate comment identifications such as 'good words', 'like' and the like. The set of candidate comment identifications corresponding to music may be: a plurality of candidate comment identifications such as 'too good to hear', 'flower spreading', and the like.
And (IV) the message content of the first session message is video.
The video can be landscape video, life video and the like shot in tourism. The second user may also comment on the video. Specifically, when the message content of the first session message is a video, the second terminal identifies the picture category of the picture according to the picture frame included in the video, determines the video category of the video based on the picture category, displays a group of candidate comment identifiers corresponding to the video category at a second designated position of the first session message, and different video categories correspond to different groups of candidate comment identifiers.
Wherein the video category can be landscape video, life video, etc. For example, a set of candidate comment identifications corresponding to a landscape video may be: a plurality of candidate comment identifications such as "highlights", "likes", etc. The set of candidate comment identifications corresponding to the life video may be: a plurality of candidate comment identifications such as 'red hearts' and 'startle'.
206. And the second terminal obtains the comment information of the first session message based on the selected candidate comment identification.
Taking the comment information as an example, the step may be: and the second terminal acquires the animation corresponding to the selected candidate comment identifier based on the selected candidate comment identifier. The second terminal stores a plurality of candidate comment identifications and animations corresponding to each candidate comment identification in advance, and the animations corresponding to the selected candidate comment identifications are obtained based on the corresponding relation between the candidate comment identifications and the animations. However, when the second terminal does not store the correspondence between the candidate comment identifier and the animation in advance, the second terminal cannot support the animation. Therefore, when the second terminal obtains the expression corresponding to the selected candidate comment identifier, the second terminal may first determine whether the animation is supported, and the determination process may be: the second terminal detects whether the corresponding relation between the candidate comment identification and the animation is stored or not; when the corresponding relation between the candidate comment identification and the animation is stored, the second terminal determines that the animation is supported; when the correspondence between the candidate comment identification and the animation is not stored, the second terminal determines that the animation is not supported.
In actual operation, the second terminal may obtain the animation through configuration information, where the configuration information may be a Uniform Resource Locator (URL) address or a local storage path of the animation. The second terminal may store the correspondence between the candidate comment identifications and the configuration information in a configuration file. Therefore, the specific implementation manner of the second terminal detecting whether to store the corresponding relationship between the candidate comment identifier and the animation may be: the second terminal detects whether the configuration file is stored locally, and when the configuration file is stored, the second terminal determines to store the corresponding relation between the candidate comment identification and the animation; otherwise, the second terminal determines that the corresponding relation between the candidate comment identification and the animation is not stored.
Accordingly, based on whether the second terminal supports the animation, the present step may be implemented in the following two ways.
In the first mode, when the animation is supported, the second terminal obtains the animation corresponding to the selected candidate comment identifier based on the selected candidate comment identifier.
In this step, the second terminal may search, according to the selected candidate comment identifier, configuration information corresponding to the candidate comment identifier from the configuration file, and obtain, according to the configuration information, an animation corresponding to the selected candidate comment identifier.
The animation can be the animation obtained by the second terminal from the server, and can also be the animation which is customized by the second user and stored in the terminal. And when the configuration information is the URL address, the second terminal downloads the animation corresponding to the selected candidate comment identifier from the server according to the configuration information. And when the configuration information can be a local storage path, the second terminal acquires the animation corresponding to the selected candidate comment identifier from the storage space corresponding to the local storage path according to the configuration information.
It should be noted that the format of the animation may be a preset format, and the preset format may be set based on a user requirement, which is not specifically limited in this embodiment of the application. For example, the predetermined format may be a GIF format, an AVI (Audio Video Interleaved) format, or the like.
In a second mode, when the animation is not supported, the second terminal obtains the text expression corresponding to the selected candidate comment identifier based on the selected candidate comment identifier.
When the second terminal does not store the configuration file, because the candidate comment identifier is actually a character of the coded text expression, the second terminal can acquire the text expression corresponding to the selected candidate comment identifier from the corresponding relationship between the candidate comment identifier and the text expression according to the selected candidate comment identifier.
It should be noted that, in the above step 205 and 206, actually, a specific implementation manner of "when a comment instruction of the second user to the first session message is received, the comment information of the first session message is obtained, where the comment instruction is used to indicate that comment information is added to the first session message", and actually, the second terminal receives the comment instruction of the second user based on a comment trigger option triggered by the user, but in an actual operation process, the second terminal may also receive a specified voice sent by the user, for example, when the specified voice is received, and when the specified voice includes a comment keyword, the comment instruction of the second user is triggered. This is not particularly limited in the embodiments of the present application.
After the second terminal obtains the comment information of the second user on the first session message, the second terminal displays the comment information based on the first session message and the comment information, as shown in step 209, and performs the sending process as shown in step 207, and may also perform the sending process first according to the current step sequence, and then perform the display at the local terminal, which is not limited in the embodiment of the present application.
207. And the second terminal sends a comment publishing instruction to the server, wherein the comment publishing instruction at least carries the message identifier of the first session message and the selected candidate comment identifier.
The message identifier is used for indicating the first session message, the selected candidate comment identifier is used for indicating configuration information corresponding to the selected candidate comment identifier, and the configuration information is used for indicating an expression corresponding to the selected candidate comment identifier. The first terminal can also store the corresponding relation between the candidate comment identification and the configuration information, so that when a user carries out comment publishing operation, the second terminal can generate a comment publishing instruction according to the message identification of the first session message and the selected candidate comment identification, and send the comment publishing instruction to the server, so that the first terminal can obtain comment information of the second user on the first session message through the server.
Further, the first terminal may not store the corresponding relationship between the candidate comment identifier and the configuration information, and in order to maintain consistency of message display between the publisher and the recipient of the comment information, the comment publishing instruction further carries the configuration information corresponding to the selected candidate comment identifier, and the step of sending the comment publishing instruction to the server by the second terminal may be: and the second terminal generates a comment issuing instruction according to the message identifier of the first session message, the selected candidate comment identifier and the configuration information, and sends the comment issuing instruction to the server. The first terminal can obtain the animation corresponding to the candidate comment identifier through the received configuration information.
It should be noted that, because the second user may comment by using the animation in the server or by using the animation local to the second terminal, that is, the configuration information may be a URL address or a local storage path, when the configuration information stores the local storage path, and the second terminal sends the comment issuing instruction to the server, the animation corresponding to the local storage path needs to be uploaded to the server, so that the server forwards the comment to the first terminal.
208. And when a comment publishing instruction of the second terminal is received, the server sends the comment publishing instruction to the first terminal and the second terminal.
Taking the comment information as an example of an animation, it should be noted that the server may store a correspondence between the candidate comment identifier and the animation. In order to enrich the display form of the comment information, the server can also update the animation corresponding to the candidate comment identifier, and store the updated animation in the corresponding relation between the candidate comment identifier and the animation for the terminal to download. That is, when the comment publishing instruction further carries configuration information corresponding to the selected candidate comment identifier, the server may also obtain the configuration information in the comment publishing instruction first, and when the configuration information carried by the comment publishing instruction is different from the configuration information corresponding to the candidate comment identifier stored in the server, the server changes the configuration information carried by the comment publishing instruction into the configuration information stored in the server, and sends the updated comment publishing instruction to the first terminal.
Of course, the server may also update the animation corresponding to the candidate comment identifier for the second user based on the configuration information in the comment publishing instruction. The update process may be: the server may further obtain configuration information in the comment publishing instruction, send a configuration information updating instruction to the second terminal when the configuration information is different from the configuration information corresponding to the candidate comment identifier stored in the server, where the configuration information updating instruction carries the candidate comment identifier and the configuration information stored in the server, and update the configuration information carried by the configuration information updating instruction when the second terminal receives the configuration information updating instruction.
Further, when the second terminal uploads the animation corresponding to the local storage path to the server, the server also forwards the animation uploaded by the second terminal to the first terminal.
It should be noted that, in step 207-. In fact, the second terminal sends the message identifier of the first session message and the candidate comment identifier of the comment information to the server, or sends the message identifier, the candidate comment identifier and the configuration information together to the server, and the server forwards the message identifier, the candidate comment identifier and the configuration information to the first terminal. However, the second terminal may also send only the message identifier and the configuration information together to the server, and the server forwards the message identifier and the configuration information to the first terminal, so that the first terminal may also display the first session message and the comment information in an overlapping manner, which is not specifically limited in this embodiment of the present application.
209. When the second terminal receives the comment publishing instruction, the second terminal displays a second conversation message of the second user on the conversation interface, wherein the second conversation message comprises the message content of the first conversation message and the comment information.
In this step, the second terminal displays the message content of the first session message and the comment information as a second session message of the second user on the session interface. In order to enable the users participating in the conversation to visually and clearly obtain the comment information of the second user and the comment object corresponding to the comment information, the second terminal can display the first conversation message and the comment information in an overlapping manner.
Based on whether the second terminal supports animation, the display process may have the following implementation:
in a first manner, when the animation is supported, the second terminal displays a message box of the second session message on the session interface, displays the message content of the first session message in the message box, and plays the animation within a preset range of the message content.
And the second terminal can realize the superposition display of the first session message and the comment information in a layer adding mode. And the second terminal adds a first layer on the session interface, displays the message content of the first session message on the current position of the first layer according to the current position of the message frame on the session interface, acquires the position of the preset range of the message content on the session interface, adds a second layer on the session interface, and plays the animation on the position of the second layer according to the position of the preset range on the session interface.
The message content of the first session message may be a picture, a text, an audio, or a video, and the step of displaying the message content of the first session message at the current position of the first layer by the second terminal may be: when the message content is a picture, the second terminal draws the picture on the current position of the first layer; when the message content is a character, the second terminal adds the character to the current position of the first image layer; when the message content is a video, the second terminal draws a cover page of the video on the current position of the first image layer, and draws a play button on the cover page. So that the second terminal can play the video when the play button is triggered.
The preset range may be set according to a user requirement, and this is not specifically limited in the embodiment of the present application. For example, the preset range may be the whole location range occupied by the message content or the location range occupied by the right half of the message content.
As shown in fig. 5A, the second terminal may play the animation in the left half of the message content, the animation may be a praise corresponding animation, and the special effect of the animation may be that a plurality of small praise emoticons are diverged to the four sides by the praise emoticon displayed in an enlarged manner in the middle.
As shown in fig. 5B, in actual operation, the second terminal displays an animation on the picture in an overlapping manner, where the animation is a corresponding animation identified based on the selected candidate comment.
Taking the like emoticon as an example, the animation corresponding to the like emoticon may be an animation of a GIF special effect, in an actual operation process, the animation of the GIF special effect is played by the second terminal in a superimposed manner on the picture, and after the playing is finished, the final display is as shown in fig. 5C.
In a second mode, when the animation is not supported, the second terminal displays a message box of the second conversation message on the conversation interface, displays the message content of the first conversation message in the message box, and displays the text emoticon within a preset range of the message content.
And the second terminal can also enlarge and display the text expression in order to highlight the comment information of the second user on the first conversation message. The step of displaying the text expression in the preset range of the message content by the second terminal may be: and the second terminal acquires a preset amplification scale, amplifies the text expression according to the preset amplification scale, and displays the amplified text expression in a preset range of the message content. The preset magnification ratio may be set according to a user requirement, which is not specifically limited in the embodiment of the present application, for example, the preset magnification ratio may be 5 times of magnification.
Similarly, the second terminal may implement the overlay display of the first session message and the comment information in a layer adding manner, and the implementation manner when the animation is not supported is the same as the manner when the animation is supported, which is not described herein any more.
210. And when receiving the comment publishing instruction, the first terminal displays a second conversation message of the second user on the conversation interface according to the comment publishing instruction.
In this step, the first terminal receives the comment issuing instruction of the second terminal, acquires the first session message and the comment information according to the comment issuing instruction, and displays the first session message and the comment information in an overlapping manner on the session interface.
The first terminal may also support the animation or not support the animation, and when the first terminal acquires the first session message and the comment information, the first terminal may first determine whether the animation is supported, and the implementation manner of the determination process is the same as that of the second terminal, which is not described herein any more.
Based on the difference of the content carried by the comment issuing instruction, the present step may include the following cases.
And in the first case, the comment issuing instruction carries the message identifier of the first session message and the selected candidate comment identifier.
The first terminal judges whether the first terminal locally stores the configuration information corresponding to the candidate comment identification according to the candidate comment identification carried by the comment publishing instruction, if the first terminal locally stores the configuration information corresponding to the candidate comment identification, the first terminal is determined to support the animation, the animation corresponding to the selected candidate comment identification is obtained according to the configuration information, the message content of the first session message is obtained according to the message identification of the first session message carried by the comment publishing instruction, the message frame of the second session message of the second user is displayed on the session interface of the first terminal, the message content of the first session message is displayed in the message frame, and the animation is played in the preset range of the message content. If the first terminal does not locally store the configuration information corresponding to the candidate comment identifier, it is determined that the first terminal does not support the animation, and the animation can be displayed in the following two ways: (1) and the first terminal acquires the text expression corresponding to the candidate comment identifier from a local storage of the first terminal according to the candidate comment identifier, and displays the first session message and the text expression in an overlapping manner on the session interface. (2) And the first terminal sends an animation obtaining instruction to the server, the animation obtaining instruction carries the candidate comment identifier, the server returns the animation corresponding to the candidate comment identifier, and the first session message and the animation are superposed and displayed on the session interface.
And in the second situation, the comment issuing instruction carries the message identifier of the first session message, the selected candidate comment identifier and the configuration information of the candidate comment identifier.
The first terminal judges whether the first terminal locally stores the configuration information corresponding to the candidate comment identification according to the candidate comment identification carried by the comment publishing instruction, if the first terminal locally stores the configuration information corresponding to the candidate comment identification, in order to guarantee the information consistency of the session interfaces of a plurality of users, the first terminal can firstly judge whether the currently stored configuration information is consistent with the configuration information carried by the comment publishing instruction, if not, the configuration information stored by the first terminal is updated based on the carried configuration information, and the animation corresponding to the candidate comment identification is obtained based on the updated configuration information. And if the candidate comment identifications are consistent, acquiring the animation corresponding to the candidate comment identification directly according to the stored configuration information. If the first terminal does not locally store the configuration information corresponding to the candidate comment identifier, it is determined that the first terminal does not support the animation, and the processes like (1) and (2) in the first case may be performed.
In addition, when the configuration information is a URL address, the first terminal obtains the animation corresponding to the configuration information from the server according to the URL address, and of course, when the candidate comment identifier selected by the second terminal corresponds to the animation defined by the second user, the first terminal may also receive the animation forwarded by the server.
It should be noted that the specific drawing manner on the first terminal is the same as that of the second terminal, and is not described herein again.
In the related technology, when a user wants to comment on a picture of another user, the user can press the picture for a long time and click a reply button to trigger a terminal to pop up an input box, the user inputs text comment information such as characters, expressions and the like of the picture in the input box, the terminal obtains the text comment information, and sends the text comment information and a text identifier of the picture to the other user, wherein the text identifier can be a picture. And the terminals of other users receive and display the text comment information and the text identifier of the picture, and when the other users click the text identifier of the picture, the other users jump from the current conversation interface to the conversation interface where the picture is located so as to display the picture corresponding to the text comment information for the users. However, in the communication process, after the user comments on the picture, the terminal only displays the text identifier and the text comment message of the picture, and other users need to trigger the text identifier, and then the terminal jumps to the corresponding picture, so that the communication efficiency during instant communication is low.
In the method provided by the embodiment of the application, in the process of conversation between the first user and the second user, the second user can comment on the first conversation message of the first user, and the comment information and the commented first conversation message are completely displayed on the conversation interface through the same conversation message, so that the content displayed on the conversation interface is enriched, and a brand-new interactive mode is provided. The method enables the second user to visually observe the content of the commented message, greatly improves the information display efficiency of the interface, and accordingly improves the communication efficiency. Further, the comment function is provided for only some pictures, and better interaction effect can be achieved by predicting the comment requirement of the user on the message.
It should be noted that, during actual technical operation, the filtering condition, the group of candidate comment identifiers corresponding to the portrait picture and the non-portrait picture may be downloaded from the server in advance for the second terminal. To more clearly illustrate the implementation process of this embodiment, only taking the frame shown in fig. 6 as an example to describe how to show the comment triggering option of the first session message through the filtering condition, that is, the comment entry, and obtain the animation selected by the user, referring to fig. 6, when the first session message is a picture, the actual operation process of adding an animation comment to the picture by the second terminal (that is, the comment initiator) through the filtering condition may be: the second terminal receives the first session message and judges the type of the message content; when the message content is a picture, judging whether the picture meets the filtering condition or not through the filtering condition; if yes, determining not to provide a comment entry; if not, determining to provide a comment entrance; further, whether the picture is a portrait picture is judged, and if yes, a group of candidate comment identifications corresponding to the portrait picture are displayed at a second appointed position of the first session message; if not, displaying a group of candidate comment identifications corresponding to the non-portrait picture; obtaining candidate comment identification selected by a user; acquiring an animation corresponding to the candidate comment identification; and displaying the first conversation message and the animation in an overlapping mode, and sending the message identification and the animation of the first conversation message to the first terminal (namely, a comment receiver) so that other terminals participating in the conversation can be displayed synchronously.
For example, the second user commends any message of the first user in an animation mode, so that the message content of the commented message and the dynamic image commented by the commenter can be displayed on the conversation interface at the same time on one message, the communication efficiency and the intuitiveness are greatly improved, and the information content of one conversation message is greatly improved compared with the prior art. For another example, the second user may comment on the picture, audio or video message of the first user in any form, so that the comment forms are enriched, and the comment forms are expanded into more types of session messages, thereby achieving the technical effects. To more clearly illustrate the implementation process of this embodiment, only taking the frame shown in fig. 7 as an example to describe the whole actual operation process of how to comment on a picture, referring to fig. 7, a second user may select an emoticon that the second user wants to be comment information by clicking on a conversation interface, when selecting an emoticon, a terminal of a comment sender may obtain an animation and an emoticon corresponding to the emoticon based on the emoticon, package the related information and the emoticon of the animation into a message body, send the message body and the message identifier of the commented picture to a server, and send the message body and the message identifier of the commented picture to a comment receiver by the server, that is, terminals of a plurality of participating users in a group conversation, when the comment receiver receives a comment message, the picture may be obtained based on the message identifier of the picture, and at the same time, and whether a new expression exists can be judged based on the received comment message, if so, the configuration file is positioned based on the expression identifier, and the configuration information in the configuration file is updated based on the configuration information carried by the comment message, so that the animation is downloaded, and then the picture and the animation are displayed.
In one possible design, there is also provided an embodiment of a message display method as follows:
in the embodiment of the present application, in a conversation process, a second user may comment on a text message of a first user in an animation mode, where the text message is a first conversation message of the first user, and specifically, the message display method may include: the second terminal displays a text message sent by the first user on a session interface; when a comment instruction of a second user to the text message is received, the second terminal obtains an animation corresponding to the comment instruction, wherein the comment instruction is used for indicating that comment information is added to the text message; and when receiving a comment issuing instruction, the second terminal displays a message box of a second conversation message on the conversation interface, displays the message content of the text message in the message box, and plays the animation within a preset range of the message content. It should be noted that, in the foregoing embodiment, the specific implementation manner of the embodiment is the same as and is described in detail in the corresponding steps of the embodiment described in fig. 2, and the specific implementation manner of the embodiment may be combined with and changed from the content in the embodiment shown in fig. 2, which is not described herein again.
Compared with the current comment mode, the mode provided by the embodiment can enrich the comment modes, so that the user can visually observe the content of the commented messages, particularly in group conversation, the disorder of conversation messages on a conversation interface can be avoided, and the information efficiency can be improved. Even if a plurality of users send conversation messages back and forth, the relationship between the comment messages and the commented messages can still be intuitively reflected.
In one possible design, there is also provided an embodiment of a message display method as follows:
in the embodiment of the application, in the conversation process, the second user can comment on the first conversation message of the first user in the type of picture, audio or video by using characters, and the comment information of the second user on the first conversation message can be character comment information. Specifically, the message display method may include the steps of: displaying a first session message sent by a first user on a session interface, wherein the message content of the first session message is a picture, audio or video; when a comment instruction of a second user to the first session message is received, acquiring character comment information, wherein the comment instruction is used for indicating that character comment information is added to the first session message; and when a comment issuing instruction is received, displaying a message frame of a second conversation message on the conversation interface, displaying the message content of the first conversation message in the message frame, and displaying the text comment information. Of course, filtering conditions may also be set for the audio and the video, for example, a comment triggering option may be set for the audio only for the audio with the audio duration longer than the preset duration or a comment triggering option may be set for the audio with the audio type being a song, and for the video, a comment triggering option may be set for the video with the video duration longer than the preset duration or a comment triggering option may be set for the video with the video type being a preset type, where the preset type may be self-timer or MV, and the like, and this is not specifically limited in this embodiment of the present application.
It should be noted that, in the foregoing embodiment, the specific implementation manner is the same as and is described in detail in the corresponding steps of the embodiment in fig. 2, and the specific implementation manner may be combined and changed with the content in the embodiment shown in fig. 2, which is not described herein again.
Compared with the current comment mode, the mode provided by the embodiment can comment any type of conversation messages such as pictures, audio or videos in a text mode, so that a user can visually observe the content of the commented conversation messages, particularly in group conversation, the conversation messages on a conversation interface can be prevented from being disordered, and the information efficiency can be improved. Even if a plurality of users send pictures, audio or videos back and forth, the relationship between the comment message and the commented message can be still embodied visually.
Fig. 8 is a flowchart of a message display method according to an embodiment of the present application. An execution subject of the embodiment of the present application is a terminal, and referring to fig. 8, the method includes:
801. the terminal displays the first session message.
The terminal displays a first session message, for example, a session message issued by a user in the group session. Optionally, the message content of the first session message may be different types of content, for example, the message content of the first session message includes text, pictures, audio or video, etc.
In one possible implementation, the first session message is a text message.
The process of displaying the first session message in step 801 is the same as the process of displaying the first session message in step 202, and is not described herein again, or may be implemented by using other manners, which is not limited in this embodiment of the application.
802. And when the terminal receives a comment instruction of the first session message, displaying the candidate comment identifier.
The terminal receives the comment instruction and displays at least one candidate comment identifier, wherein the candidate comment identifier is an identifier corresponding to the candidate comment information, the candidate comment information can be an expression, and the candidate comment identifier can be an expression ID (Identity). The emoticon may be a text emoticon or animation, etc.
In a possible implementation manner, when the terminal receives a comment instruction for the first session message, a group of candidate comment identifications corresponding to the message type is displayed according to the message type of the message content of the first session message.
Optionally, the message type includes a picture category of pictures, a subject matter of words, an audio category of audio, or a video category of video.
Optionally, different message types correspond to different sets of candidate comment identifications.
In another possible implementation manner, the terminal displays the comment triggering option of the first session message on the first designated position of the first session message. The comment triggering option is used for triggering a comment instruction on the first session message.
Optionally, when the message content is a picture, the terminal displays a comment triggering option of the first session message at a first specified position of the first session message.
Optionally, when the message content is a picture and the picture does not satisfy the filtering condition, the terminal displays a comment triggering option of the first session message at a first specified position.
In another possible implementation manner, when the message content of the first session message is a picture, the terminal displays a group of candidate comment identifiers corresponding to the picture category at a second designated position of the first session message according to the picture category of the picture.
Optionally, when the message content is a picture and the picture category of the picture is a portrait picture, the terminal displays a first candidate comment information group corresponding to the picture category; or when the message content is a picture and the picture category of the picture is a non-portrait picture, the terminal displays a second candidate comment information group corresponding to the picture category.
It should be noted that, the process of displaying the candidate comment identifier in step 802 is the same as the process of displaying the candidate comment identifier in steps 203 to 205, and is not described herein again, or may be implemented in other manners, which is not limited in this embodiment of the application.
803. And the terminal obtains comment information of the first session message based on the selected candidate comment identifier.
And the terminal determines the selected candidate comment identification in the displayed group of candidate comment identifications, and determines the comment information corresponding to the candidate comment identification as the comment information of the first session message. For example, if a user wants to use comment information corresponding to a certain candidate comment identifier as comment information of a first session message, a selection operation on the candidate comment identifier is performed, and the terminal determines the candidate comment identifier corresponding to the selection operation as the selected candidate comment identifier.
In a possible implementation manner, the terminal acquires an expression corresponding to the selected candidate comment identifier based on the selected candidate comment identifier.
Optionally, when the terminal supports the animation, acquiring the animation corresponding to the selected candidate comment identifier based on the selected candidate comment identifier; or when the terminal does not support the animation, acquiring the text expression corresponding to the selected candidate comment identifier based on the selected candidate comment identifier.
It should be noted that, the process of determining the comment information of the first session message in step 803 is the same as the process of determining the comment information of the first session message in step 206, and is not described herein again, or may be implemented in other manners, which is not limited in this embodiment of the application.
804. The terminal displays the second session message.
Wherein the second session message comprises the message content and the comment information of the first session message.
In one possible implementation, the comment information of the first session message identifies a corresponding animation for the selected candidate comment. And the terminal displays a message frame of the second session message, displays the message content of the first session message in the message frame and plays the animation within the preset range of the message content.
It should be noted that, the process of displaying the second session message in step 804 is the same as the process of displaying the second session message in step 209, and is not described herein again or may be implemented by using other manners, which is not limited in this embodiment of the application.
According to the method provided by the embodiment of the application, the first session message can be commented during the session, the comment information and the commented first session message are displayed through the same session message, the displayed content is enriched, a brand-new interaction mode is provided, the information display efficiency is greatly improved, the communication efficiency is improved, the interaction mode does not need to check the commented content based on the skip, the operation of triggering the page skip is omitted, particularly, the number of messages is large during group session, and the efficiency of the session can be greatly improved. And when a comment instruction is received, a candidate comment identifier is provided, so that comment information is obtained according to the selected candidate comment identifier, and convenience and efficiency in obtaining the comment information are improved.
In one possible design, there is also provided an embodiment of a message display method as follows:
in the embodiment of the application, the text message can be commented in the form of animation, wherein the text message is the first session message. The message display method may include the steps of: the terminal displays the text message; when a comment instruction for the text message is received, acquiring an animation corresponding to the comment instruction, wherein the comment instruction is used for indicating that comment information is added to the text message; the terminal displays a second conversation message that includes the message content of the text message and the animation. It should be noted that the specific implementation manner of this embodiment is the same as the corresponding steps in the embodiment shown in fig. 2, and the specific implementation manner may be combined with and changed from the content in the embodiment shown in fig. 2, which is not described herein again.
In one possible design, there is also provided an embodiment of a message display method as follows:
in the embodiment of the application, the first session message of the type of picture, audio or video and the like can be commented by characters, and the comment information of the first session message can be character comment information. The message display method may include the steps of: the terminal displays a first session message, wherein the message content of the first session message is a picture, audio or video; and when a comment instruction of the first session message is received, acquiring the character comment information, wherein the comment instruction is used for indicating that the character comment information is added to the first session message. And the terminal displays a second session message, wherein the second session message comprises the message content of the first session message and the text comment information. It should be noted that the specific implementation manner of this embodiment is the same as the corresponding steps in the embodiment shown in fig. 2, and the specific implementation manner may be combined with and changed from the content in the embodiment shown in fig. 2, which is not described herein again.
Fig. 9 is a flowchart of a message display method according to an embodiment of the present application. The interaction subject of the embodiment of the application is a first terminal, a second terminal and a server, referring to fig. 9, the method includes:
901. the first terminal sends a first session message to the server.
902. The server receives the first session message of the first terminal and sends the first session message to the second terminal.
The process of sending the first session message in step 902 is the same as the process of sending the first session message in step 201, and is not described herein again or may be implemented by other methods, which is not limited in this embodiment of the present application.
903. And the second terminal receives the first session message and displays the first session message.
The process of displaying the first session message in step 903 is the same as the process of displaying the first session message in step 202, and is not described herein again or may be implemented by other methods, which is not limited in this embodiment of the present application.
904. And when receiving a comment instruction of the first session message, the second terminal displays the candidate comment identification.
The process of displaying the candidate comment identifier in step 904 is the same as the process of displaying the candidate comment identifier in steps 203 to 205, and is not described herein again, or may be implemented by other ways, which is not limited in this embodiment of the present application.
905. And the second terminal obtains comment information of the first session message based on the selected candidate comment identification.
Wherein different message types correspond to different sets of candidate comment identifications.
The process of determining the comment information of the first session message in step 905 is the same as the process of determining the comment information of the first session message in step 206, and is not described herein again, or may be implemented in other manners, which is not limited in this embodiment of the application.
906. And the second terminal sends a comment issuing instruction to the server.
The comment publishing instruction at least carries a message identifier of the first session message and a selected candidate comment identifier, the message identifier is used for indicating to obtain the first session message, and the selected candidate comment identifier is used for indicating to obtain comment information corresponding to the selected candidate comment identifier.
The process of sending the comment issuing instruction in step 906 is the same as the process of sending the comment issuing instruction in step 207, and is not described herein again or may be implemented by other ways, which is not limited in this embodiment of the present application.
907. And the server receives a comment issuing instruction of the second terminal.
In a possible implementation manner, the comment publishing instruction further carries configuration information, and the configuration information is configuration information corresponding to the selected candidate comment identifier. And the server locally acquires the configuration information corresponding to the selected candidate comment identification, and when the configuration information carried by the comment publishing instruction is different from the locally acquired configuration information, the configuration information carried by the comment publishing instruction is changed into the locally acquired configuration information.
The process of updating the comment issuing instruction in step 907 is the same as the process of updating the comment issuing instruction in step 208, and is not described herein again, or may be implemented by using other manners, which is not limited in this embodiment of the present application.
908. And the server forwards the comment issuing instruction to the first terminal.
In a possible implementation manner, after receiving the comment issuing instruction, the server changes the configuration information carried by the comment issuing instruction into the configuration information acquired from the local. The server forwards the comment issuing instruction after the configuration information is changed to the first terminal.
909. And the first terminal receives the comment issuing instruction and displays the second conversation message according to the comment issuing instruction.
The process of displaying the second session message in step 909 is the same as the process of displaying the second session message in step 210, and is not described herein again, or may be implemented by using other manners, which is not limited in this embodiment of the present application.
According to the method provided by the embodiment of the application, the first session message can be commented during the session, the comment information and the commented first session message are displayed through the same session message, the displayed content is enriched, a brand-new interaction mode is provided, the information display efficiency is greatly improved, the communication efficiency is improved, the interaction mode does not need to check the commented content based on the skip, the operation of triggering the page skip is omitted, particularly, the number of messages is large during group session, and the efficiency of the session can be greatly improved. And when a comment instruction is received, a candidate comment identifier is provided, so that comment information is obtained according to the selected candidate comment identifier, and convenience and efficiency in obtaining the comment information are improved.
Fig. 10 is a schematic structural diagram of a message display device according to an embodiment of the present application. Referring to fig. 10, the apparatus includes: the device comprises a first display module 1001, a first acquisition module 1002 and a second display module 1003.
A first display module 1001 for displaying a first session message;
a first obtaining module 1002, configured to display a candidate comment identifier when a comment instruction of a second user to the first session message is received, where the comment instruction is used to indicate that comment information is added to the first session message;
the first obtaining module 1002 is further configured to obtain comment information of the first session message based on the selected candidate comment identifier;
a second display module 1003, configured to display a second conversation message, where the second conversation message includes the message content of the first conversation message and the comment information.
Optionally, the first obtaining module 1002 is further configured to, when a comment instruction for the first session message is received, display a set of candidate comment identifiers corresponding to a message type according to the message type of the message content of the first session message.
Optionally, the message type includes a picture category of pictures, a subject matter of words, an audio category of audio, or a video category of video.
Optionally, different message types correspond to different sets of candidate comment identifications.
Optionally, the apparatus further comprises:
and the third display module is used for displaying a comment triggering option of the first session message at the first specified position of the first session message, wherein the comment triggering option is used for triggering a comment instruction of the first session message.
Optionally, the third display module includes:
and the first display unit is used for displaying the comment triggering option of the first session message on the first specified position of the first session message when the message content of the first session message is a picture.
Optionally, the first display unit is further configured to display a comment triggering option of the first session message at the first specified location when the message content is a picture and the picture does not satisfy the filtering condition.
Optionally, the filtering conditions include: the picture is not larger than a specified size and/or the picture is in a specified format.
Optionally, the first obtaining module 1002 includes:
and the second display unit is used for displaying a group of candidate comment identifications corresponding to the picture category at a second appointed position of the first session message according to the picture category of the picture when the message content of the first session message is the picture.
Optionally, the second display unit is further configured to display, at a second designated position of the first session message, a first candidate comment information set corresponding to the picture category when the picture category of the picture is a portrait picture; or when the picture category of the picture is a non-portrait picture, displaying a second candidate comment information group corresponding to the picture category at a second designated position of the first session message.
Optionally, the first obtaining module 1002 is further configured to obtain, based on the selected candidate comment identifier, an expression corresponding to the selected candidate comment identifier.
Optionally, the first obtaining module 1002 is further configured to, when the terminal supports an animation, obtain, based on the selected candidate comment identifier, an animation corresponding to the selected candidate comment identifier; or when the terminal does not support the animation, acquiring the text expression corresponding to the selected candidate comment identifier based on the selected candidate comment identifier.
Optionally, the second display module 1003 is configured to display a message box of the second session message, display the message content of the first session message in the message box, and play the animation within a preset range of the message content.
Optionally, the apparatus further comprises: the sending module is used for sending a comment issuing instruction to the server, the comment issuing instruction at least carries the message identification of the first session message and the selected candidate comment identification, the server forwards the comment issuing instruction to the first terminal, the first session message is sent by the first terminal, the message identification is used for indicating to obtain the first session message, and the selected candidate comment identification is used for indicating to obtain comment information corresponding to the selected candidate comment identification.
Optionally, the message content of the first session message is a picture, audio or video.
In the embodiment of the application, in the conversation process, the first conversation message can be commented, and the comment information and the commented first conversation message are displayed through the same conversation message, so that the displayed content is enriched, a brand-new interaction mode is provided, the information display efficiency is greatly improved, the communication efficiency is improved, in addition, the interaction mode does not need to check the commented content based on the skipping, the operation of triggering the page skipping is omitted, particularly, the number of messages is large, and the conversation efficiency can be greatly improved. And when a comment instruction is received, a candidate comment identifier is provided, so that comment information is obtained according to the selected candidate comment identifier, and convenience and efficiency in obtaining the comment information are improved.
Fig. 11 is a schematic structural diagram of a message display apparatus according to an embodiment of the present application. Referring to fig. 11, the apparatus includes: a first receiving module 1101, a second receiving module 1102 and a forwarding module 1103.
A first receiving module 1101, configured to receive a first session message of a first terminal, and send the first session message to a second terminal; the second terminal is used for receiving the first session message, displaying the candidate comment identification when receiving a comment instruction of the first session message, obtaining comment information of the first session message based on the selected candidate comment identification, and sending a comment issuing instruction to the server;
a second receiving module 1102, configured to receive a comment issuing instruction of a second terminal, where the comment issuing instruction at least carries a message identifier of the first session message and the selected candidate comment identifier, and the message identifier is used to indicate to acquire the first session message;
a forwarding module 1103, configured to forward the comment issuing instruction to the first terminal.
Optionally, the comment publishing instruction further carries configuration information, and the apparatus further includes:
the second acquisition module is used for locally acquiring the current configuration information corresponding to the selected candidate comment identifier;
and the changing module is used for changing the configuration information carried by the comment issuing instruction into the configuration information acquired from the local when the configuration information carried by the comment issuing instruction is different from the configuration information acquired from the local.
In the embodiment of the application, in the conversation process, the first conversation message can be commented, and the comment information and the commented first conversation message are displayed through the same conversation message, so that the displayed content is enriched, a brand-new interaction mode is provided, the information display efficiency is greatly improved, the communication efficiency is improved, in addition, the interaction mode does not need to check the commented content based on the skip, the operation of triggering the page skip is omitted, particularly, the number of messages is large during the group conversation, and the conversation efficiency can be greatly improved. And when a comment instruction is received, a candidate comment identifier is provided, so that comment information is obtained according to the selected candidate comment identifier, and convenience and efficiency in obtaining the comment information are improved.
All the above optional technical solutions can be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again
It should be noted that: in the message display apparatus provided in the foregoing embodiment, only the division of the functional modules is illustrated when displaying a message, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the terminal or the server is divided into different functional modules to complete all or part of the functions described above. In addition, the message display apparatus and the message display method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments in detail and are not described herein again.
Fig. 12 is a schematic structural diagram of a terminal according to 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: a processor 1201 and a memory 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.
Memory 1202 may include one or more computer-readable storage media, which may be non-transitory. Memory 1202 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1202 is used to store at least one instruction for execution by processor 1201 to implement the message display methods provided by method embodiments herein.
In some embodiments, the terminal 1200 may further optionally include: a peripheral interface 1203 and at least one peripheral. The processor 1201, 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, touch display 1205, camera 1206, audio circuitry 1207, pointing component 1208, and power source 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 still other 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.
Camera assembly 1206 is used to capture images or video. Optionally, camera assembly 1206 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1206 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 1207 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals 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 1212. The one or more sensors 1212 include, but are not limited to: acceleration sensor 1211, gyro sensor 1212, pressure sensor 1213, optical sensor 1214, and proximity sensor 1215.
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 touch display 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 a side bezel of terminal 1200 and/or an underlying layer of touch 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 touch display screen 1205, the processor 1201 controls the operability control on the UI interface according to the pressure operation of the user on the touch 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.
Optical sensor 1214 is used to collect ambient light intensity. In one embodiment, the processor 1201 may control the display brightness of the touch display 1205 according to the ambient light intensity collected by the optical sensor 1214. Specifically, when the ambient light intensity is high, the display brightness of the touch display panel 1205 is increased; when the ambient light intensity is low, the display brightness of the touch display panel 1205 is turned down. In another embodiment, the processor 1201 may also dynamically adjust the shooting parameters of the camera assembly 1206 according to the ambient light intensity collected by the optical sensor 1214.
A proximity sensor 1215, also known as a distance sensor, is typically provided on the front panel of the terminal 1200. The proximity sensor 1215 is used to collect the distance between the user and the front of the terminal 1200. In one embodiment, when the proximity sensor 1215 detects that the distance between the user and the front of the terminal 1200 is gradually reduced, the processor 1201 controls the touch display 1205 to switch from the bright screen state to the dark screen state; when the proximity sensor 1215 detects that the distance between the user and the front of the terminal 1200 becomes gradually larger, the touch display 1205 is controlled by the processor 1201 to switch from the rest state to the bright 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 a difference in configuration or performance, and may include one or more processors (CPUs) 1301 and one or more memories 1302, where the memory 1302 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 1301 to implement the message display method provided by each method embodiment. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
In an exemplary embodiment, there is also provided a computer-readable storage medium, such as a memory, including instructions executable by a processor in a terminal to perform the message display method in the embodiments described below. For example, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an 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 (21)

1. A method for displaying messages, the method comprising:
displaying the first session message;
when a comment instruction of the first session message is received, displaying a candidate comment identifier, wherein the comment instruction is used for indicating that comment information is added to the first session message;
obtaining comment information of the first session message based on the selected candidate comment identification;
displaying a second conversation message, wherein the second conversation message comprises the message content of the first conversation message and the comment information.
2. The method of claim 1, wherein displaying candidate comment identifications upon receiving a comment instruction for the first session message comprises:
and when a comment instruction of the first session message is received, displaying a group of candidate comment identifications corresponding to the message type according to the message type of the message content of the first session message.
3. The method of claim 2, wherein the message type comprises a picture category of pictures, a subject matter of text, an audio category of audio, or a video category of video.
4. The method of claim 2, wherein different message types correspond to different sets of candidate comment identifications.
5. The method of claim 1, wherein prior to displaying a candidate comment identification upon receiving a comment instruction for the first session message, the method further comprises:
displaying a comment triggering option of the first session message at a first designated position of the first session message, wherein the comment triggering option is used for triggering a comment instruction of the first session message.
6. The method of claim 5, wherein displaying a comment trigger option for the first session message at a first specified location of the first session message comprises:
and when the message content of the first session message is a picture, displaying a comment triggering option of the first session message at a first designated position of the first session message.
7. The method of claim 6, wherein displaying a comment triggering option of the first session message at a first specified location of the first session message when the message content of the first session message is a picture comprises:
when the message content is a picture and the picture does not meet a filtering condition, displaying a comment triggering option of the first session message on the first designated position.
8. The method of claim 1, wherein displaying the candidate comment identification comprises:
and when the message content of the first session message is a picture, displaying a group of candidate comment identifications corresponding to the picture category at a second appointed position of the first session message according to the picture category of the picture.
9. The method of claim 8, wherein displaying a set of candidate comment identifications corresponding to the picture category at a second designated location of the first session message according to the picture category of the picture comprises:
when the picture category of the picture is a portrait picture, displaying a first candidate comment information group corresponding to the picture category at a second appointed position of the first session message; or the like, or, alternatively,
and when the picture category of the picture is a non-portrait picture, displaying a second candidate comment information group corresponding to the picture category at a second appointed position of the first session message.
10. The method of claim 1, wherein obtaining comment information for the first session message based on the selected candidate comment identification comprises:
and acquiring the expression corresponding to the selected candidate comment identifier based on the selected candidate comment identifier.
11. The method of claim 10, wherein the obtaining, based on the selected candidate comment identifier, an expression corresponding to the selected candidate comment identifier comprises:
when the terminal supports the animation, acquiring the animation corresponding to the selected candidate comment identifier based on the selected candidate comment identifier; or the like, or, alternatively,
when the terminal does not support the animation, based on the selected candidate comment identification, the text expression corresponding to the selected candidate comment identification is obtained.
12. The method of claim 11, wherein displaying the second session message comprises:
and displaying a message frame of the second session message, displaying the message content of the first session message in the message frame, and playing the animation within a preset range of the message content.
13. The method of claim 1, further comprising:
and sending a comment publishing instruction to a server, wherein the comment publishing instruction at least carries a message identifier of the first session message and a selected candidate comment identifier, the server forwards the comment publishing instruction to a first terminal, the first session message is sent by the first terminal, the message identifier is used for indicating to acquire the first session message, and the selected candidate comment identifier is used for indicating to acquire comment information corresponding to the selected candidate comment identifier.
14. The method of claim 1, wherein the message content of the first session message is a picture, audio, or video.
15. A method for displaying messages, the method comprising:
receiving a first session message of a first terminal, and sending the first session message to a second terminal; the second terminal is used for receiving the first session message, displaying a candidate comment identifier when a comment instruction of the first session message is received, obtaining comment information of the first session message based on the selected candidate comment identifier, and sending a comment issuing instruction to a server;
receiving a comment publishing instruction of a second terminal, wherein the comment publishing instruction at least carries a message identifier of the first session message and a selected candidate comment identifier, and the message identifier is used for indicating to acquire the first session message;
and forwarding the comment issuing instruction to the first terminal.
16. The method of claim 15, wherein the comment posting instruction further carries configuration information, and before forwarding the comment posting instruction to the first terminal, the method further comprises:
acquiring configuration information corresponding to the selected candidate comment identification from the local;
and when the configuration information carried by the comment publishing instruction is different from the locally acquired configuration information, changing the configuration information carried by the comment publishing instruction into the locally acquired configuration information.
17. A message display apparatus, characterized in that the apparatus comprises:
the first display module is used for displaying the first session message;
the first obtaining module is used for displaying a candidate comment identifier when a comment instruction for the first session message is received, wherein the comment instruction is used for indicating that comment information is added to the first session message;
the first obtaining module is further configured to obtain comment information of the first session message based on the selected candidate comment identifier;
and the second display module is used for displaying a second session message, and the second session message comprises the message content of the first session message and the comment information.
18. A message display apparatus, characterized in that the apparatus comprises:
the first receiving module is used for receiving a first session message of a first terminal and sending the first session message to a second terminal; the second terminal is used for receiving the first session message, displaying a candidate comment identifier when a comment instruction of the first session message is received, obtaining comment information of the first session message based on the selected candidate comment identifier, and sending a comment issuing instruction to a server;
a second receiving module, configured to receive the comment issuing instruction of a second terminal, where the comment issuing instruction at least carries a message identifier of the first session message and the selected candidate comment identifier, and the message identifier is used to indicate to obtain the first session message;
and the forwarding module is used for forwarding the comment issuing instruction to the first terminal.
19. A terminal, comprising a processor and a memory, wherein at least one instruction is stored in the memory, and wherein the instruction is loaded and executed by the processor to perform the operations performed by the message display method according to any one of claims 1 to 14.
20. A server, comprising a processor and a memory, wherein at least one instruction is stored in the memory and loaded into and executed by the processor to perform operations performed by the message display method of any one of claims 15 to 16.
21. A computer-readable storage medium having stored therein at least one instruction, which is loaded and executed by a processor to perform operations performed by the message display method of any one of claims 1 to 14 or the message display method of any one of claims 15 to 16.
CN202111523129.7A 2018-01-18 2018-01-18 Message display method, device, terminal, server and storage medium Active CN114205324B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111523129.7A CN114205324B (en) 2018-01-18 2018-01-18 Message display method, device, terminal, server and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111523129.7A CN114205324B (en) 2018-01-18 2018-01-18 Message display method, device, terminal, server and storage medium
CN201810050911.3A CN110061900B (en) 2018-01-18 2018-01-18 Message display method, device, terminal and computer readable storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201810050911.3A Division CN110061900B (en) 2018-01-18 2018-01-18 Message display method, device, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114205324A true CN114205324A (en) 2022-03-18
CN114205324B CN114205324B (en) 2022-12-30

Family

ID=67315704

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202111523129.7A Active CN114205324B (en) 2018-01-18 2018-01-18 Message display method, device, terminal, server and storage medium
CN201810050911.3A Active CN110061900B (en) 2018-01-18 2018-01-18 Message display method, device, terminal and computer readable storage medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201810050911.3A Active CN110061900B (en) 2018-01-18 2018-01-18 Message display method, device, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (2) CN114205324B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110442825B (en) * 2019-08-13 2022-07-12 连尚(新昌)网络科技有限公司 Method and apparatus for presenting information
CN112399005B (en) * 2019-08-16 2022-05-27 腾讯科技(深圳)有限公司 Session data processing method and device and computer readable storage medium
CN110780955B (en) * 2019-09-05 2023-08-22 连尚(新昌)网络科技有限公司 Method and equipment for processing expression message
CN110647827A (en) * 2019-09-09 2020-01-03 北京达佳互联信息技术有限公司 Comment information processing method and device, electronic equipment and storage medium
CN111325004B (en) * 2020-02-21 2021-08-31 腾讯科技(深圳)有限公司 File commenting and viewing method
CN111934989A (en) * 2020-09-14 2020-11-13 盛威时代科技集团有限公司 Session message processing method and device
CN114546228B (en) * 2020-11-12 2023-08-25 腾讯科技(深圳)有限公司 Expression image sending method, device, equipment and medium
CN113364915B (en) * 2021-06-02 2022-09-27 维沃移动通信(杭州)有限公司 Information display method and device and electronic equipment
CN115209205A (en) * 2022-07-08 2022-10-18 上海哔哩哔哩科技有限公司 Interactive animation generation method and device, and animation material processing method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120062194A (en) * 2010-12-06 2012-06-14 주식회사 엘지유플러스 Mobile communication terminal for transferring comment message and method thereof
CN103338256A (en) * 2013-06-28 2013-10-02 腾讯科技(深圳)有限公司 Picture sharing method, device, server and system
JP2014079400A (en) * 2012-10-17 2014-05-08 Konami Digital Entertainment Co Ltd Game system with comment function and reply control method thereof
CN104965843A (en) * 2014-12-29 2015-10-07 腾讯科技(北京)有限公司 Method and apparatus for acquiring comment information
CN105553834A (en) * 2016-01-21 2016-05-04 腾讯科技(深圳)有限公司 Message sending method and device
CN106406874A (en) * 2016-09-05 2017-02-15 努比亚技术有限公司 Commenting device and method
CN106919336A (en) * 2017-03-06 2017-07-04 北京小米移动软件有限公司 Method and device for commenting on speech message
CN107087236A (en) * 2017-03-22 2017-08-22 北京潘达互娱科技有限公司 A kind of live information methods of exhibiting and device
CN107231361A (en) * 2017-06-12 2017-10-03 北京佰才邦技术有限公司 A kind of information-pushing method, system, server and the first client

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9130905B2 (en) * 2006-09-18 2015-09-08 Adobe Systems Incorporated Content review with proxy comment management
CN103873341B (en) * 2012-12-10 2015-07-29 腾讯科技(深圳)有限公司 A kind of message treatment method and system
CN103269303B (en) * 2012-12-18 2016-08-24 北京奇虎科技有限公司 A kind of group exchange message distribution method and system
CN104461477A (en) * 2013-09-13 2015-03-25 腾讯科技(北京)有限公司 Method, system and corresponding device for adding network comment information
CN104079473B (en) * 2014-05-29 2018-09-04 小米科技有限责任公司 information issuing method and device
CN104052655A (en) * 2014-06-27 2014-09-17 上海梦荻网络科技有限公司 Group chatting method and instant messaging client-side
CN104869467B (en) * 2015-03-26 2018-09-28 腾讯科技(北京)有限公司 Information output method, device and system in media play
US9729479B2 (en) * 2015-05-16 2017-08-08 International Business Machines Corporation Generate and display contextual hints in a message
CN105183759B (en) * 2015-07-23 2018-12-21 无锡天脉聚源传媒科技有限公司 A kind of method and device for commenting on picture
CN105898599A (en) * 2015-12-09 2016-08-24 乐视网信息技术(北京)股份有限公司 Video comment method and device and terminal equipment
CN107153641B (en) * 2017-05-08 2021-01-12 北京百度网讯科技有限公司 Comment information determination method, comment information determination device, server and storage medium
CN107220387A (en) * 2017-06-29 2017-09-29 北京小米移动软件有限公司 Comment on method and device
CN107577759B (en) * 2017-09-01 2021-07-30 安徽广播电视大学 Automatic recommendation method for user comments

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120062194A (en) * 2010-12-06 2012-06-14 주식회사 엘지유플러스 Mobile communication terminal for transferring comment message and method thereof
JP2014079400A (en) * 2012-10-17 2014-05-08 Konami Digital Entertainment Co Ltd Game system with comment function and reply control method thereof
CN103338256A (en) * 2013-06-28 2013-10-02 腾讯科技(深圳)有限公司 Picture sharing method, device, server and system
CN104965843A (en) * 2014-12-29 2015-10-07 腾讯科技(北京)有限公司 Method and apparatus for acquiring comment information
CN105553834A (en) * 2016-01-21 2016-05-04 腾讯科技(深圳)有限公司 Message sending method and device
CN106406874A (en) * 2016-09-05 2017-02-15 努比亚技术有限公司 Commenting device and method
CN106919336A (en) * 2017-03-06 2017-07-04 北京小米移动软件有限公司 Method and device for commenting on speech message
CN107087236A (en) * 2017-03-22 2017-08-22 北京潘达互娱科技有限公司 A kind of live information methods of exhibiting and device
CN107231361A (en) * 2017-06-12 2017-10-03 北京佰才邦技术有限公司 A kind of information-pushing method, system, server and the first client

Also Published As

Publication number Publication date
CN110061900B (en) 2021-11-02
CN114205324B (en) 2022-12-30
CN110061900A (en) 2019-07-26

Similar Documents

Publication Publication Date Title
CN110061900B (en) Message display method, device, terminal and computer readable storage medium
CN113965807B (en) Message pushing method, device, terminal, server and storage medium
CN109618212B (en) Information display method, device, terminal and storage medium
CN111050189B (en) Live broadcast method, device, equipment and storage medium
CN110300274B (en) Video file recording method, device and storage medium
CN110163066B (en) Multimedia data recommendation method, device and storage medium
CN112764608B (en) Message processing method, device, equipment and storage medium
CN112492339B (en) Live broadcast method, device, server, terminal and storage medium
US20220191557A1 (en) Method for displaying interaction data and electronic device
CN113411680B (en) Multimedia resource playing method, device, terminal and storage medium
CN112258241A (en) Page display method, device, terminal and storage medium
CN110139143B (en) Virtual article display method, device, computer equipment and storage medium
CN111628925B (en) Song interaction method, device, terminal and storage medium
CN110750734A (en) Weather display method and device, computer equipment and computer-readable storage medium
CN111031391A (en) Video dubbing method, device, server, terminal and storage medium
CN110798327B (en) Message processing method, device and storage medium
CN110209316B (en) Category label display method, device, terminal and storage medium
CN113609358B (en) Content sharing method, device, electronic equipment and storage medium
CN112004134B (en) Multimedia data display method, device, equipment and storage medium
CN113485596B (en) Virtual model processing method and device, electronic equipment and storage medium
CN112311661B (en) Message processing method, device, equipment and storage medium
CN114327197B (en) Message sending method, device, equipment and medium
CN114968021A (en) Message display method, device, equipment and medium
CN112910752B (en) Voice expression display or generation method, device, equipment and storage medium
CN114466237B (en) Display method, display device, computer equipment and medium

Legal Events

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