Message display method and device in virtual social scene, equipment and storage medium
By displaying 3D avatars of social groups and messages in virtual social scenarios, the problem of limited message display dimensions is solved, improving message viewing efficiency and hardware resource utilization.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TENCENT TECH (CHENGDU) CO LTD
- Filing Date
- 2022-08-03
- Publication Date
- 2026-07-24
AI Technical Summary
In existing technologies, message display in virtual social scenarios is limited in scope, resulting in low utilization of device hardware resources and low message viewing efficiency.
Display 3D avatar models of social groups in virtual social scenarios, and display message content in the associated area of the target location of the virtual group avatar. Support changes in the positional relationship of multiple 3D virtual avatars, and display messages in various ways, such as scrolling, bullet screen, and bubble cards.
It expands the dimensions of message display in virtual social scenarios, improves the efficiency of viewing message content, and increases the utilization rate of device hardware resources.
Smart Images

Figure CN117547837B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the fields of computer technology and human-computer interaction technology, and in particular to a message display method, apparatus, device and storage medium in a virtual social scene. Background Technology
[0002] With the development of computer technology, electronic devices can realize richer and more vivid virtual social scenarios. Users can chat and interact with other users' 3D virtual avatars in these scenarios.
[0003] In related technologies, when a user receives a message from another user, a message notification can be displayed in the virtual social scene to let the user know that there is an unread message. However, this message notification is only for messages sent by a single user, which makes the message display dimension in the virtual social scene singular and the hardware resource utilization of the device low. Summary of the Invention
[0004] This application provides a message display method, device, electronic device, computer-readable storage medium, and computer program product in a virtual social scenario, which can realize message display in social groups in a virtual social scenario and expand the dimensions of message display in a virtual social scenario.
[0005] The technical solution of this application embodiment is implemented as follows:
[0006] This application provides a message display method in a virtual social scenario, including:
[0007] In the virtual social scene of the target object, the virtual group image corresponding to at least one social group to which the target object belongs is displayed. The virtual group image is a three-dimensional image model used to represent the social group.
[0008] The virtual social scene includes at least two three-dimensional virtual avatars, and the relative positional relationship between the at least two three-dimensional virtual avatars can be changed in the virtual social scene; the at least one social group includes a target social group;
[0009] When a message is received from a member of the target social group, the content of the message is displayed in the virtual social scene within the associated area of the target location of the virtual group image.
[0010] This application embodiment also provides a message display device in a virtual social scene, the device comprising:
[0011] The first display module is used to display, in the virtual social scene of the target object, the virtual group image corresponding to at least one social group to which the target object belongs, wherein the virtual group image is a three-dimensional image model representing the social group;
[0012] The virtual social scene includes at least two three-dimensional virtual avatars, and the relative positional relationship between the at least two three-dimensional virtual avatars can be changed in the virtual social scene; the at least one social group includes a target social group;
[0013] The second display module is used to display the content of a message in the virtual social scene, within the associated area of the virtual group's image target location, when a message is received from a member of the target social group.
[0014] In the above scheme, the device further includes a creation module;
[0015] The first display module is also used to display an add control for adding social groups in the virtual social scene;
[0016] In response to a triggering action on the added control, a list of social groups is displayed;
[0017] The creation module is used to create a virtual group image of the target social group in the virtual social scene in response to a selection operation of the target social group in the social group list.
[0018] In the above scheme, the creation module is further configured to display at least one group type option for selection in response to a selection operation of a target social group in the social group list;
[0019] In response to a selection operation for a target group type option among the at least one group type options, a virtual group avatar corresponding to the group type indicated by the target group type option is created in the virtual social scene.
[0020] In the above scheme, the first display module is also used to respond to the display instruction for the virtual social scene, display the screen of the virtual social scene, and display the special effect of at least one virtual group image entering the screen in the screen;
[0021] Each of the virtual group images corresponds to the social group to which the target object belongs.
[0022] In the above scheme, the first display module is further configured to display the association information of the corresponding social group in the association area of each of the virtual group images in the virtual social scene, wherein the association information includes at least one of the following:
[0023] The three-dimensional virtual avatar of the group owner of the social group, the group identifier of the social group, and the activity level of the social group.
[0024] In the above scheme, when the associated information includes the three-dimensional virtual image of the group owner of the social group, the first display module is also used to display the process of the three-dimensional virtual image of the group owner walking out of the corresponding virtual group image and staying in the associated area for each virtual group image when the virtual group image is a virtual item or virtual building with a accommodating space.
[0025] In the above scheme, the second display module is further configured to, when the number of messages is one, identify the message as the first message and statically display the content of the first message in the associated area of the virtual group image target location in the virtual social scene.
[0026] In the above scheme, the associated area includes at least two sub-display areas, the at least two sub-display areas include a first sub-display area and a second sub-display area, and the first message is displayed in the first sub-display area;
[0027] The second display module is also used to, after statically displaying the content of the first message, when receiving a second message sent by a member of the target social group, control the first message to move from the first sub-display area to the second sub-display area, and disappear from the second sub-display area after staying for a target duration;
[0028] When the first message leaves the first sub-display area, the content of the second message is statically displayed in the first sub-display area.
[0029] In the above scheme, the associated area also includes a third sub-display area;
[0030] The second display module is also used to, before controlling the first message to disappear in the second sub-display area, when receiving a third message sent by a member in the target social group, control the first message to move from the second sub-display area to the third sub-display area, and to disappear in the third sub-display area after staying for a target duration;
[0031] When the first message leaves the second sub-display area, control the second message to move from the first sub-display area to the second sub-display area, and disappear from the second sub-display area after the target duration of stay;
[0032] When the second message leaves the first sub-display area, the content of the third message is statically displayed in the first sub-display area.
[0033] In the above scheme, the second display module is further configured to, when the transparency of the first message in the first sub-display area is a first transparency, control the first message with the first transparency to move from the first sub-display area to the second sub-display area, and
[0034] When moving to the second sub-display area, the transparency of the first message is switched from the first transparency to the second transparency, which is lower than the first transparency.
[0035] In the above scheme, the second display module is further configured to display the content of the message in one of the following ways within the associated area of the virtual group image target location in the virtual social scene:
[0036] The message content is displayed in a scrolling format; the message content is also displayed in a bullet screen format.
[0037] In the above scheme, the associated area includes at least two sub-display areas;
[0038] The second display module is also used to, when there are multiple messages, sequentially display the process of each message appearing in the first sub-display area, moving to the last sub-display area one by one, and disappearing, according to the order of their reception time;
[0039] The time interval between adjacent messages appearing in the first sub-display area is less than the duration from the appearance of the message to its disappearance.
[0040] In the above scheme, the second display module is also used to display the number of received messages in the associated area of the message.
[0041] In the above scheme, the second display module is further configured to, after displaying the number of received messages, respond to a message viewing instruction triggered based on the number, display a session interface, and display the number of messages in the session interface.
[0042] In the above scheme, the second display module is also used to display the member's identifier and the content of the message through bubble cards in the associated area of the virtual group image target location in the virtual social scene.
[0043] In the above scheme, the second display module is also used to display the prefix and content of the message in the associated area of the virtual group image target location in the virtual social scene when the message includes a prefix;
[0044] The prefix is used to provide at least one of the following prompts: indicating the existence of a targeted message for the target object, or indicating the existence of an activity message that can be participated in.
[0045] In the above scheme, the device further includes:
[0046] A positioning module is used to move content within the virtual social scene in response to a positioning command for the three-dimensional virtual avatar of the target object, and
[0047] In the virtual social scene after the movement, a three-dimensional virtual image of the target object is displayed.
[0048] In the above solution, the device further includes a voice playback module;
[0049] The first display module is also used to display a sound control in the associated area of the message;
[0050] The voice playback module is used to play the voice message in response to a trigger operation on the sound control when the message is a voice message.
[0051] In the above solution, the first display module is also used to display the three-dimensional virtual image of the target object and the dressing control corresponding to the three-dimensional virtual image in the virtual social scene;
[0052] In response to a trigger operation on the dress-up control, the dress-up interface corresponding to the 3D virtual avatar is displayed;
[0053] In response to the dress-up operation performed based on the dress-up interface, the three-dimensional virtual image after changing virtual clothing is displayed in the virtual social scene.
[0054] In the above scheme, the first display module is also used to display at least one three-dimensional virtual image independent of the virtual group image in the virtual social scene, and each three-dimensional virtual image corresponds to an object;
[0055] In the associated area of the three-dimensional virtual image, an event identifier of the corresponding object is displayed. The event identifier is used to indicate the event that the object is performing.
[0056] In the above scheme, the device further includes an acquisition module;
[0057] The acquisition module is used to, in response to a display instruction for the virtual social scene, acquire at least one social group that the target object has added in the virtual social scene, and the target object belongs to the social group.
[0058] Determine the virtual group image corresponding to each of the aforementioned social groups, with different virtual group images corresponding to different social groups;
[0059] The first display module is used to display the virtual social scene of the target object based on the virtual group image corresponding to each of the determined social groups, and to display the virtual group image corresponding to at least one social group to which the target object belongs in the virtual social scene.
[0060] This application also provides an electronic device, including:
[0061] Memory, used to store executable instructions;
[0062] The processor, when executing executable instructions stored in the memory, implements the message display method in the virtual social scene provided in the embodiments of this application.
[0063] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the message display method in the virtual social scenario provided in this application.
[0064] This application also provides a computer program product, including a computer program or computer executable instructions, which, when executed by a processor, implements the message display method in the virtual social scene provided in this application.
[0065] The embodiments of this application have the following beneficial effects:
[0066] It enables the display of 3D avatar models representing social groups in virtual social scenarios. The relative positions of multiple 3D virtual avatars can be changed within this virtual social scenario. When a message is received from a member of the social group, the content of the received message is displayed in the associated area at the target location of the virtual group avatar. In this way, it realizes the display of messages of social groups in virtual social scenarios, improves the efficiency of message viewing, expands the dimensions of message display in virtual social scenarios, and improves the utilization rate of device hardware resources. Attached Figure Description
[0067] Figure 1 This is a schematic diagram of a single-person message notification interface in a virtual social scenario provided by related technologies;
[0068] Figure 2 This is a schematic diagram of the architecture of a message display system 100 in a virtual social scene provided in this application embodiment;
[0069] Figure 3 This is a schematic diagram of the structure of an electronic device 500 that implements a message display method in a virtual social scene, as provided in an embodiment of this application.
[0070] Figure 4 This is a flowchart illustrating the message display method in a virtual social scenario provided in this application embodiment;
[0071] Figure 5 This is a schematic diagram illustrating the association information of social groups in a virtual social scenario provided in this application embodiment;
[0072] Figure 6 This is a schematic diagram illustrating the positioning of a three-dimensional virtual avatar in a virtual social scene provided in an embodiment of this application;
[0073] Figure 7 This is a schematic diagram of the interface for changing clothes in a three-dimensional virtual avatar provided in an embodiment of this application;
[0074] Figure 8 This is a schematic diagram of the message format provided in an embodiment of this application;
[0075] Figure 9A and Figure 9B This is a schematic diagram of the message display interface provided in an embodiment of this application;
[0076] Figure 10 This is a schematic diagram illustrating the change in transparency during message movement, provided in an embodiment of this application.
[0077] Figure 11 This is a schematic diagram of the message viewing interface provided in an embodiment of this application;
[0078] Figure 12 This is a schematic diagram of the message style provided in the embodiments of this application;
[0079] Figure 13 This is a schematic diagram illustrating the adjustment of the relative positional relationship between three-dimensional virtual images provided in an embodiment of this application;
[0080] Figure 14 This is a flowchart illustrating the message display method in a virtual social scenario provided in this application embodiment;
[0081] Figure 15 This is a schematic diagram of the interaction process between the terminal and the server provided in the embodiments of this application. Detailed Implementation
[0082] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0083] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0084] In the following description, the terms “first, second, third, fourth, and fifth” are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that “first, second, third, fourth, and fifth” may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0085] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0086] Before providing a further detailed description of the embodiments of this application, the nouns and terms involved in the embodiments of this application will be explained, and the nouns and terms involved in the embodiments of this application shall be interpreted as follows.
[0087] 1) Client: An application that runs on a terminal and provides various services, such as virtual social clients, game clients, instant messaging clients, etc.
[0088] 2) In response to, used to indicate the conditions or states on which the operation performed depends. When the conditions or states on which it depends are met, one or more operations performed may be performed in real time or with a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations are performed.
[0089] 3) Virtual social scenarios are virtual scenarios displayed (or provided) by applications when running on a terminal. These virtual scenarios can be simulations of the real world, semi-simulated / semi-fictional virtual environments, or purely fictional virtual environments. Virtual scenarios can be any of two-dimensional, 2.5-dimensional, or three-dimensional virtual scenarios; this application does not limit the dimensions of the virtual scenario. For example, the virtual scenario may include sky, land, ocean, etc., and the land may include environmental elements such as deserts and cities.
[0090] Users can customize their own 3D virtual avatars (i.e., humanoid models) and interact with other people's 3D virtual avatars in virtual social scenarios, such as social chatting and performing tasks.
[0091] During their research, the inventors discovered that in related technologies, within virtual social scenarios, users can chat using their own 3D virtual avatars and those of other users. Figure 1 This is a schematic diagram of a single-person message notification interface in a virtual social scenario provided by related technologies. See [link / reference]. Figure 1 In a virtual plaza featuring multiple 3D virtual avatars, when a user receives a message from another user, they can perform actions such as... Figure 1 The message prompt shown in number 11 is only for messages sent by a single user and only indicates the number of unread messages. Users need to click to view further messages, which makes the message display dimension in the virtual social scene singular, the message viewing efficiency low, and the hardware resource utilization of the device low.
[0092] Based on this, embodiments of this application propose a message display system, method, apparatus, electronic device, computer-readable storage medium, and computer program product for virtual social scenarios. These systems enable message display in social groups within virtual social scenarios, expanding the dimensions of message display in virtual social scenarios and improving the utilization rate of device hardware resources. The following sections will describe these components in detail.
[0093] Based on the above explanation of the nouns and terms used in the embodiments of this application, the message display system in the virtual social scene provided in the embodiments of this application will first be described. See Figure 2 , Figure 2 This is a schematic diagram of the architecture of a message display system 100 in a virtual social scene provided in this application embodiment. In order to support an exemplary application, terminal 400 (terminal 400-1 and terminal 400-2 are shown as examples) connects to server 200 through network 300. Network 300 can be a wide area network or a local area network, or a combination of the two, and data transmission is achieved using wireless or wired links.
[0094] Terminal 400-1 is used to display a virtual group image corresponding to at least one social group to which the target object belongs in a virtual social scene of the target object. The virtual group image is a three-dimensional image model representing the social group.
[0095] The virtual social scene includes at least two three-dimensional virtual avatars, and the relative positional relationship between the different three-dimensional virtual avatars can be changed in the virtual social scene; the at least one social group includes a target social group;
[0096] Server 200 is used to send a message to terminal 400-1 when a member of the target social group (such as the user corresponding to terminal 400-2) sends a message in the target social group;
[0097] Terminal 400-1 is also used to directly display the content of a message sent by server 200 in a virtual social scene within the associated area of the virtual group image target location when the message is received.
[0098] In some embodiments, the message display method in a virtual social scenario provided in this application can be implemented by various electronic devices or computer devices. For example, it can be implemented by a terminal alone, by a server alone, or by a terminal and a server working together. This application can be applied to various scenarios, including but not limited to cloud technology, artificial intelligence, smart transportation, assisted driving, game applications, and the metaverse.
[0099] In some embodiments, the electronic device implementing the message display method in a virtual social scene provided in this application can be various types of terminal devices or servers. The server (e.g., server 200) can be an independent 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, content delivery networks (CDNs), and big data and artificial intelligence platforms. The terminal (e.g., terminal 400) can be a smartphone, tablet, laptop, desktop computer, intelligent voice interaction device (e.g., smart speaker), smart home appliance (e.g., smart TV), smartwatch, in-vehicle terminal, etc., but is not limited to these. The terminal and server can be directly or indirectly connected via wired or wireless communication, and this application does not impose any limitations on this.
[0100] In some embodiments, the terminal or server can implement the message display method in the virtual social scene provided in this application embodiment by running a computer program. For example, the computer program can be a native program or software module in the operating system; it can be a native application (APP), that is, a program that needs to be installed in the operating system to run; it can also be a mini-program, that is, a program that only needs to be downloaded to the browser environment to run; or it can be a mini-program that can be embedded in any APP. In short, the above-mentioned computer program can be any form of application, module or plugin.
[0101] The following describes an electronic device that implements a message display method in a virtual social scenario, as provided in an embodiment of this application. See also... Figure 3 , Figure 3 This is a schematic diagram of the structure of an electronic device 500 for a message display method in a virtual social scene provided in this application embodiment. The electronic device 500 is used as an example. Figure 2 Taking the terminal shown as an example, the electronic device 500 provided in this application embodiment includes:
[0102] At least one processor 510, memory 550, at least one network interface 520, and user interface 530 are included. The various components in the electronic device 500 are coupled together via a bus system 540. It is understood that the bus system 540 is used to implement communication between these components. In addition to a data bus, the bus system 540 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 3 The general labeled all buses as Bus System 540.
[0103] The processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc.
[0104] User interface 530 includes one or more output devices 531 that enable the presentation of media content, including one or more speakers and / or one or more visual displays. User interface 530 also includes one or more input devices 532, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0105] The memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state storage, hard disk drives, optical disk drives, etc. The memory 550 may optionally include one or more storage devices physically located away from the processor 510.
[0106] The memory 550 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), and the volatile memory may be random access memory (RAM). The memory 550 described in this application embodiment is intended to include any suitable type of memory.
[0107] In some embodiments, memory 550 is capable of storing data to support various operations, examples of which include programs, modules, and data structures or subsets or supersets thereof, as illustrated below.
[0108] Operating system 551 includes system programs for handling various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, driver layer, etc., for implementing various basic business functions and handling hardware-based tasks;
[0109] The network communication module 552 is used to reach other computing devices via one or more (wired or wireless) network interfaces 520, exemplary network interfaces 520 including: Bluetooth, WiFi, and Universal Serial Bus (USB), etc.
[0110] Display module 553 is configured to enable the presentation of information (e.g., a user interface for operating peripheral devices and displaying content and information) via one or more output devices 531 (e.g., a display screen, a speaker, etc.) associated with user interface 530;
[0111] The input processing module 554 is used to detect and translate one or more user inputs or interactions from one or more input devices 532.
[0112] In some embodiments, the message display device in the virtual social scene provided in this application can be implemented in software. Figure 3 A message display device 555 in a virtual social scene stored in memory 550 is shown. It can be software in the form of programs and plug-ins, including the following software modules: a first display module 5551 and a second display module 5552. These modules are logical and can therefore be arbitrarily combined or further divided according to the functions they implement. The functions of each module will be described below.
[0113] In other embodiments, the message display device 555 in the virtual social scene provided in this application embodiment can be implemented in hardware. As an example, the message display device in the virtual social scene provided in this application embodiment can be a processor in the form of a hardware decoding processor, which is programmed to execute the message display method in the virtual social scene provided in this application embodiment. For example, the processor in the form of a hardware decoding processor can be one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0114] Based on the above description of the message display system and electronic device in the virtual social scene of this application embodiment, the message display method in the virtual social scene provided by the present application embodiment is described below. In some embodiments, the message display method in the virtual social scene provided by the present application embodiment can be implemented by the server or the terminal alone, or by the server and the terminal working together. The message display method in the virtual social scene provided by the present application embodiment is described below using the terminal implementation as an example.
[0115] See Figure 4 , Figure 4 This is a flowchart illustrating a message display method in a virtual social scenario provided in this application embodiment. The message display method in a virtual social scenario provided in this application embodiment includes:
[0116] Step 101: In the virtual social scene of the target object, the terminal displays the virtual group image corresponding to at least one social group to which the target object belongs; wherein, the at least one social group includes the target social group.
[0117] Here, the virtual group image is a three-dimensional image model used to represent the social group.
[0118] In practical applications, the terminal may have clients installed that support virtual social scenarios (such as social networking clients or game clients), or it may have clients that integrate virtual social scenario functionality (such as instant messaging clients, live streaming clients, recruitment clients, etc.). For example, the terminal may have an instant messaging client that integrates virtual social scenario functionality. Based on this instant messaging client, users can have message conversations with each friend in their friend list and with members of each social group in their social group list. When the instant messaging client displays a virtual social scenario, and receives a message from a member of a social group, the message can be displayed in the virtual social scenario for the user to view quickly.
[0119] Taking a terminal with a social client as an example, when a user opens and runs the social client on the terminal, the user can set up their own 3D virtual avatar based on the social client. Specifically, in the 3D virtual avatar setting interface, the user can independently edit their own 3D virtual avatar, such as selecting the 3D model and clothing, to achieve the editing of their own 3D virtual avatar. Based on the edited 3D virtual avatar, the user can interact with other users' 3D virtual avatars in virtual social scenarios, such as chatting and collaboratively completing tasks.
[0120] In practical applications, virtual social scenarios include at least two 3D virtual avatars. The relative positions of these avatars can change within the virtual social scenario. In addition to displaying the 3D virtual avatar of a single user, virtual group avatars of social groups can also be displayed. The terminal responds to display instructions for the virtual social scenario by obtaining at least one social group that the target user has added to the virtual social scenario, to which the target user belongs; determining the virtual group avatars corresponding to each social group, with different virtual group avatars for different social groups; and displaying the virtual social scenario of the target user based on the determined virtual group avatars corresponding to each social group, while also displaying the virtual group avatars corresponding to at least one social group to which the target user belongs.
[0121] In some embodiments, users can create corresponding virtual group avatars in a virtual social scenario based on the social groups they belong to in the social group list of the social client. Specifically, the virtual group avatar corresponding to the target social group can be added to the virtual social scenario in the following ways:
[0122] The terminal displays an add control for adding social groups in a virtual social scene; in response to a trigger operation on the add control, it displays a list of social groups including at least one social group; in response to a selection operation on a target social group in the social group list, it creates a virtual group image of the target social group in the virtual social scene.
[0123] Here, the terminal creates a virtual group avatar for the target social group in a virtual social scenario, that is, it displays the process of creating the virtual group avatar of the target social group in the virtual social scenario; for example, when the virtual group avatar of the target social group is a virtual tent, the terminal creates the virtual tent in the virtual social scenario, that is, it displays the process of setting up the virtual tent; in this way, users can more intuitively feel the creation process of the virtual group avatar in the virtual social scenario, and improve the user experience in the virtual social scenario.
[0124] In some embodiments, the virtual group avatars displayed in a virtual social scene correspond to the types of the corresponding social groups. That is, the terminal can create a virtual group avatar of a target social group in a virtual social scene in the following way: In response to a selection operation of a target social group in the social group list, the terminal displays at least one group type option for selection; In response to a selection operation of a target group type option among the at least one group type option, a virtual group avatar corresponding to the group type indicated by the target group type option is created in the virtual social scene. Specifically, the terminal can display multiple (i.e., at least two) group type options, each indicating a group type. The division of group types can be based on the function of the group. For example, the terminal can display group types such as travel, shopping, and education, etc. Each group type corresponds to a virtual group avatar. For example, when a user selects the group type option corresponding to the travel type, a virtual tent corresponding to the travel type is created in the virtual social scene. In this way, the created virtual group avatar is more closely matched with the corresponding social group, allowing users to quickly identify the corresponding social group based on the virtual group avatar, thereby improving the recognizability of different social groups in the virtual social scene.
[0125] In practical applications, the virtual group avatar corresponding to the social groups added by the user can be selected by the user. Specifically, after the terminal displays a list of social groups including at least one social group, when the user triggers a selection operation for the target social group, the terminal responds to the selection operation by displaying at least one (or at least two) candidate virtual group avatars for selection. After the user triggers a selection operation for the candidate virtual group avatar, the terminal responds to the selection operation by determining the selected candidate virtual group avatar as the virtual group avatar corresponding to the target social group, and creates the virtual group avatar of the target social group selected by the user in the virtual social scene.
[0126] In some embodiments, when the terminal displays a virtual social scene, there may be corresponding entrance effects for each virtual group image. Specifically, in response to the display instruction for the virtual social scene, the terminal displays the screen of the virtual social scene and displays the entrance effect of at least one virtual group image in the screen; wherein, each virtual group image corresponds to the social group to which the target object belongs.
[0127] Here, the entrance effects for virtual group avatars in different social groups can be different. For example, the entrance effect could be a fade-in with multiple halos, making the virtual group avatars more eye-catching and improving the user's viewing experience. Of course, in practical applications, corresponding entrance effects can also exist for each user's 3D virtual avatar.
[0128] In some embodiments, the associated area of each virtual group avatar in a virtual social scene can also display the associated information of the corresponding social group. This associated area can be one side (e.g., the top or right side) of the virtual group avatar, and the associated information includes at least one of the following: the 3D virtual avatar of the group owner, the group identifier of the social group, and the activity level of the social group. Thus, by displaying the 3D virtual avatar of the group owner, the importance of the group owner in each social group can be highlighted, allowing users to quickly distinguish each virtual group avatar based on the 3D virtual avatar of the group owner, and clearly identify who the group owner is. By displaying the group identifier (e.g., the group name), each virtual group avatar can be accurately distinguished. And by displaying the activity level of the social group, users can gain some understanding of the interaction status of users within the corresponding social group. Figure 5 This is a schematic diagram illustrating the association information of social groups in a virtual social scenario provided in this application embodiment. See also... Figure 5 In the virtual social scene, the virtual group image 51 corresponding to the social group, the name of the social group 52, the activity value of the social group 53, and the three-dimensional virtual image of the group owner 54 of the social group are displayed. In this way, users can have a more comprehensive understanding of the social group based on the displayed related information.
[0129] In practical applications, when the virtual group avatar is a virtual object or building with a storage space, and the associated information of the social group includes the 3D virtual avatar of the group owner, the terminal can display the 3D virtual avatar of the group owner in the following way: the terminal displays the process of the group owner's 3D virtual avatar leaving the storage space of the virtual group avatar and stopping in the associated area. Thus, when the target is the group owner of a social group, they can see their own 3D virtual avatar leaving the storage space of the virtual group avatar and stopping in the associated area, improving user experience and engagement in the virtual social scenario.
[0130] In some embodiments, the 3D virtual avatars displayed in the current virtual social scene may not include the 3D virtual avatar of the target object. If the target object wants to find the location of its own 3D virtual avatar, it can do so through the location function provided by the social client. Specifically, in response to a location command for the 3D virtual avatar corresponding to the target object, the terminal moves the content in the virtual social scene and displays the 3D virtual avatar of the target object in the moved virtual social scene. Thus, by locating the user's own 3D virtual avatar, the user can quickly find the location of its own 3D virtual avatar in the virtual social scene.
[0131] Here, the triggering of the location command is explained. In some embodiments, the terminal displays a location control in the interface of the virtual social scene. In response to the target object's triggering operation on the location control (such as a single click, double click, etc.), a location command is triggered to instruct the location of the target object's 3D virtual image. In some embodiments, the location command can also be a voice command, that is, the location function is triggered by a voice command. The terminal can collect voice data from the target object in real time. When a voice command to instruct the location of the target object's 3D virtual image is collected, such as when the target object's voice content is collected as "Locate my 3D virtual image," the location command is triggered.
[0132] For example, Figure 6 This is a schematic diagram of the positioning of a three-dimensional virtual avatar in a virtual social scene provided in this application embodiment. See also... Figure 6 When the user clicks Figure 6 After the location control 61 is activated, a location command is triggered for the user's own 3D virtual avatar. The terminal moves the content within the virtual social scene and displays the target object's 3D virtual avatar 62 in the moved virtual social scene. Thus, when the user's own 3D virtual avatar is not displayed in the current virtual social scene interface due to viewing other 3D virtual avatars or virtual group avatars, clicking the location control allows for quick location of the user's own 3D virtual avatar, eliminating the need for the user to manually move the content within the virtual social scene and improving human-computer interaction efficiency.
[0133] In some embodiments, users can independently change the virtual clothing of their 3D virtual avatar. Specifically, the terminal can achieve the clothing change of the 3D virtual avatar in the following ways: In a virtual social scene, the terminal displays the 3D virtual avatar corresponding to the target object and the clothing change control corresponding to the 3D virtual avatar; in response to a trigger operation on the clothing change control (such as a single click, double click, etc.), the clothing change interface corresponding to the 3D virtual avatar is displayed; in response to the clothing change operation performed based on the clothing change interface, the 3D virtual avatar after changing the virtual clothing is displayed in the virtual social scene. Specifically, when the terminal displays the clothing change interface corresponding to the 3D virtual avatar, at least two sets of virtual clothing can be displayed in the clothing change interface for the user to choose from. Based on the user's selection operation for the target virtual clothing, a dressing effect image of the 3D virtual avatar wearing the selected target virtual clothing is displayed in the clothing change interface. When the user triggers a confirmation command for the selected target virtual clothing based on the displayed dressing effect image (such as clicking the confirmation button displayed on the interface), the 3D virtual avatar after changing the virtual clothing is displayed in the virtual social scene.
[0134] For example, Figure 7 This is a schematic diagram of the interface for changing clothes in a three-dimensional virtual avatar provided in an embodiment of this application. See also... Figure 7The virtual social scene interface displays a dress-up control 71. When a user clicks this control 71, the dress-up interface is triggered. Once the user completes the dress-up for their 3D virtual avatar, the virtual clothing changes from the appearance shown in 72 to the appearance shown in 73 selected by the user. This allows for the customization of the user's 3D virtual avatar's clothing, ensuring it matches the user's preferences and improving the user experience.
[0135] In some embodiments, in addition to displaying the virtual group avatar of the social group, at least one three-dimensional virtual avatar independent of the virtual group avatar can be displayed in the virtual social scene. Each three-dimensional virtual avatar corresponds to an object. Accordingly, in order to allow users to better understand each other and know the other party's status, an event identifier of the corresponding object can also be displayed in the associated area of the three-dimensional virtual avatar. This event identifier is used to indicate the event being performed by the corresponding object. For example, when the user is listening to music, the corresponding event identifier is a music identifier, such as a cartoon icon of a headphone with musical notes; when the user is chatting, the corresponding event identifier is a chat identifier, such as a chat bubble icon; when the user is playing a game, the corresponding event identifier is the icon of the game being played.
[0136] In practical applications, users can view group members within a social group based on the displayed virtual group avatars. In some embodiments, the terminal can view group members in the social group in the following way: when the virtual group avatar is a virtual object or virtual building with a storage space, the terminal, in response to a trigger operation on the virtual group avatar, displays the process of each member's 3D virtual avatar sequentially walking out of and disappearing from the virtual group avatar. In other embodiments, the terminal can also view group members in the social group in the following way: in response to a trigger operation on the virtual group avatar, when the number of members in the corresponding social group reaches a threshold, the terminal displays the 3D virtual avatars of some members in the associated area of the virtual group avatar, and upon receiving a user's switching command, switches the display of the 3D virtual avatars of some members to the display of the 3D virtual avatars of other members; when the number of members in the corresponding social group is less than the threshold, the terminal displays the 3D virtual avatars of all members in the associated area of the virtual group avatar.
[0137] Step 102: When a message is received from a member of the target social group, the content of the message is displayed in the associated area of the virtual group image in the virtual social scene.
[0138] In practical applications, within the relevant area of the virtual group avatar's target location (such as left, right, above, and below) in virtual social scenarios, that is, on one side (next to) the virtual group avatar, the message content is directly displayed. This allows users to quickly view the message content, which improves the efficiency of message viewing compared to related technologies that only provide unread message notifications and require clicking to view.
[0139] Here, the format of the displayed message is explained. In some embodiments, the message includes the sender's identifier and message content; wherein, the sender's identifier can be the sender's avatar icon or the sender's name (or nickname), etc. In other embodiments, the message may also include a prefix, which can be displayed in the form of an icon or target-style text, used to provide information prompts to the user, such as indicating the existence of a targeted message for a target object, indicating the existence of an activity message to participate in, etc., at least one of these; the number of prefixes has an upper limit, that is, it cannot exceed the target number, such as the target number being 2. Wherein, when the prefix is used to indicate the existence of a targeted message for a target object, it can be displayed in the form of prefix target-style text, such as displaying "Someone @ me" in highlighted or target color (such as yellow); when the prefix is used to indicate the existence of an activity message to participate in, it can be displayed using the activity icon corresponding to the activity, such as when the activity is an activity to listen to music together, the activity icon can be an icon with a musical note.
[0140] For example, Figure 8 This is a schematic diagram of the message format provided in the embodiments of this application. See also: Figure 8 The message consists of three parts: the first part corresponds to the message prefix, which includes an icon for an activity message 81 indicating that there is an event to participate in, and highlighted text 82 indicating that there is a targeted message for a specific person; the second part corresponds to the message sender's nickname "Alice"; and the third part is the message content "The weather is nice".
[0141] The display method of messages is described below. In some embodiments, the terminal may use bubble cards to display messages sent by members in a social group. For example, the terminal may display the member's identifier and the message content through bubble cards in the associated area of the virtual group avatar. In practical applications, the length of the bubble card can be a fixed length, such as a set target length. This fixed-length bubble card can hold a corresponding number of characters. When the number of characters in the message exceeds the number of characters that the bubble card can hold, the excess part can be represented by an ellipsis. In this way, the message seen by the user is in the shape of a bubble, which can be called a message bubble.
[0142] In practical applications, a user may receive one or more messages (at least two) from members of a virtual group, which will be explained in different ways.
[0143] When only one message is received, that message is designated as the first message and its content is statically displayed within the associated area of the virtual group avatar's target location in the virtual social scene. In other words, when only one message is received, its content will remain permanently displayed in the associated area of the virtual group avatar and will not disappear until a new message is received.
[0144] In some embodiments, the associated area of the virtual group avatar includes at least two sub-display areas, which are arranged sequentially from top to bottom on the screen interface. These at least two sub-display areas include a first sub-display area and a second sub-display area. A first message is displayed in the first sub-display area. After the first message is statically displayed, when a second message is received from a member of the target social group, the first message is moved from the first sub-display area to the second sub-display area and disappears after a target duration. When the first message leaves the first sub-display area, the content of the second message is statically displayed in the first sub-display area. Thus, by moving historical messages (i.e., the first message) to the second sub-display area, the first sub-display area can always display newly received messages, and messages disappear after moving to the second sub-display area and remaining there for a target duration. This allows users to browse the content of each message without occupying screen display space.
[0145] Here, after the first message moves to the second sub-display area, it stays in the second sub-display area for a target duration (e.g., 500ms), meaning it is displayed in the second sub-display area for a certain duration. After staying in the second sub-display area for the target duration, it disappears from the second sub-display area. The disappearance process can be achieved by changing the transparency to gradually reduce the visibility of the message to zero. For example, when the first message moves to the second sub-display area, the transparency of the first message is controlled to change in the following order: transparency 100%-60%-20%-0%, so that the first message gradually disappears from the second sub-display area after staying in the target duration. Here, transparency refers to the Alpha channel value. The larger the value, the less transparent it is, i.e., 100% is opaque and 0% is fully transparent.
[0146] In some embodiments, to better reflect the gradual disappearance of the message, the transparency of the first message can be reduced as it moves from the first sub-display area to the second sub-display area. Specifically, when the transparency of the first message in the first sub-display area is at a first transparency level, the first message with the first transparency level is moved from the first sub-display area to the second sub-display area, and upon moving to the second sub-display area, the transparency of the first message is switched from the first transparency level to a second transparency level, which is lower than the first transparency level. Based on this, the first message is controlled to disappear into the second sub-display area after a target duration by gradually reducing the transparency of the first message from the second transparency level to zero.
[0147] In some embodiments, the associated area of the virtual group avatar also includes a third sub-display area. When three or more messages are received, the contents of the multiple received messages can be scrolled and displayed in the first, second, and third sub-display areas included in the associated area according to the order of message reception time. Specifically, before the first message disappears from the second sub-display area, when a third message sent by a member of the target social group is received, the first message is controlled to move from the second sub-display area to the third sub-display area and disappears from the third sub-display area after a target duration (e.g., it moves out of the third sub-display area, and its transparency is reduced to zero during the movement); when the first message leaves the second sub-display area, the second message is controlled to move from the first sub-display area to the second sub-display area and disappears from the second sub-display area after a target duration; when the second message leaves the first sub-display area, the contents of the third message are statically displayed in the first sub-display area.
[0148] In practical applications, when a fourth message is received from a member of the target social group before the first and second messages disappear from the associated area, the system controls the first message to disappear from the third sub-display area, and controls the second message to move from the second sub-display area to the third sub-display area, disappearing from the third sub-display area after a target duration. When the second message leaves the second sub-display area, the system controls the third message to move from the first sub-display area to the second sub-display area, disappearing from the second sub-display area after a target duration. When the third message leaves the first sub-display area, the content of the fourth message is statically displayed in the first sub-display area. This achieves a scrolling display of multiple messages in the associated area of the virtual group avatar according to the order of receipt.
[0149] Here, we will explain the transparency of a single message as it moves through the various sub-display areas. In some embodiments, as the single message moves through the various sub-display areas, the transparency of the message decreases sequentially. For example, when the message is displayed in the first sub-display area, its transparency may be 100%; when the message is displayed in the second sub-display area, its transparency may be 60%; and when the message is displayed in the third sub-display area, its transparency may be 20%.
[0150] For example, Figure 9A This is a schematic diagram of the message display interface provided in an embodiment of this application. See also: Figure 9A When the terminal does not receive a message, the virtual scene displays a virtual group avatar (i.e., the tent), a 3D virtual avatar of the group owner, and the name of the social group (i.e., the Super Show Fan Group). The associated areas of the virtual group avatar include a first sub-display area 91, a second sub-display area 92, and a third sub-display area 93. When only one message is received, it is statically displayed in the first sub-display area 91. When two messages are received, the older message displayed in the first sub-display area 91 moves to the second sub-display area 92, and the new message is displayed in the first sub-display area 93. If no new message is received within a target duration (e.g., 500ms) in sub-display area 91, the message displayed in sub-display area 92 will disappear. When a new message is received within the target duration, the latest message will be displayed in sub-display area 91. Simultaneously, messages originally in sub-display area 91 will move to sub-display area 92, and messages originally in sub-display area 92 will move to sub-display area 93. If no new message is received within the target duration, the messages displayed in sub-display area 92 and sub-display area 93 will disappear (i.e., no longer be displayed). In other embodiments, for the display of messages carrying prefixes used for information prompts in virtual social scenarios, and... Figure 9A Similarly, the only difference is that the displayed message carries a prefix. Figure 9B This is a schematic diagram of the message display interface provided in an embodiment of this application. See also: Figure 9B Among the multiple messages displayed, there are messages with prefixes (as shown in the image, a music icon and directional text).
[0151] Based on the above example, taking the use of bubble cards to carry messages as an example, this paper explains the change in transparency during message movement when three or more messages are received. Figure 10 This is a schematic diagram illustrating the change in transparency during message movement provided in an embodiment of this application, combined with... Figure 9A and Figure 10For the first row of bubble messages, i.e., messages located in the first sub-display area, the transparency of the bubble card (i.e., bubble background) and the corresponding message content (i.e., text characters) is 100%, meaning they are fully displayed. In practical applications, when the display duration of the first row of bubble messages reaches a first duration (e.g., 1240ms) and no new messages are received, the first row of bubble messages can be controlled to disappear. In some other embodiments, the first row of bubble messages is permanently displayed. When the message moves to the second sub-display area, for the second row of bubble messages, the transparency of the bubble card (i.e., bubble background) is 60%, and the transparency of the message content (i.e., text characters) is 100%. The displacement of the message from the first sub-display area to the second sub-display area is 82px, and the movement time is 800ms. The message stays in the second sub-display area for 440ms before moving to the third sub-display area. When the message reaches the third sub-display area (i.e., the third row of bubble messages), the bubble card (i.e., the bubble background) has a 20% transparency, and the message content (i.e., the text characters) has a 100% transparency. The message moves 76px from the second sub-display area to the third sub-display area over 800ms. The number of displayed text characters decreases by one, and the width of the third row of bubble messages decreases from 492px to 458px. After staying in the third sub-display area for 440ms, the message moves out with a 21px displacement over 200ms. During this movement, the transparency of the bubble card (i.e., the bubble background) decreases from 20% to 0%. Thus, when a new message arrives, it is pushed to the top, forming a scrolling bubble pattern. The first sub-display area acts as a message bubble channel, with bubbles continuously rising.
[0152] In some embodiments, the terminal may also display the content of the received message in the associated area of the virtual group avatar target location within a virtual social scene, in the following manner: Specifically, the message is displayed in one of the following ways within the associated area of the virtual group avatar target location within a virtual social scene: scrolling the content of the message; displaying the content of the message in a bullet screen format. The number of messages can be one or more (at least two).
[0153] In some embodiments, the associated area of the virtual group avatar includes at least two sub-display areas. Correspondingly, when multiple messages are received, the terminal can also display the received messages in the associated area of the virtual group avatar's target location within the virtual social scene, in the following manner: the terminal displays each message sequentially according to the order of their reception time, showing the process of each message appearing in the first sub-display area, moving to the last sub-display area, and disappearing; wherein the time interval between adjacent messages appearing in the first sub-display area is less than the duration from message appearance to disappearance. In practical applications, each message stays for the same duration in each sub-display area, such as the target duration, and each message moves at the same speed, with the same time interval between adjacent messages. It should be noted that when a message moves to the last sub-display area and stays for the target duration, it can either disappear directly from the last sub-display area or move out of the last sub-display area and no longer be displayed.
[0154] In some embodiments, the message received by the user may be at least one of image message, video message, animation message, emoticon message, text message, and voice message; when the received message is a voice message, the terminal displays a sound control in the associated area of the displayed message; in response to a trigger operation on the sound control, the received voice message is played.
[0155] In some embodiments, while displaying messages, the terminal can also display a prompt indicating the number of unread messages. Specifically, the terminal displays the number of received messages in the associated area of the displayed messages. When a user triggers a message viewing command for unread messages, the terminal responds to the command based on the number of unread messages by displaying a conversation interface, and then displays that number of messages in the conversation interface. The conversation interface can be displayed via a floating layer or a floating window. For example, Figure 11 This is a schematic diagram of the message viewing interface provided in an embodiment of this application. See also: Figure 11 When multiple messages are received, the number of received messages 111 is displayed next to the messages displayed in the first sub-display area associated with the virtual group avatar. When the user clicks on the displayed number 111 or clicks on the message associated with that number (i.e., the first sub-display area), the conversation interface 112 is displayed, and the content of each message is displayed in the conversation interface 112. When the user triggers the close command, that is, clicks the close control 113 in the conversation interface 112, the conversation interface 112 is canceled, and the virtual group avatar is displayed in the virtual social scene, and the viewed messages are no longer displayed.
[0156] The associated areas represented by the virtual group include a first sub-display area, a second sub-display area, and a third sub-display area. Taking the first, second, and third sub-display areas as an example, arranged from bottom to top on the screen interface, the modules corresponding to each sub-display area will be explained. Figure 12 This is a schematic diagram of the message style provided in the embodiments of this application. See also: Figure 12 The first sub-display area corresponds to the unread message bar module, which always displays the latest received message and the number of unread messages. The second sub-display area corresponds to the message bubble module 122, where the background transparency of the message displayed is less than 100%. The third sub-display area corresponds to the message bubble module 121, where the background transparency of the message displayed is less than that of the message displayed by the message bubble module 122. Furthermore, both the message bubble module 121 and the message bubble module 122 are only used for message display and do not display the number of unread messages.
[0157] In some embodiments, users can adjust the position of a 3D virtual avatar in a virtual social scene to change the relative positional relationship between different 3D virtual avatars in the virtual social scene. Specifically, the terminal displays a position adjustment control for the target 3D virtual avatar. In response to the trigger operation of the position adjustment control, the position of the target 3D virtual avatar is moved in the virtual social scene to change the distance between the target 3D virtual avatar and the 3D virtual avatar of the target object, such as decreasing or increasing the distance between the target 3D virtual avatar and the 3D virtual avatar of the target object.
[0158] For example, Figure 13 This is a schematic diagram illustrating the adjustment of the relative positional relationship between three-dimensional virtual images provided in an embodiment of this application. See also... Figure 13 In this system, 3D virtual avatar 131 is the current user's 3D virtual avatar, and 3D virtual avatar 132 is the target 3D virtual avatar. A position adjustment control 133 (i.e., a proximity button) is displayed in the associated area of the target 3D virtual avatar. When the user clicks the position adjustment control 133, the position of the target 3D virtual avatar is moved within the virtual social scene to reduce the distance between the target 3D virtual avatar and the current user's 3D virtual avatar. It should be noted that the movement route can be a line connecting the two, and if other 3D virtual avatars exist along the movement route, those other 3D virtual avatars can be moved off the route. In some embodiments, the associated area of the target 3D virtual avatar may also display fixed and hidden controls as shown in the figure. When the user triggers (e.g., single-click or double-click) the hidden control, the target 3D virtual avatar is de-displayed in the virtual social scene; when the user triggers (e.g., single-click or double-click) the fixed control, the position of the target 3D virtual avatar within the virtual social scene is fixed.
[0159] It should be noted that in practical applications, in virtual social scenarios, the terminal can display not only messages sent by members in social groups, but also messages sent by users corresponding to individual 3D virtual avatars independent of the virtual group avatars. For example, when the terminal receives a message from the user corresponding to a target 3D virtual avatar in a virtual social scenario, the content of the received message is displayed in the associated area of the target 3D virtual avatar. This allows users to quickly view the content of messages sent by individual users (such as friends), improving the efficiency of viewing messages from individual users.
[0160] By applying the above embodiments of this application, message display in social groups in virtual social scenarios is realized, enabling the display not only of messages sent by a single user (such as a friend), but also of messages sent by members in the social group. This improves message viewing efficiency, expands the dimensions of message display in virtual social scenarios, and enhances the utilization rate of device hardware resources.
[0161] The following describes an exemplary application of the embodiments of this application in a real-world application scenario.
[0162] Figure 14 This is a flowchart illustrating the message display method in a virtual social scenario provided in this application embodiment. Figure 15 This is a schematic diagram of the interaction process between the terminal and the server provided in the embodiments of this application. The message display method in the virtual social scene can be implemented by the terminal or the server alone, or by the terminal and the server working together. Taking the implementation by the terminal and the server working together as an example, combined with... Figure 14 and Figure 15 The message display method in a virtual social scenario provided in this application embodiment includes:
[0163] Step 201: The terminal receives a message from the group.
[0164] In some embodiments, the terminal is equipped with a social client that supports virtual social scenarios. When the terminal runs the social client, a virtual social scenario is displayed, and the virtual group image corresponding to at least one social group to which the target object (i.e., the current user object) belongs is displayed in the virtual social scenario. The virtual social scenario can also display a 3D virtual image of the target object, as well as 3D virtual images of the target object's friends. Of course, it can also display the 3D virtual image of the recommended user. The user can add friends based on the 3D virtual image of the recommended user in the virtual scenario. For example, a friend add control is displayed in the associated area of the 3D virtual image of the recommended user. When the terminal receives a trigger operation (such as a single click or double click) on the friend add control, a friend request is sent to the terminal of the recommended user. When the recommended user triggers a confirmation instruction for the friend request, a friend association relationship is established between the current user object and the recommended user.
[0165] In practical applications, when a member within a group (i.e., a social group) sends a message, the backend logic layer (i.e., the server) sends the message to the current user's terminal. Figure 15 Step 301.
[0166] Step 202: Generate display content based on message content.
[0167] Here, after the terminal receives a message sent by a member within the group (i.e., within a social group), it constructs the message to be displayed in the virtual social scene based on the message format used in the virtual social scenario. For example, Figure 12 The unread message bar module shows the message format as follows: message prefix + sender identifier (such as sender nickname) + message content + number of unread messages. The message bubble module shows the message format as follows: sender identifier (such as sender nickname) + message content.
[0168] Here, we explain the message prefixes. In practical applications, when a message indicates an activity that can be participated in within a group (such as a message about listening to music together), the prefix is displayed using an icon (such as a music icon), and a maximum of two icons can be displayed. When more than two activity messages are received, the icons displayed will be those of the two most recent activity messages. When a notification message (such as a direct message "Someone @ me") is received, the corresponding prefix can be highlighted, such as using highlighted text to display the prefix, with a maximum of two icons displayed. When more than two notification messages are received, the two most recent ones will be used. When the content displayed in the message display area exceeds the display area's capacity, it is indicated by an ellipsis (…).
[0169] The message content can be displayed as the sender's nickname plus the message content. When the content displayed in the message display area exceeds the area's capacity, it is indicated by an ellipsis (…).
[0170] The number of unread messages changes with the number of messages received; each time a new unread message arrives, the number increases accordingly.
[0171] In practical applications, messages are carried by message bubbles (i.e., bubble cards) and displayed through the unread message bar module and the message bubble module. Messages move dynamically from the unread message bar module, and when the length of a message exceeds the length that a message bubble can display, the excess part is represented by an ellipsis.
[0172] Step 203: Determine the number of messages. If the number of messages is 1, proceed to step 204. If the number of messages is 2, proceed to step 205. If the number of messages is greater than or equal to 3, proceed to step 206.
[0173] In practical applications, different numbers of messages are displayed in different ways, so it is necessary to determine the number of messages received before displaying them.
[0174] Step 204: Display the unread message bar.
[0175] Here, when the number of received messages is 1, the message is displayed through the unread message bar module, and it remains displayed in the unread bar module until a new message is received. Figure 15 Step 302.
[0176] Step 205: Display the unread message bar and a bubble will appear, disappearing after 440ms.
[0177] Here, when the number of received messages is 2, based on the order in which the messages are received, the message bubble corresponding to the first message is first displayed in the unread message bar module. Then, this message bubble moves to the message bubble module for display, and simultaneously, the message bubble corresponding to the second message is displayed in the unread message bar module. The message bubble displayed in the message bubble module lasts for 440ms and disappears after 440ms. That is, when the number of unread messages = 2, one bubble will be displayed, and it will disappear within the specified time if no new messages appear. Figure 15 In step 303, the unread message bar plus one message bubble is displayed.
[0178] Step 206: Display the unread message bar, then one bubble floats up, moves to bubble 2 after 440ms, then two bubbles float up, disappearing after 440ms.
[0179] Here, when the number of received messages is greater than or equal to 3, the received messages are displayed in a scrolling manner through the unread message bar module and two message bubble modules, based on the order in which they were received. The unread message bar module always displays the most recently received message, while older message bubbles are pushed up by newer messages to create a scrolling effect. The duration of the messages displayed in each message bubble module is the same, 440ms, although it can be different and can be set according to actual needs. Figure 15 In step 304, the unread message bar plus two message bubbles are displayed.
[0180] See Figure 12 For the first, second, and third received messages, the first message is first displayed in the unread message bar module. Then, the first message moves to the message bubble module 122 for display, and its transparency changes to 60%. Simultaneously, the second message is displayed in the unread message bar module. When the first message has been displayed in the message bubble module 122 for 440ms, it moves to the message bubble module 121, and its transparency changes to 20%. At the same time, the second message moves to the message bubble module 122, and its transparency changes to 60%. The third message is displayed in the unread message bar module. If no new message is received within 440ms after the third message is displayed, the first message and its corresponding message bubble module are displayed for 440ms and then disappear, while the third message remains displayed in the unread message bar module. If a fourth message is received within 440ms after the third message is displayed, the first message is moved out of message bubble module 122, the second message is moved into message bubble module 122, and the third message is moved into message bubble module 121, and the fourth message is displayed in the unread message bar module. In this way, whenever a new message comes in, it is pushed up, forming a scrolling bubble pattern, and the unread message count is incremented by 1. It is equivalent to the unread message bar module being a special message bubble channel where bubbles continuously rise. Each bubble has a fixed display time, remaining for 440ms after display before disappearing. If an unintentional group message appears and the group chat page is not opened, the unread message bar module will remain active.
[0181] Step 207: Open the chat details page.
[0182] Since the unread message bar module displays the number of unread messages, when a user triggers a message viewing command based on this number, such as clicking on an area of the unread message bar module, the terminal is prompted to open the chat details page, such as expanding the chat window semi-floating layer to display each received message in the chat details page. Figure 15 Step 305.
[0183] Step 208: The message display disappears.
[0184] Here, after a user has finished viewing the message on the chat details page, if the user clicks to close the chat details page, the displayed message is canceled in the virtual social scenario. Figure 15 In step 306, when unread messages = 0, hide the unread message bar and message bubble.
[0185] By applying the above embodiments of this application, in a virtual social scenario, message bubbles allow users to quickly view the dynamic content of various groups, improving browsing efficiency and reducing the cost of browsing information between groups. This provides users with an efficient experience of browsing group messages in a virtual social scenario and helps them quickly know the current status of a group before entering the chat page. Furthermore, based on the prefix information on the unread message bar, it is possible to know whether there is currently any activity in the group, greatly improving the efficiency of processing group information in a virtual scenario.
[0186] The following continues to describe the exemplary structure of the message display device 555 in the virtual social scene provided in the embodiments of this application as a software module. In some embodiments, the message display device in the virtual social scene provided in the embodiments of this application includes:
[0187] The first display module is used to display, in the virtual social scene of the target object, the virtual group image corresponding to at least one social group to which the target object belongs, wherein the virtual group image is a three-dimensional image model representing the social group;
[0188] The virtual social scene includes at least two three-dimensional virtual avatars, and the relative positional relationship between the at least two three-dimensional virtual avatars can be changed in the virtual social scene; the at least one social group includes a target social group;
[0189] The second display module is used to display the content of a message in the virtual social scene, within the associated area of the virtual group's image target location, when a message is received from a member of the target social group.
[0190] In some embodiments, the apparatus further includes a creation module;
[0191] The first display module is also used to display an add control for adding social groups in the virtual social scene;
[0192] In response to a triggering action on the added control, a list of social groups is displayed;
[0193] The creation module is used to create a virtual group image of the target social group in the virtual social scene in response to a selection operation of the target social group in the social group list.
[0194] In some embodiments, the creation module is further configured to display at least one group type option for selection in response to a selection operation for a target social group in the social group list;
[0195] In response to a selection operation for a target group type option among the at least one group type options, a virtual group avatar corresponding to the group type indicated by the target group type option is created in the virtual social scene.
[0196] In some embodiments, the first display module is further configured to respond to a display instruction for the virtual social scene, display a screen of the virtual social scene, and display an effect of at least one virtual group avatar entering the screen in the screen;
[0197] Each of the virtual group images corresponds to the social group to which the target object belongs.
[0198] In some embodiments, the first display module is further configured to display association information of the corresponding social group in the association area of each of the virtual group images in the virtual social scene, the association information including at least one of the following:
[0199] The three-dimensional virtual avatar of the group owner of the social group, the group identifier of the social group, and the activity level of the social group.
[0200] In some embodiments, when the associated information includes the three-dimensional virtual image of the group owner of the social group, the first display module is further configured to, when the virtual group image is a virtual item or virtual building with a accommodating space, respectively display the process of the three-dimensional virtual image of the group owner walking out of the corresponding virtual group image and staying in the associated area for each virtual group image.
[0201] In some embodiments, the second display module is further configured to determine the message as the first message when the number of messages is one, and statically display the content of the first message in the associated area of the virtual group image target location in the virtual social scene.
[0202] In some embodiments, the associated area includes at least two sub-display areas, the at least two sub-display areas including a first sub-display area and a second sub-display area, and the first message is displayed in the first sub-display area;
[0203] The second display module is also used to, after statically displaying the content of the first message, when receiving a second message sent by a member of the target social group, control the first message to move from the first sub-display area to the second sub-display area, and disappear from the second sub-display area after staying for a target duration;
[0204] When the first message leaves the first sub-display area, the content of the second message is statically displayed in the first sub-display area.
[0205] In some embodiments, the associated area further includes a third sub-display area;
[0206] The second display module is also used to, before controlling the first message to disappear in the second sub-display area, when receiving a third message sent by a member in the target social group, control the first message to move from the second sub-display area to the third sub-display area, and to disappear in the third sub-display area after staying for a target duration;
[0207] When the first message leaves the second sub-display area, control the second message to move from the first sub-display area to the second sub-display area, and disappear from the second sub-display area after the target duration of stay;
[0208] When the second message leaves the first sub-display area, the content of the third message is statically displayed in the first sub-display area.
[0209] In some embodiments, the second display module is further configured to, when the transparency of the first message in the first sub-display area is a first transparency, control the first message with the first transparency to move from the first sub-display area to the second sub-display area, and
[0210] When moving to the second sub-display area, the transparency of the first message is switched from the first transparency to the second transparency, which is lower than the first transparency.
[0211] In some embodiments, the second display module is further configured to display the message in one of the following ways within the associated area of the virtual group avatar target location in the virtual social scene:
[0212] The message content is displayed in a scrolling format; the message content is also displayed in a bullet screen format.
[0213] In some embodiments, the associated area includes at least two sub-display areas;
[0214] The second display module is also used to, when there are multiple messages, sequentially display the process of each message appearing in the first sub-display area, moving to the last sub-display area one by one, and disappearing, according to the order of their reception time;
[0215] The time interval between adjacent messages appearing in the first sub-display area is less than the duration from the appearance of the message to its disappearance.
[0216] In some embodiments, the second display module is further configured to display the number of received messages in the associated area of the message.
[0217] In some embodiments, the second display module is further configured to, after displaying the number of received messages, display a session interface in response to a message viewing instruction triggered based on the number, and display the number of messages in the session interface.
[0218] In some embodiments, the second display module is further configured to display the member's identifier and the message content via bubble cards within the associated area of the virtual group image target location in the virtual social scene.
[0219] In some embodiments, the second display module is further configured to display the prefix of the message content and the content of the message in the associated area of the virtual group image target location in the virtual social scene when the message includes a prefix;
[0220] The prefix is used to provide at least one of the following prompts: indicating the existence of a targeted message for the target object, or indicating the existence of an activity message that can be participated in.
[0221] In some embodiments, the apparatus further includes:
[0222] A positioning module is used to move content within the virtual social scene in response to a positioning command for the three-dimensional virtual avatar of the target object, and
[0223] In the virtual social scene after the movement, a three-dimensional virtual image of the target object is displayed.
[0224] In some embodiments, the device further includes a voice playback module;
[0225] The first display module is also used to display a sound control in the associated area of the message;
[0226] The voice playback module is used to play the voice message in response to a trigger operation on the sound control when the message is a voice message.
[0227] In some embodiments, the first display module is further configured to display a three-dimensional virtual image of the target object and a dress-up control corresponding to the three-dimensional virtual image in the virtual social scene;
[0228] In response to a trigger operation on the dress-up control, the dress-up interface corresponding to the 3D virtual avatar is displayed;
[0229] In response to the dress-up operation performed based on the dress-up interface, the three-dimensional virtual image after changing virtual clothing is displayed in the virtual social scene.
[0230] In some embodiments, the first display module is further configured to display at least one three-dimensional virtual image independent of the virtual group image in the virtual social scene, each three-dimensional virtual image corresponding to an object;
[0231] In the associated area of the three-dimensional virtual image, an event identifier of the corresponding object is displayed. The event identifier is used to indicate the event that the object is performing.
[0232] In some embodiments, the apparatus further includes an acquisition module;
[0233] The acquisition module is used to, in response to a display instruction for the virtual social scene, acquire at least one social group that the target object has added in the virtual social scene, and the target object belongs to the social group.
[0234] Determine the virtual group image corresponding to each of the aforementioned social groups, with different virtual group images corresponding to different social groups;
[0235] The first display module is used to display the virtual social scene of the target object based on the virtual group image corresponding to each of the determined social groups, and to display the virtual group image corresponding to at least one social group to which the target object belongs in the virtual social scene.
[0236] This application embodiment also provides an electronic device, the electronic device comprising:
[0237] Memory, used to store executable instructions;
[0238] The processor, when executing executable instructions stored in the memory, implements the message display method in the virtual social scene provided in the embodiments of this application.
[0239] This application also provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the message display method in a virtual social scenario provided in this application.
[0240] This application also provides a computer-readable storage medium storing computer-executable instructions. When the computer-executable instructions are executed by a processor, the message display method in the virtual social scene provided in this application is implemented.
[0241] In some embodiments, the computer-readable storage medium may be a read-only memory (ROM), random access memory (RAM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory, magnetic surface memory, optical disk, or CD-ROM, etc.; or it may be a device that includes one or any combination of the above-mentioned memories.
[0242] In some embodiments, executable instructions may take the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a standalone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0243] As an example, executable instructions may, but do not necessarily, correspond to files in a file system. They may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a Hyper Text Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple collaborative files (e.g., a file that stores one or more modules, subroutines, or code sections).
[0244] As an example, executable instructions can be deployed to execute on a single computing device, or on multiple computing devices located in one location, or on multiple computing devices distributed across multiple locations and interconnected via a communication network.
[0245] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of this application are included within the scope of protection of this application.
Claims
1. A method for displaying messages in a virtual social scenario, characterized in that, The method includes: In the virtual social scene of the target object, the virtual group image corresponding to at least one social group to which the target object belongs is displayed. The virtual group image is a three-dimensional image model used to represent the social group. The virtual social scene is a three-dimensional virtual scene. The virtual social scene includes at least two three-dimensional virtual avatars, and the relative positional relationship between the at least two three-dimensional virtual avatars can be changed in the virtual social scene; the at least one social group includes a target social group; When the virtual group image is a virtual object or virtual building with a storage space, in response to a trigger operation on the virtual group image, the process of each member's three-dimensional virtual image in the target social group sequentially walking out of the virtual group image and disappearing is displayed. When a message is received from a member of the target social group, the content of the message and the member's identifier are displayed in a bubble card within the associated area of the virtual group's target location in the virtual social scene. The associated area includes at least two sub-display areas, which include a first sub-display area and a second sub-display area. When the number of messages is one, the message is identified as the first message, and the content of the first message is statically displayed in the first sub-display area; After the content of the first message is statically displayed, when a second message is received from a member of the target social group, the first message is moved from the first sub-display area to the second sub-display area and disappears from the second sub-display area after a target duration; when the first message leaves the first sub-display area, the content of the second message is statically displayed in the first sub-display area.
2. The method as described in claim 1, characterized in that, Before displaying the virtual group avatar corresponding to at least one social group to which the target object belongs, the method further includes: Displays an add control for adding social groups in the virtual social scenario; In response to a triggering action on the added control, a list of social groups is displayed; In response to a selection operation for a target social group in the list of social groups, a virtual group avatar of the target social group is created in the virtual social scene.
3. The method as described in claim 2, characterized in that, In response to a selection operation of a target social group in the social group list, creating a virtual group avatar of the target social group in the virtual social scenario includes: In response to a selection operation for a target social group in the list of social groups, at least one group type option is displayed for selection; In response to a selection operation for a target group type option among the at least one group type options, a virtual group avatar corresponding to the group type indicated by the target group type option is created in the virtual social scene.
4. The method as described in claim 1, characterized in that, The step of displaying the virtual group avatar corresponding to at least one social group to which the target object belongs in the virtual social scene includes: In response to a display command for the virtual social scene, the screen of the virtual social scene is displayed, and in the screen, an effect is displayed showing at least one virtual group avatar entering the screen; Each of the virtual group images corresponds to the social group to which the target object belongs.
5. The method as described in claim 1, characterized in that, The method further includes: In the virtual social scene, the association area of each virtual group avatar displays the association information of the corresponding social group, which includes at least one of the following: The three-dimensional virtual avatar of the group owner of the social group, the group identifier of the social group, and the activity level of the social group.
6. The method as described in claim 5, characterized in that, When the associated information includes the 3D virtual avatar of the group owner of the social group, the associated area of each virtual group avatar in the virtual social scene displays the associated information of the corresponding social group, including: When the virtual group image is a virtual item or virtual building with a storage space, for each virtual group image, the process of the group owner's three-dimensional virtual image walking out of the corresponding virtual group image and staying in the associated area is displayed.
7. The method as described in claim 1, characterized in that, The associated area further includes a third sub-display area, and before controlling the first message to disappear from the second sub-display area, the method further includes: When a third message is received from a member of the target social group, the first message is controlled to move from the second sub-display area to the third sub-display area and disappear from the third sub-display area after staying for the target duration; When the first message leaves the second sub-display area, control the second message to move from the first sub-display area to the second sub-display area, and disappear from the second sub-display area after the target duration of stay; When the second message leaves the first sub-display area, the content of the third message is statically displayed in the first sub-display area.
8. The method as described in claim 1, characterized in that, The control of moving the first message from the first sub-display area to the second sub-display area includes: When the transparency of the first message in the first sub-display area is at a first transparency level, the first message controlling the first transparency moves from the first sub-display area to the second sub-display area, and When moving to the second sub-display area, the transparency of the first message is switched from the first transparency to the second transparency, which is lower than the first transparency.
9. The method as described in claim 1, characterized in that, The method further includes: When there are multiple messages, the process of each message appearing in the first sub-display area, moving to the last sub-display area and disappearing is displayed sequentially according to the order of their reception time. The time interval between adjacent messages appearing in the first sub-display area is less than the duration from the appearance of the message to its disappearance.
10. The method as described in claim 1, characterized in that, The method further includes: The number of messages received is displayed in the associated area of the message.
11. The method as described in claim 10, characterized in that, After displaying the number of received messages, the method further includes: In response to a message viewing instruction triggered based on the quantity, a session interface is displayed, and the quantity of messages is displayed in the session interface.
12. The method as described in claim 1, characterized in that, The display of the message content via bubble cards within the associated area of the virtual group avatar target location in the virtual social scene includes: When the message includes a prefix, the prefix and the content of the message are displayed via bubble cards within the associated area of the virtual group image target location in the virtual social scene. The prefix is used to provide at least one of the following prompts: indicating the existence of a targeted message for the target object, or indicating the existence of an activity message that can be participated in.
13. The method as described in claim 1, characterized in that, The method further includes: In response to a positioning command for the three-dimensional virtual avatar of the target object, the content in the virtual social scene is moved, and In the virtual social scene after the movement, a three-dimensional virtual image of the target object is displayed.
14. The method as described in claim 1, characterized in that, When the message is a voice message, the method further includes: A sound control is displayed in the associated area of the message; In response to a trigger operation on the sound control, the voice message is played.
15. The method as described in claim 1, characterized in that, The method further includes: In the virtual social scene, a three-dimensional virtual image of the target object and a corresponding dress-up control for the three-dimensional virtual image are displayed. In response to a trigger operation on the dress-up control, the dress-up interface corresponding to the 3D virtual avatar is displayed; In response to the dress-up operation performed based on the dress-up interface, the three-dimensional virtual image after changing virtual clothing is displayed in the virtual social scene.
16. The method as described in claim 1, characterized in that, The method further includes: In the virtual social scene, at least one three-dimensional virtual avatar is displayed, independent of the virtual group avatar, and each three-dimensional virtual avatar corresponds to one object; In the associated area of the three-dimensional virtual image, an event identifier of the corresponding object is displayed. The event identifier is used to indicate the event that the object is performing.
17. The method as described in claim 1, characterized in that, The step of displaying the virtual group avatar corresponding to at least one social group to which the target object belongs in the virtual social scene includes: In response to a display instruction for the virtual social scene, the system obtains at least one social group that the target object has added in the virtual social scene, and the target object belongs to the social group. Determine the virtual group image corresponding to each of the aforementioned social groups, with different virtual group images corresponding to different social groups; Based on the virtual group images corresponding to each of the determined social groups, a virtual social scene of the target object is displayed, and in the virtual social scene, a virtual group image corresponding to at least one social group to which the target object belongs is displayed.
18. A message display device in a virtual social scenario, characterized in that, The device includes: The first display module is used to display, in the virtual social scene of the target object, the virtual group image corresponding to at least one social group to which the target object belongs, the virtual group image being a three-dimensional image model representing the social group, and the virtual social scene being a three-dimensional virtual scene. The virtual social scene includes at least two three-dimensional virtual avatars, and the relative positional relationship between the at least two three-dimensional virtual avatars can be changed in the virtual social scene; the at least one social group includes a target social group; When the virtual group image is a virtual object or virtual building with a storage space, in response to a trigger operation on the virtual group image, the process of each member's three-dimensional virtual image in the target social group sequentially walking out of the virtual group image and disappearing is displayed. The second display module is used to display the content of the message and the member's identifier in a bubble card within the associated area of the virtual group's image target location in the virtual social scene when a message sent by a member in the target social group is received. The associated area includes at least two sub-display areas, which include a first sub-display area and a second sub-display area. When the number of messages is one, the message is identified as the first message, and the content of the first message is statically displayed in the first sub-display area; After the content of the first message is statically displayed, when a second message is received from a member of the target social group, the first message is moved from the first sub-display area to the second sub-display area and disappears from the second sub-display area after a target duration; when the first message leaves the first sub-display area, the content of the second message is statically displayed in the first sub-display area.
19. The apparatus according to claim 18, characterized in that, The device also includes a creation module; The first display module is further configured to display an add control for adding social groups in the virtual social scene; and to display a list of social groups in response to a trigger operation on the add control. The creation module is used to create a virtual group image of the target social group in the virtual social scene in response to a selection operation of the target social group in the social group list.
20. The apparatus according to claim 19, characterized in that, The creation module is further configured to, in response to a selection operation of a target social group in the social group list, display at least one group type option for selection; and, in response to a selection operation of a target group type option among the at least one group type options, create a virtual group image in the virtual social scene corresponding to the group type indicated by the target group type option.
21. The apparatus according to claim 18, characterized in that, The first display module is further configured to respond to a display instruction for the virtual social scene, display the screen of the virtual social scene, and display an effect of at least one virtual group image entering the screen; wherein each virtual group image corresponds to the social group to which the target object belongs.
22. The apparatus according to claim 18, characterized in that, The first display module is further configured to display the association information of the corresponding social group in the association area of each virtual group image in the virtual social scene. The association information includes at least one of the following: the three-dimensional virtual image of the group owner of the social group, the group identifier of the social group, and the activity level of the social group.
23. An electronic device, characterized in that, The electronic device includes: Memory is used to store executable instructions for a computer; A processor, when executing computer-executable instructions stored in the memory, implements the method of any one of claims 1 to 17.
24. A computer-readable storage medium storing computer-executable instructions, characterized in that, When the computer-executable instructions are executed by a processor, they implement the method described in any one of claims 1 to 17.
25. A computer program product comprising a computer program or computer-executable instructions, characterized in that, When the computer program or computer-executable instructions are executed by a processor, they implement the method described in any one of claims 1 to 17.