Interaction method, apparatus, device, and computer program in a virtual scene
The interaction method and apparatus streamline the process of adding virtual characters to a virtual scene by using an interaction control, addressing the inefficiencies of existing methods and improving human-computer interaction.
Patent Information
- Application Number
- JP2024564635
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-08-23
- Filing Date
- 2023-07-20
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2043-07-20
AI Technical Summary
The existing method for adding a virtual character to a virtual scene is cumbersome, reducing the efficiency of human-computer interaction.
An interaction method and apparatus that allows users to add a second virtual character to a virtual scene by responding to an operation signal triggered on an interaction control displayed in the virtual scene.
This method simplifies the process of adding virtual characters, improves the consistency of operations, enhances the efficiency of human-computer interaction, and reduces the waste of computer display resources.
Smart Images

Figure 2025516495000001_ABST
Abstract
Description
Technical Field
[0001] This application claims priority based on a Chinese patent application filed on August 23, 2022, with an application number of 202211014327.5 and an invention title of "Method and Apparatus, Device, and Storage Medium for Displaying Virtual Characters", and all of its contents are incorporated herein by reference.
[0002] Embodiments of the present application relate to the field of virtual scenes, and in particular, to an interaction method and apparatus, device, and storage medium in a virtual scene.
Background Art
[0003] In an application program providing a virtual social function, there is a scene where a user performs social activities on a virtual screen through a virtual character or virtual image, which can also be regarded as a virtual social scene.
[0004] In related technologies, when user A receives a message from user B and the virtual character corresponding to user B does not exist on the virtual screen, if user A wants to add the virtual character of user B to the virtual screen, user A needs to enter the contact list from another entry, manually search for user B, and complete the addition operation.
[0005] However, the method of adding a virtual character to the virtual screen as described above is very cumbersome, and the efficiency of human-computer interaction is reduced.
Summary of the Invention
Problems to be Solved by the Invention
[0006] The present application provides an interaction method and apparatus, device, and storage medium in a virtual scene, which can make the method of adding a virtual character in the virtual scene simpler and more convenient, and improve the efficiency of human-computer interaction. The above technical aspects are as follows.
Means for Solving the Problem
[0007] According to one aspect of the present application, an interaction method in a virtual scene, comprising: displaying a virtual scene using a first application program operating on a first terminal, wherein a first account corresponding to a first virtual character is logged in to the first application program; displaying an interaction control on the virtual scene, wherein the interaction control is used to present interaction information between the first account and a second account in an interaction scene outside the virtual scene; responding to an operation signal triggered on the interaction control, and adding a second virtual character corresponding to the second account to the virtual scene. An interaction method in a virtual scene is provided, which includes the above steps.
[0008] According to one aspect of the present application, an interaction device in a virtual scene, comprising a display module and an interaction module, wherein: the display module: displays a virtual scene using a first application program operating on a first terminal, wherein a first account corresponding to a first virtual character is logged in to the first application program; further displays an interaction control on the virtual scene for presenting interaction information between the first account and a second account in an interaction scene outside the virtual scene; the interaction module responds to an operation signal triggered on the interaction control, and the display module further adds a second virtual character corresponding to the second account to the virtual scene. An interaction device in a virtual scene is provided.
[0009] According to another aspect of the present application, there is provided a terminal including a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the interaction method in the virtual scene described above.
[0010] According to another aspect of the present application, there is provided a computer-readable storage medium storing a computer program, and the computer program is loaded and executed by a processor to implement the interaction method in the virtual scene described above.
[0011] According to another aspect of the present application, there is provided a computer program product storing a computer program, and the computer program is loaded and executed by a processor to implement the interaction method in the virtual scene described above.
Advantages of the Invention
[0012] The beneficial effects brought about by the technical solution according to the embodiments of the present application include at least the following.
[0013] By adding a second virtual character to the virtual scene through an operation on the interaction control displayed in the virtual scene, on the one hand, compared with the method in the related art where after closing the chat interface, it is necessary to add other virtual characters to the screen of the virtual scene from other entrances, the method according to this embodiment is simple and convenient to operate, improves the consistency of the operation for the player to add virtual characters outside the scene to the virtual scene, improves the efficiency of human-computer interaction, and also avoids the waste of computer display resources caused by the player having to open another entrance to add virtual characters. On the other hand, in the virtual scene, the player can continue the interaction with other players in the interaction scene outside the virtual scene, and there is no need to switch the virtual scene to another interaction scene to interact with other players, thus improving the efficiency of interaction between players.
Brief Description of the Drawings
[0014]
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Figure 12
Figure 13
Figure 14
Figure 15
Figure 16
Figure 17
Figure 18
Figure 19
Embodiments for Carrying Out the Invention
[0015] First, nouns mentioned in the embodiments of the present application will be briefly described.
[0016] Virtual Social: Players can customize their own 2D or 3D humanoid models (Do It Yourself, DIY), generate virtual characters, and use their virtual characters to engage in social activities such as chatting with other virtual characters. Generally, such virtual social behaviors similar to real-world social behaviors occur in the virtual world.
[0017] Adding Virtual Characters: In the virtual scene 101 corresponding to Player A as shown in Figure 1, when a message is sent from Player B associated with a virtual character outside the virtual scene 101, a message reminder is displayed on the screen in some way. For example, a message bubble 102 containing Player B's avatar and the number of unread messages 103 are displayed to inform Player A that there are currently unread messages. When Player A clicks on the unread message, a chat details page 104 pops up to display the specific message content.
[0018] When Player A closes the chat details page, continuous guiding operations will stop. The operation process of Player A is interrupted. At this time, if Player A wants to add the virtual character associated with Player B, who has just finished chatting, to the virtual scene 101, they need to find other entry methods. For example, at the contact entry 105, when the contact list 106 is clicked to open, Player A manually finds the corresponding contact from the contact list 106 and manually executes the addition operation.
[0019] However, the method for adding virtual characters described above is cumbersome, the efficiency of human-machine interaction is low, and the experience during the player's operation is fragmented. After the player finishes chatting, there may be players who are interested and want to add virtual characters to the scene. However, when the chat ends, the addition process ends, so the player has to search for an entrance to add friends again and start a new operation flow. Due to the lack of a smooth and simple experience, the failure rate of players in the process of adding friends is high.
[0020] FIG. 2 shows a configuration block diagram of a computer system according to an exemplary embodiment of the present application. This computer system 200 includes a first terminal 210, a server 220, and a second terminal 230.
[0021] For the first terminal 210, application programs that support the display of virtual characters, such as an instant chat program, a voice chat program, a social program, a virtual social program, a metaverse program, etc., are installed and operate. In the application program installed on the first terminal 210, a first account associated with the first virtual character is logged in.
[0022] In some embodiments, the first account can be regarded as the user who uses the first account.
[0023] The first terminal 210 is connected to the server 220 via a wireless network or a wired network.
[0024] Server 220 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Generally, server 220 includes a processor 221 and a memory 222, and memory 222 further includes a receiving module 2221, a display module 2222, and a control module 2223. Server 220 is used to provide background services to an application program that supports the display of virtual characters. Optionally, server 220 may undertake major computing tasks while the first terminal 210 and the second terminal 230 undertake secondary computing tasks, or server 220 may undertake secondary computing tasks while the first terminal 210 and the second terminal 230 undertake major computing tasks, or the three of server 220, the first terminal 210, and the second terminal 230 may perform collaborative computing by means of a distributed computing architecture.
[0025] An application program that supports the display of virtual characters is installed and operates on the second terminal 230. The second account associated with the second virtual character is logged in to the application program installed on the second terminal 230.
[0026] In some embodiments, the second account can be regarded as the user who uses the second account.
[0027] Optionally, the first virtual character and the second virtual character may or may not exist in the same virtual scene. Optionally, the first virtual character and the second virtual character may be in the same team or group, have a friendship relationship, or have temporary communication permissions.
[0028] Optionally, the application programs installed on the first terminal 210 and the second terminal 230 may be the same, or the application programs installed on both terminals may be the same type of application programs of different control system platforms. The first terminal 210 may refer to one of a plurality of terminals, and the second terminal 230 may refer to another one of the plurality of terminals. However, in this embodiment, only the first terminal 210 and the second terminal 230 will be taken as examples for explanation. The device types of the first terminal 210 and the second terminal 230 may be the same or different. This device type includes, but is not limited to, at least one of a smartphone, a tablet computer, an e-book reader, a laptop portable computer, a desktop computer, a television, an Augmented Reality (AR) terminal, a Virtual Reality (VR) terminal, and a Mixed Reality (MR) terminal. In the following embodiments, the example will be given that the terminal includes a smartphone for explanation.
[0029] Those skilled in the art will know that the number of the above terminals or virtual characters may be more or less. For example, the above terminal or virtual character may be only one, or may be dozens, hundreds or more. The embodiments of the present application do not limit the number and device type of the terminals or virtual characters.
[0030] Note that all the information (including but not limited to the user's device information, personal information, etc.) related to this application, data (including but not limited to the data for analysis, stored data, displayed data, etc.), and signals must be either approved by the user or fully approved by all relevant parties, and the collection, use, and processing of related data must comply with the relevant laws and regulations and standards of the relevant countries and regions. For example, all the information related to this application is obtained after being fully approved, and the terminal and the server only cache this information during the operation of the program, and will not fix / store or reuse the related data of this information.
[0031] FIG. 3 shows a schematic flowchart of an interaction method in a virtual scene according to an exemplary embodiment of this application. In this embodiment, an example will be given to explain that this method is executed by the terminal shown in FIG. 2. This method includes at least some of the following steps 320, 340, and 360.
[0032] Step 320: Use a first application program operating on a first terminal to display a virtual scene.
[0033] Here, a first account corresponding to a first virtual character is logged in to the first application program.
[0034] Optionally, the above virtual scene may be a scene displayed when the first application program operates on the terminal. This virtual scene may be an environment that simulates the real world, or an environment that is semi-simulated and semi-fictional, or a completely fictional environment. This virtual scene may be a 2D virtual environment, a 2.5D virtual environment, or a 3D virtual environment, but the embodiments of this application do not limit this.
[0035] The above virtual scene is used for a first virtual character to interact with other virtual characters.
[0036] In some embodiments, the interaction between virtual characters includes virtual social, virtual combat, virtual education, virtual conferencing, etc., and the embodiments of the present application do not limit this.
[0037] Optionally, when the virtual scene is embodied as a virtual combat scene, the first virtual character conducts a virtual combat with other virtual characters. When the virtual scene is embodied as a virtual education scene, the first virtual character conducts virtual education with other virtual characters. When the virtual scene is embodied as a virtual conferencing scene, the first virtual character conducts a virtual conference with other virtual characters. When the virtual scene is embodied as a virtual social scene, the first virtual character conducts virtual social activities with other virtual characters. In the embodiments of the present application, the virtual social scene is mainly taken as an example for description.
[0038] Here, the virtual social behavior in the virtual social scene is similar to the social behavior in the real world and includes at least one of, but is not limited to, text-based communication, gesture-based communication, voice-based communication, image-based communication, hugging, touching, stroking, etc. The first virtual character can be designed, or selected, or customized, or created, or self-defined, or uploaded to the server, or uploaded to the terminal by a first account (i.e., the user using the first account). The first virtual character is a virtual character in three-dimensional form.
[0039] The first account corresponds to the first virtual character. Optionally, the first account can correspond one-to-one to the first virtual character, or the first account can correspond to at least two first virtual characters, or the first virtual character can correspond to at least two first accounts.
[0040] Step 340: Display an interaction control on the virtual scene.
[0041] Here, the interaction control is used to present interaction information between the first account and the second account in an interaction scene outside the virtual scene.
[0042] Optionally, the above interaction control may be embodied as at least one of a two-dimensional interaction control and a three-dimensional interaction control.
[0043] In some embodiments, when the interaction control is embodied as a two-dimensional interaction control, the user interface includes a scene screen of the virtual scene and a HUD layer (a type of foreground layer) superimposed on the scene screen. This scene screen is used to display environmental content in a three-dimensional virtual environment, and this HUD layer includes at least one interaction control. This interaction control visually floats above the scene screen.
[0044] In some embodiments, when the interaction control is embodied as a three-dimensional interaction control, the user interface includes some triggerable screen elements included in the scene screen of the three-dimensional virtual scene. This screen element is a three-dimensional element, that is, a three-dimensional interaction control.
[0045] Optionally, when the virtual scene is embodied as a three-dimensional virtual scene, two-dimensional interaction controls may be displayed on the three-dimensional virtual scene.
[0046] Note that the interaction information between the first account and the second account in the interaction scene outside the virtual scene may be regarded as the interaction information between the first terminal and the second terminal in the interaction scene outside the virtual scene. The first account is logged in to the virtual scene executed on the first terminal, and the second account is logged in to the virtual scene executed on the second terminal.
[0047] Generally speaking, if the interaction method for interacting in the virtual scene is the first interaction method, then the interaction method for interacting in the interaction scene outside the virtual scene is the second interaction method. When the second account sends a message to the first account using the second interaction method, this message is presented via the interaction control in the virtual scene, thereby alerting the user corresponding to the first account that there is a message from the second account in the virtual scene.
[0048] Optionally, the above interaction control may be used to present the interaction information between the first account and the second account in the social interaction scene outside the virtual scene. Here, the social interaction scene outside the virtual scene includes, but is not limited to, at least one of a scene where social activities are performed through a text chat interface outside the virtual scene, or a scene where social activities are performed through a voice chat interface outside the virtual scene, or a scene where social activities are performed in another virtual scene outside the virtual scene.
[0049] Optionally, when the virtual scene is a virtual scene provided by a first application program, the interaction scene outside the virtual scene may be an interaction scene provided by a second application program. Optionally, the first application program and the second application program may be the same application program, or different application programs. Alternatively, when the first application program is embodied as a host application, the second application program may be a mini-program installed in the first application program. Alternatively, when the second application program is embodied as a host application, the first application program may be a mini-program installed in the second application program.
[0050] Optionally, performing an interaction in the interaction scene outside the virtual scene can also be understood as performing an interaction on the user interface outside the virtual scene. Here, the user interface may be superimposed and displayed on this virtual scene, or floating and displayed on this virtual scene, or displayed in an independent window. The embodiments of the present application do not limit this.
[0051] In some embodiments, the interaction information includes an instant message sent by a second account to a first account in an interaction scene outside the virtual scene, and this instant message includes at least one of a text message, an image message, a video message, an audio message, a card push message, a link message, etc.
[0052] Optionally, instant messages sent by a second account in an interaction scene outside the virtual scene may be automatically displayed via an interaction control. For example, when an instant message of greeting ("Hello, are you there?") is sent to the first account by the second account in a chat interface outside the virtual scene, an interaction control is displayed in the virtual scene corresponding to the first account, and the instant message "Hello, are you there?" sent by the second account is displayed on the interaction control.
[0053] Alternatively, presentation information of instant messages sent by a second account in an interaction scene outside the virtual scene is automatically displayed via an interaction control. For example, when the second account sends two instant messages to the first account on a chat interface outside the virtual scene, an interaction control is displayed in the virtual scene corresponding to the first account, and the number of unread messages "2" of the instant messages sent by the second account is displayed on the interaction control.
[0054] Alternatively, an account identifier corresponding to the second account is automatically displayed via an interaction control. Optionally, this account identifier may include at least one of an account name, an account avatar, etc., but the embodiments of the present application do not limit this. For example, when the second account sends an instant message to the first account on a chat interface outside the virtual scene, an interaction control is displayed in the virtual scene corresponding to the first account, and by displaying the account avatar corresponding to the second account on the interaction control, it is presented to the first account that an instant message has been sent from the second account.
[0055] In some other embodiments, this interaction information includes historical messages that have not been read by the first account, and these unread historical messages include messages sent by the second account to the first account in an interaction scene outside the virtual scene. This historical message includes at least one of a text message, an image message, a video message, an audio message, a card push message, a link message, etc.
[0056] Optionally, use a first application program operating on the first terminal to display a virtual scene, and in response to the existence of unread historical messages sent by the second account to the first account in an interaction scene outside the virtual scene, interaction controls can be displayed in the virtual scene.
[0057] Generally speaking, after the first virtual character corresponding to the first account enters the virtual scene, currently, if there is a message from the second account to the first account in an interaction scene outside the virtual scene and this message is an unread message, interaction controls are displayed in the virtual scene.
[0058] Optionally, the unread historical messages sent by the second account in an interaction scene outside the virtual scene can be automatically displayed via the interaction control, or the presentation information of the unread historical messages sent by the second account in an interaction scene outside the virtual scene can be automatically displayed via the interaction control, or the account identifier corresponding to the second account can be automatically displayed via the interaction control.
[0059] Note that the embodiments of the present application do not limit the content displayed on the interaction control. Hereinafter, an example will be described in which the interaction control is embodied as a message reminder control or a chat control.
[0060] Optionally, this interaction control may include a message reminder control for alerting the presence of a first message from a second account. Optionally, the display content in the message reminder control may include at least one of a two-dimensional icon, a two-dimensional symbol, a message bubble, the number of messages, the message content, a message preview, and an account avatar.
[0061]
[0062] Step 360: In response to an operation signal triggered on the interaction control, add a second virtual character corresponding to the second account to the virtual scene.
[0063] Optionally, the operation signal may include an operation signal corresponding to an interest operation performed on the second account triggered on the interaction control.
[0064] Here, the interest operations include, but are not limited to, at least one of clicking on an interaction control, double - clicking on an interaction control, swiping an interaction control, dragging an interaction control, long - pressing an interaction control, inputting text on an interaction control, inputting voice on an interaction control, viewing a first message from a second account on an interaction control, and sending a second message to a second account on an interaction control.
[0065] In some embodiments, the second virtual character can be designed, or selected, or customized, or created, or self - customized, or uploaded to the server, or uploaded to the terminal by a second account (i.e., the user using the second account). The second virtual character is a virtual character in three - dimensional form.
[0066] The second account corresponds to the second virtual character. Optionally, the second account can correspond one - to - one to the second virtual character, or the second account can correspond to at least two second virtual characters, or the second virtual character can correspond to at least two second accounts.
[0067] Generally, an example will be used to illustrate that the first application program is embodied as an instant messaging application program. The instant messaging application program provides two interaction methods: an interaction method via a chat interface (i.e., an interaction method that performs interactions in an interaction scene outside the virtual scene), and an interaction method that enters the virtual scene and performs interactions in the virtual scene. When a player operates the terminal to enter the virtual scene, in the virtual scene, a virtual character corresponding to the player is displayed, and the player can operate this virtual character to interact with other virtual characters in the virtual scene.
[0068] When the virtual character exists in the virtual scene due to the player's operation, if at this time a friend of the player sends a message to the player via the chat interface, one interaction control will be displayed in the virtual scene. Through this interaction control, for example, information presenting for this message can be displayed, such as displaying the friend's avatar and the number of unread messages on the avatar. The player can add the virtual character corresponding to the friend to the virtual scene by dragging this interaction control within the virtual scene. After that, this virtual character will be displayed on the interface of the terminal controlled by the player, and the player can interact with the friend at any time through this virtual character.
[0069] In some embodiments, when a second account is logged in to the first application but has not entered the virtual scene, in response to an operation signal triggered on the interaction control, a second virtual character corresponding to the second account is added to the virtual scene.
[0070] Generally, when a player logs in to this instant messaging application program on a player terminal and enters a virtual scene, a first virtual character is displayed in the virtual scene displayed on the player terminal. At this time, when the player's friend logs in to the instant messaging application program on a friend terminal and sends a message to the first account without entering the virtual scene, an interaction control with an avatar of a second account is displayed in the virtual scene of the player terminal, presenting the player with the presence of a message from the player's friend. When the player drags this interaction control into the virtual scene on the player terminal, a second virtual character corresponding to the second account is added to the three-dimensional virtual scene, and the player can interact with the friend at any time through this virtual character.
[0071] Optionally, adding a second virtual character corresponding to the second account to the virtual scene may mean adding and displaying the second virtual character corresponding to the second account in the virtual scene, that is, adding the second virtual character within the screen of the virtual scene currently being displayed on the terminal so that it is visible to the user.
[0072] Alternatively, adding a second virtual character corresponding to the second account to the virtual scene means adding the second virtual character corresponding to the second account outside the screen of the virtual scene currently being displayed on the terminal, so that the second virtual character is added to the virtual scene but not visible to the user, and the user can search for the second virtual character by switching the screen of the virtual scene displayed on the terminal.
[0073] In some embodiments, there are multiple second accounts that send interaction information to the first account in an interaction scene outside the virtual scene.
[0074] In some embodiments, one second account corresponds to one interaction control.
[0075] Generally speaking, when the second account a sends interaction information to the first account in an interaction scene outside the virtual scene, in the virtual scene, the interaction control 1 corresponding to the second account a is displayed. When the second account b sends interaction information to the first account in an interaction scene outside the virtual scene, in the virtual scene, the interaction control 2 corresponding to the second account a is displayed.
[0076] In some embodiments, a plurality of second accounts correspond to one interaction control.
[0077] Optionally, all second accounts may correspond to one interaction control.
[0078] Generally speaking, if there is no account that sends interaction information to the first account in the interaction scene outside the virtual scene, the interaction control will not be displayed in the virtual scene. When the second account a sends interaction information to the first account in the interaction scene outside the virtual scene, in the virtual scene, the interaction control corresponding to the second account a is displayed, and the account avatar corresponding to the second account a is displayed on the interaction control. When the second account b sends interaction information to the first account in the interaction scene outside the virtual scene, either the account avatars corresponding to the second account a and the second account b are simultaneously displayed on the interaction control, or a switching animation that alternately switches the account avatar corresponding to the second account a and the account avatar corresponding to the second account b is displayed on the interaction control, or the account avatar corresponding to the second account b is displayed on the interaction control.
[0079] Optionally, the second accounts in the same group may correspond to one interaction control.
[0080] Generally speaking, among the friend lists of the first account, the second account a and the second account b belong to the first group, and the second account c belongs to the second group. When the second account a or the second account b sends interaction information to the first account in the interaction scene outside the virtual scene, the account avatar corresponding to the second account a or the second account b is displayed on the interaction control 1. When the second account c sends interaction information to the first account in the interaction scene outside the virtual scene, the account avatar corresponding to the second account c is displayed on the interaction control 2.
[0081] In some embodiments, when a plurality of second accounts correspond to one interaction control, the interaction control is used to present interaction information between the first account and the plurality of second accounts in an interaction scene outside the virtual scene.
[0082] Optionally, on the interaction control, presentation contents about interaction information corresponding to each of the plurality of second accounts may be simultaneously displayed. The presentation contents of this interaction information include at least one of an interaction message sent by the second account in an interaction scene outside the virtual scene, presentation information of an interaction message sent by the second account in an interaction scene outside the virtual scene, an account identifier corresponding to the second account, etc., and the embodiments of the present application do not limit this.
[0083] Optionally, presentation contents corresponding to each of the plurality of second accounts may be simultaneously displayed on the interaction control.
[0084] Alternatively, a first switching display animation of presentation contents corresponding to each of the plurality of second accounts is displayed. The first switching display animation refers to an animation that loop-displays presentation contents corresponding to each of the plurality of second accounts in the order of transmission of interaction messages from the second account to the first account. Alternatively, the presentation content corresponding to the second account that sent the interaction message to the first account earliest is displayed on the interaction control. Alternatively, the presentation content corresponding to the second account that is currently sending an interaction message to the first account is displayed on the interaction control.
[0085] Alternatively, display a second switching display animation of the presentation content corresponding to each of the plurality of second accounts, where the second switching display animation refers to an animation that loop-displays the presentation content corresponding to each of the plurality of second accounts according to the priority corresponding to each of the second accounts (loop-displaying the one with the highest priority first and the one with the lowest priority last, or loop-displaying the one with the lowest priority first and the one with the highest priority last). Alternatively, display the presentation content corresponding to the second account with the highest priority on the interaction control.
[0086] Here, the priority corresponding to each of the second accounts may be the priority set by the first account for each second account. Alternatively, this priority is a priority automatically determined according to the frequency of interaction between the first account and the second account, where the higher the frequency of interaction, the higher the priority, or it has a positive correlation with the account level of the second account, or it has a positive correlation with the number of interaction information sent by the second account to the first account, or it is associated with the content of the interaction information sent by the second account to the first account, etc. The embodiments of the present application do not limit the method for determining the priority of the second account.
[0087] Generally speaking, when the priority is associated with the content of the interaction information sent by the second account to the first account, a plurality of keywords such as "important notice" and "@" are preset in the first account. If any one of the plurality of keywords is included in the content of the interaction information sent by the second account to the first account, the priority corresponding to the second account is increased, and the degree of increase in priority has a positive correlation with the number of keywords included in the content of the interaction information.
[0088] Optionally, in response to an operation signal triggered on the interaction control, second virtual characters corresponding to each of the plurality of second accounts may be simultaneously added to the virtual scene.
[0089] Generally speaking, currently, when there are a plurality of second accounts that have sent instant messages to the first account in an interaction scene outside the virtual scene, an interaction control is displayed in the virtual scene. When this interaction control is dragged into the virtual scene, second virtual characters corresponding to each of these plurality of second accounts are simultaneously displayed in the virtual scene.
[0090] According to the method according to the embodiments of the present application, by simultaneously adding second virtual characters corresponding to each of the plurality of second accounts to the virtual scene, the efficiency of adding virtual characters to the virtual scene is improved.
[0091] Optionally, in response to an operation signal triggered on the interaction control, second virtual characters corresponding to each of the plurality of second accounts may be sequentially added to the virtual scene.
[0092] Generally speaking, the order of adding second virtual characters corresponding to each of the plurality of second accounts to the virtual scene includes at least one of the following situations.
[0093] Situation 1: Follow the order in which the plurality of second accounts send interaction information to the first account in an interaction scene outside the virtual scene.
[0094] Generally, when the time at which the second account a sent the latest interaction information to the first account is earlier than the time at which the second account b sent the latest interaction information to the first account at the current time, when the interaction control is dragged to the virtual scene, the second virtual character corresponding to the second account a is first displayed, and then the second virtual character corresponding to the second account b is displayed.
[0095] Alternatively, when the time at which the second account a sent the first interaction information to the first account is earlier than the time at which the second account b sent the first interaction information to the first account, when the interaction control is dragged to the virtual scene, the second virtual character corresponding to the second account a is first displayed, and then the second virtual character corresponding to the second account b is displayed.
[0096] Situation 2: Follow the priority order corresponding to each of the multiple second accounts.
[0097] Optionally, the second virtual characters corresponding to each of the multiple second accounts are sequentially added to the virtual scene in descending order of priority.
[0098] Alternatively, the second virtual characters corresponding to each of the multiple second accounts are sequentially added to the virtual scene in ascending order of priority.
[0099] Here, the priority corresponding to each of the second accounts may be the priority set by the first account for each second account. Alternatively, this priority is a priority automatically determined according to the frequency of interaction between the first account and the second account, where the higher the frequency of interaction, the higher the priority, or it has a positive correlation with the account level of the second account, or it has a positive correlation with the number of interaction information sent by the second account to the first account, or it is associated with the content of the interaction information sent by the second account to the first account, etc. The embodiments of the present application do not limit the method for determining the priority of the second account.
[0100] Generally speaking, when the priority is associated with the content of the interaction information sent by the second account to the first account, a plurality of keywords such as "important notice" and "@" are preset for the first account. If any one of the plurality of keywords is included in the content of the interaction information sent by the second account to the first account, the priority corresponding to the second account is increased, and the degree of increase in the priority has a positive correlation with the number of keywords included in the content of the interaction information.
[0101] Situation 3: The first account follows the order of the interactions set in the interaction scene outside the virtual scene.
[0102] Generally speaking, when the second account a and the second account b send interaction messages to the first account in the interaction scene outside the virtual scene, and the first account displays the interaction interface (for example, the chat list) corresponding to the second account b at the top in the interaction scene outside the virtual scene, when the interaction control is dragged into the virtual scene, first, the second virtual character corresponding to the second account b is displayed, and then the second virtual character corresponding to the second account a is displayed.
[0103] Note that the order of adding the second virtual character to the virtual scene described above is only a schematic illustration, and the embodiments of the present application do not limit this.
[0104] According to the method according to the embodiments of the present application, by sequentially adding second virtual characters corresponding to each of a plurality of second accounts to a virtual scene, the computer is avoided from rendering a large number of virtual characters at one time, and the rendering burden on the computer is reduced.
[0105] Optionally, in response to an operation signal triggered on an interaction control, a selection list including a plurality of second accounts is displayed, a selection operation for at least one second account among the plurality of second accounts in the selection list is received, and a second virtual character corresponding to the at least one second account is added to the virtual scene.
[0106] In some embodiments, when a second virtual character corresponding to a second account is added to a virtual scene, the first account can interact with the second account through the virtual character in the virtual scene.
[0107] Optionally, a second virtual character corresponding to a second account is added to the virtual scene, an interaction animation corresponding to the second virtual character is displayed, and in response to a fourth operation triggered on the interaction animation, a chat interface corresponding to the first account and the second account is displayed.
[0108] Here, the interaction animation can be embodied as a bubble animation, a balloon animation, a chat box animation, a cloud animation, etc., and the embodiments of the present application do not limit this.
[0109] Optionally, the above interaction information may be displayed on the interaction animation.
[0110] Generally, when the second virtual character is dragged into the virtual scene, a bubble animation is displayed above the character of the second virtual character, and an instant message sent from the second account is displayed on this bubble animation.
[0111] Optionally, receive a movement control operation for controlling the first virtual character to move within the virtual scene with respect to the first virtual character, and when the distance between the first virtual character and the second virtual character is less than or equal to a preset distance, a chat interface corresponding to the first account and the second account may be displayed.
[0112] Generally, after adding the second virtual character corresponding to the second account to the virtual scene, the player can control the first virtual character to move to the second virtual character via the first terminal, and when the distance between the first virtual character and the second virtual character in the virtual scene is less than or equal to a preset distance, the chat interfaces corresponding to the first account and the second account are automatically triggered.
[0113] Optionally, after triggering the display of the chat interface, the first account may interact with the second account in this chat interface. Then, receive a message sending operation for a chat message on the chat interface, and send a chat message to the second account.
[0114] Here, the chat message includes at least one of a text message, an image message, a video message, an audio message, a card push message, a link message, etc. The embodiments of the present application do not limit this.
[0115] In some embodiments, a second virtual character corresponding to a second account is added to the virtual scene, an interaction animation corresponding to the second virtual character is displayed, and in response to a fourth operation triggered on the interaction animation, a chat message is sent to the second account.
[0116] Alternatively, a movement control operation for controlling the first virtual character to move within the virtual scene is received for the first virtual character, and when the distance between the first virtual character and the second virtual character is less than or equal to a preset distance, a chat message is sent to the second account.
[0117] In some other embodiments, the first account can interact with the second account directly through an interaction control.
[0118] Optionally, in response to an operation signal triggered on the interaction control, a chat interface corresponding to the first account and the second account is displayed, and a message sending operation for a chat message on the chat interface is received, and a chat message may be sent to the second account.
[0119] As described above, according to the method of this embodiment, by adding a second virtual character to the virtual scene through an operation on the interaction control displayed in the virtual scene, on the one hand, compared with the method in the related art where it is necessary to add other virtual characters to the screen of the virtual scene from other entrances after closing the chat interface, the method according to this embodiment is simple and convenient to operate, improves the consistency of the operation for the player to add virtual characters outside the scene to the virtual scene, improves the efficiency of human-computer interaction, and also avoids waste of computer display resources caused by the player having to open another entrance to add virtual characters. On the other hand, in the virtual scene, the player can continue the interaction with other players in the interaction scene outside the virtual scene, and there is no need to switch the virtual scene to other interaction scenes to interact with other players, thus improving the efficiency of interaction between players.
[0120] According to the method of the embodiment of the present application, when adding a second virtual character to the virtual scene, at the same time, in order to display the interaction animation corresponding to the second virtual character, the first account can interact with the second virtual character in the virtual scene through this interaction animation, enhancing the interactivity of the virtual scene and improving the efficiency of human-computer interaction.
[0121] According to the method of the embodiment of the present application, after adding the second virtual character to the virtual scene, when the player controls the first virtual character to move to the second virtual character, the chat interface between accounts is automatically triggered, improving the efficiency of human-computer interaction during the display of the chat interface.
[0122] According to the method of the embodiment of the present application, after triggering the chat interface, the first account can interact with the second account through the chat interface in the virtual scene, improving the efficiency of interaction between players.
[0123] In some possible embodiments, step 360 includes step 361.
[0124] FIG. 4 shows a schematic flowchart of an interaction method in a virtual scene according to an exemplary embodiment of the present application. In this embodiment, an example will be given to illustrate that this method is executed by the terminal shown in FIG. 2. This method includes at least some of the following steps 320, 340, and 361.
[0125] Step 320: Use a first application program operating on a first terminal to display a virtual scene.
[0126] Here, a first account corresponding to a first virtual character is logged in to the first application program.
[0127] Optionally, the virtual scene may be a two-dimensional virtual environment, a 2.5-dimensional virtual environment, or a three-dimensional virtual environment, but the embodiments of the present application do not limit this.
[0128] Exemplarily, as shown in FIG. 5, a three-dimensional virtual scene 501 corresponding to the first account is displayed, and a first virtual character 502 is displayed in this three-dimensional virtual scene 501. The first virtual character 502 performs virtual social activities with other virtual characters 503 in the three-dimensional virtual scene 501.
[0129] Step 340: Display an interaction control on the virtual scene.
[0130] Optionally, the interaction control may be embodied as at least one of a two-dimensional interaction control and a three-dimensional interaction control.
[0131] Optionally, when the virtual scene is embodied as a three-dimensional virtual scene, a two-dimensional interaction control may be displayed on the three-dimensional virtual scene.
[0132] Exemplarily, as shown in FIG. 6, an interaction control 504 is displayed on a three-dimensional virtual scene 501. In this embodiment, an example is given where the interaction control 504 is a message reminder control including an avatar 5041 of a second account and a message number 5042.
[0133] Step 361: In response to a drag operation of dragging the interaction control to the virtual scene, a second virtual character corresponding to the second account is added to the virtual scene.
[0134] In some embodiments, in response to a drag operation of dragging the interaction control to any position or a first position on the virtual scene, a second virtual character corresponding to the second account is added to (or added and displayed in) the virtual scene. This first position can be a position where there is an empty display area in the virtual scene. Optionally, the empty display area may refer to an area where no other virtual characters are displayed, or an area where no other virtual characters and virtual display elements are displayed (for example, virtual furniture, virtual seats, etc. in a three-dimensional virtual scene).
[0135] In some embodiments, in response to a drag operation of dragging an interaction control within a first region on a virtual scene, a second virtual character corresponding to a second account is added to (or added and displayed in) the virtual scene. Optionally, the first region may be visible on the virtual scene, i.e., the first region is displayed within the virtual scene, or the first region may not be visible on the virtual scene, i.e., the first region may not be displayed within the virtual scene.
[0136] Generally, when the first region is visible within the virtual scene and the first region is embodied as the central region of the scene screen of the three-dimensional virtual scene currently displayed on the terminal, dragging the interaction control to this region will add a second virtual character corresponding to the second account to this three-dimensional virtual scene, and the second virtual character will be displayed in any empty display area in the three-dimensional virtual scene.
[0137] When this first region is not visible within the three-dimensional virtual scene, triggering the interaction control will add a second virtual character corresponding to the second account to a first region outside the three-dimensional virtual scene currently displayed on the terminal, but the first region remains within the three-dimensional virtual scene.
[0138] In some embodiments, in response to a drag operation of dragging an interaction control to the virtual scene, the interaction control is switched to a second virtual character located in the virtual scene, and a second virtual character corresponding to the second account is added to (or added and displayed in) the virtual scene. Optionally, the switching process of switching the interaction control to the second virtual character located in the virtual scene may be made to appear, for example, as if an animation switching effect is displayed, or may not be made to appear.
[0139] In some embodiments, the interaction control located within the first region is switched to a second virtual character located in the virtual scene, and a second virtual character corresponding to the second account is added to (or added to and displayed in) the virtual scene. Optionally, the switching process of switching the interaction control to the second virtual character located in the virtual scene may be made to appear as if, for example, an animation switching effect is displayed, or may be made to not appear.
[0140] Optionally, the avatar of the second account located within the first region on the virtual scene may be switched and displayed as an animation to the second virtual character located in the virtual scene. Generally speaking, when the interaction control is dragged within the first region, the avatar of the second account in the interaction control displayed within the first region is switched to the second virtual character located in the virtual scene as an animation. If this avatar itself is the character avatar of the second virtual character, an animation is displayed in which the avatar of the second account is expanded and displayed as the second virtual character. If this avatar is not the character avatar of the second virtual character, an animation in which the avatar of the second account is switched and displayed as the second virtual character is directly displayed. It should be noted that the embodiments of the present application do not limit the specific content of the animation for switching and displaying as the second virtual character.
[0141] In some embodiments, the correspondence between the second account and the second virtual character is similar to the correspondence between the first account and the first virtual character.
[0142] In some embodiments, based on the second virtual character, related information of the first message is displayed in the virtual scene, and this related information of the first message includes at least one of, but is not limited to, message content, number of messages, message preview, time when the message was sent, time when the message was received, etc.
[0143] Exemplarily, as shown in FIG. 7, the interaction control 504 is dragged to the three-dimensional virtual scene 501, and in response to the drag operation of dragging the interaction control 504 to the three-dimensional virtual scene 501, the interaction control 504 is switched and displayed as a second virtual character 505, and the message content of the first message 506 is displayed around the second virtual character 505.
[0144] In some embodiments, the virtual scene is a virtual scene provided by a first application program. When a first account adds a second virtual character corresponding to a second account to the virtual scene, the first application program sends a reminder message to the second account to alert the second account that its corresponding second virtual character has been added to the virtual scene by the first account. The second account logs in to the first application program based on this reminder message and can perform social activities with the first account through the virtual character in the virtual scene.
[0145] As described above, according to the method of this embodiment, the virtual scene can be embodied as a three-dimensional virtual scene, and the interaction control can be embodied as a two-dimensional interaction control. Therefore, by displaying the two-dimensional interaction control in the three-dimensional virtual scene and distinguishing between the dimensions of the scene and the control, the operation target of the user is separated from the scene screen. As a result, the user can clarify the operation target and improve the efficiency of human-machine interaction.
[0146] According to the method of this embodiment, by adding a second virtual character to the virtual scene through a drag operation on the interaction control displayed in the virtual scene, the player can directly perform social interaction with the second account through the virtual character in the current virtual scene, improving the efficiency of social interaction between players.
[0147] According to the method of this embodiment, by dragging the interaction control to the visible area on the virtual scene, the player can directly interact with the second virtual character in the current virtual scene, improving the efficiency of human-computer interaction. Also, by adding the second virtual character corresponding to the second account to the invisible area within the virtual scene, the rendering overhead of the computer is reduced.
[0148] According to the method of this embodiment, when the interaction control is dragged to the first area, the avatar of the second account displayed on the interaction control animates and switches to the second virtual character representing the second account. Since the player can accurately identify the single account with the avatar, the process of the player selecting the second virtual character becomes more accurate.
[0149] According to the method of this embodiment, in order to enable the display of the first message from the second account based on the second virtual character, the player can directly receive the message from the second account in the virtual scene, improving the efficiency of human-computer interaction.
[0150] According to the method of this embodiment, when the second account is logged in to the first application but not in the virtual scene, by the operation on the second account triggered by the player on the interaction control, a second virtual character corresponding to the second account is added to the virtual scene. That is, when the second account is online, the player can add a virtual character corresponding to the second account in the virtual scene, improving the effectiveness of interacting with the second account through the virtual character.
[0151] In some possible embodiments, step 360 includes step 362, step 363, and step 364.
[0152] FIG. 8 shows a schematic flowchart of an interaction method in a virtual scene according to an exemplary embodiment of the present application. In this embodiment, this method will be described by taking as an example the execution by the terminal shown in FIG. 2. This method includes at least some of the following steps 320, 340, 362, 363, and 364.
[0153] Step 320: Use a first application program operating on a first terminal to display a virtual scene.
[0154] Here, a first account corresponding to a first virtual character is logged in to the first application program.
[0155] Optionally, the virtual scene may be a two-dimensional virtual environment, a 2.5-dimensional virtual environment, or a three-dimensional virtual environment, but the embodiments of the present application do not limit this.
[0156] Exemplarily, as shown in FIG. 5, a three-dimensional virtual scene 501 corresponding to the first account is displayed, and a first virtual character 502 is displayed in this three-dimensional virtual scene 501. The first virtual character 502 performs virtual social activities with other virtual characters 503 in the three-dimensional virtual scene 501.
[0157] Step 340: Display an interaction control on the virtual scene.
[0158] Exemplarily, as shown in FIG. 6, an interaction control 504 is displayed on the three-dimensional virtual scene 501, and the interaction control 504 may be a message reminder control and / or a chat control. In this embodiment, it is taken as an example that the interaction control 504 includes an avatar 5041 and a message count 5042 of the second account.
[0159] Step 362: In response to a click operation on the interaction control, display a first message from the second account.
[0160] In some embodiments, in response to a click operation on the interaction control, a first message from the second account is displayed. Alternatively, in response to a double-click operation on the interaction control, a first message from the second account is displayed. Alternatively, in response to a swipe operation on the interaction control, a first message from the second account is displayed. In this embodiment, it is taken as an example that in response to a click operation on the interaction control, a first message from the second account is displayed.
[0161] Exemplarily, as shown in FIG. 9, in response to a click operation on the interaction control 504, a chat interface 507 with a second account is displayed, and a first message 506 from the second account is displayed on the chat interface 507. Exemplarily, this chat interface 507 is a floating window interface floating on a three-dimensional virtual scene.
[0162] Optionally, when the chat interface 507 is embodied as a floating window interface floating on a three-dimensional virtual scene, the transparency of the background of this floating window interface may satisfy the transparency requirement. For example, the transparency of the background of the floating window interface is set to 70%. Here, the transparency of the message bubble is set to 0% - 50% so that the message can be seen.
[0163] Optionally, the above chat interface 507 may also be an interface displayed in a split screen. For example, the screen of the terminal includes a first display area for displaying a scene screen of the virtual scene and a second display area for displaying the chat interface 507. Generally speaking, when the message sent by the second account is a video message or the second account sends an invitation for a video call, the video message sent by the second account can be displayed in the second display area, or the video call interface corresponding to the second account can be displayed in the second display area.
[0164] Step 363: In response to a close operation on the first message from the second account, switch and display the first message from the second account to the avatar of the second account.
[0165] Optionally, the switching process of switching the first message from the second account to the avatar of the second account may appear as if an animation switching effect including but not limited to at least one of closing, shrinking, fading, blurring, folding, etc. is displayed, or may be made invisible.
[0166] In some embodiments, the avatar of the second account is displayed at the edge or corner of the virtual scene. For example, the avatar of the second account is displayed at the lower left corner of the three-dimensional virtual scene.
[0167] Exemplarily, as shown in FIG. 10, in response to a close operation on the first message 506 from the second account, the first message 506 from the second account is animatedly switched and displayed to the avatar 508 of the second account, that is, in response to a close operation on the chat interface 507, the chat interface 507 is animatedly switched and displayed to the avatar 508 of the second account.
[0168] Step 364: In response to an operation signal for the avatar of the second account, add a second virtual character corresponding to the second account to the virtual scene.
[0169] The operations corresponding to the operation signal for the avatar of the second account include but are not limited to at least one of click, double click, swipe, drag, etc.
[0170] In some embodiments, in response to an operation of clicking on the avatar of the second account, a second virtual character corresponding to the second account is added to and displayed in the virtual scene. In some embodiments, in response to an operation of double - clicking on the avatar of the second account, a second virtual character corresponding to the second account is added to and displayed in the virtual scene. In some embodiments, in response to an operation of swiping the avatar of the second account, a second virtual character corresponding to the second account is added to and displayed in the virtual scene. In some embodiments, in response to a drag operation of dragging the avatar of the second account to any position on the virtual scene, a second virtual character corresponding to the second account is added to and displayed in the virtual scene.
[0171] In some embodiments, in response to a drag operation of dragging the avatar of the second account into a first area on the virtual scene, a second virtual character corresponding to the second account is added to and displayed in the virtual scene. Optionally, the first area may be visible on the virtual scene, that is, the first area is displayed within the virtual scene, or the first area may not be visible on the virtual scene, that is, the first area is not displayed within the virtual scene.
[0172] In some embodiments, in response to a drag operation of dragging the avatar of the second account to the virtual scene, the avatar of the second account is switched to a second virtual character located in the virtual scene, and a second virtual character corresponding to the second account is added to and displayed in the virtual scene. Optionally, the switching process of switching the avatar of the second account to the second virtual character located in the virtual scene may be made to appear, for example, as if an animation switching effect is displayed, or may not be made to appear.
[0173] In some embodiments, the avatar of the second account located within the first region is switched to the second virtual character located in the virtual scene, and the second virtual character corresponding to the second account is added to and displayed in the virtual scene. Optionally, the switching process of switching the avatar of the second account to the second virtual character located in the virtual scene may be made to appear, for example, as if an animation switching effect is displayed, or may be made invisible.
[0174] In some embodiments, the correspondence between the second account and the second virtual character is similar to the correspondence between the first account and the first virtual character. In some embodiments, based on the second virtual character, relevant information of the first message is displayed in the virtual scene, and this relevant information of the first message includes at least one of, but is not limited to, message content, number of messages, message preview, time when the message was sent, time when the message was received, etc. Exemplarily, as shown in FIG. 11, the avatar 508 of the second account is dragged into the three-dimensional virtual scene 501, and in response to the drag operation of dragging the avatar 508 of the second account into the three-dimensional virtual scene 501, the avatar 508 of the second account is switched to and displayed as the second virtual character 505.
[0175] As described above, according to the method of this embodiment, after displaying the first message from the second account by clicking on the interaction control, when the first message is closed, the first message is switched to and displayed as the avatar of the second account. Then, the player can add and display the second virtual character corresponding to the second account in the virtual scene by operating on the avatar of the second account. In this embodiment, the player can respond in a timely manner to the message sent by the second account by triggering the interaction control. After processing the current unread messages, the player can also add and display the second virtual character corresponding to the second account in the virtual scene by operating on the avatar corresponding to the interaction control. It becomes easier for the player to directly interact with the second account through the second virtual character in the virtual scene later, improving the efficiency of social interaction between players.
[0176] In some possible embodiments, step 360 includes step 365.
[0177] FIG. 12 shows a schematic flowchart of an interaction method in a virtual scene according to an exemplary embodiment of the present application. In this embodiment, this method will be described by taking as an example that it is executed by the terminal shown in FIG. 2. This method includes at least some of the following steps 320, 340, and 365.
[0178] Step 320: Display a virtual scene using a first application program operating on a first terminal.
[0179] Here, a first account corresponding to a first virtual character is logged in to the first application program.
[0180] Optionally, the virtual scene may be a two-dimensional virtual environment, a 2.5-dimensional virtual environment, or a three-dimensional virtual environment, but the embodiments of the present application do not limit thereto.
[0181] Exemplarily, as shown in FIG. 5, a three-dimensional virtual scene 501 corresponding to a first account is displayed, and a first virtual character 502 is displayed in this three-dimensional virtual scene 501. The first virtual character 502 performs virtual social activities with other virtual characters 503 in the three-dimensional virtual scene 501.
[0182] Step 340: Display an interaction control on the virtual scene.
[0183] Exemplarily, as shown in FIG. 13, an interaction control 504 is displayed on the three-dimensional virtual scene 501. In this embodiment, it is exemplified that the interaction control 504 is a chat control.
[0184] Step 365: In response to a second operation triggered on the chat control or a third operation triggered on the chat control, add a second virtual character corresponding to a second account to the virtual scene.
[0185] Here, the second operation is for viewing a first message from the second account, and the third operation is for sending a second message to the second account.
[0186] In some embodiments, in response to the first account viewing a first message from the second account on the interaction control (i.e., the triggered second operation), a second virtual character corresponding to the second account is added and displayed in the virtual scene. This interaction control is a chat control. Optionally, the first message may be an unread message or a read message.
[0187] In some embodiments, after the first account views a first message from the second account on the interaction control (i.e., after the second operation is triggered), in response to an operation to close the interaction control, a second virtual character corresponding to the second account is added to and displayed in the virtual scene. This interaction control is a chat control. Optionally, the first message may be an unread message or a read message.
[0188] In some embodiments, in response to the first account sending a second message to the second account on the interaction control (i.e., the triggered third operation), a second virtual character corresponding to the second account is added to and displayed in the virtual scene. This interaction control is a chat control. Optionally, this second message may include at least one of text, an image, and audio.
[0189] In some embodiments, after the first account sends a second message to the second account on the interaction control (i.e., after the third operation is triggered), in response to an operation to close the interaction control, a second virtual character corresponding to the second account is added to and displayed in the virtual scene. This interaction control is a chat control. Optionally, this second message may include at least one of text, an image, and audio.
[0190] In some embodiments, the correspondence between the second account and the second virtual character is similar to the correspondence between the first account and the first virtual character.
[0191] Exemplarily, as shown in FIG. 14, after a second message is sent to a second account on the interaction control 504 (i.e., the chat control in this embodiment), in response to an operation of closing the interaction control 504 (i.e., the chat control in this embodiment), a second virtual character 505 corresponding to the second account is added to and displayed in the three-dimensional virtual scene 501.
[0192] As described above, according to the method of this embodiment, by performing an operation of viewing the first message or sending the second message on the chat control displayed in the virtual scene, a second virtual character is added to and displayed in the virtual scene. The method of this embodiment can provide a consistent usage experience and interest to players through simple and convenient operations, strengthen the interaction between players, and contribute to the positive development of the players' virtual social network.
[0193] According to the method of this embodiment, after closing the chat control, by adding and displaying a second virtual character corresponding to the second account in the virtual scene, the player can timely respond to the message sent by the second account or send a message to the second account by triggering the chat control, and further, can continue the interaction with the second account through the second virtual character displayed in the virtual scene, improving the efficiency of performing social interaction between players.
[0194] According to the method of this embodiment, when the chat control is closed, the chat control is switched to and displayed as the avatar of the second account. Then, the player can add and display the second virtual character corresponding to the second account in the virtual scene by operating on the avatar of the second account. Also, by operating on the avatar, the player can select the timing to add the second virtual character corresponding to the second account to the virtual scene, increasing the freedom of the player's operation of adding virtual characters.
[0195] FIG. 15 shows an operation flowchart of an interaction method in a virtual scene according to an exemplary embodiment of the present application. Taking the example that this method is executed by the terminal shown in FIG. 2, this method includes at least some of the following steps 151-153, 154(a)-159(a), 154(b)-157(b).
[0196] Step 151: Receive a first message from a second account.
[0197] The client used by the first account receives a first message from the second account, including at least one of the transmission time of the first message, the sending account, the receiving account, the message content, etc.
[0198] The first message from the second account may be pushed by the server to the client used by the first account, or may be pushed by the client used by the second account to the client used by the first account.
[0199] Step 152: Display a two-dimensional interaction control including the number of messages and the avatar of the second account.
[0200] The client used by the first account displays a two-dimensional interaction control based on the first message received from the second account. The display content of the two-dimensional interaction control includes the number of messages and the avatar of the second account. The two-dimensional interaction control may be a message reminder control and / or a chat control.
[0201] In some embodiments, the display material of the two-dimensional interaction control may be sent from the server to the client and / or stored locally on the client. In response to the client receiving the first message from the second account, the client displays contents such as the number of messages and the avatar of the second account in the display material of the two-dimensional interaction control.
[0202] Step 153: Determine the first operation.
[0203] The first account can perform a first operation on the two-dimensional interaction control, such as a click operation, a drag operation, a double-click operation, a swipe operation, etc. The first operation on the number of messages and the avatar of the second account displayed by the first account is determined by the client.
[0204] For example, the client determines the first operation of the first account via a touch screen or determines the first operation of the first account via an event triggered by a mouse.
[0205] Step 154(a): Click on the two-dimensional interaction control.
[0206] If the client determines that the first operation of the first account is to click on the two-dimensional interaction control, the client proceeds to step 155(a) after step 154(a).
[0207] Step 155(a): Display the chat interface.
[0208] The display content of the chat interface may be pushed by the server to the client and / or stored locally on the client.
[0209] In response to the first operation in which the first account clicks on the two-dimensional interaction control, the client displays the chat interface based on the received display content of the chat interface and / or the display content of the chat interface stored locally. For example, when the client displays the chat interface between the first account and the second account, it can proceed to step 156(a).
[0210] Step 156(a): Close the chat interface.
[0211] The first account can perform operations on the chat interface, such as text input, voice input, closing the interface, etc. The client can determine or recognize the operations of the first account on the chat interface. For example, through the touch screen, it can determine the operations of the first account on the chat interface, or through the events triggered by the mouse, it can determine the operations of the first account on the chat interface.
[0212] When the first account closes the chat interface, it proceeds to step 157(a).
[0213] Step 157(a): Switch and display the chat interface to the avatar of the second account.
[0214] The avatar of the second account is pushed by the server to the client or stored locally on the client.
[0215] In response to the first account's operation of closing the chat interface, the client switches the chat interface to the avatar of the second account and displays it.
[0216] Optionally, the switching process of switching the chat interface to the avatar of the second account may be made to appear, for example, as an animation switching effect, or may be made invisible.
[0217] For example, the client folds the chat interface and switches to the avatar of the second account, and the avatar of the second account is displayed in the lower left corner of the 3D virtual scene.
[0218] Step 158(a): Click on the avatar of the second account.
[0219] The first account can perform operations such as click, double click, swipe, drag, etc. on the avatar of the second account displayed on the client, and the client can determine or recognize the operations of the first account on the chat interface.
[0220] If the client determines that the first account has clicked on the avatar of the second account, the client proceeds to step 159(a).
[0221] Step 159(a): Display the second virtual character in the 3D virtual scene.
[0222] The display materials of the second virtual character may include character display materials, skin display materials, etc. For example, the character display materials include at least one of the character's height, body type, gender, etc., and the skin display materials include at least one of hairstyle, skin color, tops, bottoms, skirt, shoes, makeup, etc.
[0223] In some embodiments, the display materials of the second virtual character are pushed by the server to the client and / or stored locally on the client. For example, the server pushes the display materials of the second virtual character to the client, and the client displays the second virtual character in the 3D virtual scene. Alternatively, the client stores the display materials of the second virtual character locally, the server pushes a material identifier to the client, and the client renders and generates the second virtual character based on the material identifier and displays it in the 3D virtual scene.
[0224] In response to an operation in which the first account clicks on the avatar of the second account, the client adds and displays the second virtual character corresponding to the second account in the 3D virtual scene.
[0225] Step 154(b): Drag the 2D interaction control.
[0226] If the client determines that the first operation of the first account is to drag the 2D interaction control, after step 154(b), the client proceeds to step 155(b).
[0227] Step 155(b): Switch the 2D interaction control to the second virtual character for display.
[0228] In some embodiments, when the client determines that the two-dimensional interaction control on the HUD layer has entered or moved within the first region, the two-dimensional interaction control is not displayed, that is, it can be understood that the two-dimensional interaction control disappears. Then, the client displays a second virtual character in the three-dimensional virtual scene. The position where the second virtual character is displayed in the three-dimensional virtual scene is the intersection of a half-line emitted from the screen generated by the camera model and a certain plane (for example, the ground plane) within the three-dimensional virtual scene, or it may be the position where the position where the two-dimensional interaction control disappears from the HUD layer is mapped within the three-dimensional virtual scene.
[0229] In response to the operation of the first account dragging the two-dimensional interaction control, the client switches and displays the two-dimensional interaction control as the second virtual character.
[0230] Optionally, the switching process of switching the two-dimensional interaction control to the second virtual character for display may be made to look like, for example, being displayed as an animation switching effect, or may be made invisible.
[0231] Step 156(b): Drag to the first region in the three-dimensional virtual scene and release the hand.
[0232] The first account can perform a drag operation on the second virtual character displayed on the client, for example, drag to the first region in the three-dimensional virtual scene and release the hand.
[0233] Optionally, the first region may be made visible or invisible.
[0234] The client can recognize or determine whether the first account has released its hold, the release position, etc. For example, the client can determine through the touch screen whether the first account has released its hold within the first area, or can determine through an event triggered by the mouse whether the first account has released its hold within the first area.
[0235] When the first account drags the two-dimensional interaction control into the first area in the three-dimensional virtual scene and releases its hold, the client proceeds to step 157(b).
[0236] Step 157(b): Display a second virtual character in the three-dimensional virtual scene.
[0237] The display materials of the second virtual character may include character display materials, skin display materials, etc. For example, the character display materials may include at least one of the height, body shape, gender, etc. of the character, and the skin display materials may include at least one of the hairstyle, skin color, tops, bottoms, skirt, shoes, makeup, etc.
[0238] In some embodiments, the display materials of the second virtual character are pushed to the client by the server and / or stored locally on the client. For example, the server pushes the display materials of the second virtual character to the client, and the client displays the second virtual character in the three-dimensional virtual scene. Alternatively, the client stores the display materials of the second virtual character locally, the server pushes a material identifier to the client, and the client renders and generates the second virtual character based on the material identifier and displays it in the three-dimensional virtual scene.
[0239] In response to the operation that the first account drags the two-dimensional interaction control into the first area in the three-dimensional virtual scene and releases its hold, the client adds and displays the second virtual character corresponding to the second account in the three-dimensional virtual scene.
[0240] As described above, according to the method of this embodiment, when receiving the first message from the second account, by determining the operation of the first account, it is possible for the first account to add and display the second virtual character in the virtual scene using a consistent, simple and convenient operation flow, giving the player a consistent usage experience and interest, enhancing the interaction between players, and contributing to the positive development of the player's virtual social network.
[0241] FIG. 16 shows a timing diagram according to an exemplary embodiment of the present application. Taking this timing diagram as an example of the timing diagram between the terminal and / or server shown in FIG. 2, it includes at least some of the following steps 1601 to 1612.
[0242] Step 1601: The background server (logical layer) sends a prompt to the client (presentation layer) to indicate that there is a first message from the second account.
[0243] The background server (logical layer) receives the first message from the second account, including at least one of the transmission time of the first message, the sending account, the receiving account, the message content, etc. In response to receiving the first message from the second account, the background server (logical layer) sends a prompt to the client (presentation layer), and the content of the prompt includes at least one of the transmission time of the first message, the sending account, the receiving account, the message content, etc.
[0244] Step 1602: The client (presentation layer) displays the message(s) and / or the avatar of the second account to the first account via the interaction control.
[0245] The display materials of the interaction control may be those sent by the background server (logical layer) to the client and / or those stored locally in the client.
[0246] In some embodiments, in response to the client receiving the first message from the second account, the client displays the content such as the number of messages and the avatar of the second account in the display materials of the interaction control.
[0247] Step 1603: The first account clicks on the interaction control.
[0248] The first account can perform a first operation on the interaction control, such as a click operation, a drag operation, a double - click operation, a swipe operation, etc. The first operation of the first account on the interaction control is determined by the client.
[0249] Step 1604: The client (presentation layer) sends a request message to the background server (logical layer) to request the display content of the chat interface.
[0250] This request message is a first request message for requesting at least one of the display content of the chat interface, such as the details of the history chat, the avatar of the second account, the sending time of the history message, etc.
[0251] In some embodiments, the display content of the chat interface may be stored locally in the client. The client (presentation layer) sends a request message to the background server (logical layer) to request the identifier of the display content of the chat interface to generate the display content of the chat interface.
[0252] This chat interface may be a chat interface between a first account and a second account, or may be a chat interface between a first account, a second account, and other accounts.
[0253] In response to a first operation of the first account on the interaction control, for example, an operation of clicking on the interaction control, the client (presentation layer) sends this first request message to the background server (logic layer).
[0254] Step 1605: The background server (logic layer) sends the display content of the chat interface to the client (presentation layer).
[0255] The display content of the chat interface includes at least one of the details of the history chat, the avatar of the second account, the sending time of the history message, etc.
[0256] In response to the client (presentation layer) sending a request message to the background server (logic layer), the background server (logic layer) sends the display content of the chat interface to the client (presentation layer).
[0257] Step 1606: The client (presentation layer) displays the chat interface for the first account.
[0258] In response to the display content of the chat interface received by the client (presentation layer) and / or in response to the display content of the chat interface stored locally in the client, the client (presentation layer) generates and displays the chat interface.
[0259] Step 1607: The first account closes the chat interface.
[0260] The first account can perform operations on the chat interface, such as text input, voice input, closing the interface, etc. The client can determine or recognize the operations of the first account on the chat interface. For example, through the touch screen, determine the operations of the first account on the chat interface, or through events triggered by the mouse, determine the operations of the first account on the chat interface.
[0261] Step 1608: The client (presentation layer) switches the chat interface to the avatar of the second account and displays it.
[0262] The avatar of the second account is pushed to the client by the server or stored locally on the client.
[0263] In response to the first account closing the chat interface, the client (presentation layer) switches the chat interface to the avatar of the second account and displays it.
[0264] Optionally, the switching process of switching the chat interface to the avatar of the second account may be made to appear as, for example, an animation switching effect, or may be made invisible.
[0265] Step 1609: The first account clicks on the avatar of the second account.
[0266] The first account can perform operations such as click, double - click, swipe, drag, etc. on the avatar of the second account displayed on the client, and the client can determine or recognize the operations of the first account on the chat interface.
[0267] Step 1610: The client (presentation layer) sends a request message to the background server (logical layer) to request the display materials of the second virtual character.
[0268] This request message is a second request message for requesting the display materials of the second virtual character, such as character display materials and skin display materials, and may include at least one of the character's height, body type, gender, hairstyle, skin color, tops, bottoms, skirt, shoes, makeup, etc.
[0269] In response to an operation of the first account on the avatar of the second account, such as clicking on the avatar of the second account, the client (presentation layer) sends this second request message to the background server (logical layer).
[0270] Step 1611: The background server (logical layer) sends the display materials of the second virtual character to the client (presentation layer).
[0271] In response to the client (presentation layer) sending a request message to the background server (logical layer), the background server (logical layer) sends the display materials of the second virtual character to the client (presentation layer).
[0272] Step 1612: The client (presentation layer) adds the second virtual character to the 3D virtual scene and displays it for the first account.
[0273] In some embodiments, the display materials of the second virtual character are pushed by the server to the client and / or stored locally on the client. For example, the server pushes the display materials of the second virtual character to the client, and the client displays the second virtual character in the 3D virtual scene. Alternatively, the client stores the display materials of the second virtual character locally, the server pushes a material identifier to the client, and the client renders and generates the second virtual character based on the material identifier and displays it in the 3D virtual scene.
[0274] As described above, according to the method of this embodiment, the first account, the client (presentation layer), and the background server (logical layer) jointly execute the method for displaying the virtual character. After the first account operates the interaction control, it is possible to add and display the second virtual character in the virtual scene, providing a consistent, simple, and convenient operation flow that gives the player a consistent usage experience and interest, enhancing the interaction between players, and contributing to the positive development of the player's virtual social life.
[0275] FIG. 17 shows a timing diagram according to an exemplary embodiment of the present application. Taking this timing diagram as an example of the timing diagram between the terminal and the server shown in FIG. 2, it includes at least some of the following steps 1701 to 1708.
[0276] Step 1701: The background server (logical layer) sends a prompt to the client (presentation layer) to indicate that there is a first message from the second account.
[0277] The background server (logical layer) receives a first message from a second account that includes at least one of the transmission time of the first message, the sending account, the receiving account, the message content, etc. In response to receiving the first message from the second account, the background server (logical layer) sends a prompt to the client (presentation layer), and the content of the prompt includes at least one of the transmission time of the first message, the sending account, the receiving account, the message content, etc.
[0278] Step 1702: The client (presentation layer) displays messages (numbers) and / or the avatar of the second account to the first account via the interaction control.
[0279] The display material of the interaction control may be sent to the client by the background server (logical layer) and / or stored locally in the client.
[0280] In some embodiments, in response to the client receiving the first message from the second account, the client displays contents such as the number of messages and the avatar of the second account in the display material of the interaction control.
[0281] Step 1703: The first account drags the interaction control into the three-dimensional virtual scene.
[0282] The first account can perform a first operation on the interaction control, such as a click operation, a drag operation, a double-click operation, a swipe operation, etc. The first operation of the first account on the interaction control is determined by the client.
[0283] Step 1704: The client (presentation layer) sends a request message to the background server (logical layer) to request the display materials of the second virtual character.
[0284] This request message is a second request message for requesting the display materials of the second virtual character, such as character display materials and skin display materials, and may include at least one of the character's height, body shape, gender, hairstyle, skin color, tops, bottoms, skirt, shoes, makeup, etc.
[0285] In response to the operation of the first account dragging the interaction control into the 3D virtual scene, the client (presentation layer) sends a request message to the background server (logical layer).
[0286] Step 1705: The background server (logical layer) sends the display materials of the second virtual character to the client (presentation layer).
[0287] In response to the client (presentation layer) sending a request message to the background server (logical layer), the background server (logical layer) sends the display materials of the second virtual character to the client (presentation layer).
[0288] Step 1706: The client (presentation layer) switches the interaction control to the second virtual character and displays it.
[0289] In some embodiments, when the client determines that the interaction control on the HUD layer has entered or moved within the first region, the interaction control is not displayed, that is, it can also be understood that the interaction control disappears. Then, the client displays a second virtual character in the three-dimensional virtual scene. The position where the second virtual character is displayed in the three-dimensional virtual scene is the intersection of a half-line emitted from the screen generated by the camera model and a certain plane (for example, the ground plane) within the three-dimensional virtual scene, or it may be the position mapped within the three-dimensional virtual scene where the interaction control has disappeared from the HUD layer.
[0290] Optionally, the switching process of switching the interaction control to the second virtual character for display may be made to appear, for example, as an animation switching effect, or may be made invisible.
[0291] Step 1707: The first account drags the second virtual character into the first region and then releases it.
[0292] The client can recognize or determine whether the first account has released the hand, the release position, etc. For example, the client determines through the touch screen that the first account has released the hand within the first region, or determines through an event triggered by the mouse that the first account has released the hand within the first region.
[0293] Step 1708: The client (presentation layer) adds the second virtual character to the three-dimensional virtual scene and displays it to the first account.
[0294] In some embodiments, the display materials of the second virtual character are pushed by the server to the client and / or stored locally on the client. For example, the server pushes the display materials of the second virtual character to the client, and the client displays the second virtual character in the 3D virtual scene. Alternatively, the client stores the display materials of the second virtual character locally, the server pushes a material identifier to the client, and the client renders and generates the second virtual character based on the material identifier and displays it in the 3D virtual scene.
[0295] As described above, according to the method of this embodiment, the first account (user), the client (presentation layer), and the background server (logical layer) jointly execute the method for displaying the virtual character. After the first account operates the interaction control, it is possible to add and display the second virtual character in the virtual scene, providing a consistent, simple, and convenient operation flow that gives the player a consistent usage experience and fun, enhancing the interaction between players, and contributing to the positive development of the player's virtual social life.
[0296] FIG. 18 shows a schematic configuration diagram of an interaction device in a virtual scene according to an exemplary embodiment of the present application. This device includes at least a part of a display module 1902 and an interaction module 1904.
[0297] Display module 1902: The display module displays a virtual scene executed by a first application program on a first terminal. The first account corresponding to the first virtual character is logged in to the first application program, and the virtual scene is used for the first virtual character to interact with other virtual characters.
[0298] The display module 1902 further displays interaction controls on the virtual scene, and the interaction controls are used for the first account and the second account to interact in an interaction scene outside the virtual scene.
[0299] Interaction module 1904: Responds to an operation signal triggered on the interaction control.
[0300] The display module 1902 further adds a second virtual character corresponding to the second account to the virtual scene.
[0301] In one alternative design, the virtual scene includes a three-dimensional virtual scene, and the interaction control includes a two-dimensional interaction control.
[0302] In one alternative design, the interaction module 1904 further responds to a drag operation of dragging the interaction control onto the virtual scene, and the display module 1902 further adds a second virtual character corresponding to the second account to the virtual scene.
[0303] In one alternative design, the interaction module 1904 further responds to a drag operation of dragging the interaction control into a first area on the virtual scene, and the display module 1902 further adds a second virtual character corresponding to the second account to the virtual scene. Here, the first area may or may not be visible on the virtual scene.
[0304] In one alternative design, the interaction control displays the avatar of the second account, and the display module 1902 further animates and switches the avatar of the second account located within a first region on the virtual scene to a second virtual character corresponding to the second account located on the virtual scene for display.
[0305] In one alternative design, the interaction control includes a message reminder control for alerting to the presence of a first message from the second account, and the display module 1902 further displays relevant information of the first message on the virtual scene based on the second virtual character. Here, the relevant information includes at least one of message content, number of messages, and message preview.
[0306] In one alternative design, the interaction control includes a chat control. The interaction module 1904 further responds to a second operation triggered on the chat control, and the display module 1902 further adds a second virtual character corresponding to the second account to the virtual scene. The second operation is for viewing a first message from the second account. Alternatively, the interaction module 1904 further responds to a third operation triggered on the chat control, and the display module 1902 further adds a second virtual character corresponding to the second account to the virtual scene. The third operation is for sending a second message to the second account.
[0307] In one alternative design, after the second operation is triggered, the interaction module 1904 further responds to an operation to close the chat control, and the display module 1902 further adds a second virtual character corresponding to the second account to the virtual scene. Alternatively, after the third operation is triggered, the interaction module 1904 further responds to an operation to close the chat control, and the display module 1902 further adds a second virtual character corresponding to the second account to the virtual scene.
[0308] In one alternative design, the interaction module 1904 further responds to an operation to close the chat control, and the display module 1902 further animates and switches the chat control to the avatar of the second account for display. The interaction module 1904 further responds to an operation signal for the avatar of the second account, and the display module 1902 further adds a second virtual character corresponding to the second account to the virtual scene.
[0309] In one alternative design, the virtual scene is a virtual scene provided by a first application program. When the second account is logged in to the first application program but has not entered the virtual scene, the interaction module 1904 responds to an operation signal triggered on the interaction control and adds a second virtual character corresponding to the second account to the virtual scene.
[0310] In one alternative design, the interaction control is used to present interaction information between the first account and a plurality of second accounts in an interaction scene outside the virtual scene. The interaction module 1904 simultaneously adds second virtual characters corresponding to each of the plurality of second accounts to the virtual scene, or sequentially adds second virtual characters corresponding to each of the plurality of second accounts to the virtual scene.
[0311] In one alternative design, the interaction module 1904 further adds a second virtual character corresponding to the second account to the virtual scene, displays an interaction animation corresponding to the second virtual character, and in response to a fourth operation triggered on the interaction animation, displays a chat interface corresponding to the first account and the second account.
[0312] In one alternative design, the interaction module 1904 further receives a movement control operation for controlling the first virtual character to move within the virtual scene, and when the distance between the first virtual character and the second virtual character is less than or equal to a preset distance, displays a chat interface corresponding to the first account and the second account.
[0313] In one alternative design, the interaction module 1904 further receives a message sending operation for a chat message on the chat interface, and sends the chat message to the second account.
[0314] In one alternative design, the device further includes a custom module for designing a virtual character, or selecting a virtual character, or customizing a virtual character, or creating a virtual character, or self - defining a virtual character, or uploading a virtual character to a server, or uploading a virtual character to a terminal.
[0315] FIG. 19 shows a structural block diagram of a terminal 2100 according to an exemplary embodiment of the present application. This terminal 2100 can be at least one of a smartphone, a tablet computer, an e - book reader, a laptop portable computer, a desktop computer, a television, an AR terminal, a VR terminal, and an MR terminal. The terminal 2100 may also be referred to as a user device, a portable terminal, a laptop terminal, a desktop terminal, etc.
[0316] Generally, the terminal 2100 includes a processor 2101 and a memory 2102.
[0317] The processor 2101 may include, for example, one processing core, or multiple processing cores such as a 4-core processor, an 8-core processor, etc. The processor 2101 may be implemented in the form of at least one of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 2101 may include a host processor and a coprocessor. The host processor is a processor for processing data in the wake-up state and is also called a CPU. The coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 2101 integrates a GPU (Graphics Processing Unit) responsible for rendering and drawing the content that needs to be displayed on the display screen. In some embodiments, the processor 2101 may further include an AR processor for processing calculation operations related to augmented reality. In some embodiments, the processor 2101 may further include an AI (Artificial Intelligence) processor for processing calculation operations related to machine learning.
[0318] The memory 2102 can include one or more computer-readable storage media that can be non-transitory. The memory 2102 may further include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 2102 stores at least one instruction that, when executed by the processor 2101, implements the interaction method in the virtual scene according to the method embodiments of the present application.
[0319] In some embodiments, the terminal 2100 may further selectively include a peripheral device interface 2103 and at least one peripheral device. The processor 2101, the memory 2102, and the peripheral device interface 2103 may be connected via a bus or signal lines. Each peripheral device may be connected to the peripheral device interface 2103 via a bus, signal lines, or a circuit board. Specifically, the peripheral device may include at least one of a radio frequency circuit 2104, a display screen 2105, a camera component 2106, an audio circuit 2107, and a power supply 2108.
[0320] The peripheral device interface 2103 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 2101 and the memory 2102. In some embodiments, the processor 2101, the memory 2102, and the peripheral device interface 2103 are integrated on the same chip or circuit board. In some other embodiments, any one or two of the processor 2101, the memory 2102, and the peripheral device interface 2103 may be implemented on an independent chip or circuit board, and the present embodiment does not limit this.
[0321] The radio frequency circuit 2104 transmits and receives RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuit 2104 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 2104 converts an electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 2104 may include an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identification module card, etc. The radio frequency circuit 2104 can communicate with other terminals according to at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to, the World Wide Web, a metropolitan area network, an intranet, each generation of mobile communication network (2G, 3G, 4G, and 5G), a wireless local area network, and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 2104 may further include a circuit related to NFC (Near Field Communication), but the present application does not limit this.
[0322] The display screen 2105 displays a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. If the display screen 2105 is a touch display screen, the display screen 2105 further has the ability to collect touch signals on or above the surface of the display screen 2105. This touch signal may be input to the processor 2101 as a control signal for processing. In this case, the display screen 2105 may further be used to provide virtual buttons and / or virtual keyboards, also called soft buttons and / or soft keyboards. In some embodiments, the display screen 2105 may be one display screen provided on the front panel of the terminal 2100. In other embodiments, the display screen 2105 may be at least two display screens provided on different surfaces of the terminal 2100 respectively, or designed to be foldable. In a further embodiment, the display screen 2105 may be a flexible display screen provided on the curved surface or folding surface of the terminal 2100. Furthermore, the display screen 2105 may have an irregular shape other than a rectangle, that is, an irregular screen. The display screen 2105 may be manufactured with materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0323] The camera component 2106 collects images or videos. Optionally, the camera component 2106 may include a front camera and a rear camera. Generally, the front camera is provided on the front panel of the terminal, and the rear camera is provided on the back of the terminal. In some embodiments, there are at least two rear cameras, each of which is any one of a main camera, a depth-of-field camera, a wide-angle camera, and a telephoto camera. Through the cooperation of the main camera and the depth-of-field camera, a bokeh effect function can be realized. Through the cooperation of the main camera and the wide-angle camera, a panoramic shooting and VR (Virtual Reality) shooting function or other cooperative shooting functions can be realized. In some embodiments, the camera component 2106 may further include a flash lamp. The flash lamp may be a single-color temperature flash lamp or a dual-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm-color flash lamp and a cold-color flash lamp, which can be used for light compensation at different color temperatures.
[0324] The audio circuit 2107 may include a microphone and a speaker. The microphone collects sound waves of the user and the environment, converts the sound waves into electrical signals, and inputs them to the processor 2101 for processing, or inputs them to the radio frequency circuit 2104 to realize voice communication. For stereo collection or noise reduction, the microphone may be a plurality of microphones provided at different locations of the terminal 2100 respectively. The microphone may be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signal from the processor 2101 or the radio frequency circuit 2104 into sound waves. The speaker may be a conventional thin-film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, if it can convert the electrical signal into sound waves audible to humans, it can also convert the electrical signal into sound waves inaudible to humans and be used for applications such as distance measurement. In some embodiments, the audio circuit 2107 may further include a headphone jack.
[0325] The power supply 2108 is used to supply power to each means in the terminal 2100. The power supply 2108 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 2108 includes a rechargeable battery, this rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery charged through a wired line, and a wireless rechargeable battery is a battery charged through a wireless coil. This rechargeable battery can also be used to support fast charging technology.
[0326] In some embodiments, the terminal 2100 further includes one or more sensors 2109. The one or more sensors 2109 include, but are not limited to, an acceleration sensor 2110, a gyro sensor 2111, a pressure sensor 2112, an optical sensor 2113, and a proximity sensor 2114.
[0327] The memory further includes one or more programs, the one or more programs are stored in the memory, and the one or more programs are used to perform the interaction method in the virtual scene according to the embodiments of the present application.
[0328] The structure shown in FIG. 19 does not limit the terminal 2100, and those skilled in the art will understand that it can include more or fewer means than shown, or combine some components, or be configured using different components.
[0329] In an exemplary embodiment, a terminal including a processor and a memory is further provided, and at least one instruction, at least one segment of a program, a code set, or an instruction set is stored in the memory. The at least one instruction, at least one segment of a program, a code set, or an instruction set is configured to be executed by the processor to implement the interaction method in the virtual scene described above.
[0330] In an exemplary embodiment, a computer-readable storage medium is further provided, and at least one instruction, at least one segment of a program, a code set or an instruction set is stored in the storage medium. When the at least one instruction, the at least one segment of the program, the code set or the instruction set is executed by a processor of a terminal, the interaction method in the virtual scene described above is realized. Optionally, the computer-readable storage medium may be a ROM (Read-Only Memory), a RAM (Random-Access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, an optical data storage device, or the like.
[0331] In an exemplary embodiment, a computer program product is further provided. A computer program is stored in the computer program product, and the computer program is loaded and executed by a processor to realize the interaction method in the virtual scene described above.
Claims
1. A method of interaction in a virtual scene, executed by a first terminal, comprising: displaying a virtual scene using a first application program operating on the first terminal, wherein a first account corresponding to a first virtual character is logged in to the first application program; displaying an interaction control on the virtual scene, wherein the interaction control is used to present interaction information between the first account and a second account in an interaction scene outside the virtual scene; responding to an operation signal triggered on the interaction control by adding a second virtual character corresponding to the second account to the virtual scene; An interaction method in a virtual scene, comprising the above steps.
2. The virtual scene includes a three-dimensional virtual scene, The interaction control includes a two-dimensional interaction control. The interaction method in the virtual scene according to Claim 1.
3. The step of adding a second virtual character corresponding to the second account to the virtual scene in response to an operation signal triggered on the interaction control includes: responding to a drag operation of dragging the interaction control into the virtual scene by adding a second virtual character corresponding to the second account to the virtual scene. The interaction method in the virtual scene according to Claim 1.
4. The step of adding a second virtual character corresponding to the second account to the virtual scene in response to a drag operation of dragging the interaction control into the virtual scene includes: responding to a drag operation of dragging the interaction control into a first area on the virtual scene by adding a second virtual character corresponding to the second account to the virtual scene, wherein the first area may or may not be visible on the virtual scene. The interaction method in the virtual scene according to Claim 3.
5. An avatar of the second account is displayed on the interaction control. The step of adding a second virtual character corresponding to the second account to the virtual scene includes: The method for interaction in a virtual scene according to claim 1, including the step of animating and displaying an avatar of the second account located within a first area on the virtual scene as a second virtual character located in the virtual scene.
6. The interaction control includes a message reminder control for attracting attention to the presence of a first message from the second account. The method for interaction in the virtual scene includes: further including the step of displaying relevant information of the first message in the virtual scene based on the second virtual character. The relevant information includes at least one of message content, number of messages, and message preview. The method for interaction in the virtual scene according to claim 1.
7. The interaction control includes a chat control. The step of adding a second virtual character corresponding to the second account to the virtual scene in response to an operation signal triggered on the interaction control includes: The step of adding a second virtual character corresponding to the second account to the virtual scene in response to a second operation triggered on the chat control, where the second operation is for viewing a first message from the second account. Or The step of adding a second virtual character corresponding to the second account to the virtual scene in response to a third operation triggered on the chat control, where the third operation is for sending a second message to the second account. The method for interaction in the virtual scene according to claim 1.
8. The step of adding a second virtual character corresponding to the second account to the virtual scene in response to a second operation triggered on the chat control includes: including the step of adding a second virtual character corresponding to the second account to the virtual scene in response to an operation of closing the chat control after the second operation is triggered. In response to a third operation triggered on the chat control, the step of adding a second virtual character corresponding to the second account to the virtual scene is The method for interaction in a virtual scene according to claim 7, including the step of adding a second virtual character corresponding to the second account to the virtual scene in response to an operation of closing the chat control after the third operation is triggered.
9. The step of adding a second virtual character corresponding to the second account to the virtual scene in response to an operation of closing the chat control is In response to an operation of closing the chat control, the step of animating and displaying the chat control as the avatar of the second account, and The method for interaction in a virtual scene according to claim 8, including the step of adding a second virtual character corresponding to the second account to the virtual scene in response to an operation signal for the avatar of the second account.
10. In response to an operation signal triggered on the interaction control, the step of adding a second virtual character corresponding to the second account to the virtual scene is The method for interaction in a virtual scene according to claim 1, including the step of adding a second virtual character corresponding to the second account to the virtual scene in response to an operation signal triggered on the interaction control when the second account is logged in to the first application program but has not entered the virtual scene.
11. The interaction control is used to present interaction information between the first account and a plurality of second accounts in an interaction scene outside the virtual scene. The step of adding a second virtual character corresponding to the second account to the virtual scene is The step of simultaneously adding second virtual characters corresponding to each of the plurality of second accounts to the virtual scene, Or The method for interaction in a virtual scene according to claim 1, including the step of sequentially adding second virtual characters corresponding to each of the plurality of second accounts to the virtual scene.
12. Adding a second virtual character corresponding to the second account to the virtual scene and displaying an interaction animation corresponding to the second virtual character; responding to a fourth operation triggered on the interaction animation by displaying a chat interface corresponding to the first account and the second account, the method for interaction in a virtual scene according to claim 1, further comprising.
13. After the step of adding a second virtual character corresponding to the second account to the virtual scene, receiving a movement control operation for the first virtual character, the movement control operation being for controlling the first virtual character to move within the virtual scene; when the distance between the first virtual character and the second virtual character is less than or equal to a preset distance, displaying a chat interface corresponding to the first account and the second account, the method for interaction in a virtual scene according to claim 1, further comprising.
14. After the step of displaying a chat interface corresponding to the first account and the second account, receiving a message sending operation for a chat message on the chat interface and sending the chat message to the second account, the method for interaction in a virtual scene according to claim 12, further comprising.
15. An interaction device in a virtual scene, comprising a display module and an interaction module, wherein the display module displays a virtual scene using a first application program operating on a first terminal where a first account corresponding to a first virtual character is logged in; furthermore, on the virtual scene, displaying an interaction control for presenting interaction information between the first account and a second account in an interaction scene outside the virtual scene; the interaction module responds to an operation signal triggered on the interaction control, and the display module further adds a second virtual character corresponding to the second account to the virtual scene. An interaction device in a virtual scene.
16. The interaction module further responds to a drag operation of dragging the interaction control to the virtual scene, and the display module further adds a second virtual character corresponding to the second account to the virtual scene. The interaction device in the virtual scene according to claim 15.
17. An avatar of the second account is displayed on the interaction control, The display module further animates and switches the avatar of the second account located within a first area on the virtual scene to a second virtual character located in the virtual scene for display. The interaction device in the virtual scene according to claim 15 or 16.
18. A terminal including a processor and a memory, A computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the interaction method in the virtual scene according to any one of claims 1 to 14. A terminal.
19. A computer program that is loaded and executed by a processor to implement the interaction method in the virtual scene according to any one of claims 1 to 14.
Citation Information
Patent Citations
Device and method for providing information
JP2001167031A
Live Game Lobby
JP2010530287A
Information processing method, information processing device, and information processing program
JP2019213865A