Message display method and device, equipment and storage medium
By setting up multiple sub-display areas and bubble cards to display messages in virtual social scenes, the problem of single message display dimensions is solved, and message viewing efficiency and hardware resource utilization are improved.
Patent Information
- Application Number
- CN202510383011.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-03
- Publication Date
- 2025-07-08
AI Technical Summary
In the prior art, the message display dimension in virtual social scenarios is single, the device hardware resource utilization rate is low, and the message viewing efficiency is low.
Set up multiple sub-display areas in the virtual scene, gradually display and disappear according to the order of message reception, display the message content through bubble cards and barrage, and support voice playback and virtual image dressing.
The scrolling display of multiple messages is realized, which improves the efficiency of message viewing, expands the message display dimension in the virtual scene, and improves the utilization rate of device hardware resources.
Smart Images

Figure CN120268061A_ABST
Abstract
Description
[0001] This application is a divisional application of a patent application with an application date of August 3, 2022, a Chinese patent application number of 202210928317.6, and an invention title of "Message Display Method, Device, Equipment, and Storage Medium in Virtual Social Scenarios". Technical Field
[0002] This application relates to the fields of computer technology and human-computer interaction technology, and particularly relates to a message display method, device, equipment, and storage medium. Background Art
[0003] With the development of computer technology, electronic devices can implement more abundant and vivid virtual scenarios. Users can chat and interact in the virtual scenario based on their own three-dimensional virtual avatars and the three-dimensional virtual avatars of other users.
[0004] In related technologies, when a user receives a message sent by another user, a message prompt can be performed in the virtual scenario so that the user can know that there are unread messages. However, in related technologies, the dimension of message display is single, and the utilization rate of the hardware resources of the device is low. Summary of the Invention
[0005] Embodiments of this application provide a message display method, device, electronic device, computer-readable storage medium, and computer program product, which can display multiple messages in a virtual scenario and expand the dimension of message display in the virtual scenario.
[0006] The technical solution of the embodiments of this application is implemented as follows:
[0007] Embodiments of this application provide a message display method, including:
[0008] Display a virtual avatar in a virtual scenario, where the associated area of the virtual avatar includes at least two sub-display areas;
[0009] In response to receiving multiple messages for the virtual avatar, display the process in which each of the messages appears in the first sub-display area, moves one by one to the last sub-display area, and disappears, in the order of the reception time of each message.
[0010] Embodiments of this application also provide a message display device, where the device includes:
[0011] A first display module, configured to display a virtual avatar in a virtual scenario, where the associated area of the virtual avatar includes at least two sub-display areas;
[0012] The second display module is configured to, in response to receiving multiple messages for the virtual avatar, sequentially display the process in which each of the messages appears in the first sub-display area, moves one by one to the last sub-display area, and disappears, according to the chronological order of the reception times of the messages.
[0013] In the above solution, the second display module is further configured to, for any one of the multiple messages, when the message moves to the last sub-display area, cancel the display of the message in response to the display duration of the message in the last sub-display area reaching the target duration; wherein, the time interval between adjacent messages that appear in the first sub-display area is less than the duration from the appearance to the disappearance of the message.
[0014] In the above solution, the second display module is further configured to, in response to receiving a message for the virtual avatar, determine the message as the first message, and statically display the content of the first message in the associated area of the virtual avatar in the virtual scene.
[0015] In the above solution, 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;
[0016] The second display module is further configured to, after statically displaying the content of the first message, in response to receiving a second message for the virtual avatar, 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 the target duration;
[0017] 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.
[0018] In the above solution, the associated area further includes a third sub-display area;
[0019] The second display module is further configured to, before controlling the first message to disappear from the second sub-display area, in response to receiving a third message for the virtual avatar, control the first message 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;
[0020] 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 staying for the target duration;
[0021] 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.
[0022] In the above solution, the second display module is further configured to, when the transparency of the first message in the first sub-display area is the 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
[0023] When moving to the second sub-display area, switch the transparency of the first message from the first transparency to a second transparency, where the second transparency is lower than the first transparency.
[0024] In the above solution, the second display module is further configured to, in response to receiving multiple messages for the virtual avatar, display the content of the messages in one of the following ways:
[0025] Scroll to display the content of the messages; display the content of the messages in the form of bullet comments.
[0026] In the above solution, the second display module is further configured to display the number of the received messages in the associated area of the messages.
[0027] In the above solution, the second display module is further configured to, after displaying the number of the received messages, in response to a message viewing instruction triggered based on the number, display a session interface, and in the session interface, display the number of messages.
[0028] In the above solution, the second display module is further configured to, after displaying the number of the received messages, in response to a click operation on a message associated with the number, display a session interface, and in the session interface, display the number of messages.
[0029] In the above solution, the second display module is further configured to, after displaying the session interface, in response to a close instruction for the session interface, cancel displaying the session interface and cancel displaying the number of messages.
[0030] In the above solution, the second display module is further configured to display the latest received message among the multiple messages and the number of unread messages in the first sub-display area; where the sub-display areas other than the first sub-display area among the at least two sub-display areas are used to display the messages other than the latest received message among the multiple messages.
[0031] In the above solution, the second display module is further configured to, in response to receiving multiple messages for the virtual avatar, display the content of the messages through a bubble card.
[0032] In the above solution, the virtual image corresponds to the target object. The second display module is further configured to, when the message includes a prefix, in response to receiving multiple messages for the virtual image, display the prefix of the message and the content of the message in the associated area;
[0033] Wherein, the prefix is used for at least one of the following prompts: prompting the existence of a directional message for the target object, and prompting the existence of an activity message that can be participated in.
[0034] In the above solution, the prefix includes: the icon of the activity message and the text of the directional message. The second display module is further configured to display the icon of the activity message, the text of the directional message, and the content of the message in the associated area.
[0035] In the above solution, the message further includes the identifier of the message sender. The second display module is further configured to display the icon of the activity message, the text of the directional message, the identifier of the message sender, and the content of the message in the associated area.
[0036] In the above solution, the virtual image includes a three-dimensional virtual image of the target object. The device further includes:
[0037] A positioning module, configured to, in response to a positioning instruction for the three-dimensional virtual image of the target object, move the content in the virtual scene, and
[0038] In the moved virtual scene, display the three-dimensional virtual image of the target object.
[0039] In the above solution, the device further includes a voice playback module;
[0040] The first display module is further configured to display a sound control in the associated area of the message;
[0041] The voice playback module is configured to, when the message is a voice message, in response to a trigger operation on the sound control, play the voice message.
[0042] In the above solution, the virtual image includes a three-dimensional virtual image of the target object. The first display module is further configured 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 scene;
[0043] In response to a trigger operation on the dressing control, display the dressing interface corresponding to the three-dimensional virtual image;
[0044] In response to a dressing operation performed based on the dressing interface, display the three-dimensional virtual image with the virtual clothing changed in the virtual scene.
[0045] In the above solution, the virtual avatar includes a three-dimensional virtual avatar. The first display module is further configured to display at least one three-dimensional virtual avatar in the virtual scene, and each three-dimensional virtual avatar corresponds to an object;
[0046] In the associated area of the three-dimensional virtual avatar, an event identifier of the corresponding object is displayed, and the event identifier is used to indicate the event that the object is executing.
[0047] In the above solution, the first display module is further configured to display a virtual avatar in the virtual scene in response to a display instruction for the virtual scene.
[0048] An embodiment of the present application further provides an electronic device, including:
[0049] A memory for storing executable instructions;
[0050] A processor, when executing the executable instructions stored in the memory, implements the above message display method provided by the embodiment of the present application.
[0051] An embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, and when the computer-executable instructions are executed by a processor, the above message display method provided by the embodiment of the present application is implemented.
[0052] An embodiment of the present application further provides a computer program product, including a computer program or computer-executable instructions, and when the computer program or computer-executable instructions are executed by a processor, the above message display method provided by the embodiment of the present application is implemented.
[0053] The embodiment of the present application has the following beneficial effects:
[0054] In the message display method provided by the embodiment of the present application, a virtual avatar can be displayed in a virtual scene. The associated area of the virtual avatar includes at least two sub-display areas. In response to receiving multiple messages for the virtual avatar, according to the chronological order of the reception times of the messages, the process of each message appearing in the first sub-display area, moving one by one to the last sub-display area and disappearing is sequentially displayed. In this way, multiple messages can be scrolled and displayed in the associated area of the virtual avatar according to the chronological order of the reception times, enabling the user to view multiple received messages. Thus, multiple messages can be displayed in the virtual scene, improving the viewing efficiency of the message content, expanding the dimension of message display in the virtual scene, and improving the utilization rate of device hardware resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 It is a schematic diagram of the interface for single-person message prompt in a virtual social scene provided by the related art;
[0056] Figure 2 It is a schematic structural diagram of a message display system 100 in a virtual social scenario provided by an embodiment of the present application;
[0057] Figure 3 It is a schematic structural diagram of an electronic device 500 for implementing a message display method in a virtual social scenario provided by an embodiment of the present application;
[0058] Figure 4 It is a schematic flowchart of a message display method in a virtual social scenario provided by an embodiment of the present application;
[0059] Figure 5 It is a schematic diagram of the display of associated information of a social group in a virtual social scenario provided by an embodiment of the present application;
[0060] Figure 6 It is a schematic diagram of three-dimensional virtual image positioning in a virtual social scenario provided by an embodiment of the present application;
[0061] Figure 7 It is a schematic interface diagram of the clothing change of a three-dimensional virtual image provided by an embodiment of the present application;
[0062] Figure 8 It is a schematic diagram of the message format provided by an embodiment of the present application;
[0063] Figure 9A and Figure 9B It is a schematic interface diagram of message display provided by an embodiment of the present application;
[0064] Figure 10 It is a schematic diagram of the transparency change during the message movement provided by an embodiment of the present application;
[0065] Figure 11 It is a schematic interface diagram of message viewing provided by an embodiment of the present application;
[0066] Figure 12 It is a schematic diagram of the message style provided by an embodiment of the present application;
[0067] Figure 13 It is a schematic diagram of adjusting the relative position relationship between three-dimensional virtual images provided by an embodiment of the present application;
[0068] Figure 14 It is a schematic flowchart of a message display method in a virtual social scenario provided by an embodiment of the present application;
[0069] Figure 15 It is a schematic interaction flowchart of a terminal and a server provided by an embodiment of the present application. Detailed implementation manners
[0070] To make the objectives, technical solutions, and advantages of this application clearer, the following will further describe this application in detail with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.
[0071] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments. However, it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and they can be combined with each other without conflict.
[0072] In the following description, the terms "first / second / third / fourth / fifth" are only used to distinguish similar objects and do not represent a specific order for the objects. It can be understood that "first / second / third / fourth / fifth" can be interchanged with a specific order or sequence when allowed, so that the embodiments of this application described here can be implemented in an order other than that illustrated or described here.
[0073] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0074] Before further elaborating on the embodiments of this application, the nouns and terms involved in the embodiments of this application are explained. The nouns and terms involved in the embodiments of this application are subject to the following explanations.
[0075] 1) Client: An application program running on a terminal for providing various services, such as a virtual social client, a game client, an instant messaging client, etc.
[0076] 2) In response to: Used to represent the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more executed operations can be real-time or can have a set delay; without special instructions, there is no limitation on the execution sequence of the multiple executed operations.
[0077] 3) Virtual social scenario: A virtual scenario displayed (or provided) when an application program runs on a terminal. The virtual scenario can be a simulation environment of the real world, a semi-simulated and semi-fictional virtual environment, or a purely fictional virtual environment. The virtual scenario can be any one of a two-dimensional virtual scenario, a 2.5D virtual scenario, or a three-dimensional virtual scenario. The embodiments of this application do not limit the dimension of the virtual scenario. For example, the virtual scenario can include the sky, land, ocean, etc., and the land can include environmental elements such as deserts and cities;
[0078] Users customize and DIY their own 3D virtual avatars (i.e., humanoid models), and in virtual social scenarios, use their 3D virtual avatars to interact with others' 3D virtual avatars, such as for social chatting and task execution.
[0079] During the research process, the inventors found that in related technologies, in virtual social scenarios, users can chat based on their own 3D virtual avatars and other users' 3D virtual avatars. Figure 1 It is a schematic diagram of the interface for single-person message prompts in the virtual social scenario provided by the related technology. Refer to Figure 1 In a virtual square including multiple 3D virtual avatars, when a user receives a message sent by another user, a message prompt as shown in Figure 1 No. 11 is given, but this message prompt only targets messages sent by a single user and only shows the number of unread messages. The user needs to click to view further messages, resulting in a single dimension for message display in the virtual social scenario, low message viewing efficiency, and low utilization rate of the device's hardware resources.
[0080] Based on this, the embodiments of the present application propose a message display system, method, device, electronic device, computer-readable storage medium, and computer program product in a virtual social scenario, which can realize the message display of social groups in the virtual social scenario, expand the dimension of message display in the virtual social scenario, and improve the utilization rate of device hardware resources. The following will be described separately.
[0081] Based on the above explanations of the nouns and terms involved in the embodiments of the present application, first, the message display system in the virtual social scenario provided by the embodiments of the present application will be described. Refer to Figure 2 Figure 2 FIG. is a schematic architecture diagram of the message display system 100 in the virtual social scenario provided by the embodiments of the present application. To support an exemplary application, the terminal 400 (exemplarily showing the terminal 400-1 and the terminal 400-2) is connected to the server 200 through the network 300. The network 300 can be a wide area network or a local area network, or a combination of both, and uses wireless or wired links to achieve data transmission.
[0082] The terminal 400-1 is configured to display at least one virtual group image corresponding to a social group to which the target object belongs in the virtual social scenario of the target object. The virtual group image is a 3D image model used to represent the social group.
[0083] Among them, the virtual social scenario includes at least two 3D virtual avatars, and in the virtual social scenario, the relative position relationship of different 3D virtual avatars can be changed; the at least one social group includes a target social group.
[0084] A server 200, which is configured to send a message to a terminal 400-1 when a member in a target social group (such as the user corresponding to the terminal 400-2) sends a message in the target social group.
[0085] The terminal 400-1 is further configured to directly display the content of the message in an associated area at the target orientation of the virtual group image in the virtual social scenario when receiving the message sent by the server 200.
[0086] In some embodiments, the method for displaying messages in the virtual social scenario provided by the embodiments of the present 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 cooperation between a terminal and a server. The embodiments of the present application can be applied to various scenarios, including but not limited to cloud technology, artificial intelligence, intelligent transportation, assisted driving, game applications, the metaverse, etc.
[0087] In some embodiments, the electronic device for implementing the method for displaying messages in the virtual social scenario provided by the embodiments of the present application can be various types of terminal devices or servers. Among them, a server (such as the server 200) can be an independent physical server, a server cluster or a 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 communications, middleware services, domain name services, security services, content delivery network (CDN), and big data and artificial intelligence platforms. The terminal (such as the terminal 400) can be a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart voice interaction device (such as a smart speaker), a smart home appliance (such as a smart TV), a smart watch, a vehicle-mounted terminal, etc., but is not limited thereto. The terminal and the server can be directly or indirectly connected through wired or wireless communication methods, and the embodiments of the present application do not limit this.
[0088] In some embodiments, the terminal or the server can implement the method for displaying messages in the virtual social scenario provided by the embodiments of the present application by running a computer program. For example, the computer program can be a native program or a software module in an operating system; it can be a local (Native) application (APP), that is, a program that needs to be installed in the operating system to run; it can also be a small program, that is, a program that only needs to be downloaded to the browser environment to run; it can also be a small program that can be embedded into any APP. In short, the above computer program can be any form of application program, module or plug-in.
[0089] The following describes an electronic device for implementing the message display method in a virtual social scenario provided by an embodiment of the present application. Refer to Figure 3 , Figure 3 FIG. Figure 3 is a schematic structural diagram of an electronic device 500 for implementing the message display method in a virtual social scenario provided by an embodiment of the present application. Taking the terminal shown in Figure 2 as an example, the electronic device 500 provided by an embodiment of the present application includes:
[0090] At least one processor 510, a memory 550, at least one network interface 520, and a user interface 530. Each component in the electronic device 500 is coupled together through a bus system 540. It can be understood that the bus system 540 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 540 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clear illustration, in Figure 3 all kinds of buses are labeled as the bus system 540.
[0091] The processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0092] The 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 display screens. The user interface 530 also includes one or more input devices 532, including user interface components that facilitate user input, such as a keyboard, a mouse, a microphone, a touch screen display, a camera, other input buttons, and controls.
[0093] The memory 550 can be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. The memory 550 optionally includes one or more storage devices that are physically located away from the processor 510.
[0094] The memory 550 includes volatile memory or non-volatile memory, and can also include both volatile and non-volatile memory. The non-volatile memory can be a read-only memory (ROM, Read Only Memory), and the volatile memory can be a random access memory (RAM, Random Access Memory). The memory 550 described in the embodiments of the present application is intended to include any suitable type of memory.
[0095] In some embodiments, the memory 550 is capable of storing data to support various operations. Examples of such data include programs, modules, and data structures, or subsets or supersets thereof, which are illustrated below.
[0096] The operating system 551 includes system programs for processing various basic system services and performing hardware-related tasks, such as the framework layer, the core library layer, the driver layer, etc., for implementing various basic services and processing hardware-based tasks;
[0097] 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 include: Bluetooth, Wireless Fidelity (WiFi), and Universal Serial Bus (USB), etc.;
[0098] The display module 553 is used 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 associated with the user interface 530 (e.g., a display screen, a speaker, etc.);
[0099] The input processing module 554 is used to detect and translate one or more user inputs or interactions from one of one or more input devices 532.
[0100] In some embodiments, the message display device in the virtual social scenario provided by the embodiments of the present application can be implemented in software. Figure 3 Shown is the message display device 555 in the virtual social scenario stored in the memory 550, which can be software in the form of programs and plugins, etc., including the following software modules: the first display module 5551 and the second display module 5552. These modules are logical, so they can be combined or further split arbitrarily according to the functions to be implemented. The functions of each module will be described below.
[0101] In some other embodiments, the message display device 555 in the virtual social scenario provided by the embodiments of the present application may be implemented in a hardware manner. As an example, the message display device in the virtual social scenario provided by the embodiments of the present application may be a processor in the form of a hardware decoding processor, which is programmed to execute the message display method in the virtual social scenario provided by the embodiments of the present application. For example, a processor in the form of a hardware decoding processor may employ one or more application-specific integrated circuits (ASICs, Application Specific Integrated Circuit), DSPs, programmable logic devices (PLDs, Programmable Logic Device), complex programmable logic devices (CPLDs, Complex ProgrammableLogic Device), field-programmable gate arrays (FPGAs, Field-Programmable Gate Array), or other electronic components.
[0102] Based on the above description of the message display system and electronic device in the virtual social scenario of the embodiments of the present application, the message display method provided by the embodiments of the present application will be described below. In some embodiments, the message display method provided by the embodiments of the present application may be implemented by the server or the terminal alone, or by the server and the terminal in cooperation. Below, the message display method provided by the embodiments of the present application will be described by taking the terminal implementation as an example.
[0103] See Figure 4 , Figure 4 is a flowchart of the message display method in the virtual social scenario provided by the embodiments of the present application. The message display method provided by the embodiments of the present application includes:
[0104] Step 101: The terminal displays at least one virtual group image corresponding to a social group to which the target object belongs in the virtual social scenario of the target object; wherein, the at least one social group includes the target social group.
[0105] Here, the virtual group image is a three-dimensional image model used to represent a social group.
[0106] In practical applications, a client supporting virtual social scenarios (such as a social client or a game client) is installed on the terminal, or it can also be a client integrated with virtual social scenario functions (such as an instant messaging client, a live broadcast client, a recruitment client, etc.). For example, an instant messaging client integrated with virtual social scenario functions is set on the terminal. Based on this instant messaging client, the user can have message conversations with each friend in the friend list and have conversations with the members in each social group in the social group list. During the process of the instant messaging client displaying the virtual social scenario, when a message sent by a member in the social group is received, the message can be displayed in the virtual social scenario for the user to quickly view.
[0107] Taking the case where a social client is set on the terminal as an example, when the user opens and runs the social client on the terminal, the user can set their own three-dimensional virtual image based on this social client. Specifically, in the setting interface of the three-dimensional virtual image, the user can perform independent editing of their own three-dimensional virtual image, such as selecting a three-dimensional model, selecting clothing, etc., to complete the editing of their own three-dimensional virtual image, and interact with the three-dimensional virtual images of other users in the virtual social scenario based on the edited three-dimensional virtual image, such as chatting, collaborating to complete tasks, etc.
[0108] In practical applications, at least two three-dimensional virtual images are included in the virtual social scenario. In the virtual social scenario, the relative position relationship of different three-dimensional virtual images can change. In addition to being able to display the three-dimensional virtual image of a single user in the virtual social scenario, the virtual group image of a social group can also be displayed. The terminal responds to the display instruction for the virtual social scenario, obtains at least one social group added by the target object in the virtual social scenario, and the target object belongs to this social group; determines the virtual group image corresponding to each social group, and different social groups correspond to different virtual group images; based on the determined virtual group images corresponding to each social group, displays the virtual social scenario of the target object, and in the virtual social scenario, displays the virtual group image corresponding to at least one social group to which the target object belongs.
[0109] In some embodiments, the user can create a corresponding virtual group image in the virtual social scenario based on the social groups to which the user belongs in the social group list of the social client. Specifically, the target object can add the virtual group image corresponding to the target social group in the virtual social scenario in the following way:
[0110] The terminal displays an addition control for adding a social group in the virtual social scenario; in response to the trigger operation for the addition control, displays a social group list including at least one social group; in response to the selection operation for the target social group in the social group list, creates the virtual group image of the target social group in the virtual social scenario.
[0111] Here, in a virtual social scenario, the terminal creates a virtual group image of a target social group, that is, in the virtual social scenario, it displays the process of creating the virtual group image of the target social group. For example, when the virtual group image 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 experience the process of creating the virtual group image in the virtual social scenario, improving the user experience in the virtual social scenario.
[0112] In some embodiments, the virtual group image displayed in the virtual social scenario corresponds to the type of the corresponding social group. That is, the terminal can create the virtual group image of the target social group in the virtual social scenario in the following manner: The terminal responds to a selection operation on the target social group in the social group list, and displays at least one group type option for selection; in response to a selection operation on the target group type option among the at least one group type option, it creates a virtual group image corresponding to the group type indicated by the target group type option in the virtual social scenario. Specifically, the terminal can display multiple (i.e., at least two) group type options, and each group type option indicates a group type. The division of this group type can be based on the function of the group. For example, the terminal can display group types such as travel type, shopping type, education type, etc. Each group type corresponds to a virtual group image. For example, when the 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 scenario. In this way, the created virtual group image is more fitting with the corresponding social group, enabling users to quickly recognize the corresponding social group based on the virtual group image, and improving the recognition of different social groups in the virtual social scenario.
[0113] In practical applications, the virtual group image corresponding to the social group added by the user can be selected by the user himself / herself. Specifically, after the terminal displays a social group list including at least one social group, when the user triggers a selection operation on the target social group, the terminal responds to the selection operation on the target social group, displays at least one (or at least two) candidate virtual group images for selection, and after the user triggers a selection operation on the candidate virtual group image, the terminal responds to the selection operation on the candidate virtual group image, determines the selected candidate virtual group image as the virtual group image corresponding to the target social group, and creates the virtual group image of the target social group selected by the user in the virtual social scenario.
[0114] In some embodiments, when the terminal displays a virtual social scenario, there may be corresponding entrance special effects for each virtual group image. Specifically, in response to a display instruction for the virtual social scenario, the terminal displays the screen of the virtual social scenario, and in this screen, displays the special effects 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.
[0115] Here, the entrance special effects of virtual group images of different social groups may be different. For example, the entrance special effect may be a fade-in with multiple halos. In this way, the display of the virtual group image can be made more prominent, improving the user's viewing experience. Of course, in practical applications, there may also be corresponding entrance special effects for the three-dimensional virtual images of each user.
[0116] In some embodiments, in the associated area of each virtual group image in the virtual social scenario, the associated information of the corresponding social group may also be displayed. Among them, the associated area may be one side (such as the upper side, the right side) of the virtual group image, and the associated information includes at least one of the following: the three-dimensional virtual image corresponding to the group owner of the social group, the group identifier of the social group, and the activity of the social group; in this way, by displaying the three-dimensional virtual image corresponding to the group owner, the importance of the group owner in each social group can be highlighted, and at the same time, users can quickly distinguish each virtual group image based on the three-dimensional virtual image of the group owner and clearly know who the group owner is; by displaying the group identifier (such as the group name) of the social group, each virtual group image can be accurately distinguished; and by displaying the activity of the social group, users can have a certain understanding of the interaction status of users within the corresponding social group. Figure 5 is a schematic diagram showing the display of the associated information of the social group in the virtual social scenario provided by the embodiment of the present application. Refer to Figure 5 , in the virtual social scenario, the virtual group image 51 corresponding to the social group, the name 52 of the social group, the value 53 of the activity of the social group, and the three-dimensional virtual image 54 of the group owner of the social group are displayed. In this way, users can have a more comprehensive understanding of the social group based on the displayed associated information.
[0117] In practical applications, when the virtual group image is a virtual item or virtual building with an accommodation space and the associated information of the social group includes the three-dimensional virtual image corresponding to the group owner of the social group, the terminal can display the three-dimensional virtual image of the group owner of the social group in the following way: the terminal displays the process in which the three-dimensional virtual image of the group owner of the social group walks out of the accommodation space of the virtual group image and stays in the associated area. In this way, when the target object is the group owner of a certain social group, the user can see the process in which their own three-dimensional virtual image walks out of the accommodation space of the virtual group image and stays in the associated area, improving the user experience and the participation in the virtual social scenario.
[0118] In some embodiments, there is a situation where the three-dimensional virtual image displayed in the current virtual social scene does not include the three-dimensional virtual image of the target object. If the target object wants to find the location of its own three-dimensional virtual image, it can be achieved through the positioning function provided by the social client. Specifically, the terminal responds to the positioning instruction for the three-dimensional virtual image corresponding to the target object, moves the content in the virtual social scene, and displays the three-dimensional virtual image of the target object in the moved virtual social scene. In this way, by positioning the user's own three-dimensional virtual image, the user can quickly find the location of their own three-dimensional virtual image in the virtual social scene.
[0119] Here, the triggering of the positioning instruction is described. In some embodiments, the terminal displays a positioning control in the interface of the virtual social scene, and responds to the triggering operation (such as a click operation, a double-click operation, etc.) of the target object on the positioning control, triggering the positioning instruction for indicating the positioning of the three-dimensional virtual image of the target object. In some embodiments, the positioning instruction can also be a voice instruction, that is, the positioning function is triggered by a voice instruction. The terminal can collect the voice of the target object in real time. When a voice instruction for indicating the positioning of the three-dimensional virtual image of the target object is collected, such as when the voice content of the target object "Locate my three-dimensional virtual image" is collected, the positioning instruction is triggered.
[0120] Exemplarily, Figure 6 is a schematic diagram of the positioning of the three-dimensional virtual image in the virtual social scene provided by the embodiment of the present application. Refer to Figure 6 When the user clicks Figure 6 the positioning control 61 in, the positioning instruction for its own three-dimensional virtual image is triggered. The terminal moves the content in the virtual social scene and displays the three-dimensional virtual image 62 of the target object in the moved virtual social scene. In this way, when the user does not display their own three-dimensional virtual image in the interface of the current virtual social scene due to viewing other three-dimensional virtual images or virtual group images, by clicking the positioning control, the quick positioning of their own three-dimensional virtual image is achieved, without the user constantly manually moving the content of the virtual social scene, improving the human-computer interaction efficiency.
[0121] In some embodiments, the user can independently change the virtual clothing of their own 3D virtual image. Specifically, the terminal can implement the clothing change of the 3D virtual image in the following manner: In a virtual social scenario, the terminal displays the 3D virtual image corresponding to the target object and the clothing change control corresponding to the 3D virtual image; in response to a trigger operation on the clothing change control (such as a click operation, a double-click operation, etc.), the terminal displays the clothing change interface corresponding to the 3D virtual image; in response to the clothing change operation performed based on the clothing change interface, in the virtual social scenario, the terminal displays the 3D virtual image after changing the virtual clothing. Among them, when the terminal displays the clothing change interface corresponding to the 3D virtual image, at least two sets of virtual clothing can be displayed in the clothing change interface for the user to select. Based on the user's selection operation for the target virtual clothing, the dressing effect diagram of the 3D virtual image for the selected target virtual clothing is displayed in the clothing change interface. When the user triggers the confirmation instruction for the selected target virtual clothing (such as clicking the confirmation button displayed in the interface) based on the displayed dressing effect diagram, in the virtual social scenario, the terminal displays the 3D virtual image after changing the virtual clothing.
[0122] Exemplarily, Figure 7 is a schematic diagram of the interface for changing the clothing of the 3D virtual image provided by the embodiment of the present application. Refer to Figure 7 , in the interface of the virtual social scenario, a clothing change control 71 is displayed. When the user clicks on this clothing change control 71, the display of the clothing change interface is triggered. When the user completes the clothing change for their own 3D virtual image based on the clothing change interface, the virtual clothing of the 3D virtual image changes from the appearance shown by 72 to the appearance shown by 73 selected by the user. In this way, the clothing change of the user's 3D virtual image is realized, enabling the virtual clothing of their own 3D virtual image to conform to the user's preferences and improving the user experience.
[0123] In some embodiments, since in addition to displaying the virtual group image of the social group in the virtual social scenario, at least one 3D virtual image independent of the virtual group image can also be displayed, and each 3D virtual image corresponds to an object. Correspondingly, in order to enable the user to better understand the other party and know the status of the other party, in the associated area of the 3D virtual image, an event identifier of the corresponding object can also be displayed. This event identifier is used to indicate the event that the corresponding object is currently executing. For example, when the user is listening to music, the event identifier is correspondingly a music identifier, such as a cartoon icon wearing headphones carrying musical notes; when the user is chatting, the event identifier is correspondingly a chat identifier, such as a speech bubble icon; when the user is playing a game, the event identifier can correspondingly be the game icon of the game the user is playing.
[0124] In practical applications, users can view the group members within a corresponding social group based on the displayed virtual group image. In some embodiments, the terminal can implement the viewing of group members within a social group in the following manner: When the virtual group image is a virtual item or virtual building with a containing space, the terminal responds to a trigger operation on the virtual group image and displays the process in which the three-dimensional virtual images of each member walk out of and disappear from the virtual group image in sequence. In other embodiments, the terminal can also implement the viewing of group members within a social group in the following manner: The terminal responds to a trigger operation on the virtual group image. When the number of members in the corresponding social group reaches a threshold, in the associated area of the virtual group image, it displays the three-dimensional virtual images of some members, and when receiving a switching instruction from the user, it switches the displayed three-dimensional virtual images of some members to display the three-dimensional virtual images of other members; when the number of members in the corresponding social group is less than the threshold, in the associated area of the virtual group image, it displays the three-dimensional virtual images of all members.
[0125] Step 102: When receiving a message sent by a member in the target social group, display the content of the message in the associated area at the target orientation of the virtual group image in the virtual social scene.
[0126] In practical applications, in the associated area at the target orientation (such as the left, right, upper, and lower sides) of the virtual group image in the virtual social scene, that is, on one side (next to) of the virtual group image, directly display the content of the message. In this way, users can quickly view the message content. Compared with the related art where only unread message notifications are provided and the user needs to click to view, the efficiency of message viewing is improved.
[0127] Here, the format of the displayed message is described. In some embodiments, the message includes the identifier of the message sender and the message content; among them, the identifier of the message sender can be the avatar icon of the message sender or the name (or nickname) of the message sender, etc. In other embodiments, the message can also include a prefix, which can be displayed in the form of an icon or text in a target style for information prompting to the user, such as prompting at least one of the existence of a directed message for a target object, the existence of an activity message that can be participated in, etc.; there is an upper limit to the number of prefixes, that is, it cannot exceed the target number, such as the target number is 2. When the prefix is used to prompt the existence of a directed message for a target object, it can be displayed in the form of text in the target style of the prefix, such as displaying the highlighted or target color (such as yellow) text "Someone @ me". When the prefix is used to prompt the existence of an activity message that can be participated in, the activity icon corresponding to the activity can be used for display. For example, when the activity is an activity of listening to music together, the activity icon can be an icon carrying musical notes.
[0128] Exemplarily,Figure 8 This is a schematic diagram of the message format provided by an embodiment of the present application. Refer to Figure 8 , in this message, it includes three parts. Among them, the first part corresponds to the prefix of the message, including an icon of an activity message 81 for indicating the existence of a music activity that can be participated in, and a highlighted text 82 for prompting the existence of a directed message for the target object. The second part corresponds to the nickname "Alice" of the message sender. The third part is the content of the message "The weather is nice."
[0129] Describe the display method of the message. In some embodiments, the terminal can use a bubble card carrying the message to display the messages sent by members in the social group. For example, the terminal displays the identification of the member and the content of the message through the bubble card in the associated area of the virtual group image. In practical applications, the length of the bubble card can be a fixed length, such as a set target length. The bubble card of this fixed length can carry a corresponding number of characters. When the number of characters in the message exceeds the number of characters that the bubble card can carry, the exceeded 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.
[0130] In practical applications, the messages received by a user from members in a certain virtual group can be one or more (at least two), and different situations will be described.
[0131] When the number of received messages is one, determine this message as the first message, and statically display the content of the first message in the associated area at the target orientation of the virtual group image in the virtual social scene. That is to say, when the number of received messages is one, the content of this message will be permanently displayed in the associated area of the virtual group image, and this message will not disappear until a new message is received.
[0132] In some embodiments, the associated area of the virtual group image includes at least two sub-display areas, and these at least two sub-display areas are arranged in sequence from top to bottom in the screen interface. The at least two sub-display areas include a first sub-display area and a second sub-display area. The first message is displayed in the first sub-display area; after statically displaying the first message, when receiving a second message sent by a member in 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; when the first message leaves the first sub-display area, statically display the content of the second message in the first sub-display area. In this way, by moving the historical message (i.e., the first message) to the second sub-display area, it can be ensured that the first sub-display area always displays the newly received message. The message moves to the second sub-display area and disappears after staying for a target duration, enabling the user to view the content of each message while not occupying the display space of the screen.
[0133] Here, after the first message moves to the second sub-display area, it stays in the second sub-display area for a target duration (such as 500 ms), that is, there is a certain display duration in the second sub-display area. After that, it disappears from the second sub-display area after staying for the target duration. The disappearance process can be a process of gradually reducing the visibility of the message by changing the transparency. For example, when the first message moves to the second sub-display area, control the transparency of the first message to change according to the following transparency order: transparency 100% - 60% - 20% - 0%. In this way, the first message gradually disappears from the second sub-display area after staying for the target duration; among them, the transparency refers to the Alpha channel value. The larger the value, the less transparent it is, that is, 100% is opaque and 0% is fully transparent.
[0134] In some embodiments, in order to better reflect the process of the message gradually disappearing, when the first message moves from the first sub-display area to the second sub-display area, the transparency of the first message can be controlled to decrease. Specifically, when the transparency of the first message in the first sub-display area is the 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 when it moves to the second sub-display area, switch the transparency of the first message from the first transparency to the second transparency, and the second transparency is lower than the first transparency; based on this, control the first message to disappear from the second sub-display area after staying for the target duration in the following way: control the transparency of the first message to gradually decrease to zero.
[0135] In some embodiments, the associated area of the virtual group image further includes a third sub-display area. When the number of received messages is three or more, the content of the multiple received messages can be scrolled and displayed in the first sub-display area, the second sub-display area, and the third sub-display area included in the associated area according to the order of the receiving time of the messages. Specifically, before controlling the first message to disappear from the second sub-display area, when the third message sent by a member in the target social group is received, control the first message 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 (such as moving out of the third sub-display area, and the transparency decreases to zero during the moving process); 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 staying for the target duration; 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.
[0136] In practical applications, when a fourth message sent by a member in the target social group is received before the first message and the second message disappear from the associated area, control the first message to disappear from the third sub-display area, control the second message 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 a target duration; when the second message leaves the second sub-display area, control the third 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; when the third message leaves the first sub-display area, statically display the content of the fourth message in the first sub-display area. In this way, the rolling display of multiple messages in the associated area of the virtual group image according to the receiving order is realized.
[0137] Here, the transparency of a single message during the movement in each sub-display area will be described. In some embodiments, as the single message moves in each sub-display area, the transparency of the message decreases sequentially. For example, when the message is displayed in the first sub-display area, its transparency can be 100%, when the message is displayed in the second sub-display area, its transparency can be 60%, and when the message is displayed in the third sub-display area, its transparency can be 20%.
[0138] Exemplarily, Figure 9A is a schematic diagram of the message display interface provided by an embodiment of the present application. Refer to Figure 9A , when the terminal does not receive a message, a virtual group image (i.e., shown as a tent), a three-dimensional virtual image of the group owner of the social group, and the name of the social group (i.e., Super Show Fans Group) are displayed in the virtual scene. The associated area of the virtual group image includes a first sub-display area 91, a second sub-display area 92, and a third sub-display area 93. When the number of received messages is one, the message is statically displayed in the first sub-display area 91. When the number of received messages is two, the old message displayed in the first sub-display area 91 will move to the second sub-display area 92, and the new message is displayed in the first sub-display area 91. When no new message is received within the target duration (such as 500 ms), the message displayed in the second sub-display area 92 will disappear. When a new message is received within the target duration, the latest message will be displayed in the first sub-display area 91. At the same time, the message in the original first sub-display area 91 moves to the second sub-display area 92, and at the same time, the message in the original second sub-display area 92 moves to the third sub-display area 93, and when no new message is received within the target duration, control the messages displayed in the second sub-display area 92 and the third sub-display area 93 to disappear (i.e., no longer displayed). In some other embodiments, for the display of messages carrying a prefix for information prompt in the virtual social scene, it is Figure 9A similar, with the only difference being that the displayed messages carry a prefix. Figure 9BIt is a schematic diagram of the message display interface provided by the embodiments of the present application. Refer to Figure 9B , among the multiple displayed messages, there are messages carrying prefixes (such as the music icon and the pointing text shown in the figure).
[0139] Based on the above example, taking the message carried by the bubble card as an example, when three or more messages are received, the transparency change during the message movement will be described. Figure 10 It is a schematic diagram of the transparency change during the message movement provided by the embodiments of the present application. Combining Figure 9A and Figure 10 , for the first-line bubble message, that is, the message in the first sub-display area, the transparency of the bubble card (i.e., the bubble background) and the corresponding message content (i.e., the text characters) is 100%, that is, it is fully displayed. In practical applications, when the display duration of the first-line bubble message reaches the first duration (such as 1240 ms) and no new message is received, the first-line bubble message can be controlled to disappear. In some other embodiments, the first-line bubble message is always displayed; when the message moves to the second sub-display area, for the second-line bubble message, the transparency of the bubble card (i.e., the bubble background) of the second-line bubble message is 60%, and the transparency of the message content (i.e., the text characters) is 100%. The displacement of the message moving from the first sub-display area to the second sub-display area is 82 px, and the moving duration is 800 ms. After the message stays in the second sub-display area for 440 ms, it moves to the third sub-display area; when the message moves to the third sub-display area, that is, for the third-line bubble message, the transparency of the bubble card (i.e., the bubble background) of the third-line bubble message is 20%, and the transparency of the message content (i.e., the text characters) is 100%. The displacement of the message moving from the second sub-display area to the third sub-display area is 76 px, and the moving duration is 800 ms. The number of displayed text characters decreases by one, and the width of the third-line bubble message decreases from 492 px to 458 px. After the message stays in the third sub-display area for 440 ms, it moves out, and the displacement of the movement out is 21 px, and the moving duration is 200 ms. During the movement out, the transparency of the bubble card (i.e., the bubble background) decreases from 20% to 0%. In this way, when a new message comes in, the message is pushed up to form a scrolling bubble style. The first sub-display area is equivalent to a message bubble channel, constantly bubbling up.
[0140] In some embodiments, the terminal can also display the content of the received message in the associated area at the target orientation of the virtual group image in the virtual social scenario. Specifically, in the virtual social scenario, the content of the message is displayed in one of the following ways in the associated area at the target orientation of the virtual group image: scrolling to display the content of the message; displaying the content of the message in the form of a bullet screen. Among them, the number of messages can be one or more (at least two).
[0141] In some embodiments, the associated area of the virtual group image includes at least two sub-display areas. Correspondingly, when the number of received messages is multiple, the terminal can also display the received messages in the associated area at the target orientation of the virtual group image in the virtual social scene in the following manner: The terminal sequentially displays the process in which each message appears in the first sub-display area, moves one by one to the last sub-display area, and disappears, according to the chronological order of the reception times of the messages; wherein, the time interval between adjacent messages that appear in the first sub-display area is less than the duration from the appearance to the disappearance of the message. In practical applications, the residence duration of each message in each sub-display area is the same, such as the target duration, and the moving speed of each message is the same, and the time interval between adjacent messages is the same. It should be noted that when the message moves to the last sub-display area and stays for the target duration, it can directly disappear from the last sub-display area or move out of the last sub-display area and no longer be displayed.
[0142] In some embodiments, the messages received by the user can be at least one of picture messages, video messages, animation messages, emoji messages, text messages, and voice messages; 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.
[0143] In some embodiments, while the messages are being displayed, a prompt for the number of unread messages can be made. Specifically, the terminal displays the number of received messages in the associated area of the displayed message; when the user triggers a message viewing instruction for the unread messages, the terminal responds to the message viewing instruction triggered based on this number, displays a conversation interface, and in the conversation interface, displays the messages of this number. The display of the conversation interface can be performed through a floating layer or a floating window. Exemplarily, Figure 11 is a schematic diagram of the interface for message viewing provided by an embodiment of the present application. Refer to Figure 11 , when multiple messages are received, the number 111 of the received messages is displayed beside the message displayed in the first sub-display area of the associated area of the virtual group image. When the user clicks on the displayed number 111 or clicks on the message associated with this 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 a close instruction, that is, clicks on the close control 113 in the conversation interface 112, the display of the conversation interface 112 is cancelled, and in the virtual social scene, the virtual group image is displayed, and the viewed messages are no longer displayed.
[0144] The associated area with the virtual group image includes a first sub-display area, a second sub-display area, and a third sub-display area. Taking the example where the first sub-display area, the second sub-display area, and the third sub-display area are arranged in sequence from bottom to top in the screen interface, the modules corresponding to each sub-display area will be described. Figure 12 is a schematic diagram of the message style provided by an embodiment of the present application. Refer to Figure 12 , the first sub-display area corresponds to the unread message bar module, and the latest received message and the number of unread messages are always displayed in this unread message bar module. The second sub-display area corresponds to the message bubble module 122, and the transparency of the background of the message displayed by this message bubble module 122 is less than 100%. The third sub-display area corresponds to the message bubble module 121, and the transparency of the background of the message displayed by this message bubble module 121 is less than the transparency of the background of the message displayed by the message bubble module 122. Moreover, 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.
[0145] In some embodiments, the user can adjust the position of the three-dimensional virtual image in the virtual social scene to change the relative position relationship between different three-dimensional virtual images in the virtual social scene. Specifically, the terminal displays a position adjustment control for the target three-dimensional virtual image. In response to a trigger operation on this position adjustment control, the position of the target three-dimensional virtual image is moved in the virtual social scene to change the distance between the target three-dimensional virtual image and the three-dimensional virtual image of the target object, such as reducing or increasing the distance between the target three-dimensional virtual image and the three-dimensional virtual image of the target object.
[0146] Exemplarily, Figure 13 is a schematic diagram of adjusting the relative position relationship between three-dimensional virtual images provided by an embodiment of the present application. Refer to Figure 13 , where the three-dimensional virtual image 131 is the three-dimensional virtual image of the current user object, and the three-dimensional virtual image 132 is the target three-dimensional virtual image. A position adjustment control 133 (i.e., the close button) is displayed in the associated area of the target three-dimensional virtual image. When the user clicks this position adjustment control 133, the position of the target three-dimensional virtual image is moved in the virtual social scene to reduce the distance between the target three-dimensional virtual image and the three-dimensional virtual image of the current user object. It should be noted that the movement route can be the connection line between the two. When there are other three-dimensional virtual images on the movement route, these other three-dimensional virtual images can be moved out of the movement route. Here, in some embodiments, the associated area of the target three-dimensional virtual image may also display a fixed control and a hidden control as shown in the figure. When the user triggers (such as single-clicking or double-clicking) the hidden control, the target three-dimensional virtual image is cancelled from being displayed in the virtual social scene; when the user triggers (such as single-clicking or double-clicking) the fixed control, the position of the target three-dimensional virtual image in the virtual social scene is fixed.
[0147] It should be noted that in practical applications, in a virtual social scenario, in addition to being able to display the messages sent by the members in a social group, the terminal can also display the messages sent by the users corresponding to each single three-dimensional virtual image independent of the virtual group image in the virtual social scenario. For example, for a target three-dimensional virtual image in the virtual social scenario, when the terminal receives a message sent by the user corresponding to the target three-dimensional virtual image, the content of the received message is displayed in the associated area of the target three-dimensional virtual image in the virtual social scenario. In this way, users can quickly view the content of the messages sent by each single user (such as a friend), improving the viewing efficiency of messages from a single user.
[0148] Applying the above embodiments of the present application realizes the display of messages in a social group in a virtual social scenario, enabling not only the display of the content of the messages sent by a single user (such as a friend), but also the display of the content of the messages sent by the members in the social group at the same time. While improving the message viewing efficiency, it expands the dimension of message display in the virtual social scenario and improves the utilization rate of device hardware resources.
[0149] The following will illustrate the exemplary application of the embodiments of the present application in a practical application scenario.
[0150] Figure 14 It is a schematic flowchart of the message display method in the virtual social scenario provided by the embodiments of the present application. Figure 15 It is a schematic interaction flowchart of the terminal and the server provided by the embodiments of the present application. The message display method in the virtual social scenario can be implemented independently by the terminal or the server, or jointly implemented by the terminal and the server. Taking the joint implementation of the terminal and the server as an example, in combination with Figure 14 and Figure 15 , the message display method in the virtual social scenario provided by the embodiments of the present application includes:
[0151] Step 201: The terminal receives an in-group message.
[0152] In some embodiments, a social client supporting virtual social scenarios is set on the terminal. When the terminal runs the social client, it displays a virtual social scenario and shows the virtual group images corresponding to at least one social group to which the target object (i.e., the current user object) belongs in the virtual social scenario. It can also display the three-dimensional virtual image of the target object and the three-dimensional virtual images of the target object's friends. Of course, it can also display the three-dimensional virtual images of recommended users. Users can add friends based on the three-dimensional virtual images of the recommended users in the virtual scenario. For example, a friend addition control is displayed in the associated area of the three-dimensional virtual image of the recommended user. When the terminal receives a trigger operation (such as a click operation or a double-click operation) on the friend addition control, it sends a friend request to the terminal of the recommended user, and 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.
[0153] In practical applications, when a member in the group (i.e., within the social group) sends a message in the group, the background logic layer (i.e., the server) will send the message to the current user terminal, corresponding to Figure 15 step 301 in it.
[0154] Step 202: Form display content according to the message content.
[0155] Here, after the terminal receives a message sent by a member in the group (i.e., within the social group), it will construct a message to be displayed in the virtual social scenario according to the message format in the virtual social scenario. For example, Figure 12 the format of the message displayed by the unread message bar module shown in is: message prefix + sender identifier (such as sender nickname) + message content + number of unread messages, and the format of the message displayed by the message bubble module is: sender identifier (such as sender nickname) + message content.
[0156] Here, an explanation is given for the message prefix. In practical applications, when there is a group activity message that can be participated in together (such as an activity message for listening to music together), the prefix is shown with an icon (such as a music icon), and at most two icons are shown. When more than two activity messages are received, the displayed icons are based on the two most recent activity messages; when there is a message in the form of a notice (such as a pointed message "someone @ me"), the corresponding prefix can be highlighted, such as showing the prefix in bold text, and at most two are shown. When the number of notice-form messages received exceeds two, it is based on the two most recently received ones. When the content displayed in the message display area exceeds what the display area can show, it is represented by an ellipsis ….
[0157] For the display of the message content shown, it can be the nickname of the user who sent the message + the message content. When the content displayed in the message display area exceeds what the display area can show, it is represented by an ellipsis ….
[0158] The number of unread messages changes with the change in the number of received messages. Whenever there is a new unread message, the corresponding number increases.
[0159] In practical applications, messages are carried by message bubbles (i.e., bubble cards) and are displayed through the unread message bar module and the message bubble module. Messages move dynamically from the unread message bar module. When the length of a message exceeds the length that the message bubble can show, the exceeded part is represented by an ellipsis.
[0160] Step 203: Judge the number of messages. When the number of messages is 1, execute Step 204; when the number of messages is 2, execute Step 205; when the number of messages is greater than or equal to 3, execute Step 206.
[0161] In practical applications, the display methods of different numbers of messages are different. Therefore, it is necessary to judge the number of received messages before displaying the messages.
[0162] Step 204: Display the unread message bar.
[0163] Here, when the number of received messages is 1, the message is displayed through the unread message bar module and remains displayed in this unread bar module until a new message is received, corresponding to Figure 15 Step 302 therein.
[0164] Step 205: Display the unread message bar and float up 1 bubble, which disappears after 440ms.
[0165] Here, when the number of received messages is 2, according to the order of receipt of the messages, first the message bubble corresponding to the first message is displayed in the unread message bar module, and then this message bubble moves to the message bubble module for display. At the same time, the message bubble corresponding to the second message is displayed in the unread message bar module; among them, the display duration of the bubble message that moves to the message bubble module is 440ms and it disappears after 440ms. That is, when the number of unread messages = 2, one bubble will be shown and disappear within the specified time without new messages appearing; corresponding to Figure 15 Step 303 therein, that is, display the unread message bar + 1 message bubble.
[0166] Step 206: Display the unread message bar, then float up 1 bubble, which moves to the bubble 2 position after 440ms, and then float up 2 bubbles, which disappear after 440ms.
[0167] Here, when the number of received messages is greater than or equal to 3, according to the order of the received messages, the received messages are scrolled and displayed through the unread message bar module and two message bubble modules. Among them, the unread message bar module always shows the latest received message, and the old message bubbles will be pushed up by the new messages to form a scroll. The display duration of the messages in each message bubble module is the same, both 440 ms. Of course, it can also be different and can be specifically set according to actual needs; correspondingly Figure 15 in step 304, that is, showing the unread message bar + 2 message bubbles.
[0168] See Figure 12 , for the first, second, and third received messages, first the first message is displayed through the unread message bar module, and then the first message moves to the message bubble module 122 for display. The transparency of the first message changes to 60%. At the same time, the second message is displayed in the unread message bar module. When the display duration of the first message in the message bubble module 122 reaches 440 ms, it moves to the message bubble module 121. The transparency of the first message changes to 20%. At the same time, the second message moves to the message bubble module 122, and the transparency of the second message changes to 60%. The third message is displayed in the unread message bar module; when no new message is received within 440 ms after the third message is displayed, the first message and the first message disappear after being displayed in the corresponding message bubble module for 440 ms, and the display of the third message in the unread message bar module is retained; if a fourth message is received within 440 ms after the third message is displayed, control the first message to move out of the message bubble module 122, at the same time the second message moves into the message bubble module 122, the third message moves into the 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, the message is pushed up to form a scrolling bubble style, and at the same time the number of unread messages +1. It is equivalent to that the unread message bar module is a special message bubble channel constantly bubbling up. The display time of each bubble is fixed and will disappear after staying for 440 ms. If there are unintentional group messages and the group chat page is not opened, the unread message bar module will remain resident.
[0169] Step 207: Open the chat details page.
[0170] Since the number of unread messages is displayed in the unread message bar module, when the user triggers a message viewing instruction based on this number, such as clicking on the area of the unread message bar module, the terminal is triggered 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, corresponding to Figure 15 step 305 in
[0171] Step 208: The message display disappears.
[0172] Here, after the user views the completion message through the chat details page, when the user clicks to close the chat details page, the displayed message is cancelled in the virtual social scenario, corresponding to Figure 15 step 306 above, that is, when the unread message = 0, the unread message bar and the message bubble are hidden.
[0173] Applying the above embodiments of the present application, in the virtual social scenario, through the message bubble, the dynamic content of each group can be quickly viewed, improving the user's browsing efficiency, reducing the information browsing cost of the user among each group, providing the user with an experience of efficiently browsing group messages in the virtual social scenario, and assisting the user to quickly know the current status of the group in advance before entering the chat page. At the same time, according to the prefix information on the unread message bar, it can be known whether there is an activity ongoing in the group currently, greatly improving the efficiency of the user's processing of group information in the virtual scenario.
[0174] Next, the exemplary structure of the message display device 555 in the virtual social scenario provided by the embodiments of the present application implemented as a software module will be further described. In some embodiments, the message display device in the virtual social scenario provided by the embodiments of the present application includes:
[0175] A first display module, configured to display at least one virtual group image corresponding to a social group to which the target object belongs in the virtual social scenario of the target object, where the virtual group image is a three-dimensional image model used to represent the social group;
[0176] Wherein, there are at least two three-dimensional virtual images in the virtual social scenario, and in the virtual social scenario, the relative positional relationship of the at least two three-dimensional virtual images can be changed; the at least one social group includes a target social group;
[0177] A second display module, configured to display the content of the message in an associated area at the target orientation of the virtual group image in the virtual social scenario when receiving a message sent by a member in the target social group.
[0178] In some embodiments, the device further includes a creation module;
[0179] The first display module is further configured to display an addition control for adding a social group in the virtual social scenario;
[0180] In response to a trigger operation on the addition control, display a social group list;
[0181] The creation module is configured to, in response to a selection operation on a target social group in the social group list, create a virtual group image of the target social group in the virtual social scene.
[0182] In some embodiments, the creation module is further configured to, in response to a selection operation on a target social group in the social group list, display at least one group type option for selection;
[0183] In response to a selection operation on a target group type option among the at least one group type option, create a virtual group image corresponding to the group type indicated by the target group type option in the virtual social scene.
[0184] In some embodiments, the first display module is further configured to, in response to a display instruction for the virtual social scene, display a screen of the virtual social scene, and in the screen, display special effects of at least one virtual group image entering the screen;
[0185] Wherein, each of the virtual group images corresponds to a social group to which the target object belongs.
[0186] In some embodiments, the first display module is further configured to display association information of a corresponding social group in an association area of each of the virtual group images in the virtual social scene, and the association information includes at least one of the following:
[0187] A three-dimensional virtual image of the group owner of the social group, a group identifier of the social group, and the activity of the social group.
[0188] In some embodiments, when the association information includes a 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 a virtual building having an accommodation space, for each of the virtual group images, 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 association area.
[0189] In some embodiments, the second display module is further configured to, when the number of the messages is one, determine the message as a first message, and statically display the content of the first message in an association area at a target orientation of the virtual group image in the virtual social scene.
[0190] In some embodiments, the association 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;
[0191] The second display module is further configured to, after statically displaying the content of the first message, when receiving a second message sent by a member in 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;
[0192] 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.
[0193] In some embodiments, the associated area further includes a third sub-display area;
[0194] The second display module is further configured to, before controlling the first message to disappear from 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 disappear from the third sub-display area after staying for a target duration;
[0195] 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 staying for a target duration;
[0196] 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.
[0197] 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 the 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
[0198] When moving to the second sub-display area, switch the transparency of the first message from the first transparency to a second transparency, where the second transparency is lower than the first transparency.
[0199] In some embodiments, the second display module is further configured to, in the virtual social scene, within the associated area at the target orientation of the virtual group image, display the message in one of the following ways:
[0200] Scroll to display the content of the message; display the content of the message in the form of a bullet screen.
[0201] In some embodiments, the associated area includes at least two sub-display areas;
[0202] The second display module is further configured to, when there are multiple messages, sequentially display the process in which each message appears in the first sub-display area, moves one by one to the last sub-display area, and disappears according to the chronological order of the reception times of the messages;
[0203] Wherein, the time interval between adjacent messages that appear in the first sub-display area is less than the duration from the appearance to the disappearance of the message.
[0204] In some embodiments, the second display module is further configured to display the number of received messages in the associated area of the message.
[0205] In some embodiments, the second display module is further configured to, after displaying the number of received messages, in response to a message viewing instruction triggered based on the number, display a session interface, and display the number of messages in the session interface.
[0206] In some embodiments, the second display module is further configured to display the identifier of the member and the content of the message through a bubble card in the associated area at the target orientation of the virtual group image in the virtual social scene.
[0207] In some embodiments, the second display module is further configured to, when the message includes a prefix, display the prefix of the content of the message and the content of the message in the associated area at the target orientation of the virtual group image in the virtual social scene;
[0208] Wherein, the prefix is used for at least one of the following prompts: prompting the existence of a targeted message for the target object, and prompting the existence of an activity message that can be participated in.
[0209] In some embodiments, the device further includes:
[0210] A positioning module, configured to move the content in the virtual social scene in response to a positioning instruction for the three-dimensional virtual image of the target object, and
[0211] In the moved virtual social scene, display the three-dimensional virtual image of the target object.
[0212] In some embodiments, the device further includes a voice playback module;
[0213] The first display module is further configured to display a sound control in the associated area of the message;
[0214] The voice playback module is configured to, when the message is a voice message, play the voice message in response to a trigger operation on the sound control.
[0215] In some embodiments, the first display module is further configured to display, in the virtual social scenario, a three-dimensional virtual image of the target object and a dressing control corresponding to the three-dimensional virtual image;
[0216] In response to a trigger operation on the dressing control, display a dressing interface corresponding to the three-dimensional virtual image;
[0217] In response to a dressing operation performed based on the dressing interface, display, in the virtual social scenario, the three-dimensional virtual image after changing the virtual clothing.
[0218] In some embodiments, the first display module is further configured to display, in the virtual social scenario, at least one three-dimensional virtual image independent of the virtual group image, and each three-dimensional virtual image corresponds to an object;
[0219] In an associated area of the three-dimensional virtual image, display an event identifier of the corresponding object, and the event identifier is used to indicate an event being executed by the object.
[0220] In some embodiments, the apparatus further includes an acquisition module;
[0221] The acquisition module is configured to, in response to a display instruction for the virtual social scenario, acquire at least one social group added by the target object in the virtual social scenario, and the target object belongs to the social group;
[0222] Determine virtual group images corresponding to the social groups, and different social groups correspond to different virtual group images;
[0223] The first display module is configured to display the virtual social scenario of the target object based on the determined virtual group images corresponding to the social groups, and display, in the virtual social scenario, virtual group images corresponding to at least one social group to which the target object belongs.
[0224] An embodiment of the present application further provides an electronic device, and the electronic device includes:
[0225] A memory for storing executable instructions;
[0226] A processor, when executing the executable instructions stored in the memory, implements the message display method in the virtual social scenario provided by the embodiment of the present application.
[0227] The embodiments of the present application also provide a computer program product or a computer program. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the message display method in the virtual social scenario provided by the embodiments of the present application.
[0228] The embodiments of the present application also provide 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 by the embodiments of the present application.
[0229] In some embodiments, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface memory, an optical disc, or a CD-ROM, etc.; or it may be various devices including one or any combination of the above memories.
[0230] In some embodiments, the executable instructions may be in the form of a program, software, a software module, a script, or code, and may be 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 being deployed as an independent program or being deployed as a module, a component, a subroutine, or other units suitable for use in a computing environment.
[0231] As an example, the executable instructions may or may not correspond to a file in the file system, and may be stored as part of a file that stores other programs or data. For example, they may be stored in one or more scripts in a hypertext markup language (HTML) document, stored in a single file dedicated to the program under discussion, or stored in multiple cooperating files (such as files storing one or more modules, subroutines, or code portions).
[0232] As an example, the executable instructions may be deployed to execute on one computing device, or on multiple computing devices located at one location, or on multiple computing devices distributed at multiple locations and interconnected by a communication network.
[0233] As described above, the above are only embodiments of the present application and are not intended to limit the protection scope of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and scope of the present application are all included in the protection scope of the present application.
Claims
1. A message display method, characterized in that, The method includes: displaying a virtual avatar in a virtual scene, an associated area of the virtual avatar including at least two sub-display areas; in response to receiving multiple messages for the virtual avatar, sequentially presenting the process of each of the messages appearing in the first sub-display area, moving one by one to the last sub-display area, and disappearing, according to the chronological order of the reception times of the messages.
2. The method according to claim 1, wherein The method further includes: for any one of the multiple messages, when the message moves to the last sub-display area, in response to the display duration of the message in the last sub-display area reaching a target duration, canceling the display of the message; wherein, the time interval between adjacent messages appearing in the first sub-display area is less than the duration from the appearance to the disappearance of the message.
3. The method according to claim 1, characterized in that The method further includes: in response to receiving a message for the virtual avatar, determining the message as a first message, and statically displaying the content of the first message in the virtual scene and within the associated area of the virtual avatar.
4. The method according to claim 3, characterized in that, 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; after statically displaying the content of the first message, the method further includes: in response to receiving a second message for the virtual avatar, controlling the first message to move from the first sub-display area to the second sub-display area, and disappearing from the second sub-display area after staying for a target duration; when the first message leaves the first sub-display area, statically displaying the content of the second message in the first sub-display area.
5. The method according to claim 4, wherein The associated area further includes a third sub-display area. Before controlling the first message to disappear from the second sub-display area, the method further includes: in response to receiving a third message for the virtual avatar, controlling the first message to move from the second sub-display area to the third sub-display area, and disappearing from the third sub-display area after staying for the target duration; when the first message leaves the second sub-display area, controlling the second message to move from the first sub-display area to the second sub-display area, and disappearing from the second sub-display area after staying for the target duration; when the second message leaves the first sub-display area, statically displaying the content of the third message in the first sub-display area.
6. The method according to claim 4, wherein The controlling the first message to move 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 a first transparency, controlling the first message with the first transparency to move from the first sub-display area to the second sub-display area, and when moving to the second sub-display area, switching the transparency of the first message from the first transparency to a second transparency, the second transparency being lower than the first transparency.
7. The method according to claim 1, wherein The method further includes: in response to receiving multiple messages for the virtual avatar, displaying the content of the messages in one of the following ways: Scroll to display the content of the message; display the content of the message in the form of a bullet screen.
8. The method according to claim 1, characterized in that, The method further includes: In the associated area of the message, display the number of received messages.
9. The method according to claim 8, 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 number, display a conversation interface, and in the conversation interface, display the messages corresponding to the number.
10. The method according to claim 8, characterized in that After displaying the number of received messages, the method further includes: In response to a click operation on the message associated with the number, display a conversation interface, and in the conversation interface, display the messages corresponding to the number.
11. The method according to claim 9 or 10, characterized in that, After displaying the conversation interface, the method further includes: In response to a close instruction for the conversation interface, cancel the display of the conversation interface and cancel the display of the messages corresponding to the number.
12. The method according to claim 1, characterized in that, The method further includes: In the first sub-display area, display the latest received message among the multiple messages, and display the number of unread messages; wherein, the sub-display areas other than the first sub-display area among the at least two sub-display areas are used to display the messages other than the latest received message among the multiple messages.
13. The method according to claim 1, characterized in that The method further includes: In response to receiving multiple messages for the virtual avatar, display the content of the messages through a bubble card.
14. The method according to claim 1, characterized in that, The virtual avatar corresponds to a target object, and the method further includes: When the message includes a prefix, in response to receiving multiple messages for the virtual avatar, display the prefix of the message and the content of the message in the associated area; Wherein, the prefix is used for at least one of the following prompts: prompting the existence of a directed message for the target object, prompting the existence of an activity message that can be participated in.
15. The method according to claim 14, wherein The prefix includes the icon of the activity message and the text of the directed message; The displaying the prefix of the message and the content of the message in the associated area includes: Display the icon of the activity message, the text of the directed message, and the content of the message in the associated area.
16. The method according to claim 15, wherein The message further includes an identifier of the message sender; the displaying the icon of the activity message, the text of the directed message, and the content of the message in the associated area includes: Display the icon of the activity message, the text of the directed message, the identifier of the message sender, and the content of the message in the associated area.
17. The method according to claim 1, characterized in that The virtual avatar includes a three-dimensional virtual avatar of the target object, and the method further includes: In response to a positioning instruction for the three-dimensional virtual avatar of the target object, move the content in the virtual scene, and in the moved virtual scene, display the three-dimensional virtual avatar of the target object.
18. The method according to claim 1, wherein When the message is a voice message, the method further includes: In the associated area of the message, display a sound control; In response to a trigger operation on the sound control, play the voice message.
19. The method according to claim 1, characterized in that, The virtual avatar includes a three-dimensional virtual avatar of the target object, and the method further includes: In the virtual scene, display the three-dimensional virtual avatar of the target object and the dressing control corresponding to the three-dimensional virtual avatar; In response to a trigger operation on the dressing control, display a dressing interface corresponding to the three-dimensional virtual image; In response to a dressing operation performed based on the dressing interface, display the three-dimensional virtual image with the virtual clothing replaced in the virtual scene.
20. The method according to claim 1, characterized in that The virtual image includes a three-dimensional virtual image, and the method further includes: In the virtual scene, display at least one three-dimensional virtual image, and each three-dimensional virtual image corresponds to an object; In an associated area of the three-dimensional virtual image, display an event identifier of the corresponding object, and the event identifier is used to indicate an event being executed by the object.
21. The method according to claim 1, characterized in that, The displaying of the virtual image in the virtual scene includes: In response to a display instruction for the virtual scene, display the virtual image in the virtual scene.
22. A message display device, characterized in that, The device includes: A first display module for displaying a virtual image in a virtual scene, where an associated area of the virtual image includes at least two sub-display areas; A second display module for, in response to receiving multiple messages for the virtual image, sequentially display the process in which each of the messages appears in the first sub-display area, moves one by one to the last sub-display area, and disappears according to the order of the reception times of the messages.
23. An electronic device, characterized in that, The electronic device includes: A memory for storing computer-executable instructions; A processor for implementing the method according to any one of claims 1 to 21 when executing the computer-executable instructions stored in the memory.
24. A computer-readable storage medium storing computer-executable instructions, characterized in that, When the computer-executable instructions are executed by the processor, the method according to any one of claims 1 to 21 is implemented.
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 the processor, the method according to any one of claims 1 to 21 is implemented.