WO2021227779A1 - 消息显示方法、装置、终端及计算机可读存储介质 - Google Patents
消息显示方法、装置、终端及计算机可读存储介质 Download PDFInfo
- Publication number
- WO2021227779A1 WO2021227779A1 PCT/CN2021/088042 CN2021088042W WO2021227779A1 WO 2021227779 A1 WO2021227779 A1 WO 2021227779A1 CN 2021088042 W CN2021088042 W CN 2021088042W WO 2021227779 A1 WO2021227779 A1 WO 2021227779A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- message
- conversation
- messages
- session
- target
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 91
- 238000012545 processing Methods 0.000 claims description 37
- 230000001960 triggered effect Effects 0.000 claims description 15
- 238000012790 confirmation Methods 0.000 claims description 6
- 238000012216 screening Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 64
- 230000000694 effects Effects 0.000 description 14
- 230000006870 function Effects 0.000 description 11
- 235000015220 hamburgers Nutrition 0.000 description 11
- 238000004891 communication Methods 0.000 description 10
- 230000003993 interaction Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 238000001514 detection method Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 6
- 235000008429 bread Nutrition 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 238000002955 isolation Methods 0.000 description 4
- 230000002452 interceptive effect Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000003825 pressing Methods 0.000 description 2
- 230000001737 promoting effect Effects 0.000 description 2
- 230000000717 retained effect Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 239000004615 ingredient Substances 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/42—Mailbox-related aspects, e.g. synchronisation of mailboxes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/043—Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/06—Message adaptation to terminal or network requirements
- H04L51/066—Format adaptation, e.g. format conversion or compression
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-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/10—Multimedia information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/23—Reliability checks, e.g. acknowledgments or fault reporting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/234—Monitoring or handling of messages for tracking messages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/52—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
Definitions
- This application relates to the field of Internet technology, to the field of computer technology, and in particular to a message display method, a message display device, a terminal, and a computer-readable storage medium.
- social clients have gradually been widely used by users; the so-called social clients refer to software (Application, APP) that realizes information interaction between users and users through the network.
- the social client can establish a target session between the user and the user, so that each user in the target session can interact with each other through the session interface of the target session.
- the social client after the social client obtains the message set of the target conversation, it usually displays each message in the message set in sequence directly in the conversation interface of the target conversation.
- the message display mode is relatively simple, and the graphic of the terminal where the social client is located The utilization rate of processing resources is low.
- the single message display mode makes the number of human-computer interactions less and the user stickiness of social clients is lower.
- the embodiments of the present application provide a message display method, device, terminal, and computer-readable storage medium, which can increase the utilization rate of terminal graphics processing resources and the number of human-computer interactions, thereby effectively increasing the user stickiness of the social client running in the terminal .
- the embodiment of the present application provides a message display method, and the method includes:
- the target conversation message is used to replace the continuously repeated multiple conversation messages in the message set, and the replaced message set is displayed in the conversation interface of the target conversation.
- An embodiment of the present application provides a message display device, and the device includes:
- the display unit is configured to display the conversation interface of the target conversation
- An obtaining unit configured to obtain a message set of the target conversation
- the display unit is further configured to obtain a target conversation message according to the multiple conversation messages if there are multiple consecutively repeated conversation messages in the message set;
- the display unit is further configured to replace the continuously repeated multiple conversation messages in the message set with the target conversation message, and display the replaced message set in the conversation interface of the target conversation.
- An embodiment of the present application provides a terminal, and the terminal includes:
- a processor and a memory where at least one piece of program code is stored, and the at least one piece of program code is loaded and executed by the processor to implement the message display method provided by the embodiment of the present application.
- the embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores at least one piece of program code, and the at least one piece of program code is loaded and executed by a processor to implement the message display method provided by the embodiment of the present application .
- the embodiment of the application may obtain the target session message according to the multiple session messages when there are multiple consecutively repeated session messages in the message set of the target session; and replace the multiple consecutively repeated session messages in the message set with the target session message, and then The replaced message set is displayed in the conversation interface of the target conversation.
- the social client can use the target conversation message to replace the display in the conversation interface for multiple consecutive repeated conversation messages; this can effectively reduce the boring brush caused by directly displaying multiple conversation messages.
- the screen effect enriches the message display methods of the social client, improves the utilization of terminal graphics processing resources and the number of human-computer interactions, and can effectively increase the user stickiness of the social client.
- FIG. 1 is a system architecture diagram of a communication session system provided by an embodiment of the present application
- FIG. 2 is a schematic flowchart of a message display method provided by an embodiment of the present application.
- FIG. 3A is a schematic diagram of a folded message provided by an embodiment of the present application.
- FIG. 3B is a schematic diagram of another folded message provided by an embodiment of the present application.
- FIG. 3C is a schematic diagram of another folded message provided by an embodiment of the present application.
- FIG. 3D is a schematic diagram of another folding message provided by an embodiment of the present application.
- FIG. 3E is a schematic diagram of another folded message provided by an embodiment of the present application.
- FIG. 3F is a schematic diagram of a folding mark provided by an embodiment of the present application.
- 4A is a schematic diagram of displaying a target conversation message including a folded message and a reference conversation message according to an embodiment of the present application
- 4B is a schematic diagram showing another target conversation message including a folded message and a reference conversation message according to an embodiment of the present application
- FIG. 4C is a schematic diagram of displaying a new first conversation message according to an embodiment of the present application.
- FIG. 4D is another schematic diagram of displaying a new first conversation message according to an embodiment of the present application.
- FIG. 4E is another schematic diagram of displaying a new first conversation message according to an embodiment of the present application.
- 4F is another schematic diagram of displaying a new first conversation message according to an embodiment of the present application.
- FIG. 4G is a schematic diagram of displaying a new second conversation message according to an embodiment of the present application.
- FIG. 4H is a schematic diagram of displaying remaining user identifiers according to an embodiment of the present application.
- FIG. 4I is a schematic diagram of displaying remaining session messages according to an embodiment of the present application.
- FIG. 4J is another schematic diagram of displaying remaining session messages provided by an embodiment of the present application.
- FIG. 4K is another schematic diagram of displaying remaining conversation messages according to an embodiment of the present application.
- FIG. 4L is a schematic diagram of folding and displaying the remaining conversation messages again after displaying the remaining conversation messages according to an embodiment of the present application
- FIG. 5A is a schematic diagram of an output message option provided by an embodiment of the present application.
- FIG. 5B is a schematic diagram of another output message option provided by an embodiment of the present application.
- FIG. 5C is a schematic diagram of outputting a collapsed message according to an embodiment of the present application.
- FIG. 5D is a schematic diagram of another output collapse message provided by an embodiment of the present application.
- FIG. 5E is a schematic diagram showing a collapsed session message according to an embodiment of the present application.
- FIG. 5F is another schematic diagram showing a collapsed session message provided by an embodiment of the present application.
- 5G is a schematic diagram of an operation option window for outputting a collapsed message provided by an embodiment of the present application.
- FIG. 6 is a schematic flowchart of a message display method provided by an embodiment of the present application.
- FIG. 7A is a schematic diagram of a default image template provided by an embodiment of the present application.
- FIG. 7B is a schematic diagram of generating a message display template provided by an embodiment of the present application.
- FIG. 7C is a schematic diagram of another generated message display template provided by an embodiment of the present application.
- FIG. 7D is a schematic diagram of filling a session message in a message display template provided by an embodiment of the present application.
- FIG. 7E is a schematic diagram of a target conversation message including an image message and a second folding prompt according to an embodiment of the present application
- FIG. 7F is a schematic diagram of displaying a target conversation message including an image message according to an embodiment of the present application.
- FIG. 7G is a schematic diagram of displaying a target conversation message including an image message according to an embodiment of the present application.
- FIG. 7H is a schematic diagram of switching from a conversation interface to a resource receiving interface provided by an embodiment of the present application.
- FIG. 7I is a schematic diagram of displaying a new conversation message in an image message included in a target conversation message according to an embodiment of the present application.
- FIG. 7J is a schematic diagram of displaying a new conversation message in an image message included in a target conversation message according to an embodiment of the present application.
- FIG. 7K is a schematic diagram of an output message sharing button provided by an embodiment of the present application.
- FIG. 7L is a schematic diagram of switching from a conversation interface to a sharing interface according to an embodiment of the present application.
- FIG. 8A is a schematic structural diagram of a social client provided by an embodiment of the present application.
- FIG. 8B is a schematic flowchart of a message display method provided by an embodiment of the present application.
- FIG. 8C is a schematic diagram of a message display logic provided by an embodiment of the present application.
- FIG. 9 is a schematic structural diagram of a message display device provided by an embodiment of the present application.
- FIG. 10 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
- the embodiment of the application proposes a message display solution and a corresponding communication conversation system to enrich the message display modes of the social client, increase the utilization rate of terminal graphics processing resources and the number of human-computer interactions, and increase the user stickiness of the social client.
- the communication session system proposed in the embodiment of the present application may include: at least two social clients 11 and a server 12.
- the social client 11 refers to software that realizes information interaction between users and users through the network; the social client 11 may include at least one of the following: WeChat, Enterprise WeChat, Tencent QQ and other instant messaging clients, Weibo, Information exchange clients such as blogs, etc.; the so-called instant messaging refers to a terminal service that allows two or more people to use the network to instantly transmit text, files, voice and other information, as well as audio and video communication.
- the social client 11 may run in any terminal, and the terminal here may include, but is not limited to: portable devices such as smart phones, laptop computers, and tablet computers, or terminal devices such as desktop computers.
- the server 12 refers to a device that can establish a communication session between at least two social clients 11 and provide various services such as data storage and message push for each social client 11; it can include but is not limited to: data server, web Servers, application servers, cloud servers, etc. It should be understood that when the server 12 is physically deployed, the server can be deployed as an independent service device, or the server 12 can be deployed as a cluster device composed of multiple service devices, which is not limited in the embodiment of the present application.
- the message display solution proposed in the embodiment of this application can be executed by any social client 11 in the communication session system described above, or by a terminal device running any social client 11; for ease of explanation, this application implements
- any social client 11 executes the message display solution as an example for description.
- this message display solution is suitable for a large number of conversation scenarios where messages are repeated continuously; for example, each user in a target conversation continuously sends "received" conversation scenarios because they reply to a certain announcement message; another example is the target conversation scenario.
- Each user in the conversation continuously sends a "Happy Birthday" conversation scene for expressing birthday wishes to a user; another example is that each user in the target conversation continuously sends promotional messages for promoting a certain company (such as "Hamburger, you deserve it” Etc.) conversational scenes, etc.
- the general principle of the message display scheme is as follows:
- the server 12 can push various messages about the target conversation to the social client 11, so that the social client 11 can display various messages of the target conversation on the conversation interface for the user to view.
- the social client 11 may obtain the target session messages according to the continuously repeated multiple session messages.
- the target conversation message may include a reference conversation message and a first folding prompt.
- the reference conversation message is selected from a plurality of conversation messages; the first folding prompt is obtained by folding the remaining conversation messages excluding the reference conversation message among the plurality of conversation messages, and the first folding prompt may include folding Identifies or collapsed messages; the collapsed identifier here is used to reflect the remaining number of remaining session messages, and the collapsed message can be used to reflect the remaining number of remaining session messages, message content, and message sending users of the remaining session messages.
- the target conversation message may include an image message. The image message is a message generated based on multiple conversation messages and images matching the message content of the multiple conversation messages.
- the target conversation message may include: key content extracted from the message content of the multiple conversation messages, and a quantity identifier generated according to the quantity of the multiple conversation messages. Then in the conversation interface, the target conversation message is used to replace and display multiple consecutive conversation messages. It can be seen that the message display solution proposed by the embodiment of the present application can replace and display multiple consecutively repeated session messages by using the target session message to reduce the uninteresting scrolling effect caused by continuously displaying multiple repeated session messages; Provide users with a good interactive communication atmosphere; and reduce the phenomenon that users miss important conversational messages, thereby effectively increasing the user stickiness of the social client 11.
- an embodiment of the present application proposes a message display method; the message display method can be executed by any social client in the communication conversation system mentioned above, or by a social client running the social client Terminal execution can also be implemented collaboratively by the terminal and the server.
- the embodiment of the present application uses the terminal to implement the message display method, and the target conversation message includes the reference conversation message and the first folding prompt as an example for description; please refer to FIG. 2, the message display method may include the following steps S201- S204:
- S201 The terminal displays the conversation interface of the target conversation.
- a social client terminal is provided on the terminal, and the social client terminal may be an instant messaging client used for message communication, a media information client used for reading, viewing, or publishing media information, and the like.
- the target session may be established by the social client; for example, it may be any single chat session established by the social client, or any group session established by the social client, which is not limited.
- the so-called single chat session refers to a session formed by two users, and a group session refers to a session formed by three or more users.
- the social client can detect whether there is a display trigger operation for the conversation interface of the target session; if it exists, it can display the conversation interface of the target conversation.
- the message set of the target conversation may include at least one type of message: conversational messages and non-conversational messages.
- the conversation message refers to the message sent by each user in the target conversation through the conversation interface; for example, it may include at least one of the following: a message sent by a host user in the target conversation, and a message sent by a guest user; the so-called so-called The host user refers to the user corresponding to the social account that logs in to the social client, that is, the logged-in user; the guest user refers to the user other than the host user in the target session, that is, the non-login user.
- non-conversational messages refer to messages other than conversational messages in the message set; they may include, but are not limited to: announcement notification messages, system prompt messages, and so on.
- announcement notification message refers to the message published in the target session by the user in the target session through the announcement function provided by the social client, such as a group announcement message.
- the system prompt message refers to the message pushed by the server after detecting the information change of the target session; for example, when a new user joins the target session and the user information of the new user is added to the target session, the server pushes about the new user joining Prompt information of the target session; for another example, when a user (such as user A) exits the target session so that user A's user information is reduced in the target session, the server pushes the prompt information about user A exiting the target session; and For example, when the session name (such as the group name) of the target session is modified, the server pushes the prompt information about the modification of the session name, and so on.
- each message in the message set can be pushed by the server to the social client in real time; that is, the messages in the message set can be updated in real time.
- each message in the message set has a message receiving time, which refers to the system time when the social client receives the message pushed by the server; each message in the message set can be in the order of the message receiving time from morning to night Arranged.
- each message in the message set will be displayed in sequence in the conversation interface; in this case, the social client can also receive the message pushed by the server to update the message set, and continue to real-time It is detected whether there are multiple consecutively repeated messages in the updated message set, and step S203 is executed after multiple consecutively repeated conversation messages are detected.
- the terminal can detect whether there are multiple consecutively repeated session messages in the message set in the following manner:
- the terminal directly traverses to detect whether there are multiple consecutively repeated conversation messages in the message set.
- each message in the message set except the first message can be traversed in sequence; if the current traversed message is a conversation message, and the message content of the current traversed message is the same as the message content of the previous message, the target The repeat count of the session performs an operation of adding one to update the repeat count; the repeat count here is used to determine the number of consecutively repeated session messages. If the currently traversed message is a conversational message and the message content of the current traversed message is different from that of the previous message, or the current traversed message is a non-conversational message, the repetition count is updated to an invalid value (such as a value of 0).
- the traversal is ended and the updated repetition count is incremented by one to obtain the number of consecutively repeated session messages in the message set. If the number of consecutively repeated session messages is greater than or equal to the preset number, then it can be determined that there are multiple consecutively repeated session messages in the message set; if the number of consecutively repeated session messages is less than the preset number, it can be determined that there is no continuous repeating in the message set Multiple repeated conversation messages.
- the preset number can be set according to empirical values or business requirements; for example, the preset number can be set to 5. It should be noted that the last message mentioned in this embodiment refers to a message whose central arrangement position is before the arrangement position of the currently traversed message and is adjacent to the arrangement position of the currently traversed message.
- the message set includes the following messages in sequence: "received”, “received”, “ ⁇ user joins the target session”, “received”, “received”, and “received”.
- the second message can be traversed first. Since the second message is a conversation message and the message content of the second message is the same as the message content of the previous message (ie, the first message), the repeat count execution can be incremented by one Operate so that the repeat count is updated from 0 to 1. Then the third message can be traversed. Since the third message is a system prompt message, the repeat count can be updated from 1 to 0. Then traverse the fourth message again.
- the repeat count can be updated to 0. Traverse the fifth message again. Since the fifth message is a conversation message and the message content of the fifth message is the same as the message content of the previous message (ie, the fourth message), the repeat count can be incremented by one, so that The repeat count is updated from 0 to 1, and so on. When all 6 messages in the message set have been traversed, the traversal can be ended, and the updated repeat count is 2 at this time.
- the updated repetition count (2) can be incremented by one, and the number of continuously repeated session messages in the message set is 3; since the number of continuously repeated session messages (3) is less than the preset number (5), It can be determined that there are no consecutive repeated conversation messages in the message set.
- the terminal can detect whether there are multiple consecutively repeated session messages in the message set in the following manner:
- the terminal uses the counting isolation method to detect whether there are multiple consecutively repeated session messages in the message set; the so-called counting isolation method refers to the method of isolating non-session messages in the message set and only traversing and detecting the session messages in the message set.
- the conversation messages can be screened out from the message set first, and the number of consecutive repeated conversation messages in the screened conversation messages can be calculated. For example, you can sequentially traverse all the conversation messages except the first conversation message among the selected conversation messages; if the message content of the currently traversed conversation message is the same as the message content of the previous conversation message, the repeat count can be added. One operation to update the repeat count.
- the repetition count can be updated to an invalid value (for example, a value of 0).
- the traversal can be ended and the updated repetition count can be incremented by one to calculate the number of consecutively repeated conversation messages in the screened conversation messages. If the calculated number is greater than or equal to the preset number, it can be determined that there are multiple consecutively repeated session messages in the message set; if the calculated number is less than the preset number, it can be determined that there are no consecutively repeated multiple session messages in the message set .
- the last conversation message mentioned in this embodiment means that the arrangement position of the filtered conversation message is before the arrangement position of the currently traversed conversation message, and is adjacent to the arrangement position of the currently traversed conversation message Conversation message.
- the preset number is still set to 5, and the message set includes the following messages in sequence: “received”, “received”, “ ⁇ user joined the target session”, “received”, “received”, and “received”. Then, you can first filter out 5 conversation messages from the message collection: “received”, “received”, “received”, “received” and “received”. Then, calculate the number of consecutively repeated session messages among the 5 screened out session messages. In actual implementation, you can first traverse the second conversation message among the 5 conversation messages.
- the repeat count performs an increment operation so that the repeat count is updated from 0 to 1. Then traverse the third conversation message among the 5 conversation messages. Since the message content of the third conversation message is the same as the message content of the previous conversation message (ie, the second conversation message), the repeat count can be increased by one. Operate to update the repeat count from 1 to 2. Then traverse the fourth conversation message among the 5 conversation messages. Since the message content of the fourth conversation message is the same as the message content of the previous conversation message (that is, the third conversation message), the repeat count can continue to be added. One operation causes the repeat count to be updated from 2 to 3, and so on.
- the traversal ends, and the updated repeat count is 4 at this time. Then, the updated repeat count can be incremented by one, and the number of continuously repeated session messages among the 5 screened session messages is calculated to be 5; since the calculated number (5) is equal to the number threshold (5), It can be determined that there are multiple consecutively repeated conversation messages in the message set.
- the terminal detects whether there are multiple consecutively repeated session messages in the message set, by traversing and detecting only the session messages in the message set, the non-session messages in the message set can be counted and isolated; repeated counting is avoided It is cleared due to the influence of non-conversational messages, which leads to the problem of recounting again; it can truly enable continuous repetition of conversational messages to be counted continuously, thereby improving the accuracy of the detection result.
- the above examples of detecting whether there are multiple consecutively repeated conversation messages in the message set are all explained by taking the message content only containing text as an example; however, in practical applications, the message content is not limited to text.
- each content contained in the message content participates in the recognition; that is, the embodiment of the present application can perform the identification of the text (such as Chinese characters) contained in the message content. To symbols (such as spaces) and expressions are recognized. If there is a content inconsistency, it can be considered that the content of the message is not the same. It can be seen that the embodiment of the present application has a small recognition granularity for continuously repeated conversation messages, which can effectively improve the accuracy of the detection result. It should also be noted that the embodiment of the present application does not limit the execution sequence of step S201 and step S202.
- S203 If there are multiple consecutively repeated session messages in the message set, acquire the target session message according to the multiple session messages.
- the embodiment of the present application may obtain the reference conversation message and the first folding prompt according to the multiple conversation messages as the target. Conversation message, to realize the folding display of the continuously repeated part of the conversation message.
- obtaining the target conversation message according to multiple conversation messages may include the following steps s11-s13:
- s11 select a reference conversation message from multiple conversation messages.
- one session message or a preset number of session messages can be randomly selected from multiple session messages as the reference session message; that is, in this embodiment, the reference session message is randomly selected from multiple session messages One or a preset number of conversation messages obtained.
- the social client since each conversation message in the message set has a message reception time, the social client usually displays the conversation messages in sequence from morning to night according to the message reception time; therefore, in order not to disrupt each conversation The display order of the messages in the conversation interface, the social client can also select the conversation message with the earliest message reception time from the multiple conversation messages as the reference conversation message; that is, in this embodiment, the reference conversation message is among the multiple conversation messages The conversation message with the earliest message reception time.
- a preset number of session messages may be selected as the reference session messages from multiple session messages in the order of message reception time from morning to night; that is, in this embodiment, the reference session messages include A preset number of conversation messages are sequentially selected from a plurality of conversation messages in the order of receiving time from morning to night.
- the reference session message including a preset number of session messages sequentially selected from a plurality of session messages in the order of receiving time from morning to night will be given by taking the reference session message including a preset number of session messages sequentially selected from a plurality of session messages in the order of receiving time from morning to night as an example.
- the conversation message sent by the master user can also be used as a reference conversation message; to avoid subsequent social clients from viewing the master user’s
- the sent conversation message is folded, so that the conversation message sent by the master user can be directly displayed in the conversation interface. This can create a user experience in which the conversation messages sent by the host users are stably retained when the host users participate in the message refresh, which can facilitate the host users to view the conversation messages they send, and increase the number of human-computer interactions and the user stickiness of the social client.
- s12 Perform folding processing on the remaining conversation messages except the reference conversation message among the multiple conversation messages to obtain the first folding prompt.
- the first folding prompt may include a folding message and a folding indicator.
- the implementation of step s12 may be: first generate according to the remaining number of the remaining conversation messages except for the reference conversation message among the plurality of conversation messages, and the message content of the remaining conversation messages Prompt content.
- the prompt content can be used to prompt that there is a remaining number of users continuously sending the message content, or to prompt that there is a continuous remaining number of messages that contain the message content.
- the prompt content can be "8 consecutive friends reply “received””; or, the prompt content can be “the following 8 consecutive messages reply “received”, and so on. It should be understood that when the message content contains a lot of content (such as text, symbols, emoticons, etc.), when the social client performs step s12, it may only be based on the remaining conversations other than the reference conversation message among the multiple conversation messages.
- the remaining number of messages to generate reminder content can be used to remind that there is a remaining number of users who have continuously sent the same message as the reference session message, or used to remind that there is a continuous remaining number of messages and the reference session message same.
- the social client may also generate prompt content based on the remaining number of remaining conversation messages other than the reference conversation message among the multiple conversation messages, part of the message content of the remaining conversation messages, and the content ellipsis; this content is omitted
- the symbol is used to indicate that the message content of the remaining conversation messages is not fully displayed.
- the prompt content can be "8 consecutive A friend responded to the above message”; or, the prompt content can be “the following 8 messages continuously reply “received, attend on time tomorrow"”; among them, "" is the content ellipsis.
- the social client can also obtain the user ID of the message sending user corresponding to the remaining conversation messages.
- the user identification includes at least one of the following: a user name and a user mark image.
- the user name here may include, but is not limited to: network nickname (a name used by users in social networks, such as the user name in an instant messaging client), session name (a type of user’s Note name), etc.
- the user mark image may be the user profile picture of the user who sent the message.
- the social client can generate a folded message according to the obtained user identification and prompt content; it can include at least the following implementation modes:
- the folded message may be directly generated according to the obtained user identification and prompt content.
- the prompt content 31 is used to prompt that there is a continuous remaining number of messages that contain the message content, and the user identifier 32 includes the user name
- the schematic diagram of the generated folded message 33 can be seen in the first diagram in FIG. 3A Shown.
- the prompt content 31 is used to prompt that there is a remaining number of users who have continuously sent message content, and the user identification 32 includes a user mark image
- a schematic diagram of the generated folded message 33 can be seen in the second or third diagram in FIG. 3A Shown. It should be understood that the embodiment of the present application only exemplarily uses the three figures in FIG. 3A to represent the display form of the folded message 33, and is not exhaustive.
- the social client may also display one or more message sending buttons 34 in the display area of the folded message, as shown in FIG. Shown in 2 pictures in 3B. If the social client detects a trigger operation (such as a click operation, a press operation, etc.) on any message sending button 34 by a user in the master mode, the message content of multiple conversation messages can be copied to generate a new conversation message, and this The new conversation message is sent to the target conversation.
- a trigger operation such as a click operation, a press operation, etc.
- this embodiment of the present application can also selectively use some user IDs and prompt content Generate folded messages to reduce the display area of folded messages.
- the symbol is used to prompt that the acquired user identification is not fully displayed, and the identification ellipsis can be used to trigger the display of the remaining user identifications that are not displayed in the acquired user identification.
- the display form of the logo ellipsis can be set according to business requirements; for example, " -- or " ⁇ " can be used in the folded message to indicate the logo ellipsis 35; correspondingly, the schematic diagram of the folded message can be seen in the 2 in Figure 3C As shown in the figure.
- the embodiment of the present application may also insert a message for Trigger the message link displaying the remaining messages, so that the master user can view the remaining conversation messages through the message link later.
- the acquired user identification, prompt content, and message link 36 can be used to generate a folded message; correspondingly, the schematic diagram of the folded message can be seen in the left figure in FIG. 3D.
- the number of acquired user identities is greater than the number threshold, one or more user identities may also be selected from the acquired user identities as the user identities to be displayed; then, according to the user identities to be displayed , Prompt content, mark ellipsis, and message link 36 to generate a folded message.
- the prompt content here may include the remaining number of remaining conversation messages, part of the message content of the remaining conversation messages, and the content ellipsis; or include the remaining quantity and complete message content. Taking the prompt content including the content ellipsis 37 as an example, the corresponding schematic diagram of the folded message can be seen in the right figure in FIG. 3D.
- the embodiment of the present application when detecting whether there are multiple consecutively repeated session messages in the message set, performs the detection in the unit of session messages; if there is the same user in the target session, the same user continuously sends multiple session messages.
- multiple conversation messages sent by the user can also be folded and displayed; in this case, the user identifiers contained in the folded messages can be continuously the same, as shown in FIG. 3E.
- step s12 may include:
- the embodiment of the present application does not limit the display form of the folding mark; for example, the folding mark 38 may be a value corresponding to the remaining quantity, as shown in the left figure in FIG. 3F; for another example, the folding mark 38 It can be a logo image formed by using the value corresponding to the remaining quantity and the preset picture, as shown in the right figure in FIG. 3F, and so on.
- the target conversation message is used to replace multiple consecutively repeated conversation messages in the message set, and the replaced message set is displayed in the conversation interface of the target conversation message.
- the steps S201 and S202 mentioned in the embodiment of the present application have no sequence, and the message set is updated in real time. Then it is detected that there are multiple consecutively repeated conversation messages in the message set, and the time when the target conversation message is obtained according to the multiple conversation messages may be before the conversation interface of the target conversation is displayed, or after the conversation interface of the target conversation is displayed .
- the social client can use the target conversation message to replace multiple consecutively repeated messages in the message set before displaying the conversation interface.
- Conversation message In this application scenario, after the social client displays the conversation interface, it can directly display the target conversation message in the conversation interface. In another application scenario, if the time point when the target conversation message is obtained is after the conversation interface of the target conversation is displayed, the social client can display the target conversation in the conversation interface in real time after displaying the conversation interface of the target conversation. Each message in the set of messages.
- the social client after the social client obtains the target conversation message through step S203, it can directly execute step S204; it can directly use the target conversation message (that is, refer to the conversation message 41 and the first folding prompt 42) to update the information in the message set. Conversation messages, and display each message in the updated message set on the conversation interface.
- the first folding prompt 42 here includes any type of folding message as shown in FIGS. 3A to 3E, or a folding mark as shown in FIG. 3F. Taking the first folding prompt 42 including the folding message as shown in the left figure of FIG. 3D as an example, a schematic diagram of displaying the target conversation message can be referred to as shown in FIG. 4A.
- the social client uses this processing logic to realize that as long as multiple repeated conversation messages are detected, the first folding prompt can be created and displayed in the conversation interface. Update the interface of the inventory message (that is, the message that has been displayed) and the new first fold prompt.
- step S204 is executed to directly display the target conversation message in the redisplayed conversation interface (ie, refer to the conversation message 41 and the first folding prompt 42). ). Still taking the first folding prompt 42 containing the folding message as shown in the left figure of FIG. 3D as an example, the schematic diagram of displaying the target conversation message can be seen in FIG. 4B.
- the social client can also detect in real time whether there is a new first conversation message in the target conversation. If a new first conversation message is detected, it can be detected whether the first conversation message is continuously repeated with multiple conversation messages; if it is repeated continuously, the first conversation message can be added to multiple conversation messages, and the first conversation message can be used directly
- the message updates the first folding prompt in the target conversation message. In actual implementation, if the first fold prompt contains a fold flag, you can directly add one to the value in the fold flag to update the fold flag; if the first fold prompt contains a fold message, you can add one to the fold message. Perform an operation of adding one to the remaining number of, and add the user ID of the message sending user of the first conversation message to the collapsed message.
- the conversation messages in which the host user participates in refreshing the screen are stably retained; if it is repeated continuously, it can be further detected whether the message sending user of the new conversation message is a host user or a guest user. If it is a host user, the first conversation message 43 can be directly displayed in the conversation interface, as shown in Figure 4C; in this case, if the social client receives the first conversation message, it receives a guest status again If the message content sent by the user is the same as the second conversation message of multiple conversation messages, the second conversation message can be added because the second conversation message, the first conversation message, and the multiple conversation messages are repeated continuously.
- the first folding prompt is updated with the second conversation message. If it is a guest user, the first folding prompt can be updated with the first conversation message; taking the first folding prompt containing the folding message as an example, the schematic diagram of updating the folding message with the first conversation message can be seen in FIG. 4D. As shown in FIG. 4D, the updated folding message contains the user identification of the message sending user of the first conversation message, and the remaining number contained in the prompt content in the updated folding message has also changed.
- the social client can directly display the first conversation message in the conversation interface, as shown in FIG. 4E or FIG. 4F.
- the social client receives the first conversation message and then receives the second conversation message with the same message content as the multiple conversation messages without continuous repetition, it is because the first conversation message is displayed. The continuity between the second conversation message and the multiple conversation messages is broken, so the second conversation message 44 can be directly displayed in the conversation interface, as shown in FIG. 4G.
- the social client needs to obtain a new target conversation message based on the re-detected multiple conversation messages, and use the new target conversation message in the conversation interface.
- the new target conversation message replaces and displays multiple conversation messages that have been detected again.
- the folding message may include: not displayed in the acquired user identification for triggering display Functional components such as the ellipsis for the remaining user identification and the message link used to trigger the display of the remaining messages. Then, after displaying the folded message in the target conversation message, the master user can also perform a trigger operation on the identifier ellipsis in the folded message to trigger the social client to display the remaining undisplayed user identification in the conversation interface.
- User identification correspondingly, when the social client detects that the identification ellipsis is triggered, it can display the remaining user identifications in the conversation interface. Taking the folding message shown in the right figure in FIG. 3C as an example, the schematic diagram of triggering the display of the remaining user identification can be seen in FIG. 4H.
- the master user can also perform trigger operations (such as clicking or pressing the message link) on the message link in the collapsed message to trigger the social client to display the remaining conversation messages.
- the social client may display the remaining conversation messages and the user identification of the user who sent the corresponding message on the conversation interface.
- the reference session message is taken as an example. The message receiving time must be earlier than the message receiving time of the remaining session messages.
- the social client can display the remaining conversation messages and the corresponding message sending in the conversation interface in the order of the message receiving time from morning to night.
- the user ID of the user as shown in Figure 4I.
- the social client may output a message display window 45 in the conversation interface, and display the remaining conversation messages and the corresponding message sending user’s user in the message display window 45 Identification; in actual implementation, the social client can display the remaining conversation messages and the user identification of the corresponding message sending user in the message display window 45 in the order of message reception time from morning to night, as shown in Figure 4J.
- the conversation message sent by the master user can also be used as the reference conversation message; in this case, the message reception time of the conversation message sent by the master user may be later than part of the remaining conversations The message receiving time of the message, if you directly expand and display the remaining conversation messages, it may cause the message display sequence to be wrong. Therefore, in this case, the social client can display successively repeated conversation messages and the user ID of the corresponding message sending user in the conversation interface in the order of message reception time from morning to night, thereby realizing the display of the remaining conversation messages , As shown in Figure 4K.
- FIG. 4L only uses the interface switching process of switching from the conversation interface to the main interface to exemplarily show that the master user exits the conversation interface; it does not limit the operation of the master user exiting the conversation interface. For example, if the master user switches from the conversation interface to the web interface of the browser, it can also be regarded as the conversation interface where the master user exits the target session.
- the embodiment of the present application can display the conversation interface of the target conversation, and when there are multiple consecutively repeated conversation messages in the message set of the target conversation, the reference conversation message and the first folding prompt can be used in the conversation interface to replace and display the multiple consecutively repeated conversation messages.
- Conversation message Since the reference conversation message is selected from multiple conversation messages, the message content of the reference conversation message is the same as the message content of the multiple conversation messages; by displaying the reference conversation message, the complete display of the message content can be ensured.
- the first folding prompt is obtained by folding the remaining conversation messages excluding the reference conversation message among the multiple conversation messages; therefore, replacing the display of the remaining conversation messages with the first folding prompt can effectively reduce the number of conversation messages caused by the display. And the refreshing effect brought. It can be seen that by displaying the reference conversation message and the first folding prompt, the message display mode of the social client is enriched, the utilization rate of terminal graphics processing resources and the number of human-computer interactions are improved, and the user stickiness of the social client can be effectively improved.
- the social client can automatically fold and display part of the continuously repeated conversation messages; however, in practical applications, the social client can also support the user to manually collapse One or more conversation messages that have been displayed in the conversation interface of the target conversation to facilitate the user's subsequent management and search of messages.
- the social client if there are multiple consecutively repeated session messages in the message set of the target session, and the social client automatically folds the remaining session messages in the multiple session messages except for the reference session message through steps S203-S204 If displayed, the displayed session messages in the session interface may include: session messages in the message set except for the remaining session messages.
- the displayed conversation message in the conversation interface may include: each conversation message in the message set.
- each conversation message in the message set may include: each conversation message in the message set as an example.
- the master user wants to manually collapse the conversation messages displayed in the conversation interface, he can input the selection trigger event for the conversation messages displayed in the conversation interface to the social client; correspondingly, social
- the client detects a selection trigger event for a conversation message that has been displayed in the conversation interface, it can output a message option for each displayed conversation message in the conversation interface; the message option is used to select the conversation message that has been displayed.
- the selection trigger event may include: detecting an event in which the conversation interface is pressed; in this embodiment, the schematic diagram of the output message option 51 can be referred to as shown in FIG. 5A.
- the social client can provide a selection trigger button 52 for the host user; the selection trigger button 52 can be clicked or pressed on the conversation interface to trigger display. Then the corresponding selection trigger event may include: detection of an operation triggered by the selection trigger button 52; in this embodiment, the schematic diagram of the output message option 51 can be seen in FIG. 5B.
- the master user can select the message options of each conversation message according to their actual needs; correspondingly, the social client can select the message options corresponding to the selected message options according to the selection operation in the conversation interface.
- the conversation message is treated as the collapsed conversation message.
- the host user selects the message option, he can click or press the selection end button 53 in the conversation interface to input the selection completion event to the client; the selection completion event here refers to the event that the selection end button is clicked or pressed.
- the social client detects the selection completion event, it can create a collapsed message based on the collapsed conversation message; and replace the displayed collapsed conversation message with the collapsed message in the conversation interface.
- the implementation manner of creating a collapsed message based on the collapsed conversation message may be: if the selection complete event is detected, the social client can directly randomly obtain or generate a system message Name, and send the user ID of the user according to the system message name and the message of the folded session message to generate a folded message 54; in this case, take the system message name as "folded message 1" as an example, output the received
- the schematic diagram of the folded message 54 can be seen in FIG. 5C.
- the implementation manner of creating a collapsed message according to the collapsed conversation message may be: if the selection complete event is detected, output a message naming window 55; the message naming window 55 It may include a name setting area 56 and a name confirmation button 57.
- the master user can set a custom message name for the collapsed conversation message in the name setting area 56 in the message naming window 55.
- the social client can obtain the custom message name set for the collapsed conversation message in the message naming window 55; if a confirmation operation for the custom message name is detected, it can be based on the custom message name and the name
- the message of the collapsed conversation message sends the user ID of the user, and the collapsed message 54 is generated.
- the confirmation operation for the custom message name may include clicking or pressing the name confirmation button 57 in the message naming window 55; in this case, the schematic diagram of outputting the collapsed message 54 can be seen in FIG. 5D.
- the collapsed message may also include a message button 58 for triggering the display of the collapsed conversation message; the master user can trigger
- the message button 58 causes the social client to display the collapsed conversation message.
- the social client detects that the message button 58 is triggered, it can display the collapsed conversation message in the conversation interface, as shown in FIG. 5E.
- the social client detects that the message button 58 is triggered, it can output a message display window and display the collapsed conversation message in the message display window, as shown in FIG. 5F.
- the social client may also provide functions such as copying, forwarding, replying, and collecting.
- the master user wants to perform operations such as copying, forwarding, replying, and collecting on the folded message, he can perform a trigger operation on the folded message.
- the social client terminal can output an operation option window 59 about the collapsing message, as shown in FIG. 5G; wherein, the operation option window 59 includes at least one of the following operation options: copy option, Forward options, reply options, favorite options, and select options.
- the social client can determine the selected operation option from the operation option window according to the selection operation detected in the operation option window; then, perform the corresponding operation on the discount message according to the selected operation option. For example, if the selected operation option is a forwarding option, the corresponding operation performed is the operation of the output forwarding interface; the master user can select a target user through the forwarding interface and trigger the social client to send the folded conversation message To the target user. As another example, for example, if the selected operation option is a favorite option, the corresponding operation performed is an operation of adding the collapsed conversation message to the favorite. For another example, if the selected operation option is a copy option, the corresponding operation performed is an operation to copy the collapsed conversation message, and so on.
- the social client can also provide functions such as copying, forwarding, replying, and collecting for the first folding prompt obtained by automatic folding; its implementation method and the implementation method for folding messages Similar, I won't repeat them here.
- the target conversation message contains an image message, or key content extracted from the message content of multiple conversation messages, and a quantity identifier generated according to the number of multiple conversation messages, the above mentioned
- the manual folding function is also applicable. By providing the manual folding function, the message display methods of the social client can be enriched, thereby increasing the user stickiness of the social client.
- the message display method shown in FIG. 2 is applicable to conversation messages of any message type; the message type here may include: the first type or the second type.
- the message content of the conversation message corresponding to the first type does not contain a keyword
- the message content of the conversation message corresponding to the second type contains a keyword.
- keywords can be set according to business requirements; for example, in the embodiment of this application, multiple types of keywords can be set; such as blessing type keywords and corporate promotion type keywords, and so on.
- the blessing type keywords refer to keywords used to express blessings; they may include, but are not limited to: keywords about holiday blessings, keywords about birthday blessings, and so on.
- Enterprise promotion type keywords refer to keywords used to promote the target company, which can include but not limited to: company name, product attributes of the products operated by the target company (such as product name, product category), etc.; for example, target company
- the product being operated is a hamburger
- the keyword of the business type can be the name of a certain hamburger.
- this embodiment of the application also proposes a message display method as shown in FIG. 6; the message display method shown in FIG. Multiple conversation messages are displayed and processed to enrich the display form of conversation messages.
- the image message is a message generated based on multiple conversation messages and images matching the message content of the multiple conversation messages.
- the social client can also apply the message display method shown in FIG. 6 to conversation messages of any message type.
- the social client can also detect the message type of multiple conversation messages after detecting multiple consecutively repeated conversation messages; in actual implementation, it can detect whether keywords are included in multiple conversation messages; if not, then The message type of the multiple session messages is determined to be the first type; if included, the message type of the multiple session messages is determined to be the second type. Then, in some embodiments, different message display modes are selected for different message types.
- the message type of multiple consecutively repeated conversation messages is the first type, you can choose to display multiple conversation messages by folding part of the conversation messages, and you can choose the message display method shown in Figure 2 to display multiple conversation messages.
- the conversation message is displayed and processed.
- the message type of multiple consecutively repeated conversation messages is the second type, you can select a new image message display mode to display multiple conversation messages, and you can select the message display method shown in Figure 6 to perform multiple conversation messages. Display processing.
- the message display method shown in FIG. 6 may be executed by any social client in the aforementioned communication session system, or may be executed by a terminal running the social client.
- the embodiment of the present application uses a social client to execute the message display method, and the target conversation message includes an image message as an example for description; please refer to FIG. 6, the message display method may include the following steps S601-S606:
- S601 The terminal displays the conversation interface of the target conversation, and obtains the message set of the target conversation.
- S602 Screening session messages from the message set, and calculating the number of consecutively repeated session messages in the screened session messages.
- steps S604 If the calculated number is greater than or equal to the preset number, it is determined that there are multiple consecutively repeated session messages in the message set; in this case, steps S605-S606 can be continued. It should be understood that the embodiment of the present application only exemplarily uses steps S602-S604 (ie, counting isolation) to illustrate how to detect multiple consecutively repeated session messages; in practical applications, the steps S202 mentioned above can also be used. And the non-counting isolation method is used to detect whether there are multiple consecutive and repeated conversation messages in the message set.
- S605 If there are multiple consecutively repeated session messages in the message set, acquire the target session message according to the multiple session messages.
- the terminal can first obtain a message display template that matches the message content of multiple conversation messages; the message display template includes the following three areas: the top area, the middle area, and the bottom area, and each area displays An image that matches the content of the message.
- the message type of the multiple conversation messages is the first type, that is, the message content of the multiple conversation messages does not contain keywords
- the social client can directly obtain a default image template as the message display template.
- the default image template includes three areas: the top area, the middle area, and the bottom area; and the image in the top area of the default image template can be a roof image used to represent the roof of a house, and the middle area of the default image template
- the image of may be a floor image used to represent the floor of a house, and the image in the bottom area of the default image template may be a floor image used to represent the bottom of a house, as shown in FIG. 7A.
- the message display template can be obtained in the following manner:
- a message display template is configured for each keyword in advance; then the social client can obtain a matching message display template according to the keywords contained in the message content of multiple conversation messages.
- the message display template can be obtained in the following manner:
- the system template which contains the following three areas: the top area, the middle area, and the bottom area.
- the images used to fill in each area in the system template can be obtained respectively.
- the acquired images can be respectively filled into each area of the system template to obtain a message display template.
- the image of can be an image used to represent the ingredients of the cake, such as a candle image used to represent the top of the cake, a background image used to represent the middle part of the cake, and a cake image used to represent the bottom of the cake. Then, the first bread image, the background image, and the second bread image can be sequentially filled into the top area, the middle area, and the bottom area to obtain a message display template, as shown in FIG. 7B.
- the image may be an image used to represent the components of the burger, such as a first bun image used to represent the top of the burger, a background image used to represent the middle part of the burger, and a second bun image used to represent the bottom of the burger. Then, the first bread image, the background image, and the second bread image can be sequentially filled into the top area, the middle area, and the bottom area to obtain a message display template, as shown in FIG. 7C.
- the embodiment of the present application can realize the configuration of the message display template style, so that the message display template can dynamically respond to various operation scenarios; for example, for the happy birthday operation scenario, the message display template
- the style can be visually expressed as a cake layer.
- the style of the message display template can reveal the relevant information of the target company.
- the embodiment of the present application fills in each area in the system template to generate a message display template, which can effectively improve the versatility of the system template.
- multiple conversation messages can be filled into the middle area of the message display template to obtain an image message; and the image message is added to the target conversation message.
- the social client can fill multiple conversation messages in the middle area of the message display template to obtain an image message in the following manner:
- the target conversation message may only include the image message.
- the social client may also fill multiple conversation messages in the middle area of the message display template in the following manner to obtain image messages:
- the social client can first select a preset number of conversation messages from multiple conversation messages in the order of message reception time from morning to night; then fill the selected conversation messages in the middle of the message display template Area, get the image message.
- the target conversation message may only include the image message.
- the social client can also perform folding processing on the unselected conversation messages among the multiple conversation messages to obtain the second folding prompt; and add the second folding prompt to the target conversation message; that is, this implementation mode
- the target conversation message below may include an image message and a second folding prompt. Still take the message display template shown in FIG. 7C as an example, and set the preset number to 5; if the number of multiple conversation messages is 13, then the schematic diagram of the target conversation message in this implementation mode can be seen in 2 in Fig. 7E As shown in the figure.
- FIG. 7E is only an exemplary display of the display form of the second folding prompt, and is not limited to it; the display form of the second folding prompt can also refer to the folding message or folding shown in FIGS. 3A-3F The display form of the logo.
- the social client can also select one of the above two implementation modes according to the message types of the multiple conversation messages to complete the message filling of the multiple conversation messages.
- the message type of the multiple session messages is the first type
- one of the above two implementation modes can be selected to complete the filling of the multiple session messages.
- the message type of multiple conversation messages is the second type
- multiple types of keywords can be set in the embodiment of the present application, such as $9 type keywords, corporate promotion type keywords, etc.; then Correspondingly, the second type can also be subdivided into the following types according to different types of keywords: blessing message type, promotion message type, and so on.
- the message content of the conversation message corresponding to the blessing message type includes the keyword of the curse type
- the message content of the conversation message corresponding to the promotion message type includes the keyword of the enterprise promotion type.
- the social client can also select different implementation methods for different second types to complete the filling of the multiple conversation messages.
- the type of the second type can be identified first according to the types of keywords contained in the message content of multiple conversation messages.
- the second type is a blessing message type
- the first implementation method to complete the filling of multiple conversation messages; you can directly fill all the multiple conversation messages into the message display template In the middle area of, get the image message; so that the master user can view all the continuously repeated conversation messages through the image message.
- the second type is the promotion message type
- the promotion effect can usually be achieved when a certain number of conversation messages are continuously displayed in the conversation interface; therefore, the second implementation method is selected to complete the filling of multiple conversation messages; A preset number of conversation messages are selected from the conversation messages to fill in the middle area of the message display template to obtain an image message; this can achieve the promotion effect and avoid the screen refresh effect caused by displaying multiple repeated messages.
- S606 Use the target conversation message to replace multiple consecutively repeated conversation messages in the message set, and display the replaced message set in the conversation interface of the target conversation.
- the target conversation message can be displayed on the conversation interface.
- the target conversation message here may include: an image message, or an image message and a second folding prompt. Since the message set of the target conversation is acquired in real time, the conversation messages contained in the message set may be updated in real time. Therefore, in an application scenario, if the social client is in the process of sequentially displaying each message in the message set on the conversation interface, it detects that there are multiple consecutive and repeated conversation messages in the message set and obtains the target conversation according to the multiple conversation messages. If there is a message, the social client can directly execute step S606, so that the target conversation message can be directly used to replace multiple consecutive conversation messages in the conversation interface.
- the corresponding display schematic diagram of the target conversation message can be shown in FIG. 7F.
- the social client can After the conversation interface is displayed, the target conversation message is directly displayed; still taking the target conversation message only containing image messages, and the message content of multiple conversation messages contains the keyword "hamburger" as an example, the corresponding target conversation message display diagram can be See Figure 7G.
- the embodiment of the present application can recombine the message content of multiple conversation messages for visual redrawing; by displaying more visually expressive in the conversation interface Image messages can effectively enhance the interactive atmosphere of the target conversation, and stimulate users in the target conversation to add a boost to the continuous repetition of multiple conversation messages, thereby increasing the activity of the target conversation.
- this embodiment of the application may also set a message easter egg reward , So that when the number of consecutively repeated multiple session messages is greater than the number threshold, the message sending user corresponding to each session message in the multiple session messages can get corresponding resource rewards.
- the social client can also obtain the corresponding master user The amount of electronic resources received.
- the amount of electronic resource withdrawal is calculated based on the total amount of electronic resources issued by the resource issuing user for multiple conversation messages;
- the resource issuing user here can be any user, for example, if the message type of the multiple conversation messages is For the blessing message type, the resource issuing user may be the target user who is blessed in the target conversation; for another example, if the message type of multiple conversation messages is the promotion message type, the resource issuing user may be the target enterprise.
- the social client can switch from the conversation interface to the resource withdrawal interface, and display the amount of electronic resource withdrawal and the user ID of the resource issuing user in the resource withdrawal interface.
- the schematic diagram of switching from the conversation interface to display the resource receiving interface can be seen in Figure 7H.
- the social client may also display a message sending button 71 at the display position of the image message. If the social client detects the triggering operation of the message sending button 71 by the master user, it can copy multiple conversation messages to obtain a new conversation message. And can directly display the new conversation message in the image message; or if the image message already contains a preset number of conversation messages, the second folding prompt can be updated with the new conversation message to realize the folding display of the new conversation message ;
- the update method can refer to the update method of the first fold prompt mentioned above, which will not be repeated here. Take the direct display of a new conversation message in an image message as an example.
- the master user can click the message sending button 71 to trigger the social client to send a message as A new conversation message of "Hamburg, you deserve it!, the new conversation message can be displayed in the image message at this time, as shown in FIG. 7I.
- the master user can click the message sending button 71 to trigger the social client to send a message with the content of "Happy birthday [cake] [Cake][cake]", the new conversation message can be displayed in the image message at this time, as shown in Figure 7J.
- the host user can also manually enter the message content in the message input area 72 in the conversation interface; in this case, the social client can obtain the message content input by the host user in the message input area, according to the acquisition
- the received message content generates a new conversation message; if the obtained message content is the same as the message content of multiple conversation messages, the new conversation message is displayed in the image message.
- the social client may also support the target conversation message to be shared to other users in the form of a picture.
- the host user wants to share the target conversation message with other users in the form of a picture, he can perform the sharing operation on the target conversation message; accordingly, if the social client detects the sharing of the target conversation message Operation, the shared picture can be generated according to the target conversation message.
- the sharing operation may include any one of the following: detection of an operation instructing to share the user’s voice of the target conversation message, or detection of a long-press operation of a certain physical button in the terminal, or detection of a target conversation message Click or press the message sharing button 73; here, the message sharing button 73 is output to the conversation interface when the social client detects that the target conversation message is triggered, as shown in FIG. 7K.
- the social client can directly use the target conversation message to generate a shared picture.
- the social client may first obtain the blessed target when generating a shared picture according to the target conversation message The user ID of the user; then based on the user ID of the target user and the image message, a shared picture is generated. After generating the shared picture, you can switch from the conversation interface to the sharing interface, and display the shared picture in the sharing interface, as shown in Figure 7L.
- the sharing interface may also include a user selection area 74, a picture sharing button 75, and a picture editing button 76.
- the master user can select the user who receives the shared picture from the user selection area 74, and then click the picture sharing button 75 to trigger the social client to send the shared picture to the user selected by the master user.
- the master user can also edit the shared picture through the picture editing button 76, and send the edited shared picture to other users.
- the embodiment of the present application may generate image messages based on the multiple session messages and images matching the multiple session messages when there are multiple consecutively repeated session messages in the message set of the target session; and use the image message to replace the display in the session interface Multiple consecutive and repeated conversation messages in the message set. This can enrich the display form of multiple consecutively repeated conversation messages, effectively reduce the boring screen effect caused by directly displaying multiple conversation messages, enrich the message display methods of social clients, and effectively increase the user stickiness of social clients .
- the embodiment of the present application also proposes the social client as shown in FIG. 8A.
- the social client in the embodiment of the present application may at least include the following functional components: a chat window component 81, a message caching component 82, a message processing component 83, and so on.
- the chat window component 81 is a component that can interact with the user, record each message in the conversation, and draw and display the conversation interface.
- the chat window component 81 may be a common chat window component (All In One, AIO); the so-called AIO is a chat window component shared by different sessions.
- the social client 81 can regard the user's input, click operation and other behavior habits detected by the AIO in different sessions as consistent, so as to provide the user with a unified interactive experience.
- the message caching component 112 is a component that can read each message of the target conversation from the chat window component, and cache the read messages.
- the message processing component 83 is a component formed by the abstract model of a repeated message processor. It is mainly used to take each message cached in the message cache component 82 as input, and perform internal calculations on multiple consecutively repeated conversation messages. The partial folding or merging process is performed, and the target conversation message generated by the folding or merging process is used to replace the original continuously repeated multiple conversation messages, so that the chat window component 81 displays the locally generated target conversation message on the conversation interface.
- this embodiment of the present application adds an abstract model of a repeated message processor, and uses the abstract model as a message processing component 83 to be built in the social client; this eliminates the need to modify the server.
- the code logic of the message cache component 82 in the social client only the user interface (UI) layer needs to extend the code logic to display the target conversation message, and the social client can detect multiple consecutive repeated conversations. Messages, and the function of folding or merging multiple consecutively repeated conversation messages. It can be seen that the embodiment of the present application implements the folding or combined display of conversation messages by adding a message processing component 83 to the social client, which can reduce code logic modification to a certain extent, and can effectively save labor costs.
- the social client When the user wants to view the conversation message of a target conversation, he can open the conversation interface of the target conversation to enter the chat window; correspondingly, if the social client detects the user’s opening operation for the conversation interface of the target conversation, it can go through the steps s80 calls the internal message cache component 82 to read the message set of the target conversation from the chat window component 81; each message in the message set is pushed to the chat window component 81 by the server. Then, the social client can pass the message set as input to the message processing component 83 through step s81.
- the message processing component 83 can traverse the message set through step s82 and detect whether there are continuously repeated multiple session messages in the message set; in actual implementation, it can detect whether there are N or N continuously repeated messages in the message set.
- the first folding prompt is used to replace part of the folded conversation messages in the message set to obtain a list of messages to be displayed; and through step s85, the list of messages to be displayed is sent to the chat window component 81.
- the chat window component 81 can sequentially traverse and display each message in the message list to be displayed in the conversation interface through step s86; if it traverses to the first folding prompt in the message list to be displayed, it will be displayed in the style of folding prompt The message.
- the social client may first cache the new session message in the message set through the message caching component 82 in step s87 to update the message set, thereby ensuring that the message caching component 82 The cached message set completely contains all messages of the target conversation. Then, in step s88, the message cache component 82 transmits the new session message to the message processing component 83; correspondingly, after receiving the new session message, the message processing component 83 can use the new session message to update the pending message in step s89.
- an implementation manner of updating the list of messages to be displayed with a new conversation message may be: if the last message in the list of messages to be displayed except for the system prompt message is the first folding prompt, then it is detected whether the new conversation message is the same as the collapsed message. The conversation message is repeated; if it is repeated, the first collapsed prompt is updated with the new conversation message to update the list of messages to be displayed; if it is not repeated, the new conversation message is added to the end of the list of messages to be displayed to update List of messages to be displayed.
- the to-be-displayed message list check whether there are consecutive N-1 conversation messages that are repeated with the new conversation message in the order from back to front. ; If yes, perform folding processing on the N-1 conversation messages and part of the new conversation messages to obtain the first folding prompt, and add the first folding prompt to the list of messages to be displayed to update the list of messages to be displayed ; If not, add the new conversation message to the end of the list of messages to be displayed to update the list of messages to be displayed.
- the social client can also detect the message types of multiple conversation messages; based on this, the embodiment of the present application can also build a type determination component in the social client 84.
- the message processing component 83 may send the multiple conversation messages to the type determination component 84.
- the type determination component 84 can determine the message types of the multiple conversation messages by keyword matching, and the message types may include the first type or the second type; and then the multiple conversation messages The message type of is fed back to the message processing component 82.
- steps s83-s85 can be executed.
- the message type is the second type
- an image message can be generated based on multiple conversation messages.
- the image message contains all the continuously repeated conversation messages as an example; then the image message can be used to replace the continuous repeated multiple conversations in the message set Message to obtain a list of messages to be displayed; then the list of messages to be displayed is sent to the chat window component 81 through step s86.
- the chat window component 81 can use the display logic shown in FIG. 8C to sequentially traverse and display each message in the message list to be displayed in the conversation interface; in actual implementation, see FIG. 8C, the chat window component 81
- the steps of displaying each message in the message list to be displayed may include:
- Step 801 Obtain a list of messages to be displayed
- Step 802 Traverse the list of messages to be displayed
- Step 803 Determine whether the currently traversed message is a message other than the first folding prompt and image message, if not, go to step 804; if yes, go to step 806;
- Step 804 Determine whether the currently traversed message is the first folding prompt, if not, go to step 805; if yes, go to step 807;
- Step 805 Display the message in the style of an image message
- Step 806 directly display the message
- Step 807 Display the message in a folding prompt style.
- the message display logic of the embodiment of the present application can display a part of the continuously repeated session messages when there are continuously repeated session messages in the target session, and the number of continuously repeated session messages reaches the preset number (N pieces).
- N pieces the preset number
- an embodiment of the present application also discloses a message display device.
- the message display device may be a computer program (including program code) running in a terminal.
- the message display device can execute the method shown in FIG. 2 or FIG. 6. Referring to Figure 9, the message display device can run the following units:
- the display unit 901 is configured to display the conversation interface of the target conversation
- the obtaining unit 902 is configured to obtain the message set of the target conversation
- the display unit 901 is further configured to obtain a target session message according to the multiple session messages if there are multiple consecutively repeated session messages in the message set;
- the display unit 901 is further configured to use the target conversation message to replace multiple consecutively repeated conversation messages in the message set, and display the replaced message set on the conversation interface of the target conversation.
- the display unit 901 when the display unit 901 is configured to obtain a target conversation message according to the multiple conversation messages, it may select a reference conversation message from the multiple conversation messages;
- the reference conversation message and the first folding prompt are used to form a target conversation message.
- each session message in the message set has a message receiving time; correspondingly, when the display unit 901 is configured to select a reference session message from the plurality of session messages, Among the conversation messages, the conversation message with the earliest message reception time is selected as the reference conversation message; or,
- a preset number of conversation messages are sequentially selected as reference conversation messages in the order of message reception time from morning to night.
- the display unit 901 when the display unit 901 is configured to select a reference conversation message from the plurality of conversation messages, if there is a conversation message sent by a master user in the plurality of conversation messages, the master The session message sent by the state user is used as the reference session message;
- the target session is established by a social client
- the master user refers to a user corresponding to a social account logged in to the social client.
- the first folding prompt includes a folding identifier; correspondingly, the display unit 901 is configured to perform folding processing on the remaining conversation messages excluding the reference conversation message among the plurality of conversation messages to obtain When the first fold is prompted, determine the remaining number of remaining session messages in the plurality of session messages except for the reference session message;
- a folding identifier is generated.
- the first folding prompt includes a folding message; correspondingly, the display unit 901 is configured to perform folding processing on the remaining conversation messages except the reference conversation message among the plurality of conversation messages to obtain When the first fold is prompted, the prompt content is generated according to the remaining number of the remaining conversation messages other than the reference conversation message among the plurality of conversation messages, and the message content of the remaining conversation messages; the prompt content is used to prompt existence The remaining number of users continuously sent the message content, or used to prompt that there is a continuous remaining number of messages that contain the message content;
- the user identification includes at least one of the following: a user name and a user mark image;
- a folded message is generated.
- the folded message includes a message link for triggering the display of the remaining message; correspondingly, the display unit 901 may also be configured to:
- a message display window is output in the conversation interface, and the remaining conversation messages and the user identification of the corresponding message sender are displayed in the message display window.
- the target conversation message includes an image message
- the image message is a message generated based on the plurality of conversation messages and an image matching the message content of the plurality of conversation messages
- the display unit 901 is configured to obtain a message display template that matches the message content of the multiple conversation messages when obtaining the target conversation message according to the multiple conversation messages;
- the message display template includes the following three areas: top Area, middle area and bottom area, and images matching the content of the message are displayed in each area;
- each session message in the message set has a message receiving time; correspondingly, the display unit 901 is configured to fill the multiple session messages in the middle area of the message display template to obtain
- a preset number of conversation messages are sequentially selected from the plurality of conversation messages in the order of message reception time from morning to night; the selected conversation messages are filled into the middle area of the message display template to obtain Image message
- the display unit 901 may also be configured to: perform folding processing on the unselected conversation messages among the plurality of conversation messages to obtain a second folding prompt; and add the second folding prompt to the target conversation message middle.
- the display unit 901 may also be configured as:
- the multiple conversation messages include conversation messages sent by the master user; correspondingly, the acquiring unit 902 may also be configured to: if the number of the multiple conversation messages is greater than the number threshold, acquire all the conversation messages.
- the amount of electronic resources received by the host user; the amount of electronic resources received is calculated based on the total amount of electronic resources issued by the resource issuing user for the multiple conversation messages;
- the display unit 901 may also be configured to: The conversation interface is switched to the resource receiving interface, and the electronic resource receiving amount and the user identification of the resource issuing user are displayed in the resource receiving interface.
- the display unit 901 may also be configured as:
- the message options of each displayed conversation message are output in the conversation interface; the message options are used to select the displayed conversation information;
- the displayed conversation message corresponding to the selected message option is taken as the collapsed conversation message
- a collapsed message is created according to the collapsed conversation message, and the collapsed message is used in the conversation interface to replace and display the collapsed conversation message.
- the display unit 901 is configured to, if a selection completion event is detected, create a collapsed message based on the collapsed conversation message, and if a selection completion event is detected, output a message naming window;
- the user ID of the sending user is generated according to the custom message name and the message of the collapsed session message, and a collapsed message is generated.
- the display unit 901 may be further configured to: when the collapse message is triggered, output an operation option window related to the collapse message, and the operation option window includes at least one of the following operation options : Copy option, forward option, reply option, favorite option and selection option;
- the message display device may further include a processing unit 903, which may be configured to: determine the selected operation option from the operation option window according to the selection operation detected in the operation option window; The selected operation option performs a corresponding operation on the folding message.
- a processing unit 903 may be configured to: determine the selected operation option from the operation option window according to the selection operation detected in the operation option window; The selected operation option performs a corresponding operation on the folding message.
- the message set includes at least one of the following messages: conversational messages and non-conversational messages; correspondingly, the processing unit 903 may also be configured to:
- steps S201 and S203-S204 shown in FIG. 2 may be executed by the display unit 901 shown in FIG. 9, and step S202 may be executed by the obtaining unit 902 shown in FIG. 9; for another example, as shown in FIG.
- the steps involved in step S601 "display the conversation interface of the target conversation” and steps S605-S606 can be performed by the display unit 901 shown in FIG. 9, and the steps involved in step S601 "obtain the message set of the target conversation" can be performed by
- the acquiring unit 902 shown in FIG. 9 is executed, and steps S602-S604 may be executed by the processing unit 903 shown in FIG. 9.
- Each unit in the message display device shown in FIG. 9 can be separately or completely combined into one or several other units to form, or some of the units can be further divided into functionally smaller units. It is composed of units, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application.
- the above-mentioned units are divided based on logical functions. In practical applications, the function of one unit may also be realized by multiple units, or the functions of multiple units may be realized by one unit. In the embodiment of the present application, the message-based display device may also include other units. In practical applications, these functions may also be implemented with the assistance of other units, and may be implemented by multiple units in cooperation.
- the embodiments of the present application can be implemented in processing elements and storage elements including central processing unit (CPU, Central Processing Unit), random access storage medium (RAM, Random Access Memory), read-only storage medium (ROM, Read-Only Memory), etc.
- a general-purpose computing device such as a computer runs a computer program (including program code) capable of executing the steps involved in the corresponding method shown in FIG. 2 or FIG. 6 to construct the message display device as shown in FIG. 9 , And to implement the message display method of the embodiment of the present application.
- the computer program may be recorded on, for example, a computer-readable recording medium, and loaded into the above-mentioned computing device through the computer-readable recording medium, and run in it.
- the embodiment of the application may obtain the target session message according to the multiple session messages when there are multiple consecutively repeated session messages in the message set of the target session; and replace the multiple consecutively repeated session messages in the message set with the target session message, and then The replaced message set is displayed in the conversation interface of the target conversation.
- the social client can use the target conversation message to replace the display in the conversation interface for multiple consecutive repeated conversation messages; this can effectively reduce the boring brush caused by directly displaying multiple conversation messages.
- the screen effect enriches the message display methods of the social client and can effectively increase the user stickiness of the social client.
- an embodiment of the present application also provides a terminal.
- the terminal includes at least a processor 1001, an input device 1002, an output device 1003, and a computer storage medium 1004.
- the processor 1001, the input device 1002, the output device 1003, and the computer storage medium 1004 in the terminal may be connected by a bus or other methods.
- the social client mentioned in the foregoing embodiment may also be running in the terminal.
- the computer storage medium 1004 may be stored in the memory of the terminal.
- the computer storage medium 1004 is used to store a computer program.
- the computer program includes program instructions.
- the processor 1001 is configured to execute the program instructions stored in the computer storage medium 1004. .
- the processor 1001 (or Central Processing Unit (CPU)) is the computing core and control core of the terminal.
- the processor 1001 described in the embodiment of the present application may be configured to perform a series of message display processing, including: displaying the conversation interface of the target conversation, and obtaining the message set of the target conversation; If there are multiple consecutively repeated session messages in the message set, the target session message is obtained according to the multiple session messages; the target session message is used to replace the continuously repeated multiple session messages in the message set, and the target session message is The replaced message set is displayed in the conversation interface of the conversation, and so on.
- the embodiment of the present application also provides a computer storage medium (Memory).
- the computer storage medium is a memory device in a terminal for storing programs and data; for example, a computer storage medium can be used for storing program code instructions of a social client.
- the computer storage medium herein may include a built-in storage medium in the terminal, and of course, may also include an extended storage medium supported by the terminal.
- the computer storage medium provides storage space, and the storage space stores the operating system of the terminal.
- one or more instructions suitable for being loaded and executed by the processor 1001 are stored in the storage space, and these instructions may be one or more computer programs (including program codes).
- the computer storage medium here can be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk memory; optionally, it can also be at least one located far away from the aforementioned processor.
- Computer storage media can be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk memory; optionally, it can also be at least one located far away from the aforementioned processor.
- the processor 1001 can load and execute one or more instructions on the social client stored in the computer storage medium to implement the corresponding steps of the method in the above-mentioned message display method embodiment; in implementation, the computer stores One or more instructions in the medium are loaded by the processor 1001 and execute the following steps:
- the target conversation message is used to replace the continuously repeated multiple conversation messages in the message set, and the replaced message set is displayed in the conversation interface of the target conversation.
- the embodiment of the application may obtain the target session message according to the multiple session messages when there are multiple consecutively repeated session messages in the message set of the target session; and replace the multiple consecutively repeated session messages in the message set with the target session message, and then The replaced message set is displayed in the conversation interface of the target conversation.
- the social client can use the target conversation message to replace the display in the conversation interface for multiple consecutive repeated conversation messages; this can effectively reduce the boring brush caused by directly displaying multiple conversation messages.
- the screen effect enriches the message display methods of the social client and can effectively increase the user stickiness of the social client.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
- Document Processing Apparatus (AREA)
Abstract
Description
Claims (18)
- 一种消息显示方法,所述方法由终端执行,所述方法包括:显示目标会话的会话界面,并获取所述目标会话的消息集;若所述消息集中存在连续重复的多条会话消息,则根据所述多条会话消息获取目标会话消息;采用所述目标会话消息替换所述消息集中的所述连续重复的多条会话消息,并在所述目标会话的会话界面中显示替换后的消息集。
- 如权利要求1所述的方法,其中,所述根据所述多条会话消息获取目标会话消息,包括:从所述多条会话消息中选取参考会话消息;对所述多条会话消息中除所述参考会话消息以外的剩余会话消息进行折叠处理,得到第一折叠提示;采用所述参考会话消息和所述第一折叠提示,组成目标会话消息。
- 如权利要求2所述的方法,其中,所述消息集中的每条会话消息均具有消息接收时间;所述从所述多条会话消息中选取参考会话消息,包括:从所述多条会话消息中,选取消息接收时间最早的会话消息作为参考会话消息;或者,从所述多条会话消息中,按照消息接收时间从早到晚的顺序依次选取预设数量的会话消息作为参考会话消息。
- 如权利要求3所述的方法,其中,所述从所述多条会话消息中选取参考会话消息,还包括:若所述多条会话消息中存在登录用户所发送的会话消息,则将所述登录用户所发送的会话消息作为所述参考会话消息;其中,所述目标会话由社交客户端建立,所述登录用户是指登录所述社交客户端的社交账号所对应的用户。
- 如权利要求2所述的方法,其中,所述第一折叠提示包括折叠标识;所述对所述多条会话消息中除所述参考会话消息以外的剩余会话消息进行折叠处理,得到第一折叠提示,包括:确定所述多条会话消息中除所述参考会话消息以外的剩余会话消息的剩余数量;根据所述剩余会话消息的剩余数量,生成折叠标识。
- 如权利要求2所述的方法,其中,所述第一折叠提示包括折叠消息;所述对所述多条会话消息中除所述参考会话消息以外的剩余会话消息进行折叠处理,得到第一折叠提示,包括:根据所述多条会话消息中除所述参考会话消息以外的剩余会话消息的剩余数量,以及所述剩余会话消息的消息内容生成提示内容;所述提示内容用于提示存在所述剩余数量个用户连续发送了所述消息内容,或者用于提示存在连续的所述剩余数量条消息包含了所述消息内容;获取所述剩余会话消息所对应的消息发送用户的用户标识,所述用户标识包括以下至少一项:用户名称以及用户标记图像;根据获取到的用户标识和所述提示内容,生成折叠消息。
- 如权利要求5所述的方法,其中,所述折叠消息中包括用于触发显示所述剩 余消息的消息链接;所述方法还包括:当所述折叠消息中的消息链接被触发时,在所述会话界面显示所述剩余会话消息以及对应的消息发送用户的用户标识;或者,当所述折叠消息中的消息链接被触发时,在所述会话界面中输出消息显示窗口,并在所述消息显示窗口中显示所述剩余会话消息以及对应的消息发送用户的用户标识。
- 如权利要求1所述的方法,其中,所述目标会话消息包括图像消息,所述图像消息是根据所述多条会话消息以及与所述多条会话消息的消息内容相匹配的图像所生成的消息;所述根据所述多条会话消息获取目标会话消息,包括:获取与所述多条会话消息的消息内容相匹配的消息展示模板;所述消息展示模板包含以下三个区域:顶部区域、中间区域和底部区域,且每个区域内显示有与所述消息内容相匹配的图像;将所述多条会话消息填充至所述消息展示模板的中间区域,得到图像消息;并将所述图像消息添加至所述目标会话消息中。
- 如权利要求8所述的方法,其中,所述消息集中的每条会话消息均具有消息接收时间;所述将所述多条会话消息填充至所述消息展示模板的中间区域,得到图像消息,包括:从所述多条会话消息中,按照消息接收时间从早到晚的顺序依次选取预设数量的会话消息;将被选取的会话消息填充至所述消息展示模板的中间区域,得到图像消息;所述方法还包括:对所述多条会话消息中未被选取的会话消息进行折叠处理,得到第二折叠提示;并将所述第二折叠提示添加至所述目标会话消息中。
- 如权利要求8所述的方法,其中,所述方法还包括:若检测到针对所述目标会话消息的分享操作,则根据所述目标会话消息生成分享图片;从所述会话界面切换至分享界面,并在所述分享界面中显示所述分享图片。
- 如权利要求8所述的方法,其中,所述多条会话消息中包含登录用户发送的会话消息;所述方法还包括:若所述多条会话消息的数量大于数量阈值,则获取所述登录用户对应的电子资源领取量;所述电子资源领取量是根据资源发放用户针对所述多条会话消息所发放的电子资源总量计算得到的;从所述会话界面切换至资源领取界面,并在所述资源领取界面中显示所述电子资源领取量和所述资源发放用户的用户标识。
- 如权利要求1所述的方法,其中,所述方法还包括:若检测到针对所述会话界面中已显示的会话消息的选择触发事件,则在所述会话界面中输出各已显示的会话消息的消息选项;所述消息选项用于选择所述已显示的会话消息;根据针对所述会话界面中的消息选项的选择操作,将被选择的消息选项所对应的已显示的会话消息作为被收折的会话消息;若检测到选择完成事件,则根据所述被收折的会话消息创建收折消息,并在所述会话界面中采用所述收折消息替换显示所述被收折的会话消息。
- 如权利要求12所述的方法,其中,所述若检测到选择完成事件,则根据所述被收折的会话消息创建收折消息,包括:若检测到选择完成事件,则输出消息命名窗口;在所述消息命名窗口中,获取针对所述被收折的会话消息设置的自定义消息名称;若检测到针对所述自定义消息名称的确认操作,则根据所述自定义消息名称和所述被收折的会话消息的消息发送用户的用户标识,生成收折消息。
- 如权利要求12所述的方法,其中,所述方法还包括:当所述收折消息被触发时,输出关于所述收折消息的操作选项窗口,所述操作选项窗口中包括以下至少一种操作选项:复制选项、转发选项、回复选项、收藏选项和选择选项;根据在所述操作选项窗口中检测到的选择操作,从所述操作选项窗口中确定被选择的操作选项;根据所述被选择的操作选项对所述收折消息执行相应操作。
- 如权利要求1所述的方法,其中,所述消息集包括以下至少一种消息:会话消息和非会话消息;所述方法还包括:从所述消息集中筛选出会话消息,并计算筛选出的会话消息中连续重复的会话消息的数量;若计算得到的数量大于或等于预设数量,则确定所述消息集中存在连续重复的多条会话消息;若计算得到的数量小于所述预设数量,则确定所述消息集中不存在连续重复的多条会话消息。
- 一种消息显示装置,所述装置包括:显示单元,配置为显示目标会话的会话界面;获取单元,配置为获取所述目标会话的消息集;所述显示单元,还配置为若所述消息集中存在连续重复的多条会话消息,则根据所述多条会话消息获取目标会话消息;所述显示单元,还配置为采用所述目标会话消息替换所述消息集中的连续重复的多条会话消息,并在所述目标会话的会话界面中显示替换后的消息集。
- 一种终端,所述终端包括:处理器和存储器;其中,所述存储器中存储有至少一条程序代码,所述至少一条程序代码由所述处理器加载并执行以实现如权利要求1至权利要求15任一项所述的消息显示方法。
- 一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条程序代码,所述至少一条程序代码由处理器加载并执行以实现如权利要求1至权利要求15任一项所述的消息显示方法。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022546110A JP7472296B2 (ja) | 2020-05-14 | 2021-04-19 | メッセージ表示方法、メッセージ表示装置、端末及びコンピュータプログラム |
US17/709,055 US20220224663A1 (en) | 2020-05-14 | 2022-03-30 | Message Display Method and Apparatus, Terminal, and Computer-Readable Storage Medium |
JP2024063447A JP2024086854A (ja) | 2020-05-14 | 2024-04-10 | メッセージ表示方法、装置、端末及びコンピュータ読み取り可能記憶媒体 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010410263.5A CN111614547B (zh) | 2020-05-14 | 2020-05-14 | 消息显示方法、装置、终端及介质 |
CN202010410263.5 | 2020-05-14 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/709,055 Continuation US20220224663A1 (en) | 2020-05-14 | 2022-03-30 | Message Display Method and Apparatus, Terminal, and Computer-Readable Storage Medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021227779A1 true WO2021227779A1 (zh) | 2021-11-18 |
Family
ID=72204816
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/088042 WO2021227779A1 (zh) | 2020-05-14 | 2021-04-19 | 消息显示方法、装置、终端及计算机可读存储介质 |
Country Status (4)
Country | Link |
---|---|
US (1) | US20220224663A1 (zh) |
JP (2) | JP7472296B2 (zh) |
CN (2) | CN116886660A (zh) |
WO (1) | WO2021227779A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114422482A (zh) * | 2022-01-19 | 2022-04-29 | 北京字跳网络技术有限公司 | 消息的发送方法、装置、电子设备、存储介质和程序产品 |
CN115412517A (zh) * | 2022-08-05 | 2022-11-29 | 北京达佳互联信息技术有限公司 | 会话显示方法、会话消息处理方法、设备和存储介质 |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116886660A (zh) * | 2020-05-14 | 2023-10-13 | 腾讯科技(深圳)有限公司 | 消息显示方法、装置、终端及介质 |
CN114527913B (zh) * | 2020-11-06 | 2024-03-19 | 腾讯科技(深圳)有限公司 | 消息显示方法及装置、终端设备 |
CN114598674B (zh) * | 2020-11-20 | 2024-07-23 | 腾讯科技(深圳)有限公司 | 一种数量统计方法、装置、设备及存储介质 |
US12021807B2 (en) * | 2021-03-12 | 2024-06-25 | Avaya Management L.P. | Aggregation and aggregation omission of messages |
CN116016415A (zh) * | 2022-12-28 | 2023-04-25 | 网易(杭州)网络有限公司 | 会话消息的提示方法、装置、设备及存储介质 |
US12056450B1 (en) * | 2023-05-31 | 2024-08-06 | Dell Products L.P. | Message content reduction using message templates |
CN118433144B (zh) * | 2024-07-04 | 2024-10-18 | 阿里健康科技(杭州)有限公司 | 目标即时通信消息的确定方法及相关装置 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103744592A (zh) * | 2013-12-26 | 2014-04-23 | 华为技术有限公司 | 一种信息处理的方法及终端 |
CN105760104A (zh) * | 2016-02-26 | 2016-07-13 | 深圳市金立通信设备有限公司 | 一种消息处理方法及终端 |
US20180321806A1 (en) * | 2017-05-04 | 2018-11-08 | Microsoft Technology Licensing, Llc | Arranging user representations according to a priority of users that are concurrently generating instant message content |
CN110048862A (zh) * | 2019-03-08 | 2019-07-23 | 北京三快在线科技有限公司 | 消息显示方法、装置、电子设备 |
CN111614547A (zh) * | 2020-05-14 | 2020-09-01 | 腾讯科技(深圳)有限公司 | 消息显示方法、装置、终端及介质 |
CN111865758A (zh) * | 2020-06-19 | 2020-10-30 | 维沃移动通信(杭州)有限公司 | 一种消息显示方法、装置及电子设备 |
Family Cites Families (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20000054321A (ko) * | 2000-06-01 | 2000-09-05 | 김용태 | 그림 메일 송수신 시스템 및 방법 |
JP2002175068A (ja) * | 2000-09-22 | 2002-06-21 | Canon Inc | 画像表示システム、画像表示方法、記憶媒体及び画像表示装置 |
US9270806B2 (en) * | 2011-06-24 | 2016-02-23 | Google Inc. | Graphical user interface which displays profile information associated with a selected contact |
KR101942308B1 (ko) * | 2012-08-08 | 2019-01-25 | 삼성전자주식회사 | 메시지 기능을 제공하기 위한 방법 및 그 전자 장치 |
WO2015149025A1 (en) * | 2014-03-27 | 2015-10-01 | Dropbox, Inc. | Activation of dynamic filter generation for message management systems through gesture-based input |
CN106375179B (zh) * | 2015-07-23 | 2020-04-21 | 腾讯科技(深圳)有限公司 | 一种显示即时通信消息的方法和装置 |
US9608950B2 (en) * | 2015-08-18 | 2017-03-28 | Blend Systems, Inc. | Systems and methods for sharing videos and images in a texting environment |
CN105530372A (zh) * | 2015-12-03 | 2016-04-27 | 小米科技有限责任公司 | 消息显示方法、装置及终端设备 |
CN107404387A (zh) * | 2016-05-19 | 2017-11-28 | 阿里巴巴集团控股有限公司 | 一种群信息的处理方法、装置 |
US10509531B2 (en) * | 2017-02-20 | 2019-12-17 | Google Llc | Grouping and summarization of messages based on topics |
CN108334388B (zh) * | 2017-07-28 | 2019-09-17 | 腾讯科技(深圳)有限公司 | 会话背景处理方法、装置、计算机设备和存储介质 |
CN109587031A (zh) * | 2017-09-28 | 2019-04-05 | 阿里巴巴集团控股有限公司 | 数据处理方法 |
US20190121907A1 (en) * | 2017-10-23 | 2019-04-25 | International Business Machines Corporation | Grouping messages based on temporal and multi-feature similarity |
EP3718015B1 (en) * | 2017-11-27 | 2024-08-21 | RealNetworks LLC | Messaging platform communication processing using message cluster detection and categorization |
CN110505141B (zh) * | 2018-05-17 | 2022-10-28 | 腾讯科技(深圳)有限公司 | 即时通讯消息的处理方法、装置、可读介质及电子设备 |
CN108881624B (zh) * | 2018-05-30 | 2021-08-31 | 维沃移动通信有限公司 | 一种消息显示方法及终端设备 |
US11201844B2 (en) * | 2018-08-29 | 2021-12-14 | International Business Machines Corporation | Methods and systems for managing multiple topic electronic communications |
KR102690215B1 (ko) * | 2019-03-26 | 2024-08-01 | 라인플러스 주식회사 | 대화 스레드를 표시하기 위한 방법 및 시스템 |
-
2020
- 2020-05-14 CN CN202310865084.4A patent/CN116886660A/zh active Pending
- 2020-05-14 CN CN202010410263.5A patent/CN111614547B/zh active Active
-
2021
- 2021-04-19 JP JP2022546110A patent/JP7472296B2/ja active Active
- 2021-04-19 WO PCT/CN2021/088042 patent/WO2021227779A1/zh active Application Filing
-
2022
- 2022-03-30 US US17/709,055 patent/US20220224663A1/en active Pending
-
2024
- 2024-04-10 JP JP2024063447A patent/JP2024086854A/ja active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103744592A (zh) * | 2013-12-26 | 2014-04-23 | 华为技术有限公司 | 一种信息处理的方法及终端 |
CN105760104A (zh) * | 2016-02-26 | 2016-07-13 | 深圳市金立通信设备有限公司 | 一种消息处理方法及终端 |
US20180321806A1 (en) * | 2017-05-04 | 2018-11-08 | Microsoft Technology Licensing, Llc | Arranging user representations according to a priority of users that are concurrently generating instant message content |
CN110048862A (zh) * | 2019-03-08 | 2019-07-23 | 北京三快在线科技有限公司 | 消息显示方法、装置、电子设备 |
CN111614547A (zh) * | 2020-05-14 | 2020-09-01 | 腾讯科技(深圳)有限公司 | 消息显示方法、装置、终端及介质 |
CN111865758A (zh) * | 2020-06-19 | 2020-10-30 | 维沃移动通信(杭州)有限公司 | 一种消息显示方法、装置及电子设备 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114422482A (zh) * | 2022-01-19 | 2022-04-29 | 北京字跳网络技术有限公司 | 消息的发送方法、装置、电子设备、存储介质和程序产品 |
CN114422482B (zh) * | 2022-01-19 | 2024-05-10 | 北京字跳网络技术有限公司 | 消息的发送方法、装置、电子设备和存储介质 |
CN115412517A (zh) * | 2022-08-05 | 2022-11-29 | 北京达佳互联信息技术有限公司 | 会话显示方法、会话消息处理方法、设备和存储介质 |
CN115412517B (zh) * | 2022-08-05 | 2023-10-31 | 北京达佳互联信息技术有限公司 | 会话显示方法、会话消息处理方法、设备和存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN116886660A (zh) | 2023-10-13 |
US20220224663A1 (en) | 2022-07-14 |
CN111614547A (zh) | 2020-09-01 |
CN111614547B (zh) | 2023-06-09 |
JP2024086854A (ja) | 2024-06-28 |
JP7472296B2 (ja) | 2024-04-22 |
JP2023513030A (ja) | 2023-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021227779A1 (zh) | 消息显示方法、装置、终端及计算机可读存储介质 | |
US10728192B2 (en) | Apparatus and method for message reference management | |
US10116598B2 (en) | System and method for increasing clarity and expressiveness in network communications | |
US9425974B2 (en) | System and method for increasing clarity and expressiveness in network communications | |
JP4995973B2 (ja) | 電子メール会話を読むためのユーザインタフェース | |
KR102074022B1 (ko) | 네트워크 통신들에서 명확성 및 표현성을 증가시키기 위한 시스템 및 방법 | |
US9544265B2 (en) | Tracking interactive text-message communications | |
CN111193654B (zh) | 一种社交会话的处理方法、装置、终端及介质 | |
CN103493438B (zh) | 用于移动消息传递应用的优先收件箱通知和同步 | |
US20080212936A1 (en) | System and method for editing web-based video | |
WO2022206699A1 (zh) | 消息发送方法、装置及电子设备 | |
US20060031361A1 (en) | Method and apparatus for conversational annotation for instant messaging systems | |
WO2023016536A1 (zh) | 一种交互方法、装置、设备和存储介质 | |
WO2024007655A1 (zh) | 一种社交处理方法及相关设备 | |
WO2011160468A1 (zh) | 一种创建独立消息页的方法及装置 | |
CN112035206A (zh) | 一种消息处理方法及设备 | |
JP7478898B2 (ja) | メッセージングサービス | |
US10873554B2 (en) | Determining consensus among message participants based on message content | |
CN114527913A (zh) | 消息显示方法及装置、终端设备 | |
US20230342539A1 (en) | Information insertion method and apparatus, device, medium, and computer program product | |
US20240267347A1 (en) | Apparatus and method for flow-through editing in a quote-reply messaging system | |
US20240281103A1 (en) | Interaction method and apparatus based on multimedia content, and device and storage medium | |
CN110855554B (zh) | 一种内容聚合方法、装置、计算机设备和存储介质 | |
CN116418776A (zh) | 通信对象推荐方法、装置、计算机设备和存储介质 | |
CN117010344A (zh) | 会话信息的处理方法和装置、存储介质及电子装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21803571 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2022546110 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 18/04/2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21803571 Country of ref document: EP Kind code of ref document: A1 |