Interface display method and device, equipment and storage medium
By setting virtual avatars for users in social applications and dynamically switching the displayed status based on the conversation status, the problem of the lack of fun in chat status display functions is solved, improving user experience and application utilization and attention.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TENCENT DIGITAL TIANJIN
- Filing Date
- 2020-10-12
- Publication Date
- 2026-06-19
AI Technical Summary
Existing chat status display features lack appeal and visibility in social applications, resulting in a poor user experience and impacting application usage and engagement.
By setting virtual avatars for users in social applications and dynamically switching the display status of the virtual avatars according to the user's conversation status, the user's conversation status can be displayed in a vivid way.
This enhances the fun and user interaction experience of social applications, thereby increasing application usage and attention.
Smart Images

Figure CN114416225B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to an interface display method, apparatus, device and storage medium. Background Technology
[0002] In today's era of continuous technological innovation, application developers are constantly adding more interesting features to their applications to attract more users and provide greater convenience. For example, social applications have incorporated chat status display functionality. Chat status refers to a user's current state during a chat within the social application's conversation interface, such as online status, typing status, playing voice messages, sending pictures, etc. This allows two users in a conversation to understand each other's ongoing actions through the displayed chat status, increasing the enjoyment of the conversation.
[0003] Existing chat status display features are relatively basic, primarily relying on text and emoji bubbles. Text-based displays lack engagement and visibility, while emoji bubbles are not clearly defined and can easily confuse users. Therefore, enriching the chat status display features in social applications to improve their usage and engagement has become a hot research topic. Summary of the Invention
[0004] This invention provides an interface display method, apparatus, device, and storage medium, which enhances the social fun of using social applications, thereby increasing the utilization and attention of social applications.
[0005] On one hand, embodiments of the present invention provide an interface display method, including:
[0006] Displays the target session interface of the target session;
[0007] Based on the first session state of the target user in the target session, output a first display state that matches the first session state. The first display state is the display state of the virtual avatar corresponding to the target user. The target user refers to any user participating in the target session.
[0008] If the target user switches from the first session state to the second session state in the target session, the virtual avatar is switched from the first display state to the second display state that matches the second session state, where the first session state is different from the second session state.
[0009] On one hand, embodiments of the present invention provide an interface display device, including:
[0010] The display unit is used to display the target session interface of the target session.
[0011] The output unit is configured to output a first display state that matches the first session state of the target user in the target session, wherein the first display state is the display state of the virtual image corresponding to the target user, and the target user refers to any user participating in the target session.
[0012] The switching unit is configured to switch the virtual image from the first display state to a second display state that matches the second session state if the target user switches from the first session state to the second session state in the target session, wherein the first session state is different from the second session state.
[0013] On one hand, embodiments of the present invention provide an interface display device, including:
[0014] A processor, adapted to implement one or more instructions; and,
[0015] A computer storage medium storing one or more instructions adapted for loading by the processor and performing the following steps:
[0016] Displays the target session interface of the target session;
[0017] Based on the first session state of the target user in the target session, output a first display state that matches the first session state. The first display state is the display state of the virtual avatar corresponding to the target user. The target user refers to any user participating in the target session.
[0018] If the target user switches from the first session state to the second session state in the target session, the virtual avatar is switched from the first display state to the second display state that matches the second session state, where the first session state is different from the second session state.
[0019] On one hand, embodiments of the present invention provide a computer storage medium, characterized in that the computer storage medium stores computer program instructions, which, when executed by a processor, are used to perform the following steps:
[0020] Displays the target session interface of the target session;
[0021] Based on the first session state of the target user in the target session, output a first display state that matches the first session state. The first display state is the display state of the virtual avatar corresponding to the target user. The target user refers to any user participating in the target session.
[0022] If the target user switches from the first session state to the second session state in the target session, the virtual avatar is switched from the first display state to the second display state that matches the second session state, where the first session state is different from the second session state.
[0023] In this embodiment of the invention, a target session interface is displayed, and based on the target user's first session state in the target session, a first display state of the target user's virtual avatar matching the first session state is output. Here, the target user refers to any user participating in the target session. If the target user switches from the first session state to a second session state in the target session, the virtual avatar is switched from the first display state to a second display state matching the second session state. The target user's virtual avatar is a user image virtually set by the target user in the social application. By displaying the target user's corresponding virtual avatar in the session interface based on the target user's session state in the target session, a more vivid and engaging display of the target user's session state in the target session is achieved. This display method is more intuitive, increases the fun of social interaction, and thus improves the utilization rate and attention of the social application. Attached Figure Description
[0024] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0025] Figure 1 This is a schematic diagram of the structure of a session processing system provided in an embodiment of the present invention;
[0026] Figure 2 This is a flowchart illustrating an interface display method provided in an embodiment of the present invention;
[0027] Figure 3a This is a schematic diagram of a target session interface provided in an embodiment of the present invention;
[0028] Figure 3b This is a schematic diagram of a personal settings page for a master user provided in an embodiment of the present invention;
[0029] Figure 4a This is a schematic diagram of a virtual image provided in an embodiment of the present invention;
[0030] Figure 4b This is a schematic diagram of the first display state of a virtual image provided in an embodiment of the present invention;
[0031] Figure 4c This is a schematic diagram of the first display state of another virtual image provided in an embodiment of the present invention;
[0032] Figure 4d This is a schematic diagram of the first display state of another virtual image provided in an embodiment of the present invention;
[0033] Figure 4e This is a schematic diagram of the first display state of another virtual image provided in an embodiment of the present invention;
[0034] Figure 4f This is a schematic diagram of the first display state of another virtual image provided in an embodiment of the present invention;
[0035] Figure 5 This is a schematic diagram illustrating the switching of a virtual image from a first display state to a second display state, provided by an embodiment of the present invention.
[0036] Figure 6 This is a flowchart illustrating another interface display method provided in an embodiment of the present invention;
[0037] Figure 7a This is a schematic diagram of a session state setting window provided in an embodiment of the present invention;
[0038] Figure 7b This is a schematic diagram of another session state setting window provided in an embodiment of the present invention;
[0039] Figure 8a This is a schematic diagram of another session state setting window provided in an embodiment of the present invention;
[0040] Figure 8b A schematic diagram of another session state setting window provided in an embodiment of the present invention;
[0041] Figure 9 This is an architecture diagram of an interface display system provided in an embodiment of the present invention;
[0042] Figure 10 This is an interaction diagram between a client and a server provided in an embodiment of the invention;
[0043] Figure 11 This is a schematic diagram of the structure of an interface display device provided in an embodiment of the present invention;
[0044] Figure 12 This is a schematic diagram of the structure of an interface display device provided in an embodiment of the present invention. Detailed Implementation
[0045] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
[0046] This invention provides an interface display scheme. A target session interface is displayed on an interface display device. When a target user is in a first session state within the target session, a first display state matching the first session state is output. This first display state is the display state of the virtual avatar corresponding to the target user. If the target user switches from the first session state to a second session state within the target session, the virtual avatar is switched from the first display state to a second display state matching the second session state. The target session can be any session within any social application, such as a personal session or group session in the QQ application. The target user can refer to any user participating in the target session. The target user's session state within the target session can include online status, input status, voice message playback status, and image message sending status, etc.
[0047] The interface display scheme provided by the embodiments of the present invention enables communication between users not only to be expressed through text, but also to be displayed through the display status of the user's corresponding virtual avatar, which increases the fun of social conversations and thus increases the attention of social applications.
[0048] Based on the above interface display scheme, this embodiment of the invention provides a session processing system, please refer to... Figure 1 This is a schematic diagram of the structure of a session processing system provided in an embodiment of the present invention. Figure 1 The session processing system shown may include at least one user terminal, assuming Figure 1 The Sino-Israeli conversation processing system includes a master-mode user terminal 101 and a friend-mode user terminal 102 as an example. The master-mode user terminal 101 and the friend-mode user terminal 102 can run the same social application, which may include instant messaging applications such as QQ, WeChat Work, and WeChat. Both the master-mode user terminal 101 and the friend-mode user terminal 102 can be terminal devices such as computers, laptops, and smart wearable devices.
[0049] In one embodiment, Figure 1 The session processing system shown may also include a server 103, which provides support for the operation of social applications in the master terminal 101 and the friend terminal 102. The server 103 may be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.
[0050] Optionally, the master user can apply for a social application account from the server 103 through the master user terminal 101, and the friend user can apply for a social application account from the server 103 through the friend user terminal 102. Then, the master user can log in to the social application running on the master user terminal 101 using the social application account corresponding to the master user, and similarly, the friend user can log in to the social application running on the friend user terminal 102 using the social application account corresponding to the friend user.
[0051] In one embodiment, a user in the master state can add users in the friend state as contacts in a social application, allowing the master state user and the friend state user to have conversations through the social application. A chat scenario in which the master state user interacts with a friend state user, or with multiple other users, is called a session.
[0052] Optionally, the social application can provide a virtual avatar setting function, allowing the owner user and friend user to set their own virtual avatars through their respective logged-in social applications. Once the owner user and friend user have activated their respective virtual avatars, their virtual avatars will be displayed in the conversation interface between them. This conversation interface, also known as the chat interface or AIO, is a chat window used to display messages sent by the participants in the conversation.
[0053] In one embodiment, during a conversation between a master user and a friend user via a social application, the master user and friend user may have various conversation states (or chat states), such as typing, online, viewing profile cards, playing voice messages, sending picture messages, etc. To ensure both parties are aware of each other's conversation status in a timely manner, a common method is to display the other party's conversation status via text in the conversation interface. Let's assume that the conversation interface displayed on the master user's terminal showing the conversation between the master user and the friend user is called the master conversation interface, and the conversation interface displayed on the friend user's terminal is called the friend conversation interface. The conversation status of the friend user is displayed in the master conversation interface, such as "online," "typing," or "read," or the conversation status of the master user is displayed on the friend user's terminal.
[0054] However, simply displaying the conversation status of both parties through text is not vivid or engaging enough. Therefore, this embodiment of the invention provides the aforementioned interface display solution. Figure 1The above-described interface display scheme, applied to the conversation processing system shown, can present the conversation status of both parties in a more interesting and vivid way, making communication more than just text and making the transmission of information more human.
[0055] Based on the above-described interface display scheme and session processing system, this embodiment of the invention provides an interface display method. See also... Figure 2 This is a flowchart illustrating an interface display method provided in an embodiment of the present invention. Figure 2 The interface display method shown can be executed by an interface display device, specifically by the processor of the interface display device. The interface display device can be as follows: Figure 1 The aforementioned master-mode user terminal. Figure 2 The interface display method shown may include the following steps:
[0056] Step S201: Display the target session interface of the target session.
[0057] In one embodiment, the target session interface refers to a session interface displayed on a target terminal for conducting the target session. The target terminal can refer to any user terminal participating in the target session. Optionally, the users participating in the target terminal can include the master user and the friend user; in other words, the target session refers to a chat scenario in a social application where a conversation occurs between the master user and the friend user. The target session interface refers to a chat window used to display the session messages sent by the master user and the friend user. That is, the target session interface includes the session messages sent by the master user and the friend user. The session messages can be any one or more of the following types of messages: text messages, voice messages, emoticon messages, file messages, video messages, and image messages, etc.
[0058] In one embodiment, to determine whether each conversation message was sent by the owner user or a friend user, each conversation message in the target conversation interface corresponds to a user tag, which can be the user's avatar tag in a social application. That is, if a conversation message is sent by the owner user, then the conversation message corresponds to the owner user's avatar tag; if a conversation message is sent by a friend user, then the conversation message corresponds to the friend user's avatar tag.
[0059] For example, see Figure 3a This is a schematic diagram of a target session interface provided in an embodiment of the present invention. It is assumed that the target session interface is a session interface displayed on the master user terminal for conducting a target session; in this case, the target session interface can be referred to as the master session interface. Figure 3aIn the middle, 301 represents the master mode conversation interface. The master mode conversation interface 301 can include conversation messages sent by the master mode user as shown in 31, and 31 corresponds to the master mode user's avatar icon as shown in 32. The master mode conversation interface 301 can also include conversation messages sent by the friend mode user as shown in 33, and 33 corresponds to the friend mode user's avatar icon as shown in 34.
[0060] Optionally, the target conversation interface may also include identification information for the friend-state user. This identification information can be the friend-state user's nickname in the social application, or it can be a note added by the host user for the friend-state user. Specifically, if the host user has not added any notes for the friend-state user, the friend-state user's nickname is displayed in the target conversation interface; otherwise, the notes set by the host user for the friend-state user are displayed. For example, Figure 3a The host-mode conversation interface can display the identifier information 35 of the friend-mode user, which is represented by the nickname of the friend-mode user, X Mou X Moumou.
[0061] Step 202: Based on the target user's first session state in the target session, output the first display state that matches the first session state.
[0062] In one embodiment, the first session state of the target user in the target session can refer to any one of the candidate session states generated by the target user in the target session. If the target terminal displaying the target session interface and the target user terminal are not the same, then the candidate session state is a first type of candidate session state. The first type of candidate session state can include a session participation state and a session non-participation state.
[0063] Optionally, the participation in the session state may include any one or more of the following: the social application in the target user terminal is running, and the target user performs a first session operation in the session interface displayed on the target terminal for conducting the target session. The first session operation includes any one or more of the following: inputting session messages (also referred to as input state), playing voice session messages (also referred to as playing voice messages), taking a screenshot of the session interface in the target user terminal (also referred to as screenshot operation), and viewing user information (also referred to as viewing profile card); the user information refers to the information of other users participating in the target session besides the target user.
[0064] In addition, the social application in the target user terminal is running and the target user is not performing the first session operation (referred to as online status) in the session interface for conducting the target session displayed on the target user terminal.
[0065] Optionally, the non-participation in a session state includes any one or more of the following: the social application in the target user terminal is running, and no session interface for conducting the target session is displayed in the social application of the target user terminal; and the social application in the target user terminal is not running.
[0066] In other embodiments, if the target terminal and the target user terminal are the same, the candidate session state is a second type of candidate session state, which includes any one or more of the following: the target user performs a second session operation on the target session interface, and the second session operation includes any one or more of the following: inputting session messages (i.e., input state), playing voice session messages (i.e., playing voice messages), taking a screenshot of the target session interface (i.e., screenshot operation); and there is no second session operation on the target session interface (i.e., online state).
[0067] Optionally, the input operation of conversation messages in the target conversation interface can refer to any one or more of the following: inputting text messages, inputting voice messages, and inserting images / videos. Specifically, when the keyboard is invoked and the input box is not empty in the target conversation interface, it is recognized as text input, i.e., inputting text messages; when the voice input control in the target conversation interface is pressed, it is recognized as inputting voice messages; when the control for inserting images / videos in the target conversation interface is triggered, it is recognized as inserting images / videos.
[0068] In one embodiment, the target terminal and the target user terminal being different includes any of the following situations: the target terminal is the owner-mode user terminal and the target user terminal is the friend-mode user terminal; and the target terminal is the friend-mode user terminal and the target user terminal is the owner-mode user terminal.
[0069] The target terminal and the target user terminal being the same includes any one of the following: both the target terminal and the target user terminal are master-mode user terminals, and both the target terminal and the target user terminal are friend-mode user terminals. For ease of description, in this embodiment of the invention, unless otherwise specified, it is assumed that the target terminal is a master-mode user terminal and the target user terminal is a friend-mode user terminal. In other words, in the following description, unless otherwise specified, the target session interface refers to the master-mode session interface displayed on the master-mode user terminal for conducting the target session, and the target user refers to the friend-mode user participating in the target user session.
[0070] As mentioned above, social applications can provide a virtual avatar setting function, where both the owner user and the friend user can apply for a virtual avatar through their respective social applications. In step S202, if the target user is a friend user, then the virtual avatar corresponding to the target user is the virtual avatar applied for by the friend user in the social application; if the target user is an owner user, then the virtual avatar corresponding to the target user is the virtual avatar applied for by the owner user in the social application.
[0071] After a user applies for a virtual avatar, that avatar can be displayed on their personal settings page. For example, see... Figure 3b This is a schematic diagram of a personal settings page for a master user provided in an embodiment of the present invention. Figure 3b In the user's personal settings page shown, 311 represents the identification information corresponding to the master user, which may include an avatar and nickname. 322 represents the virtual avatar corresponding to the master user. When 322 is selected, the interface display device can display the virtual avatar's settings interface, as shown below. Figure 3b As shown in 333, in the virtual avatar settings interface 333, the master user can choose to dress up the virtual avatar and perform other operations related to the virtual avatar.
[0072] In one embodiment, the interface display device can set multiple matching relationships between the display states of virtual avatars and session states. This allows for the vivid and engaging representation of the user's session state through virtual avatars in different display states. Therefore, when the target user's session state in the target session is the first session state, the first display state matching the first session state can be displayed on the target session interface.
[0073] The following examples illustrate some implementation methods included in step S202. In these examples, it is assumed that the target user refers to a friend-mode user, whose tag information is Li Moumou, and the virtual avatar corresponding to the target user refers to the virtual avatar corresponding to the friend-mode user; the target session interface refers to the master-mode session interface displayed on the master-mode user's terminal for conducting the target session, and the tag information of the master-mode user is Zhang Moumou. Assuming the virtual avatar corresponding to the master-mode user is as follows... Figure 4a As shown in Figure 4A, the virtual avatars corresponding to users in the friend status are as follows: Figure 4a As shown in Figure 4B.
[0074] See Figure 4bThis is a schematic diagram illustrating the first display state of a virtual avatar provided in an embodiment of the present invention. 401 represents the friend-state conversation interface displayed in the friend-state user terminal for conducting the target conversation, and 402 represents the master-state conversation interface displayed in the master-state user terminal for conducting the target conversation, i.e., the target conversation interface. If the first conversation state of the friend-state user refers to the input state such as... Figure 4b As shown in Figure 41, if the keyboard is activated by exhalation and the input box is not empty, the first display state corresponding to the first session state will be displayed in the master mode conversation interface as follows: Figure 4b As shown in Figure 42. (By...) Figure 4b It can be seen that the first display state of the virtual avatar of the friend user can also be displayed in the friend state conversation interface 401.
[0075] See Figure 4c This is a schematic diagram illustrating another first display state of a virtual avatar provided in an embodiment of the present invention. 403 represents the viewing interface displayed in the friend-state user's terminal, where the friend-state user views the profile card of the master-state user. 404 represents the master-state conversation interface displayed in the master-state user's terminal, used for conducting a target conversation, i.e., the target conversation interface. At this time, the first display state of the virtual avatar corresponding to the friend-state user in the master-state conversation interface is a display state that matches the viewing profile card, such as... Figure 4c As shown in Figure 43. (By...) Figure 4c As can be seen, the viewing interface 403 may include information such as the owner user's nickname, avatar tag, and the owner user's personal signature.
[0076] See Figure 4d This is a schematic diagram illustrating the first display state of a virtual avatar provided in another embodiment of the present invention. It is assumed that the social application in the friend-mode user terminal is in an inactive state. An inactive state can mean that the foreground is offline but the background is online; or, it can mean that both the foreground and background are offline. 406 represents the master-mode conversation interface displayed in the master-mode user terminal for conducting a target conversation. In this case, the first display state of the virtual avatar corresponding to the friend-mode user in the master-mode conversation interface is as shown in 44.
[0077] See Figure 4e This is a schematic diagram illustrating the first display state of a virtual avatar provided in another embodiment of the present invention. 407 represents the display of a friend-state conversation interface on the friend-state user's terminal, and 4C in 407 represents a voice message sent by the master-state user to the friend-state user. 408 represents the master-state conversation interface displayed on the master-state user's terminal for conducting a target conversation. If the friend-state user clicks to play the voice message 4C, the first display state of the friend-state user's virtual avatar in the master-state conversation interface is as shown in 45.
[0078] See Figure 4fThis is a schematic diagram illustrating the first display state of a virtual avatar according to another embodiment of the present invention. 409 represents the friend-state conversation interface, and 4010 represents the owner-state conversation interface. Assuming that the friend-state user has performed a screenshot operation on the friend-state conversation interface, the first display state of the virtual avatar corresponding to the friend-state user in 4010 is shown in 46.
[0079] In one embodiment, before step S202, which outputs the first display state of the target user's virtual avatar matching the first session state in the target session, the method further includes: whether the target user enables displaying the virtual avatar in the target session; if enabled, then the step of outputting the first display state of the target user's virtual avatar matching the first session state in the target session is executed; if not enabled, then the above step may not be executed.
[0080] Specifically, the target user can choose whether to enable or disable the display of the virtual avatar in the target session through the target session interface displayed on the target user's terminal. For example, assuming the target user is a friend, the friend can enable or disable the display of the virtual avatar in the target session by entering a specific operation in the friend session interface. The specific operation can refer to double-clicking, clicking, or other gestures.
[0081] Step S203: If the target user switches from the first session state to the second session state in the target session, then the virtual avatar is switched from the first display state to the second display state that matches the second session state.
[0082] In one embodiment, the second session state can be any one or more of the candidate session states generated by the target user in the target session, and the second session state is different from the first session state.
[0083] When a change in the target user's session state is detected within the target session, the target user's corresponding virtual avatar also changes accordingly, thus enabling real-time display of the user's session state through the virtual avatar. For example, see... Figure 5 This is a schematic diagram illustrating the switching of a virtual image from a first display state to a second display state, provided by an embodiment of the present invention. Figure 5 In this scenario, assuming the target user is a friend-mode user, and the target session interface is the owner-mode user's terminal displaying the owner-mode session interface; the friend-mode user's first session state in the target session is playing a voice message, such as... Figure 5 As shown in Figure 501, the virtual avatars of the friend users in the master-mode conversation interface at this time are as follows: Figure 5As shown in Figure 502; when a client user switches from the first session state to the second session state, the second session state is for taking a screenshot, as shown in Figure 502. Figure 5 As shown in 503, the virtual avatar corresponding to the friend user in the master mode conversation interface is switched from 502 to 504.
[0084] In this embodiment of the invention, a target session interface is displayed, and based on the target user's first session state in the target session, a first display state of the target user's virtual avatar matching the first session state is output. Here, the target user refers to any user participating in the target session. If the target user switches from the first session state to a second session state in the target session, the virtual avatar is switched from the first display state to a second display state matching the second session state. The target user's virtual avatar is a user image virtually set by the target user in the social application. By displaying the target user's corresponding virtual avatar in the session interface based on the target user's session state in the target session, a more vivid and engaging display of the target user's session state is achieved, increasing the fun of social interaction and thereby improving the utilization and attention of the social application.
[0085] Based on the above-described interface display method, this embodiment of the invention provides another interface display method. See also... Figure 6 This is a flowchart illustrating another interface display method provided in an embodiment of the present invention. Figure 6 The interface display method shown can be executed by an interface display device, specifically by the processor of the interface display device. The interface display device can refer to... Figure 1 The master-mode user terminal in the session processing system shown. Figure 6 The interface display method shown assumes that the target user is a friend user and the target conversation interface is the owner conversation interface. Figure 6 The interface display method shown may include the following steps:
[0086] Step 601: Display the target session interface of the target session.
[0087] In one embodiment, the target session interface may include a session status setting control. The owner user can trigger the session status setting control to set whether to display their session status through a virtual avatar. Specifically: selecting the session status setting control displays a session status setting window, which includes a control button for displaying the session status through a virtual avatar. The control button is in a first control state. If the control button switches from the first control state to the second control state, the friend user's terminal is notified to display the virtual avatar corresponding to the owner user in the friend session interface of the target session.
[0088] If the second control state indicates that the session state is displayed through the virtual avatar, the display process includes: setting the display state of the virtual avatar corresponding to the master user in the friend state session interface to the display state corresponding to the session state of the master user in the target session.
[0089] If the second control state indicates that the session status is turned off through the virtual avatar display, the display processing includes one or more of the following: turning off the display of the virtual avatar corresponding to the owner user in the friend-state session interface; and setting the display status of the virtual avatar corresponding to the owner user in the friend-state session interface to a preset display status. The preset display status can be an online status or any other arbitrary display status.
[0090] In short, the master user can use the session status settings controls in the master session interface to choose whether their session status can be displayed in the friend user's session interface according to the corresponding display status of their virtual avatar. The first control state of the control buttons can be the default control state.
[0091] In one embodiment, the session state setting control included in the target session interface is displayed on the session settings page when the session setting control in the target session interface is triggered.
[0092] For example, refer to Figure 7a This is a schematic diagram of a session status setting window provided in an embodiment of the present invention. 700 represents the host-mode session interface, and 701 represents the session setting control. When the session setting control 701 is triggered, a session setting page 702 is displayed. The session setting page 702 may include a session status setting control 703. When the session status setting control 703 is selected, a session status setting window 704 is displayed. The session setting window 704 may include a control button 7041 for displaying session status via a virtual avatar. The default state of the control button 7041 is to enable displaying session status via a virtual avatar. If the host user wants to disable displaying session status via a virtual avatar, they can switch the control button from state 7041 to state 7042. Figure 7b As shown.
[0093] In other embodiments, the session state settings window may further include multiple state flags, each state flag identifying a candidate session state. Each state flag may correspond to a control component, and each control component includes an on state and an off state.
[0094] When any control component corresponding to a status flag is in the on state, it means that when the master user is in the candidate session state identified by the status flag, the candidate session state can be displayed through the virtual image of the master user that matches the status flag; otherwise, it means that the candidate session state does not need to be displayed through the virtual image of the master user that matches the status flag.
[0095] Each status marker can be a textual description of the corresponding candidate session state. For example, if the status marker is "input state", it can identify any of the following candidate session states: the other party is inputting text information, the other party is inputting voice information, or the other party is inputting image information, etc.; another example is "playing voice message", which can identify the candidate session state of playing voice message; yet another example is "screenshot operation", which can identify the candidate session state of screenshot operation.
[0096] Optionally, the control component corresponding to each status flag information can be composed of a first sub-component and a second sub-component. When the second sub-component is located to the left of the first sub-component, it indicates that the control component is in the off state; when the second sub-component is located to the right of the first sub-component, it indicates that the control component is in the on state.
[0097] In one embodiment, whether the control component corresponding to any status marker can be operated is determined by the state of the control button that displays the session status via a virtual avatar. Specifically, when the state of the control button that displays the session status via a virtual avatar in the session settings status window indicates that the session status is displayed via a virtual avatar, the control component corresponding to each status marker can be operated; conversely, when the state of the control button that displays the session status via a virtual avatar in the session settings status window indicates that the session status is disabled, the control component corresponding to each status marker cannot be operated.
[0098] The statement that "the control component corresponding to any status flag information cannot be operated" can mean that the status flag information and the control component corresponding to the status flag information are not displayed in the session status settings window; or, the statement that "the control component corresponding to any status flag information cannot be operated" can also mean that each status flag information and the control component corresponding to each status flag information are displayed, but operations on the control components are not responded to.
[0099] For example, in Figure 7aThe control button indicating that the session status is displayed via the virtual avatar is enabled. In this state, the session status settings window can also display two status markers and their corresponding control components: play voice message 705 and screenshot operation 706. 705 corresponds to a control component 7051, and 706 corresponds to a control component 7061. The owner user can use control components 7051 and 7061 to choose whether to display the corresponding session status via the virtual avatar.
[0100] For example, in Figure 7b The control buttons that display the session status via a virtual avatar are in a state that indicates that the session status is off. In this case, the session status settings window does not display status marker information or the corresponding control components.
[0101] Similarly, friends can also set their virtual avatars to display their conversation status through the friends conversation interface; if a friend user enables displaying their conversation status through their virtual avatar, the host conversation interface can switch between displaying different virtual avatars of different friends users based on changes in their conversation status.
[0102] In one embodiment, as described above, each candidate session state corresponds to the display state of a virtual avatar of a master user. Based on this, the session state setting window also includes a display state preview component corresponding to each state marker. When the display state preview option corresponding to any state marker is selected, the display state corresponding to that state marker is displayed in the session state setting window. Whether the interface display device displays the display state preview control corresponding to any state marker in the session state setting window depends on whether the control component corresponding to that state marker is active. Specifically, if the control component corresponding to any state marker is active, the display state preview control corresponding to that state marker is displayed in the session state setting window; otherwise, the display state preview control is not displayed in the session state setting window.
[0103] For example, based on Figure 7a ,refer to Figure 8a This is a schematic diagram of another session state setting window provided in an embodiment of the present invention. Figure 8aAssuming that the control component 7051 corresponding to status marker information 705 is in the on state, the display status preview option 75A corresponding to status marker information 705 can also be displayed in the session status settings window; assuming that the control component 7061 corresponding to status marker information 706 is in the off state, the display status preview option corresponding to status marker information 706 will not be displayed in the session status settings window. When the master user selects the display status preview option 75A, the display status 707 of the virtual avatar corresponding to the played voice message will be displayed in the session status settings window.
[0104] In one embodiment, each status marker also corresponds to a display status configuration option. When the control component corresponding to the corresponding status marker is in the enabled state, the session status settings window can display the display status configuration option corresponding to that status marker. Taking a target status marker among multiple status markers as an example, when the display status configuration option corresponding to the target status marker is triggered, a configuration window for configuring the display status corresponding to the target status marker is displayed in the session status settings window. The configuration window includes at least one display status corresponding to the virtual avatar of the master user. If any of the at least one display status is selected, when the master user is in the session state indicated by the target status marker in the target session, the friend user terminal is notified to set the virtual avatar corresponding to the master user to the selected display status.
[0105] For example, based on Figure 8a ,refer to Figure 8b This is a schematic diagram of another session state setting window provided in an embodiment of the present invention. Figure 8b The session state settings window also displays the display state configuration option 75B corresponding to state marker information 705. When the master user selects 75B, a configuration window 708 is displayed to configure the display state. 708 includes multiple display states, such as 78A and 78B. The master user can trigger 78A or 78B to set 78A or 78B as the display state of the virtual avatar corresponding to the played voice message. For example, if the master user selects 78A and clicks the "OK" button in 708, it means that the master user sets 78A as the display state of the virtual avatar corresponding to the played voice message.
[0106] Step S602: Based on the first session state of the target user in the target session, output the first display state of the virtual image of the target user that matches the first session state in the target session interface, and display the status marker information corresponding to the first session state in the target session interface.
[0107] In one embodiment, the status marker information corresponding to the first session state can be a textual description of the first session state. For example, if the first session state is "entering text content," "entering a voice message," or "entering an image," the status marker information corresponding to the first session state can be the input state. Alternatively, if the first session state is "playing a voice message," the status marker information corresponding to the first session state can be "playing a voice message."
[0108] When the target session interface displays the first display state of the target user's virtual avatar, the status marker information corresponding to the first session state can also be displayed in the target session interface. By combining the status marker information and the virtual avatar, the session state of the target user can be displayed in the session interface, which is clearer and more vivid.
[0109] Optionally, the display position of the status marker information corresponding to the first session state in the target session interface can include any one or more of the following: around the nickname marker of the friend-state user, such as above, below, left, or right, and any other position in the target session interface, such as the top or bottom of the target session interface, etc. For example, in Figure 4f In the text, 4D represents the status marker information corresponding to the first session state, which is displayed below the nickname marker of the friend-state user.
[0110] Step S603: If the target user switches from the first session state to the second session state in the target session, the virtual avatar is switched from the first display state to the second display state that matches the second session state, and the marking information corresponding to the second session state is displayed in the target session interface.
[0111] In one embodiment, some feasible implementations included in steps S602-S603 are described below. Figure 2 The descriptions of steps S202 and S203 in the embodiments will not be repeated here.
[0112] Step S604: If there is a display end trigger event corresponding to the second display state, then in the target session interface, the virtual image is switched from the second display state to the initial display state corresponding to the initial session state.
[0113] In one embodiment, the display end trigger event corresponding to the second display state can refer to any one or more of the following situations: the second session state ends automatically or the session interface displayed on the target user terminal for conducting the target session is closed. For example, the second session state represents playing a voice message, and the end of the voice message playback indicates the existence of a display end trigger event corresponding to the second display state; another example is that the second session state is an input state, and the target user continues in the input state for a while before closing the session interface for conducting the target session.
[0114] When a display end trigger event corresponding to the second display state is detected, the virtual avatar in the target session interface will switch from the second display state to the initial display state corresponding to the initial session state. Wherein, if the target user terminal and the target terminal are different, the initial session state may refer to the social application being running on the target user terminal and the session interface displayed on the target user terminal for conducting the target session not having a first session operation (i.e., online state); if the target user terminal and the target terminal are the same, the initial session state may refer to the second session operation not being present in the target session interface (i.e., online state).
[0115] To ensure smooth uplink and downlink traffic for information exchange between the terminal and the server, the server can control the target user terminal to report the same state only once within a specified time period, such as only once within 20 seconds. Based on this, if the first display state mentioned in step S601 refers to the initial display state of the virtual avatar, and this initial display state is obtained by switching from the third display state, where the third display state corresponds to the third session state of the target user in the target session, and the third session state is any one of the first type of candidate states, or any one of the second type of candidate session states; then, if the target user switches from the first session state to the second session state in the target session, switching the virtual avatar from the first display state to the second display state matching the second session state may include:
[0116] If the third session state is the same as the second session state, then the first time when the target user generates the third session state and the second time when the target user generates the target session state are obtained; if the difference between the first time and the second time is greater than the time difference threshold, then the step of switching the virtual image from the first display state to the second display state that matches the second session state is executed if the target user switches from the first session state to the second session state in the target session.
[0117] In this embodiment of the invention, a target session interface is displayed for the target session. The target user refers to the session between a host user and a friend user. Based on the target user's first session state in the target session, a first display state of the target user's virtual avatar matching the first session state is output. Here, the target user refers to a friend user participating in the target session, and the target session interface refers to the host user's session interface displayed on the host user's terminal for conducting the target session. If the target user switches from the first session state to a second session state in the target session, the virtual avatar is switched from the first display state to a second display state matching the second session state. The target user's virtual avatar is a user image virtually set by the target user in the social application. By displaying the target user's corresponding virtual avatar in the session interface based on the target user's session state in the target session, a more vivid and engaging display of the target user's session state is achieved, increasing the fun of social interaction and thereby improving the utilization and attention of the social application.
[0118] Additionally, if a display end trigger event exists corresponding to the second display state, the virtual avatar will switch from the second display state to the initial display state in the target session interface. This initial display state corresponds to the initial session state, which means that the social application is running in the friend's session and the friend has not performed any target session operations within the friend's session interface. In other words, each time a display state of the virtual avatar ends, the virtual avatar will revert to an initial display state. This helps determine whether the other party has ended a session state by observing the changes in the virtual avatar, providing more interactive functionality for the social application.
[0119] Based on the above-described interface display method embodiments, this invention provides an interface display system, see [link to relevant documentation]. Figure 9 This is an architecture diagram of an interface display system provided in an embodiment of the present invention. Assuming the social application refers to QQ, and the virtual avatar refers to the QQ Show (or similar avatar), Figure 9 The interface display system shown may include a UI layer 901, an engine layer 902, and a network layer 903.
[0120] The UI layer 901 is primarily responsible for displaying the virtual avatar and session status; the network layer 903 is used for basic communication between the client (including the master-mode user terminal and the friend-mode user terminal) and the server. This embodiment of the invention adds a status reporting protocol to the engine layer 902, encapsulating the reporting engine and supporting status extension. The engine layer 902 may include a reporting engine 9021 and a rendering engine 9022.
[0121] Based on design principles such as openness / closedness and single responsibility, the reporting engine 9021 internally encapsulates basic logic such as frequency limits, protocols, and session status notifications, while allowing for business expansion. Specifically, in scenarios requiring session status reporting, the client calls the reporting engine 9021's interface to report information such as the session status type, the time the session status was generated, and the user identifier. Within the frequency limits, the reporting engine 9021 reports the session status marker information to the server. Upon receiving the session status, the server notifies the peer. If the peer is currently in the session interface, it renders the virtual avatar display corresponding to the session status. Specifically, when the owner's or friend's user terminal detects any one or more of the following events, it can report the session status to the server: click events in voice-based card games, click events on avatar markers, text change events in input boxes, events when social applications switch to background operation, and screenshot operations.
[0122] The 9022 rendering engine is primarily used to render the avatars for the QQ Show. Currently, the avatars are rendered using OpenGL, and JavaScript scripts control their outfits and animations, enabling a wide variety of animation playback capabilities. Because the images rendered and their positions differ across different session states, the avatar's skeleton has been expanded from 7 to 8 bones. The position and animation of these bones are still determined by available assets, facilitating future expansion.
[0123] In the aforementioned interface display system, the interaction diagram between the client and server during interface display can be as follows: Figure 10 As shown, specifically: the client triggers the session state reporting logic in the target session in a specific session scenario, where the specific session scenario may include input state, playing voice messages, screenshot operation, clicking avatar marker, etc.; the client determines whether the currently reported session state meets the frequency limit. If it does, the client does not report the current session state to the server; if not, the client reports the current session state to the server; after receiving the reported session state, the server notifies the other end of the session; after receiving the notification, the client of the other end of the session determines whether it is currently in the session interface of the target session; if so, it draws the display state of the virtual avatar corresponding to the current session state.
[0124] Frequency limiting refers to whether the current session state has been reported within a specified time. Considering the large volume of session state reports, this is implemented by controlling the client to report the same session state only once every 20 seconds. Reporting occurs immediately when switching to a different session state, such as switching from input mode to screenshot mode.
[0125] Based on the embodiments of the above-described interface display method, this invention provides an interface display device. (See reference...) Figure 11 This is a schematic diagram of the structure of an interface display device provided in an embodiment of the present invention. Figure 11 The interface display device shown can operate the following units:
[0126] Display unit 1101 is used to display the target session interface of the target session;
[0127] Output unit 1102 is used to output a first display state that matches the first session state of the target user in the target session. The first display state is the display state of the virtual image corresponding to the target user. The target user refers to any user participating in the target session.
[0128] The switching unit 1103 is configured to switch the virtual image from the first display state to a second display state that matches the second session state if the target user switches from the first session state to the second session state in the target session, wherein the first session state is different from the second session state.
[0129] In one embodiment, the first session state and the second session state refer to any two different session states among the candidate session states generated by the target user in the target session; the target session interface refers to the session interface displayed on the target terminal for conducting the target session; the target terminal refers to any user terminal participating in the target session; if the target terminal and the target user terminal are not the same, then the candidate session state is a first type of candidate session state, which includes: a session participation state and a session non-participation state.
[0130] The participation in the session includes any one or more of the following: the social application on the target user's terminal is running, and the target user performs a first session operation on the session interface displayed on the target user's terminal for conducting the target session. The first session operation includes any one or more of the following: inputting session messages, playing voice session messages, taking a screenshot of the session interface on the target user's terminal, and viewing user information. The user information refers to the information of other users participating in the target session besides the target user.
[0131] In addition, the social application in the target user terminal is running and there is no first session operation in the session interface displayed by the target user terminal for conducting the target session;
[0132] The non-participation in a session state includes any one or more of the following: the social application on the target user terminal is running, but no session interface for conducting the target session is displayed in the social application on the target user terminal; and the social application on the target user terminal is not running.
[0133] In one embodiment, if the target terminal and the target user terminal are the same, then the candidate session state is a second type of candidate session state, which includes any one or more of the following: the target user performs a second session operation on the target session interface, which includes any one or more of the following: inputting a session message, playing a voice session message, taking a screenshot of the target session interface; and there is no second type of session operation on the target session interface.
[0134] In one embodiment, the users participating in the target session include master users and friend users, and the target user is either the master user or the friend user.
[0135] The target terminal and the target user terminal are not the same, including any of the following situations: the target terminal is the owner-mode user terminal and the target user terminal is the friend-mode user terminal; and the target terminal is the friend-mode user terminal and the target user terminal is the owner-mode user terminal.
[0136] The target terminal and the target user terminal being the same includes any one of the following situations: the target terminal and the target user terminal are both the owner-mode user terminal, and the target terminal and the target user terminal are both the friend-mode user terminal.
[0137] In one embodiment, if the target terminal and the target user terminal are not the same, and the target terminal is a master user terminal and the target user terminal is a friend user terminal, the target session interface includes a session status setting control, and the interface display device further includes a processing unit 1104, which is used to select the session status setting control; the display unit 1101 is also used to display a session status setting window, which includes a control button that displays the session status through a virtual avatar, and the control button is in a first control state;
[0138] If the control button is switched from the first control state to the second control state, the user terminal in the friend state is notified to display the virtual image corresponding to the owner state user in the friend state session interface of the target session.
[0139] If the second control state indicates that the session state is displayed through the virtual avatar, the display process includes: setting the display state of the virtual avatar corresponding to the master user in the friend state session interface to the display state corresponding to the session state of the master user in the target session.
[0140] If the second control state indicates that the session state is turned off through the virtual avatar display, the display process includes one or more of the following: turning off the display of the virtual avatar corresponding to the master user in the friend state session interface; and setting the display state of the virtual avatar corresponding to the master user in the friend state session interface to a preset display state.
[0141] In one embodiment, the switching unit 1103 is further configured to, if there is a display end trigger event corresponding to the second display state, switch the virtual image from the second display state to the initial display state corresponding to the initial session state in the target session interface. The initial session state refers to any one or more of the following: the social application in the target user terminal is running and the session interface displayed by the target user terminal for conducting the target session does not have the first session operation; and the second session operation does not exist in the target session interface.
[0142] In one embodiment, if the first display state refers to the initial display state of the virtual avatar, and the initial display state is obtained by switching from a third display state, wherein the third display state refers to the display state corresponding to the third session state of the target user in the target session, and the third session state is any one of the first type of candidate session states, or the third session state is any one of the second type of session states; then the switching unit 1103 performs the following steps when switching the virtual avatar from the first display state to the second display state matching the second session state if the target user switches from the first session state to the second session state in the target session:
[0143] If the third session state is the same as the second session state, then obtain the first time when the target user generates the third session state and the second time when the friend user generates the second session state.
[0144] If the difference between the first time and the second time is greater than the time difference threshold, then the step of switching the virtual image from the first display state to the second display state that matches the second session state is executed if the target user switches from the first session state to the second session state in the target session.
[0145] In one embodiment, the session state setting window includes multiple state marker information, each state marker information is used to identify a first type of candidate session state, and each state marker information corresponds to the display state of a virtual avatar of a master user;
[0146] Each status marker corresponds to a display status preview option; when the display status preview option corresponding to any one of the status markers is selected, the display status corresponding to that one status marker is displayed in the session status settings window.
[0147] In one embodiment, the plurality of status marker information includes target status marker information, and each status marker information corresponds to a display status configuration control; when the display status configuration option corresponding to the target status marker information is triggered, a configuration window for configuring the display status corresponding to the target status marker information is displayed in the session status setting window, and the configuration window includes at least one display status corresponding to the virtual image of the master user;
[0148] If any of the at least one display states is selected, then when the master user is in the session state indicated by the target state marker information in the target session, the friend user terminal is notified to set the virtual image of the master user to any of the selected display states.
[0149] In one embodiment, the display unit 1101 is further configured to display status flag information corresponding to the first session state in the target session interface.
[0150] According to one embodiment of the present invention, Figure 2 and Figure 6 The steps involved in the interface display method shown can be from... Figure 11 The interface display device shown is executed by each unit. For example, Figure 2 The aforementioned step S201 can be performed by Figure 11 The display unit 1101 in the interface display device described above is used to execute step S202, which can be performed by... Figure 11 The output unit 1102 in the interface display device described above is used to execute step S203, which can be performed by... Figure 11 The switching unit 1103 in the interface display device described above is used to perform this action; for example, Figure 6 The aforementioned step S601 can be performed by Figure 11 The display unit 1101 in the interface display device shown is used to execute step S602, which can be performed by... Figure 11 The output unit 1102 in the interface display device shown is used to execute steps S603 and S604, which can be performed by... Figure 11The switching unit 1103 in the interface display device shown is used to perform this operation.
[0151] According to another embodiment of the present invention, Figure 11 The various units in the interface display device shown can be individually or entirely merged into one or more other units, or some of the units can be further divided into multiple functionally smaller units. This achieves the same operation without affecting the technical effects of the embodiments of the present invention. The above-mentioned units are divided based on logical functions. In practical applications, the function of one unit can also be implemented by multiple units, or the function of multiple units can be implemented by one unit. In other embodiments of the present invention, the interface display device may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented collaboratively by multiple units.
[0152] According to another embodiment of the present invention, the following can be performed by running on a general-purpose computing device, such as a computer, which includes processing elements and storage elements such as a central processing unit (CPU), random access memory (RAM), and read-only memory (ROM). Figure 2 and Figure 6 The computer program (including program code) for each step involved in the corresponding method shown, to construct such... Figure 11 The interface display device shown herein, and the interface display method for implementing embodiments of the present invention, are described. The computer program may be recorded on, for example, a computer-readable storage medium, loaded onto the aforementioned computing device via the computer-readable storage medium, and run therein.
[0153] In this embodiment of the invention, a target session interface is displayed, and based on the target user's first session state in the target session, a first display state of the target user's virtual avatar matching the first session state is output. Here, the target user refers to any user participating in the target session. If the target user switches from the first session state to a second session state in the target session, the virtual avatar is switched from the first display state to a second display state matching the second session state. The target user's virtual avatar is a user image virtually set by the target user in the social application. By displaying the target user's corresponding virtual avatar in the session interface based on the target user's session state in the target session, a more vivid and engaging display of the target user's session state is achieved, increasing the fun of social interaction and thereby improving the utilization and attention of the social application.
[0154] Based on the above embodiments of the interface display method and the interface display device, this invention provides an interface display device. (See reference...) Figure 12 This is a schematic diagram of the structure of an interface display device provided in an embodiment of the present invention. Figure 12 The interface display device shown may include at least a processor 1201, an input interface 1202, an output interface 1203, and a computer storage medium 1204. The processor 1201, input interface 1202, output interface 1203, and computer storage medium 1204 may be connected via a bus or other means.
[0155] The computer storage medium 1204 can be stored in the memory of the interface display device. The computer storage medium 1204 is used to store computer programs, which include program instructions. The processor 1201 is used to execute the program instructions stored in the computer storage medium 1204. The processor 1201 (or CPU (Central Processing Unit)) is the computing and control core of the interface display device. It is suitable for implementing one or more instructions, specifically for loading and executing one or more instructions to achieve corresponding method flows or corresponding functions.
[0156] In one embodiment, the processor 1201 of this invention can be used to perform: displaying a target session interface of a target session; outputting a first display state matching the first session state according to a first session state of a target user in the target session, wherein the first display state is the display state of a virtual avatar corresponding to the target user, and the target user refers to any user participating in the target session; if the target user switches from the first session state to a second session state in the target session, then the virtual avatar is switched from the first display state to a second display state matching the second session state, wherein the first session state is different from the second session state.
[0157] This invention also provides a computer storage medium (Memory), which is a memory device in an interface display device for storing programs and data. It is understood that the computer storage medium here can include the built-in storage medium in the interface display device, or it can include an extended storage medium supported by the interface display device. The computer storage medium provides storage space, which stores the operating system of the interface display device. Furthermore, the storage space also stores one or more instructions suitable for loading and execution by the processor 1201. These instructions can be one or more computer programs (including program code). It should be noted that the computer storage medium here can be high-speed RAM, or non-volatile memory, such as at least one disk storage device; optionally, it can also be at least one computer storage medium located remotely from the aforementioned processor.
[0158] In one embodiment, the processor 1201 may load and execute one or more instructions stored in the computer storage medium to perform the following steps: displaying the target session interface of the target session; outputting a first display state of the virtual image that matches the first session state according to the first session state of the target user in the target session, wherein the first display state is the display state of the virtual image corresponding to the target user, and the target user refers to any user participating in the target session; if the target user switches from the first session state to a second session state in the target session, then the virtual image is switched from the first display state to a second display state that matches the second session state, wherein the first session state is different from the second session state.
[0159] In one embodiment, the first session state and the second session state refer to any two different session states among the candidate session states generated by the target user in the target session; the target session interface refers to the session interface displayed on the target terminal for conducting the target session, and the target terminal refers to any user terminal participating in the target session;
[0160] If the target terminal and the target user terminal are not the same, then the candidate session state is a first type of candidate session state, which includes: participating in the session state and not participating in the session state.
[0161] The participation in the session includes any one or more of the following: the social application on the target user's terminal is running, and the target user performs a first session operation on the session interface displayed on the target user's terminal for conducting the target session. The first session operation includes any one or more of the following: inputting session messages, playing voice session messages, taking a screenshot of the session interface on the target user's terminal, and viewing user information. The user information refers to the information of other users participating in the target session besides the target user.
[0162] In addition, the social application in the target user terminal is running and there is no first session operation in the session interface displayed by the target user terminal for conducting the target session;
[0163] The non-participation in a session state includes any one or more of the following: the social application on the target user terminal is running, but no session interface for conducting the target session is displayed in the social application on the target user terminal; and the social application on the target user terminal is not running.
[0164] In one embodiment, if the target terminal and the target user terminal are the same, then the candidate session state is a second type of candidate session state, which includes any one or more of the following:
[0165] The target user performs a second conversation operation on the target conversation interface. The second conversation operation includes any one or more of the following: inputting conversation messages, playing voice conversation messages, taking a screenshot of the target conversation interface; and there is no second conversation operation on the target conversation interface.
[0166] In one embodiment, the users participating in the target session include master users and friend users, and the target user is either the master user or the friend user.
[0167] The target terminal and the target user terminal are not the same, including any of the following situations: the target terminal is the owner-mode user terminal and the target user terminal is the friend-mode user terminal; and the target terminal is the friend-mode user terminal and the target user terminal is the owner-mode user terminal.
[0168] The target terminal and the target user terminal being the same includes any one of the following situations: the target terminal and the target user terminal are both the owner-mode user terminal, and the target terminal and the target user terminal are both the friend-mode user terminal.
[0169] In one embodiment, if the target terminal and the target user terminal are not the same, and the target terminal is a master user terminal and the target user terminal is a friend user terminal, the target session interface includes a session status setting control, and the processor 1201 is further configured to: select the session status setting control and display a session status setting window, the session setting window including a control button that displays the session status through a virtual avatar, and the control button is in a first control state;
[0170] If the control button is switched from the first control state to the second control state, the user terminal in the friend state is notified to display the virtual image corresponding to the owner state user in the friend state session interface of the target session.
[0171] If the second control state indicates that the session state is displayed through the virtual avatar, the display process includes: setting the display state of the virtual avatar corresponding to the master user in the friend state session interface to the display state corresponding to the session state of the master user in the target session.
[0172] If the second control state indicates that the session state is turned off through the virtual avatar display, the display process includes one or more of the following: turning off the display of the virtual avatar corresponding to the master user in the friend state session interface; and setting the display state of the virtual avatar corresponding to the master user in the friend state session interface to a preset display state.
[0173] In one embodiment, if there is a display end trigger event corresponding to the second display state, the virtual image is switched from the second display state to the initial display state corresponding to the initial session state in the target session interface. The initial session state refers to any one or more of the following: the social application in the target user terminal is running and the session interface displayed by the target user terminal for conducting the target session does not have the first session operation; and the second session operation does not exist in the target session interface.
[0174] In one embodiment, if the first display state refers to the initial display state of the virtual avatar, and the initial display state is obtained by switching from a third display state, wherein the third display state refers to the display state corresponding to the third session state of the target user in the target session, and the third session state is any one of the first type of candidate session states, or the third session state is any one of the second type of session states, then when the processor 1201 switches the virtual avatar from the first display state to the second display state matching the second session state if the target user switches from the first session state to the second session state in the target session, the processor 1201 performs the following steps: if the third session state is the same as the second session state, then the first time when the target generates the third session state and the second time when the target user generates the second session state are obtained;
[0175] If the difference between the first time and the second time is greater than the time difference threshold, then the step of switching the virtual image from the first display state to the second display state that matches the second session state is executed if the target user switches from the first session state to the second session state in the target session.
[0176] In one embodiment, the session state setting window includes multiple state marker information, each state marker information is used to identify a first type of candidate session state, and each state marker information corresponds to the display state of a virtual avatar of a master user;
[0177] Each status marker corresponds to a display status preview option; when the display status preview option corresponding to any one of the status markers is selected, the display status corresponding to that one status marker is displayed in the session status settings window.
[0178] In one embodiment, the plurality of status marker information includes target status marker information, and each status marker information corresponds to a display status configuration control;
[0179] When the display status configuration option corresponding to the target status marker information is triggered, a configuration window for configuring the display status corresponding to the target status marker information is displayed in the session status setting window. The configuration window includes at least one display status corresponding to the virtual image of the master user.
[0180] If any of the at least one display states is selected, then when the master user is in the session state indicated by the target state marker information in the target session, the friend user terminal is notified to set the virtual image of the master user to any of the selected display states.
[0181] In one embodiment, the processor 1201 is further configured to display status flag information corresponding to the first session state in the target session interface.
[0182] In this embodiment of the invention, a target session interface is displayed, and based on the target user's first session state in the target session, a first display state of the target user's virtual avatar matching the first session state is output. Here, the target user refers to any user participating in the target session. If the target user switches from the first session state to a second session state in the target session, the virtual avatar is switched from the first display state to a second display state matching the second session state. The target user's virtual avatar is a user image virtually set by the target user in the social application. By displaying the target user's corresponding virtual avatar in the session interface based on the target user's session state in the target session, a more vivid and engaging display of the target user's session state is achieved, increasing the fun of social interaction and thereby improving the utilization and attention of the social application.
[0183] According to one aspect of this application, embodiments of the present invention also provide a computer product or computer program, the computer product or computer program including computer instructions stored in a computer-readable storage medium. Processor 1201 reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing an image processing device to perform... Figure 2 and Figure 6The interface display method is as follows: The target session interface is displayed; based on the first session state of the target user in the target session, a first display state matching the first session state is output, where the first display state is the display state of the virtual avatar corresponding to the target user, and the target user refers to any user participating in the target session; if the target user switches from the first session state to a second session state in the target session, the virtual avatar is switched from the first display state to a second display state matching the second session state, where the first session state is different from the second session state.
[0184] The above-disclosed embodiments are merely some examples of the present invention and should not be construed as limiting the scope of the present invention. Therefore, any equivalent variations made in accordance with the claims of the present invention are still within the scope of the present invention.
Claims
1. A method for displaying an interface, characterized in that, include: The target session interface is the interface displayed on the target terminal for conducting the target session. The target terminal refers to any user terminal participating in the target session. Based on the first session state of the target user in the target session, output a first display state that matches the first session state. The first display state is the display state of the virtual avatar corresponding to the target user. The target user refers to any user participating in the target session. If the target user switches from the first session state to the second session state in the target session, then the virtual image is switched from the first display state to the second display state that matches the second session state, where the first session state and the second session state are different. Wherein, the first session state and the second session state refer to any two different session states among the candidate session states generated by the target user in the target session; if the target terminal and the target user terminal are not the same, the candidate session state is a first type of candidate session state, which includes: participating in the session state and not participating in the session state; if the target terminal and the target user terminal are the same, the candidate session state is a second type of candidate session state, which includes any one or more of the following: the target user performs a second session operation in the target session interface, and there is no second session operation in the target session interface.
2. The method as described in claim 1, characterized in that, The participation in the session includes any one or more of the following: the social application in the target user terminal is running, and the target user performs a first session operation in the session interface for conducting the target session displayed on the target user terminal; and the social application in the target user terminal is running, but there is no first session operation in the session interface for conducting the target session displayed on the target user terminal. The first session operation includes any one or more of the following: inputting session messages, playing voice session messages, taking a screenshot of the session interface on the target user's terminal, and viewing user information; the user information refers to the information of other users participating in the target session besides the target user. The non-participation in a session state includes any one or more of the following: the social application on the target user terminal is running, but no session interface for conducting the target session is displayed in the social application on the target user terminal; and the social application on the target user terminal is not running.
3. The method as described in claim 1, characterized in that, The second session operation includes any one or more of the following: inputting session messages, playing voice session messages, and taking a screenshot of the target session interface.
4. The method as described in claim 3, characterized in that, The users participating in the target session include master users and friend users, and the target user is either the master user or the friend user. The target terminal and the target user terminal are not the same, including any of the following situations: the target terminal is the owner-mode user terminal and the target user terminal is the friend-mode user terminal; and the target terminal is the friend-mode user terminal and the target user terminal is the owner-mode user terminal. The target terminal and the target user terminal being the same includes any one of the following situations: the target terminal and the target user terminal are both the owner-mode user terminal, and the target terminal and the target user terminal are both the friend-mode user terminal.
5. The method as described in claim 4, characterized in that, If the target terminal and the target user terminal are not the same, and the target terminal is a master user terminal and the target user terminal is a friend user terminal, the target session interface includes session state setting controls, and the method further includes: Selecting the session status setting control displays the session status setting window, which includes a control button that displays the session status through a virtual avatar. The control button is in a first control state. If the control button is switched from the first control state to the second control state, the user terminal in the friend state is notified to display the virtual image corresponding to the owner state user in the friend state session interface used for the target session. If the second control state indicates that the session state is displayed through the virtual avatar, the display process includes: setting the display state of the virtual avatar corresponding to the master user in the friend state session interface to the display state corresponding to the session state of the master user in the target session. If the second control state indicates that the session state is turned off through the virtual avatar display, the display process includes one or more of the following: turning off the display of the virtual avatar corresponding to the master user in the friend state session interface; and setting the display state of the virtual avatar corresponding to the master user in the friend state session interface to a preset display state.
6. The method as described in claim 2 or 3, characterized in that, The method further includes: If a display end trigger event corresponding to the second display state exists, the virtual image will be switched from the second display state to the initial display state corresponding to the initial session state in the target session interface. The initial session state refers to any one of the following: the social application in the target user terminal is running and the session interface displayed by the target user terminal for conducting the target session does not have the first session operation; and the second session operation does not exist in the target session interface.
7. The method as described in claim 6, characterized in that, If the first display state refers to the initial display state of the virtual image, and the initial display state is obtained by switching from the third display state, the third display state refers to the display state corresponding to the third session state of the target user in the target session; the third session state is any one of the first type of candidate session states, or the third session state is any one of the second type of candidate session states; If the target user switches from the first session state to the second session state in the target session, then the virtual avatar is switched from the first display state to the second display state that matches the second session state, including: If the third session state is the same as the second session state, then obtain the first time when the target user generates the third session state and the second time when the target user generates the second session state. If the difference between the first time and the second time is greater than the time difference threshold, then the step of switching the virtual image from the first display state to the second display state that matches the second session state is executed if the target user switches from the first session state to the second session state in the target session.
8. The method as described in claim 5, characterized in that, The session status setting window includes multiple status markers, each status marker is used to identify a first type of candidate session status, and each status marker corresponds to the display status of a virtual avatar of a master user; Each status marker corresponds to a display status preview option; when any of the status markers' display status preview options is selected, the display status corresponding to any of the status markers is displayed in the session status settings window.
9. The method as described in claim 8, characterized in that, The plurality of status marker information includes target status marker information, and each status marker information corresponds to a display status configuration control; When the display status configuration option corresponding to the target status marker information is triggered, a configuration window for configuring the display status corresponding to the target status marker information is displayed in the session status setting window. The configuration window includes at least one display status corresponding to the virtual image of the master user. If any of the at least one display states is selected, then when the master user is in the session state indicated by the target state marker information in the target session, the friend user terminal is notified to set the virtual image of the master user to any of the selected display states.
10. The method as described in claim 1, characterized in that, The method further includes: The status marker information corresponding to the first session state is displayed in the target session interface.
11. An interface display device, characterized in that, include: The display unit is used to display the target session interface of the target session. The target session interface refers to the session interface displayed on the target terminal for conducting the target session. The target terminal refers to any user terminal participating in the target session. The output unit is configured to output a first display state that matches the first session state of the target user in the target session, wherein the first display state is the display state of the virtual image corresponding to the target user, and the target user refers to any user participating in the target session. The switching unit is configured to switch the virtual image from the first display state to a second display state that matches the second session state if the target user switches from the first session state to the second session state in the target session, wherein the first session state and the second session state are different. Wherein, the first session state and the second session state refer to any two different session states among the candidate session states generated by the target user in the target session; if the target terminal and the target user terminal are not the same, the candidate session state is a first type of candidate session state, which includes: participating in the session state and not participating in the session state; if the target terminal and the target user terminal are the same, the candidate session state is a second type of candidate session state, which includes any one or more of the following: the target user performs a second session operation in the target session interface, and there is no second session operation in the target session interface.
12. An interface display device, characterized in that, include: A processor, adapted to implement one or more instructions; as well as A computer storage medium storing one or more instructions adapted to be loaded by the processor and executed as described in any one of claims 1-9.
13. A computer storage medium, characterized in that, The computer storage medium stores computer program instructions, which, when executed by a processor, are used to perform the method as described in any one of claims 1-9.