Message sending method, message receiving method, apparatus, computer device and computer program
The described method and system enhance instant messaging by allowing interactive messages to trigger avatar videos, addressing the lack of engaging and efficient interactions in existing technologies.
Patent Information
- Application Number
- JP2022553008
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-05-20
- Filing Date
- 2021-04-20
- Publication Date
- 2025-04-07
- Estimated Expiration
- 2041-04-20
AI Technical Summary
Existing instant messaging technologies lack interactive methods with light reminder capabilities, making interactions in chat scenarios less engaging and efficient.
A method and system for sending and receiving interactive messages that trigger avatar videos on chat interfaces, allowing users to interact with avatars by triggering commands, such as double taps, to generate and send interactive messages.
This approach provides a new interactive method with light reminder features, enhancing user engagement in chat scenarios while reducing redundant interactive operations, thus simplifying the process and improving efficiency.
Smart Images

Figure 0007657815000001 
Figure 0007657815000002 
Figure 0007657815000003
Abstract
Description
[Technical field]
[0001] This application claims the benefit of priority from a Chinese patent application bearing application number 202010432596.8 filed on May 20, 2020 and entitled "Message sending method, message receiving method, device, equipment and medium," the entire contents of which are incorporated herein by reference.
[0002] TECHNICAL FIELD The embodiments of the present application relate to the field of instant messaging, and in particular to a method, apparatus, device and medium for sending and receiving messages. [Background technology]
[0003] The instant messaging service provides a private chat function and a group chat function. The private chat function is a chat function between two user accounts, and the group chat function is a chat function between multiple user accounts. Summary of the Invention
[0004] The embodiments of the present disclosure provide a message sending method, a message receiving method, an apparatus, a device and a medium, and can provide a message interactive manner with a light reminder function.
[0005] According to one aspect of the present disclosure, there is provided a method for sending a message, the method being executed by a first client in which a first user account is logged in, the method comprising: displaying a first chat interface, the first chat interface displaying avatars of at least two user accounts, including the first user account and a second user account; generating an interactive message in response to an interactive command triggered on an avatar of the second user account; sending the interactive message to the second user account, the interactive message triggering the second client to display an avatar video of an avatar for the second user account in a second chat interface, the second client having the second user account logged in.
[0006] According to a further aspect of the present disclosure, there is provided a method of receiving a message, the method being executed by a second client on which a second user account is logged in, the method comprising: displaying a second chat interface, the second chat interface displaying avatars of at least two user accounts including the first user account and the second user account; receiving an interactive message from the first user account to send to the second user account; The interactive message is displayed in the second chat interface, and an avatar animation of an avatar of the second user account is displayed in the second chat interface.
[0007] In an optional design, the message display method of the interactive message is the same as the message display method of the system message.
[0008] In an optional design, message content of the interactive message includes a name of the first user account, a name of the second user account, and an operation description of the first user account relative to the second user account.
[0009] According to a further aspect of the present disclosure, there is provided a message sending device, the message sending device having a first user account logged in thereto, comprising: a display module for displaying a first chat interface, the first chat interface displaying avatars of at least two user accounts including the first user account and a second user account; a generation module that generates an interactive message in response to an interactive command triggered on an avatar of the second user account; and a sending module that sends the interactive message to the second user account, the interactive message triggering the second client to display an avatar video of an avatar of the second user account in a second chat interface, the second client having the second user account logged in.
[0010] In an optional design, the generation module generates the interactive message in response to a double tap (also referred to as a "double click") command triggered on an avatar of the second user account.
[0011] In an optional design, the display module displays an avatar animation of an avatar of the second user account in the first chat interface in response to an interactive command triggered on an avatar of the second user account.
[0012] In an optional design, the first chat interface displays multiple avatars of the second user account, and the display module, in response to an interactive command triggered on any one of the avatars of the second user account, displays an avatar animation of any one of the avatars in an avatar area corresponding to the any one of the avatars.
[0013] In an optional design, the display module displays the interactive message in the first chat interface.
[0014] In an optional design, the display module displays message content of the interactive message on the first chat interface, and a message display manner of the interactive message is different from a message display manner of a chat message.
[0015] In an optional design, the message display method of the interactive message is the same as the message display method of the system message.
[0016] In an optional design, the display module automatically scrolls to the last message in the first chat interface in response to the display content in the first chat interface not including the last message, the last message including message content of the interactive message.
[0017] In an optional design, the message content includes a name of the first user account, a name of the second user account, and an operation description of the first user account relative to the second user account.
[0018] The name includes at least one of a remark name, a nickname in a group, and a custom nickname.
[0019] In an optional design, the action description is a description of at least one of the actions of touching, hitting, patting, punching, kicking, cutting, and kissing.
[0020] In an optional design, the display module displays a property page of the first user account in response to a first trigger command on the name of the first user account, or displays a property page of the second user account in response to a second trigger command on the name of the second user account.
[0021] In an optional design, the display module collapses and displays all or part of the n interactive messages in response to n interactive messages being consecutively present in the first chat interface and all being in a read state, or collapses and displays all or part of the m interactive messages in response to m interactive messages (m being an integer greater than 1) being consecutively present in the first chat interface and each being before the last non-interactive message, the non-interactive messages being messages other than the interactive messages.
[0022] According to a further aspect of the present disclosure, there is provided a message receiving device, the message receiving device having a second user account logged in, comprising: a display module for displaying a second chat interface, the second chat interface displaying avatars of at least two user accounts including the first user account and the second user account; a receiving module for receiving an interactive message sent by the first user account to the second user account; The display module displays the interactive message in the second chat interface and displays an avatar animation of an avatar of the second user account in the second chat interface.
[0023] In an optional design, the display module displays message content of the interactive message on the second chat interface, and a message display manner of the interactive message is different from a message display manner of a chat message.
[0024] In an optional design, the display module displays an avatar animation of an avatar of the second user account in an avatar region corresponding to a chat message sent from the second user account and closest to the interactive message.
[0025] In an optional design, the display module displays all or part of the n interactive messages in a collapsed manner in response to n interactive messages being consecutively present in the second chat interface and all being in a read state, or displays all or part of the m interactive messages in a collapsed manner in response to m interactive messages being consecutively present in the second chat interface and each being before the last non-interactive message.
[0026] According to a further aspect of the present disclosure, there is provided a computer device comprising a processor and a memory for storing at least one instruction, at least one program, code set or instruction set that is loaded and executed by the processor to implement the message sending method or the message receiving method as described above.
[0027] According to a further aspect of the present disclosure, there is provided a computer readable storage medium, the computer readable storage medium storing at least one instruction, at least one program, code set, or instruction set to be loaded and executed by the processor to realize the message sending method or the message receiving method as described above.
[0028] The beneficial effects brought about by the proposed claims provided in the embodiments of the present disclosure include at least the following:
[0029] In response to the interactive command triggered on the avatar of the second user account, an interactive message is sent to the second user account, and the interactive message is used to trigger the second client to display an avatar video of the avatar of the second user account in the second chat interface. A new interactive method with a light reminder function is provided, which is suitable for interesting interactions in chat scenarios in a relaxed and comfortable atmosphere. Furthermore, a user can interact with other user accounts by simply triggering an interactive command on the avatar, thereby reducing redundant interactive operations between humans and computers, simplifying the operation process, and improving the efficiency of operation and interaction. [Brief description of the drawings]
[0030] In order to more clearly describe the technical solutions in the embodiments of the present disclosure, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments. The drawings in the following description are only some embodiments of the present disclosure, and it is obvious that those skilled in the art can also obtain other drawings from these drawings without paying creative labor. [Figure 1] FIG. 2 is a block diagram of a computer system provided by an exemplary embodiment of the present disclosure. [Diagram 2] FIG. 2 is a schematic diagram of an interactive message interface provided by an exemplary embodiment of the present disclosure. [Diagram 3] 11 is a flowchart of a message transmission provided by a further exemplary embodiment of the present disclosure; [Figure 4] 11 is a message receiving example provided by a further exemplary embodiment of the present disclosure; [Diagram 5] 11 is a message sending / receiving example provided by a further exemplary embodiment of the present disclosure; [Figure 6] FIG. 13 is an interface schematic diagram of a message sending / receiving method provided by a further exemplary embodiment of the present disclosure. [Figure 7] FIG. 13 is an interface schematic diagram of a message sending / receiving method provided by a further exemplary embodiment of the present disclosure. [Figure 8] FIG. 13 is an interface schematic diagram of a message sending / receiving method provided by a further exemplary embodiment of the present disclosure. [Figure 9] FIG. 11 is a flow diagram of a message sending / receiving method provided by a further exemplary embodiment of the present disclosure. [Figure 10] 13 is a schematic interface diagram of a character property page provided by another exemplary embodiment of the present disclosure. [Figure 11] 11 is a message sending / receiving flowchart provided by a further exemplary embodiment of the present disclosure; [Figure 12] FIG. 13 is a schematic diagram of a read folding strategy provided by a further exemplary embodiment of the present disclosure. [Figure 13] FIG. 13 is a schematic diagram of an interrupt folding strategy provided by a further exemplary embodiment of the present disclosure. [Figure 14] FIG. 2 is a block diagram of a message sending device provided by a further exemplary embodiment of the present disclosure. [Figure 15] FIG. 13 is a block diagram of a message receiving device provided by a further exemplary embodiment of the present disclosure; [Figure 16] FIG. 13 is a block diagram of a terminal provided by a further exemplary embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0031] In order to make the objectives, technical solutions and advantages of the present disclosure clearer, the embodiments of the present disclosure are described in more detail below with reference to the accompanying drawings.
[0032] 1 shows a block diagram of a computer system provided by an exemplary embodiment of the present disclosure. The computer system 100 includes a first terminal 110, a server 120, and a second terminal 130.
[0033] The first terminal 110 installs and executes a first client 111 supporting instant messaging, and optionally, the first client 111 is an application or web client having an instant messaging function. When the first terminal 110 executes the first client 111, the user interface of the first client 111 is displayed on the interface of the first terminal 110. Optionally, the application is one of an instant messaging program, a Weibo program, a voice call program, a conference program, a web community program, a payment program, a shopping program, a dating program, and a matchmaking support program. In an embodiment of the present disclosure, the application is exemplified as an instant messaging program. The first terminal 110 is a terminal used by a first user 112, and a first user account of the first user 112 is logged into the first client 111.
[0034] The second terminal 130 installs and executes a second client 131 supporting instant messaging, and optionally, the second client 131 is an application or web client having an instant messaging function. When the second terminal 130 executes the second client 131, the user interface of the second client 131 is displayed on the interface of the second terminal 130. Optionally, the application is one of an instant messaging program, a Weibo program, a voice call program, a conference program, a web community program, a payment program, a shopping program, a dating program, a matchmaking support program, and a game program. In an embodiment of the present disclosure, the application is exemplified as an instant messaging program. The second terminal 130 is a terminal used by a second user 132, and a second user account of the second user 132 is logged into the second client 131.
[0035] Optionally, the application installed on the first terminal 110 and the second terminal 130 is the same, or the applications installed on the two terminals are the same type of application on different operating system platforms (Android or IOS). For example, if the application is a game program, the first user account controls a first virtual character, and the second user account controls a second virtual character, and the first virtual character and the second virtual character are in the same virtual environment. Optionally, the first virtual character and the second virtual character may belong to the same camp, the same team, the same organization, the same hall, the same channel, or a friendship relationship, or the first virtual character and the second virtual character may have temporary communication permission. Optionally, the first virtual character and the second virtual character may belong to different camps, different teams, different organizations, different halls, different channels, or an enemy relationship.
[0036] Optionally, the applications installed on the first terminal 110 and the second terminal 130 are the same, or the applications installed on the two terminals are the same type of applications on different operating system platforms (Android or IOS). The first terminal 110 generally refers to one of the multiple terminals, and the second terminal 130 generally refers to the other of the multiple terminals. Only the first terminal 110 and the second terminal 130 are used as examples of the embodiment of the present disclosure. The first terminal 110 and the second terminal 130 may be the same or different device types. The device types include at least one of a smartphone, a tablet computer, an e-reader, an MP3 player, an MP4 player, a laptop computer, and a desktop computer.
[0037] Although only two terminals are shown in Fig. 1, in different embodiments, there are multiple other terminals 140 that can access the server 120. Optionally, there are one or more terminals 140 corresponding to developers, and a client development and editing platform supporting instant messaging is installed on the terminal 140, the developer can edit and update the client on the terminal 140, and the updated installation package of the client is sent to the server 120 via a wired or wireless network, and the first terminal 110 and the second terminal 130 can download the application installation package from the server 120 to update the client.
[0038] A first terminal 110, a second terminal 130, and another terminal 140 are connected to a server 120 via a wireless network or a wired network.
[0039] The server 120 includes at least one of a server, a plurality of servers, a cloud computing platform, and a virtualization center. The server 120 is configured to provide background services to clients supporting three-dimensional instant messaging. Optionally, the server 120 undertakes main computing tasks, and the terminal undertakes secondary computing tasks, or the server 120 undertakes secondary computing tasks, and the terminal undertakes main computing tasks, or the server 120 and the terminal perform collaborative computing in a distributed computing architecture.
[0040] In a schematic example, the server 120 includes a processor 122, a user account database 123, an instant messaging service module 124, and a user-facing input / output interface (I / O interface) 125. Here, the processor 122 is used to load instructions stored in the server 121 and process data in the user account database 123 and the instant messaging service module 124. The user account database 123 is used to store data of user accounts used in the first terminal 110, the second terminal 130, and the other terminals 140, such as avatars of the user accounts, nicknames of the user accounts, groups in which the user accounts exist, etc. The instant messaging service module 124 is used to provide multiple chat rooms (two-person chat or multi-person chat) for users to chat instant messaging, send emoticons, and send red envelopes. The user-facing I / O interface 125 is used to establish communication and exchange data with the first terminal 110 via a wireless or wired network, and to establish communication and exchange data with the second terminal 130.
[0041] The message sending / receiving method provided by the embodiment of the present disclosure will be described with reference to the above description of the implementation environment. For example, the method is performed on a client running on a terminal shown in Figure 1. The terminal is run by a client that is an application supporting instant messaging.
[0042] 2 shows a first chat interface 10 of a first client 111 and a second chat interface 20 of a second client 131. A first user account is logged in to the first client 111, and a second user account is logged in to the second client 131. The first user account and the second user account can send and receive chat messages in a two-person chat or a multi-person group chat. The first chat interface 10 and the second chat interface 20 display an avatar 12 of the first user account and chat messages, and an avatar 22 of the second user account and chat messages.
[0043] When the first user double-tap the avatar 22 of the second user account, the avatar 22 of the second user account displays an avatar video and an interactive message 30, which is a message different from the chat message, in the first chat interface 10 and the second chat interface 20. Optionally, the message content of the interactive message 30 is one that is voluntarily installed by the client. In the first chat interface 10, the message content of the interactive message 30 is displayed as "You tapped "User Account 2", and in the second chat interface 20, the message content of the interactive message 30 is displayed as "User Account 1 tapped you". Here, "User Account 2" is the name of the second user account, and "User Account 1" is the name of the first user account.
[0044] 3 illustrates a message sending embodiment provided by an exemplary embodiment of the present disclosure, in which the method is performed by the first client shown in FIG. 1, where the first client has a first user account logged in. The method is as follows.
[0045] Step 302: Display a first chat interface, where avatars of at least two user accounts, including a first user account and a second user account, are displayed in the first chat interface.
[0046] The first chat interface is a chat interface for two-person chat or group chat for multiple people. The first chat interface displays a list of chat messages in timeline order. Each chat message in the chat message list displays the avatar of the user account from which the chat message was sent and the message content of the chat message. Optionally, each chat message also displays a note name, a group nickname, or a custom nickname of the user account. The note name is a name given to the current user account by other user accounts. The group nickname is a nickname customized by the current user account in the group, and the custom nickname is a nickname customized by the current user account in the client.
[0047] The first chat interface is exemplified as a chat interface for a group of people to chat, the group of people including at least two user accounts, the at least two user accounts including a first user account, a second user account, and the other user account.
[0048] Step 304: Generate an interactive message in response to the interactive command triggered on the avatar of the second user account.
[0049] A first user performs a trigger operation on an avatar of a second user account, the trigger operation including at least one of a double tap operation, a single click operation, and a long press operation. After receiving the trigger operation, the first client triggers and generates an interactive command, and generates an interactive message according to the first user account and the second user account. In an embodiment of the present disclosure, the interactive command (also referred to as an "interactive instruction" or an "interactive command") is exemplified as a double tap command.
[0050] The interactive message is a different message type than the chat message. Optionally, the interactive message uses a system message format or a custom message format. For example, the interactive command is a light interactive command and the interactive message is a light interactive message.
[0051] Step 306: Send an interactive message to a second user account, the interactive message triggering the second client to display an avatar video of the second user account's avatar in a second chat interface, where the second client has the second user account logged in.
[0052] Optionally, the interactive message not only triggers the second client to display an avatar video of an avatar for the second user account in the second chat interface, but also triggers the second client to display the interactive message in the second chat interface.
[0053] As described above, in the method provided by the embodiment of the present disclosure, an interactive message is sent to the second user account in response to an interactive command triggered on the avatar of the second user account, and the interactive message is used to trigger the second client to display an avatar video of the avatar of the second user account in the second chat interface. A new interactive method with a light reminder function is provided, which is suitable for interesting interactions in chat scenarios in a relaxed and comfortable atmosphere. Furthermore, a user can interact with other user accounts by simply triggering an interactive command on the avatar, thereby reducing redundant interactive operations between humans and computers, simplifying the operation process, and improving the efficiency of operation and interaction.
[0054] 4 illustrates a message receiving embodiment provided by an exemplary embodiment of the present disclosure. The embodiment of the present disclosure illustrates an example in which the method is performed by the second client shown in FIG. 1, where a second user account is logged in to the second client. The method is as follows.
[0055] Step 402: Display a second chat interface, where avatars of at least two user accounts, including a first user account and a second user account, are displayed in the second chat interface.
[0056] The second chat interface is a chat interface for two-person chat or group chat for multiple people. The second chat interface displays a list of chat messages in timeline order. For each chat message in the chat message list, an avatar of the user account from which the chat message was sent and the message content of the chat message are displayed. Optionally, each chat message further displays a remark name of the user account, a nickname in the group, or a custom nickname. The remark name is a name added by another user account for the current user account. The nickname in the group is a nickname in the group customized by the current user account, and the custom nickname is a nickname in the client customized by the current user account.
[0057] The second chat interface is exemplified as a chat interface for a group of people to chat, the group of people including at least two user accounts, the at least two user accounts including a first user account, a second user account, and the other user account.
[0058] Step 404: Receive an interactive message from the first user account to be sent to the second user account.
[0059] The second client receives an interactive message sent by the first user account to the second user account. The interactive message is a different message type than a chat message. Optionally, the interactive message uses a system message format or a custom message format. For example, the interactive message is a light interactive message.
[0060] Optionally, the second client receives an interactive message sent from the server, the interactive message being sent to the server by the first user account and requesting the server to forward the message to the second user account.
[0061] Step 406: In the second chat interface, display the interactive message and display the avatar animation of the avatar of the second user account.
[0062] Optionally, the interactive message not only triggers the second client to display an avatar video of an avatar for the second user account in the second chat interface, but also triggers the second client to display the interactive message in the second chat interface.
[0063] As described above, in the embodiment of the present disclosure, when the second client receives an interactive message sent by the first user account to the second user account, the second client displays the avatar video of the avatar of the second user account and the interactive message on the second chat interface. A new interactive method with a light reminder function is provided, which is suitable for interesting interactions in chat scenarios in a relaxed and comfortable atmosphere.
[0064] 5 illustrates a message sending / receiving embodiment provided by a further exemplary embodiment of the present disclosure. The embodiment of the present disclosure illustrates an example in which the method is performed by the first client and the second client shown in FIG. 1, and the method is as follows.
[0065] Step 501: A first client displays a first chat interface in which avatars of at least two user accounts, including a first user account and a second user account, are displayed.
[0066] The first chat interface is a chat interface for two-person chat or group chat for multiple people. The first chat interface displays a list of chat messages in timeline order.
[0067] Step 502: In response to a double-tap command triggered on the avatar of the second user account, the first client generates an interactive message and displays an avatar video of the avatar of the second user account in the first chat interface.
[0068] A first user performs a double tap operation on an avatar of a second user account. After receiving the double tap operation, the first client triggers and generates a double tap command. In response to the double tap command, the first client generates an interactive message based on the first user account and the second user account. In an embodiment of the present disclosure, the interactive command is exemplified as a double tap.
[0069] The interactive message is a different message type from the chat message. For example, the interactive message is a light interactive message. Optionally, the interactive message uses a system message format. Optionally, the system message includes a first user account and a second user account, or includes an interactive identifier that is an identifier for indicating that the message type is an interactive message, and the first user account and the second user account. Alternatively, the system message further includes an action identifier that is an identifier for indicating an action of the first user account on the second user account.
[0070] Optionally, the interactive message includes the first user account and the second user account, or further includes an interactive identifier, or further includes an action identifier.
[0071] Optionally, the first client further displays, in the first chat interface, an avatar video of an avatar of the second user account, the avatar video being video displayed relative to the avatar of the second user account, including, by way of example and without limitation, at least one of: a video of shaking the avatar of the second user account, a video of rotating the avatar of the second user account, a video of applying a filter to the avatar of the second user account, a video of applying another display element, such as a human hand, to the avatar of the second user account, and a video of shrinking or enlarging the avatar of the second user account.
[0072] In an embodiment of the present disclosure, the avatar video is, for example, a video of shaking the avatar of the second user account.
[0073] Optionally, the first chat interface includes a plurality of avatars of the second user account, and in response to a double-tap command triggered on any one of the avatars of the second user account, an avatar video of any one of the avatars is displayed in an avatar area corresponding to any one of the avatars. For example, every time the second user account sends a chat message, one chat message and an avatar of the second user account are displayed in the first chat interface. Thus, the first user can perform a double-tap operation on any one of the avatars of the second user account, which triggers a double-tap command and an avatar video of any one of the avatars is displayed in an avatar area corresponding to any one of the avatars.
[0074] Step 503: The first client displays the message content of the interactive message in the first chat interface.
[0075] Optionally, the first client displays the message content of the interactive message on the first chat interface, and the message display manner of the interactive message is different from the message display manner of the chat message. For example, the interactive message displays the message content in text form, and the chat message displays the message content in bubble form. That is, the interactive message is displayed in the message display manner of the system message, not in bubbles.
[0076] Optionally, the message content of the interactive message is voluntarily installed by the first client. For example, the interactive message content is "You tapped on user account 2". This is because the interactive message has a certain delay in transmission on the server side, and in order to avoid the delay, the message content of the interactive message is installed and displayed voluntarily by the first client. For example, the interactive message includes a first user account, a second user account, and an action identifier for indicating an action of the first user account on the second user account. The first client installs the message content of the interactive message based on the first user account, the second user account, and the action identifier in the interactive message. For example, the message content in the installed interactive message includes a name of the first user account, a name of the second user account, and an action description of the first user account on the second user account.
[0077] Optionally, the message content of the interactive message is installed by a server, where the first client sends the interactive message to the server, and the server installs the message content of the interactive message after receiving the interactive message, and sends the message content of the interactive message to the first user account of the first client and the second user account of the second client.
[0078] Considering that the avatar of the second user account can be optionally displayed at any position in the chat message list, the avatar of the second user account clicked by the first user may be located at the center of the chat message list, in this case, the following steps are also included:
[0079] In response to the display contents in the first chat interface not including the last message, the first chat interface automatically scrolls to the last message, and the last message includes the message contents of the interactive message. As shown in FIG. 6, the first chat interface 10 includes an avatar 12 of a first user account and an avatar 22 of a second user account, and after the first user double-tap the avatar 22 of the second user account, a shake animation is displayed on the avatar 22 of the second user account. However, since the chat message 2 is located at the top, the first chat interface 10 cannot display the display contents at the bottom of the chat message list, so that the first user can immediately know that the interactive message 30 has been successfully triggered, and the first chat interface 10 automatically scrolls to the last message in the first chat interface, and the last message includes the interactive message 30: You tapped "user account 2". Here, this user account 2 is the name of the second user account.
[0080] The last message is the last message received in the first chat interface. A part of the messages in the chat message list is displayed in the first chat interface, and the message in the chat message list displayed in the first chat interface can be changed by flicking the chat message list in the first chat interface up and down. Here, the last message is in the lower area of the chat message list. If the display content in the first chat interface does not include the content in the lower area of the chat message list, the first chat interface does not include the last message.
[0081] Optionally, chat messages are ordered in timeline order so that the most recent message display is displayed in a bottom display area of the first chat interface.
[0082] Optionally, the message content of the interactive message includes a name of a first user account, a name of a second user account, and an action description of the first user account with respect to the second user account. Here, the name includes at least one of a remark name, a nickname in a group, and a custom nickname. The action description includes, but is not limited to, a description of at least one action of touching, hitting, patting, hitting, kicking, cutting, kissing, and pushing. For example, the message content of the interactive message may include "the name of the first user account" hitting "the name of the second user account" or "the name of the first user account" pushing "the name of the second user account".
[0083] For example, the priority of the note name is higher than the priority of the nickname in the group, which is higher than the priority of the custom nickname. If there is a note name, the note name is displayed first, if there is no note name but there is a nickname in the group, the nickname in the group within this group is displayed first, and if there is neither a note name nor a nickname in the group, the custom nickname is displayed.
[0084] As an example, the first client may use "you" as the note name for the first user account because the first user account is the account logged in by the first client.
[0085] Step 504: The first client sends an interactive message to the second client.
[0086] The first client sends an interactive message to the second client through the server. Optionally, the first client sends the interactive message to the server according to a system message format (or a new customized message format). If the server confirms that the interactive message meets a sending condition, it sends the interactive message to each user account in the chat interface. If the chat interface is a two-person chat interface, the server sends the interactive message to the first user account and the second user account, and if the chat interface is a group chat interface, the server sends the interactive message to the first user account, the second user account, and other user accounts.
[0087] Optionally, the transmission conditions include conditions for limiting the frequency of transmission, including, but not limited to, at least one of the following conditions:
[0088] Condition 1: A first user account sends an interactive message to a second user account no more than x times within a period A. For example, an interactive message is sent to the same account no more than once within two seconds.
[0089] Condition 2: The number of times that all user accounts in the same group send interactive messages within period B is y times or less. For example, the number of times that all user accounts in the same group send interactive messages within 10 seconds is 30 times or less.
[0090] Optionally, the sending condition includes an association relationship between the first user account and the second user account. The association relationship between the first user account and the second user account means that the first user account and the second user account are friends of each other. For example, if the first user account is not a friend of the second user account, the first user account is not allowed to send an interactive message to the second user account.
[0091] If the interactive message sent by the first client does not meet the sending condition, the server sends a failure indication to the first client, for example, the failure indication is "cannot send tapping messages frequently."
[0092] Step 505: Display a second chat interface in which avatars of at least two user accounts, including the first user account and the second user account, are displayed.
[0093] The second chat interface is a chat interface for two people or a group chat for multiple people. The second chat interface displays a list of chat messages in timeline order.
[0094] Here, the first chat interface and the second chat interface are interface representations of the same chat room (two-person chat or multi-person chat) on two clients with different user accounts logged in.
[0095] In a two-person chat scenario, the first chat interface and the second chat interface are both interfaces for chatting between a first user account and a second user account. In a multi-person chat scenario, the group corresponding to the first chat interface and the group corresponding to the second chat interface are the same. Here, the first chat interface is an interface in a first client, the first user account is logged in to the first client, and optionally, the first client displays messages sent by the first user account on the right side of the first chat interface and displays messages sent by other user accounts other than the first user account on the left side of the first chat interface. The second chat interface is an interface in a second client, the second user account is logged in to the second client, and optionally, the second client displays messages sent by the second user account on the right side of the second chat interface and displays messages sent by other user accounts other than the second user account on the left side of the second chat interface.
[0096] Step 506: The second client receives the interactive message from the first user account to the second user account.
[0097] The second client receives the interactive message forwarded from the server. The interactive message is installed in a message format of a system message. Optionally, the interactive message includes a first user account, a second user account, and an interactive identifier. The interactive identifier is an identifier for indicating that the message type is an interactive message.
[0098] For example, interactive messages are displayed in text format, while chat messages are displayed in bubble format. In other words, interactive messages are displayed in the same format as system messages, not in bubble format.
[0099] Optionally, the message content of the interactive message is installed by the second client itself, e.g., "User account 1 tapped you." Optionally, the message content of the interactive message is installed by the server, and the second client receives the message content of the interactive message forwarded by the server.
[0100] Optionally, the message content of the interactive message includes a name of a first user account, a name of a second user account, and an action description of the first user account with respect to the second user account, where the name includes at least one of a remark name, a nickname in a group, and a custom nickname. The action description includes, but is not limited to, a description of at least one action of touching, hitting, patting, punching, kicking, cutting, kissing, and pushing. For example, the message content of the interactive message may include that the "first user account" hits the "second user account" or that the "first user account" pushes the "second user account".
[0101] Step 507: The second client displays the message content of the interactive message in the second chat interface.
[0102] Optionally, a second chat interface displays message content of the interactive message, and the message display manner of the interactive message is different from the message display manner of the chat message. The second chat interface displays a list of chat messages in timeline order. The second client adds the message content displaying the interactive message to a bottom of the chat message list in the second chat interface.
[0103] Step 508: The second client displays an avatar animation of an avatar of the second user account in an avatar area corresponding to the chat message sent from the second user account and closest to the interactive message.
[0104] The avatar video is a video displayed based on an avatar of the second user account. By way of example, the avatar video may include, but is not limited to, at least one of a video of shaking the avatar of the second user account, a video of rotating the avatar of the second user account, a video of applying a filter to the avatar of the second user account, a video of adding another display element, such as a human hand, to the avatar of the second user account, and a video of shrinking or enlarging the avatar of the second user account.
[0105] Optionally, the avatar animation of the avatar of the second user account is an animation associated with an action description in the message content of the interactive message, for example hitting the avatar of the second user account or touching the avatar of the second user account.
[0106] Since there is a distance between the message content of the interactive message and the avatar of the second user account, the second client identifies a chat message that is closest to the interactive message among the chat messages sent by the second user account, and then displays an avatar video on the avatar of the second user account that corresponds to the closest chat message.
[0107] As shown in FIG. 7, when the chat message closest to interactive message 30 among the chat messages sent by the second user account is identified as previous chat message 2, the second client displays a shaking animation on the avatar of the second user account in the previous chat message 2.
[0108] As shown in FIG. 8, when the chat message closest to the interactive message 30 among the chat messages sent by the second user account is identified as the previous chat message 4, the second client displays a shaking animation on the avatar of the second user account in the previous chat message 4.
[0109] Optionally, if the previous chat message 2 and the subsequent chat message 4 have the same distance to the interactive message 30, the previous chat message 2 is preferentially selected. The distance between two messages is measured by the number of messages between the two messages.
[0110] Note that step 507 may be performed before step 508, step 507 may be performed after step 508, or step 507 and step 508 may be performed simultaneously.
[0111] In the case of a multi-person chat, other user accounts besides the first user account and the second user account also receive the interactive message. Other clients logged in to other user accounts voluntarily install and display the message content of the interactive message. The other clients may or may not display the shaking video of the avatar of the second user account.
[0112] It should be noted that the above second user account may be the first user account, that is, the user selects to send an interactive message to himself, and the message content of the interactive message that you hit him is triggered and displayed.
[0113] In the related art, for example, taking the group chat function, when user account A wants to interact with user account B, user account A can send a group chat message of "@user account B". At this time, user account B receives a strong reminder and checks this group chat message. However, since "@user account" strongly reminds the user, it may not be appropriate to use the strong reminder function in some cases.
[0114] As described above, in the method provided by the embodiment of the present disclosure, in response to an interactive command triggered on an avatar of the second user account, an interactive message is sent to the second user account, and the interactive message is used to trigger the second client to display an avatar video of the avatar of the second user account in the second chat interface. A new interactive method with light reminder function is provided, which is suitable for interesting interactions in chat scenarios in a relaxed and comfortable atmosphere.
[0115] The interactive message in the embodiment of the present disclosure is a light interactive message. The light interactive message is not a message with a message content customized by the user, but a message that simulates the user's behavior, so that in a chat scene where the user does not want to speak, does not know what to say, or expresses an ambiguous meaning, the user can use the light interactive message to indicate a desire for light interaction.
[0116] In addition, users can interact with other user accounts simply by triggering interactive commands on the avatar, thereby reducing redundant interactive operations between humans and computers, simplifying the operation process, and improving the efficiency of operation and light interaction.
[0117] In an optional embodiment based on FIG. 5, the following step 509 or step 510 is further included as shown in FIG.
[0118] Step 509: The first client displays a character property page of the first user account in response to the first trigger command on the name of the first user account.
[0119] The interactive message includes the names of the two user accounts. When the user clicks on the name of the first user account in the interactive message, a first trigger command is triggered in the first client. The first client displays a property page of the first user account based on the first trigger command. As shown in FIG. 10, the property page of the first user account is a character property page 40, and the avatar, nickname, profile, hobbies, and latest posted video of the first user account are displayed on the character property page 40. Optionally, the property page 40 further includes at least one of information of gender, phone number, QR code (registered trademark), album, and personal space. Optionally, the property page of the first user account includes property information of the first user account.
[0120] Step 510: The first client displays a character property page of the second user account in response to a second trigger command on the name of the second user account.
[0121] Similarly, when the user clicks on the name of the second user account in the interactive message, a second trigger command is triggered in the first client. The first client displays a property page of the second user account based on the second trigger command. Optionally, the property page of the second user account includes property information of the second user account.
[0122] Optionally, for any client, when an interactive message sent by the client or another person is displayed in the chat interface of the client, the client displays the property page of the user account in response to a command triggered by the name of the user account in the interactive message.
[0123] As described above, the method provided by the embodiment of the present disclosure provides a human-computer interactive method for quickly displaying the property page of a user account in a chat interface, in response to a trigger command on the name of a user account in an interactive message, thereby improving the efficiency of human-computer interaction.
[0124] In an optional embodiment based on FIG. 5, the following step 511 is further included, as shown in FIG.
[0125] Step 511: If there are n consecutive interactive messages, the n interactive messages are displayed in a folded state.
[0126] For any client, if there are n consecutive interactive messages in the chat interface of this client, all or some of the n interactive messages can be displayed in a collapsed manner according to a collapse strategy.
[0127] Optionally, the collapse strategy includes at least one of a read collapse strategy or a chat interruption collapse strategy.
[0128] First, read folding strategy:
[0129] In response to n interactive messages (n is an integer greater than 1) being consecutively present in the first chat interface and all being in a read state, the first client collapses all or part of the n interactive messages for display. Similarly, in response to n interactive messages (n is an integer greater than 1) being consecutively present in the second chat interface and all being in a read state, the second client collapses all or part of the n interactive messages for display.
[0130] 12, when there are five consecutive interactive messages 32 in a read state in the first chat interface 10, the first client folds and displays the bottom two interactive messages among the five interactive messages 32. An "expand all" button is displayed next to the two folded interactive messages, and when the user clicks the "expand all" button, the display of the two interactive messages can be restored.
[0131] However, for five consecutive interactive messages 34, if the first four interactive messages are in a read state and the latter one is in an unread state, the five interactive messages are not folded.
[0132] Second, interrupt folding strategy:
[0133] In response to m interactive messages (m is an integer greater than 1) being consecutively present in the first chat interface and each being before the last non-interactive message, the first client collapses and displays all or a portion of the m interactive messages, the non-interactive messages being messages other than the interactive messages, for example, the non-interactive messages being chat messages, system messages, etc. Similarly, in response to m interactive messages (m is an integer greater than 1) being consecutively present in the second chat interface and each being before the last non-interactive message, the second client collapses and displays all or a portion of the m interactive messages.
[0134] As shown in Fig. 13, when there are multiple consecutive interrupted interactive messages 36 (five or more) in the first chat interface, the display of the first three interactive messages is suspended, and the remaining interactive messages are displayed in a collapsed state. An "Expand All" button is displayed where the collapsed interactive messages are located, and the user can restore the display of the multiple interactive messages by clicking this "Expand All" button. Note that the multiple interactive messages 36 are interrupted by a system message saying "Character A has invited Character B to join the group chat", and the multiple interactive messages 38 are not folded because they have not been interrupted.
[0135] The above folding strategy may include the following features:
[0136] If there is a non-interactive message (such as a chat message or system message) between one and two interactive messages, consecutive counting resumes with the first interactive message following the non-interactive message.
[0137] 2. If there are time division stamps (e.g. 13:20) between two interactive messages, the time division stamps do not affect the consecutive counting of the two interactive messages, and these time division stamps are ignored when redisplaying them.
[0138] 3. For consecutive interactive messages that are not interrupted by non-interactive messages, store the consecutive interactive messages in the same database (DB) message. This database refers to a database used to store messages on the client side. Here, the same DB message has multiple sub-messages, and each sub-message is used to store one interactive message. After storing one interactive message using a DB message, if the client receives another interactive message that is not interrupted by a non-interactive message, update the message content to store the other interactive message in the DB message content. If the client receives another interactive message that is interrupted by a non-interactive message, create a new DB message to store the other interactive message.
[0139] 4. The read status of the interactive message is updated based on the flick status on the user's client, or based on whether the avatar video of the second user account is displayed. In one example, after the avatar video of the avatar of the second user account is displayed on the second client, the status of the interactive message is set to read. In another example, when the display position of the interactive message is 20% or less from the top of the screen and after the avatar video of the avatar of the second user account is displayed, the status of the interactive message is set to read. The following are guaranteed: (1) the user has certainly read the interactive message; and (2) the avatar of the second user account is ensured as much as possible to be present in approximately the upper half of the display screen where the interactive message is displayed, so that the avatar video of the avatar of the second user account is not missed when it is displayed, especially when the chat message list is flicked to check it.
[0140] 14 shows a block diagram of a message sending device provided by an example embodiment described in the present disclosure. The device in which the first user account is logged in includes: a display module 1420 for displaying a first chat interface, the first chat interface displaying avatars of at least two user accounts, including the first user account and a second user account; a generating module 1440 for generating an interactive message in response to an interactive command triggered on an avatar of the second user account; and a sending module 1460 for sending the interactive message to the second user account, the interactive message triggering the second client to display an avatar animation of an avatar of the second user account in a second chat interface, the second client having the second user account logged in.
[0141] In an optional embodiment, the generation module 1440 generates the interactive message in response to a double-tap command triggered on an avatar of the second user account.
[0142] In an optional embodiment, the display module 1420 displays an avatar animation of the second user account's avatar in the first chat interface in response to an interactive command triggered on the second user account's avatar.
[0143] In an optional embodiment, the display module 1420 displays the interactive message in a first chat interface.
[0144] In an optional embodiment, the display module 1420 displays message content of the interactive message in the first chat interface, and a message display manner of the interactive message is different from a message display manner of a chat message.
[0145] In an optional embodiment, the message display method of the interactive message is the same as the message display method of the system message.
[0146] In an optional embodiment, in response to the display content in the first chat interface not including a last message, the display module 1420 automatically scrolls to the last message in the first chat interface, the last message including message content of the interactive message.
[0147] In an optional embodiment, the message content includes a name of the first user account, a name of the second user account, and a description of an operation of the first user account relative to the second user account.
[0148] Here, the name includes at least one of a remark name, a nickname in a group, and a custom nickname.
[0149] In an optional embodiment, the action description includes, but is not limited to, a description of at least one of the actions of touching, hitting, patting, striking, kicking, cutting, and kissing.
[0150] In an optional embodiment, the display module 1420 displays a property page of the first user account in response to a first trigger command on the name of the first user account, or displays a property page of the second user account in response to a second trigger command on the name of the second user account.
[0151] In an optional embodiment, the display module 1420 displays all or part of the n interactive messages in a collapsed manner in response to n interactive messages being consecutively present in the first chat interface and all being in a read state, or displays all or part of the m interactive messages in a collapsed manner in response to m interactive messages (where m is an integer greater than 1) being consecutively present in the first chat interface and each being before the last non-interactive message, the non-interactive messages being messages other than the interactive messages.
[0152] 15 shows a block diagram of a message receiving device provided by an exemplary embodiment described in the present disclosure. The device in which the second user account is logged in includes: a display module 1520 for displaying a second chat interface, the second chat interface displaying avatars of at least two user accounts including the first user account and a second user account; a receiving module 1540 for receiving an interactive message from the first user account to the second user account; The display module 1520 displays the interactive message in the second chat interface and displays an avatar animation of an avatar of the second user account in the second chat interface.
[0153] In an optional embodiment, the display module 1520 displays message content of the interactive message in the second chat interface, and a message display manner of the interactive message is different from a message display manner of a chat message.
[0154] In an optional embodiment, the display module 1520 displays an avatar animation of an avatar of the second user account in an avatar region that corresponds to the chat message sent from the second user account and that is closest to the interactive message.
[0155] In an optional embodiment, the display module 1520 displays all or a portion of the n interactive messages in a collapsed manner in response to n interactive messages being consecutively present in the second chat interface and all being in a read state, or displays all or a portion of the m interactive messages in a collapsed manner in response to m interactive messages being consecutively present in the second chat interface and each being before the last non-interactive message.
[0156] It should be noted that the message sending device provided by the above embodiment is only shown by the division of the above functional modules. In actual application, the above function allocation can be completed by various functional modules according to requirements. That is, the internal structure of the device is divided into various functional modules to complete all or part of the above functions. In addition, the message sending device and the message sending method provided by the above embodiment belong to the same concept, and the specific implementation process thereof is referred to the embodiment of the method and is omitted here.
[0157] Similarly, the message receiving device provided by the above embodiment is only shown by the division of the above functional modules. In actual application, the above function allocation can be completed by various functional modules according to requirements. That is, the internal structure of the device is divided into various functional modules to complete all or part of the above functions. In addition, the message receiving device and the message receiving method provided by the above embodiment belong to the same concept, and the specific implementation process thereof is referred to the embodiment of the method and is omitted here.
[0158] In the present disclosure, a computer device (terminal or server) is provided that is executed by a first client to which a first user account is logged in. The computer device includes a processor and a memory having stored therein at least one instruction that is loaded by the processor to execute the following steps, the steps being: displaying a first chat interface, the first chat interface displaying avatars of at least two user accounts, including the first user account and a second user account; generating an interactive message in response to an interactive command triggered on an avatar of the second user account; sending the interactive message to the second user account, the interactive message triggering the second client to display an avatar video of an avatar for the second user account in a second chat interface, the second client having the second user account logged in.
[0159] In one possible embodiment, the at least one instruction is loaded by a processor, In response to a double-tap command triggered on an avatar of a second user account, generating the interactive message is performed.
[0160] In one possible embodiment, the at least one instruction is loaded by a processor, Responsive to an interactive command triggered on an avatar of the second user account, a step of displaying an avatar animation of the avatar of the second user account in the first chat interface is performed.
[0161] In one possible embodiment, the at least one instruction is loaded by a processor, In response to an interactive command triggered on any one of the avatars of the second user account, a step of displaying an avatar animation of the any one of the avatars in an avatar area corresponding to the any one of the avatars is performed.
[0162] In one possible embodiment, the at least one instruction is loaded by a processor, A step of displaying the interactive message in the first chat interface is performed.
[0163] In one possible embodiment, the at least one instruction is loaded by a processor, A step of displaying message content of the interactive message on the first chat interface, where a message display manner of the interactive message is different from a message display manner of a chat message, is performed.
[0164] In one possible embodiment, the at least one instruction is loaded by a processor, In response to the display content in the first chat interface not including a last message, a step of automatically scrolling to the last message in the first chat interface, the last message including message content of the interactive message, is performed.
[0165] In one possible embodiment, the message content includes a name of the first user account, a name of the second user account, and a description of an operation of the first user account relative to the second user account; The name includes at least one of a note name, a nickname in a group, and a custom nickname.
[0166] In one possible embodiment, the at least one instruction is loaded by a processor, A step of displaying a property page of the first user account in response to a first trigger command on the name of the first user account or a step of displaying a property page of the second user account in response to a second trigger command on the name of the second user account is performed.
[0167] In one possible embodiment, the at least one instruction is loaded by a processor, The step of folding and displaying all or part of the n interactive messages in response to n interactive messages (n is an integer greater than 1) being consecutively present in the first chat interface and all being in a read state, or the step of folding and displaying all or part of the m interactive messages in response to m interactive messages (m is an integer greater than 1) being consecutively present in the first chat interface and each of the m interactive messages being before the last non-interactive message, wherein the non-interactive messages are messages other than the interactive messages, is executed.
[0168] In the present disclosure, a computer device (terminal or server) is provided that is executed by a second client with a second user account logged in. The computer device includes a processor and a memory having stored therein at least one instruction that is loaded by the processor to perform the following steps: displaying a second chat interface, the second chat interface displaying avatars of at least two user accounts including the first user account and the second user account; receiving an interactive message sent by the first user account to the second user account; The interactive message is displayed in the second chat interface, and an avatar animation of an avatar of the second user account is displayed in the second chat interface.
[0169] In one possible embodiment, the at least one instruction is loaded by a processor, A step of displaying message content of the interactive message on the second chat interface, where a message display manner of the interactive message is different from a message display manner of a chat message, is performed.
[0170] In one possible embodiment, the at least one instruction is loaded by a processor, A step of displaying an avatar animation of an avatar of the second user account in an avatar area corresponding to a chat message sent from the second user account and closest to the interactive message is performed.
[0171] In one possible embodiment, the at least one instruction is loaded by a processor, A step of folding and displaying all or a portion of the n interactive messages in response to n interactive messages being consecutively present in the second chat interface and all being in a read state is executed, or a step of folding and displaying all or a portion of the m interactive messages in response to m interactive messages being consecutively present in the second chat interface and each being before the last non-interactive message is executed.
[0172] The above computer device may be a computer device as shown in FIG. 16 below.
[0173] 16 illustrates a block diagram of a computing device 1600 provided by an exemplary embodiment of the present disclosure. The computing device 1600 may be a smartphone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer, or a desktop computer. The computing device 1600 may also be referred to as a user device, a portable computing device, a laptop computing device, a desktop computing device, or other names.
[0174] Generally, the computing device 1600 includes a processor 1601 and a memory 1602 .
[0175] The processor 1601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 1601 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1601 may also include a main processor and a coprocessor. The main processor, also called CPU (Central Processing Unit), is a processor for processing data in a wake-up state. The coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1601 may be integrated with a GPU (Graphics Processing Unit), which is used to render and draw content that needs to be displayed on the display. In some embodiments, the processor 1601 may further include an AI (Artificial Intelligence) processor. The AI processor is used to process computing operations related to machine learning.
[0176] The memory 1602 may include one or more computer-readable storage media, which may be non-transitory. The memory 1602 may also include high-speed random access memory, as well as non-volatile memory, such as one or more disk storage devices, flash storage devices, etc. In some embodiments, the non-transitory computer-readable storage media in the memory 1602 is used to store at least one instruction, which is executed by the processor 1601 to perform the message transmission method provided by the method embodiment of the present disclosure.
[0177] In some embodiments, the computing device 1600 may optionally include a peripheral device interface 1603 and at least one peripheral device. The processor 1601, the memory 1602, and the peripheral device interface 1603 may be connected by a bus or signal lines. Each peripheral device may be connected to the peripheral device interface 1603 via a bus, signal lines, or a circuit board. Specifically, the peripheral device includes at least one of a radio frequency circuit 1604, a display 1605, and a power supply 1606.
[0178] The peripheral interface 1603 may be used to connect at least one peripheral device associated with I / O (Input / Output) to the processor 1601 and the memory 1602. In some embodiments, the processor 1601, the memory 1602, and the peripheral interface 1603 are integrated on the same chip or circuit board. In other embodiments, either or both of the processor 1601, the memory 1602, and the peripheral interface 1603 may be implemented on separate chips or circuit boards, and are not limited to the embodiments of the present disclosure.
[0179] The radio frequency circuit 1604 is used to transmit and receive radio frequency (RF) signals, also called electromagnetic signals. The radio frequency circuit 1604 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1604 converts electrical signals into electromagnetic signals for transmission and converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 1604 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like. The radio frequency circuit 1604 can communicate with other computing devices via at least one wireless communication protocol, including but not limited to the World Wide Web, metropolitan networks, intranets, mobile communication networks of each generation (2G, 3G, 4G, and 5G), wireless local area networks, and / or wireless fidelity (WiFi) networks. In some embodiments, the radio frequency circuitry 1604 may further include circuitry related to Near Field Communication (NFC), which is not limited to the present disclosure.
[0180] The display 1605 is used to display a user interface (UI). The UI may include graphics, text, icons, videos, and any combination thereof. If the display 1605 is a touch display, the display 1605 is also capable of collecting touch signals on or above the surface of the display 1605. The touch signals may be input and processed as control signals to the processor 1601. The display 1605 is then used to provide virtual buttons and / or virtual keyboards, also referred to as soft buttons and / or soft keyboards. In some embodiments, the display 1605 may be one and is located on the front panel of the computing device 1600. In further embodiments, the display 1605 may be at least two and may be located on different surfaces of the computing device 1600, or may be designed to be folded. In still further embodiments, the display 1605 may be a flexible display and is located on a curved or folded surface of the computing device 1600. Furthermore, the display 1605 may be a non-rectangular irregular shape, i.e., an irregular screen. The display 1605 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0181] The power source 1606 is used to provide power to each component in the computing device 1600. The power source 1606 may be an AC, DC, disposable battery, or a rechargeable battery. If the power source 1609 includes a rechargeable battery, the rechargeable battery may be a wired or wireless rechargeable battery. A wired rechargeable battery is a battery that is charged by a wired line, and a wireless rechargeable battery is a battery that is charged by a wireless coil. The rechargeable battery may also be used to support fast charging technology.
[0182] In some embodiments, the computing device 1600 also includes a pressure sensor 1607. The pressure sensor 1607 may be disposed on a side frame of the computing device 1600 and / or on a lower layer of the touch display 1605. When the pressure sensor 1607 is disposed on the side frame of the computing device 1600, it can detect a grip signal of the computing device 1600 by a user, and the processor 1601 can recognize left and right hands and perform shortcut operations according to the grip signal collected by the pressure sensor 1607. When the pressure sensor 1607 is disposed on a lower layer of the display 1605, the processor 1601 controls operability controls on the UI interface according to a pressure operation on the display 1605 by a user. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0183] Those skilled in the art will appreciate that the structure shown in FIG. 16 does not constitute a limitation on the computing device 1600, which may include more or fewer components than those shown, or may combine some components, or employ a different component arrangement.
[0184] The memory further includes one or more programs stored in the memory, the one or more programs including a program for performing a message sending method or a message receiving method provided by an embodiment of the present disclosure.
[0185] In the present disclosure, a computer-readable storage medium is provided that stores at least one instruction that is loaded and executed by the processor to realize a message sending method or a message receiving method provided by the embodiments of each of the above methods.
[0186] The present disclosure further provides a computer program product which, when executed on a computer, causes the computer to perform the message sending method or the message receiving method provided by each of the method embodiments described above.
[0187] The numbers of the embodiments of the present disclosure above are for illustrative purposes only and do not represent superiority or inferiority of the embodiments.
[0188] All or part of the steps of implementing the above-mentioned embodiments may be completed by hardware, or may be completed by instructing relevant hardware by a program. The above-mentioned program may be stored in a computer-readable storage medium. The above-mentioned storage medium may be a read-only memory, a magnetic disk, an optical disk, etc. This can be understood by those skilled in the art.
[0189] The above description is merely an optional embodiment of the present disclosure, and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the subject matter and principles of the present disclosure shall fall within the scope of protection of the present disclosure.
Claims
1. 1. A method of sending a message, executed by a first client with a first user account logged in, comprising: displaying a first chat interface, the first chat interface displaying avatars of at least two user accounts, including an avatar of the first user account and an avatar of a second user account; generating an interactive message in response to an interactive command triggered on an avatar of the second user account, the interactive message including an action identifier used to indicate an action of the first user account relative to the second user account; sending the interactive message to the second user account if the interactive message satisfies a sending condition, the interactive message triggering a second client to display an avatar animation of an avatar of the second user account in a second chat interface, the second client having the second user account logged in; and displaying an avatar animation of the avatar of the second user account in the first chat interface in response to an interactive command triggered on an avatar of the second user account; A step of displaying an avatar animation of the avatar of the second user account in the first chat interface in response to an interactive command triggered on an avatar of the second user account, the step of displaying an avatar animation of the avatar of the second user account in the first chat interface includes: a step of displaying an avatar video of any one of the avatars of the second user account in an avatar area corresponding to the any one of the avatars in response to an interactive command triggered on the any one of the avatars of the second user account.
2. generating an interactive message in response to an interactive command triggered on an avatar of the second user account, comprising: generating the interactive message in response to a double tap command triggered on an avatar of the second user account.
2. The method of claim 1 .
3. The method of claim 1 or 2, further comprising the step of displaying the interactive message in the first chat interface.
4. The step of displaying the interactive message in the first chat interface includes: displaying message content of the interactive message on the first chat interface, wherein a message display manner of the interactive message is different from a message display manner of a chat message; 4. The method according to claim 3 .
5. The step of displaying message content of the interactive message on the first chat interface includes: in response to the display content in the first chat interface not including a last message, automatically scrolling to the last message in the first chat interface, the last message including message content of the interactive message; 5. The method of claim 4.
6. the message content includes a name of the first user account, a name of the second user account, and a description of an operation of the first user account relative to the second user account; The name includes at least one of a remark name, a nickname in a group, and a custom nickname; 6. The method according to claim 4 or 5.
7. displaying a property page of the first user account in response to a first trigger command on a name of the first user account; Or, and displaying a property page of the second user account in response to a second trigger command on a name of the second user account.
7. The method of claim 6.
8. In response to n interactive messages (n being an integer greater than 1) being consecutively present in the first chat interface and all being in a read state, displaying all or part of the n interactive messages in a collapsed state; Or, The method according to any one of claims 1 to 7, further comprising a step of collapsing and displaying all or part of m interactive messages (m being an integer greater than 1) in response to m interactive messages being consecutively present in the first chat interface and each being before the last non-interactive message, the non-interactive messages being messages other than the interactive messages.
9. 1. A method of receiving a message, executed by a second client with a second user account logged in, comprising: displaying a second chat interface, the second chat interface displaying avatars of at least two user accounts, including an avatar of a first user account and an avatar of a second user account; receiving an interactive message generated in response to an interactive command triggered on an avatar of the first user account and sent to the second user account, the interactive message being sent from the first user account to the second user account if the interactive message satisfies a sending condition, the interactive message including an action identifier used to indicate an action of the first user account relative to the second user account; displaying the interactive message in the second chat interface and displaying an avatar animation of an avatar of the second user account in the second chat interface; The step of displaying an avatar animation of an avatar of the second user account on the second chat interface includes: displaying an avatar video of an avatar of the second user account in an avatar area corresponding to a chat message sent from the second user account and closest to the interactive message; A method for receiving a message.
10. The step of displaying the interactive message in the second chat interface includes: displaying message content of the interactive message on the second chat interface, wherein a message display manner of the interactive message is different from a message display manner of a chat message; 10. The method of claim 9.
11. In response to n interactive messages being consecutively present in the second chat interface and all being in a read state, displaying all or a part of the n interactive messages in a collapsed state; Or, and in response to m interactive messages being consecutively present in the second chat interface and each preceding a last non-interactive message, displaying all or a portion of the m interactive messages in a collapsed manner.
11. The method according to claim 9 or 10.
12. A message sending device, A processor; A memory storing at least one instruction for causing said processor to carry out the message sending method according to any one of claims 1 to 8. A message sending device comprising:
13. A message receiving device, A processor; A memory storing at least one instruction for causing the processor to perform the message reception method according to any one of claims 9 to 11. A message receiving device comprising:
14. A processor; A memory for storing at least one instruction, at least one program, code set, or instruction set that is loaded and executed by the processor to realize the message sending method according to any one of claims 1 to 8 or the message receiving method according to any one of claims 9 to 11. A computing device comprising:
15. A computer program causing a computer to execute the message sending method according to any one of claims 1 to 8 or the message receiving method according to any one of claims 9 to 11. A computer program comprising:
Citation Information
Patent Citations
How to use avatars to communicate
JP2006520053A
Scenario emoticon display method through instant message service and user terminal for the same
JP2016164782A
Method, User Terminal, and Server for Information Exchange in Communication
JP2016521929A
Security system, portable terminal, program, and method for displaying security message
JP2018169663A
System and method for touch-based communications
US20140143682A1