Method and apparatus for displaying facial expressions in a virtual scene, and computer device and program

The method enhances facial expression display in virtual scenes by enabling users to drag an icon to create a selection area and select expressions efficiently, addressing the inefficiencies of traditional methods and improving interaction.

JP7612980B2Active Publication Date: 2025-01-15TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023538694
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-05-26
Filing Date
2022-04-21
Publication Date
2025-01-15
Estimated Expiration
2042-04-21

AI Technical Summary

Technical Problem

Existing methods for displaying facial expressions in virtual scenes, such as in games like Auto Chess, are cumbersome and inefficient, requiring users to navigate multiple steps through chat windows and selection panels, leading to low human-computer interaction efficiency.

Method used

A method and apparatus that allows users to display facial expressions by dragging an expression addition icon to create a selection area, where multiple expressions are displayed, and selecting the desired expression at the end of the drag operation, simplifying the process and enhancing interaction efficiency.

Benefits of technology

The method improves human-computer interaction efficiency by allowing users to easily select and display facial expressions directly in the virtual scene through a drag-and-select mechanism, reducing the complexity and time required compared to traditional methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007612980000001
    Figure 0007612980000001
  • Figure 0007612980000002
    Figure 0007612980000002
  • Figure 0007612980000003
    Figure 0007612980000003
Patent Text Reader

Abstract

A method, apparatus, device and medium for displaying facial expressions in a virtual scene are provided, which relate to the field of computer technology. The method includes the steps of: displaying a virtual scene (301); displaying an expression selection area at a first target position in the virtual scene in response to a drag operation on an expression addition icon (302); and displaying a first target facial expression in the virtual scene in response to a selection operation on a first target facial expression among a first plurality of waiting-to-be-selected facial expressions (303).
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This application claims priority to a Chinese patent application filed with the China Patent Office on May 26, 2021, bearing application number 202110580625.X and entitled "Method, device, equipment and medium for displaying facial expressions in virtual scenes," the entire contents of which are incorporated herein by reference.

[0002] The present application relates to the field of computer technology, and more particularly to a method and apparatus for displaying facial expressions (also called emoticons, stamps, etc.) in a virtual scene, and a computer device and program. [Background technology]

[0003] With the development of multimedia technology, the types of games that can be played are increasing. Auto Chess game is one of the popular games, in which different virtual objects can compete in a virtual scene during the game. Summary of the Invention [Problem to be solved by the invention]

[0004] The present application aims to provide a method and apparatus for displaying facial expressions in a virtual scene, as well as a computer device and a program. [Means for solving the problem]

[0005] According to one aspect, there is provided a method for displaying facial expressions in a virtual scene, the method comprising: displaying a virtual scene, the virtual scene displaying an expression adding icon, the expression adding icon being used to add an expression to the virtual scene; displaying a facial expression selection area at a first target position in the virtual scene in response to a drag operation on the facial expression addition icon, the first target position being an end position of the drag operation, and a plurality of first facial expressions waiting to be selected are displayed in the facial expression selection area; and The method includes a step of displaying a first target facial expression in the virtual scene in response to a selection operation on a first target facial expression from among the first plurality of selection-waiting facial expressions.

[0006] According to one aspect, there is provided a method for displaying facial expressions in a virtual scene, the method comprising: displaying a virtual scene, the virtual scene displaying an expression adding icon, the expression adding icon being used to add an expression to the virtual scene; In response to a click operation on the facial expression adding icon, the facial expression selection area is displayed in the virtual scene, and a plurality of first facial expressions waiting to be selected are displayed in the facial expression selection area; and The method includes a step of displaying a second target facial expression at a second target position in response to a drag operation on a second target facial expression among the plurality of first selection-waiting facial expressions, the second target position being an end position of the drag operation.

[0007] According to one aspect, there is provided an apparatus for displaying facial expressions in a virtual scene, the apparatus comprising: a scene display module for displaying a virtual scene, the virtual scene displaying an expression adding icon, the expression adding icon being used to add an expression to the virtual scene; an area display module for displaying an expression selection area at a first target position in the virtual scene in response to a drag operation on the expression addition icon, the first target position being an end position of the drag operation, and a plurality of first selection-waiting expressions being displayed in the expression selection area; and The facial expression display module is configured to display a first target facial expression in the virtual scene in response to a selection operation on a first target facial expression from among the first plurality of selection-waiting facial expressions.

[0008] According to one aspect, there is provided an apparatus for displaying facial expressions in a virtual scene, the apparatus comprising: a scene display module for displaying a virtual scene, the virtual scene displaying an expression adding icon, the expression adding icon being used to add an expression to the virtual scene; an expression selection area display module for displaying the expression selection area in the virtual scene in response to a click operation on the expression addition icon, the expression selection area displaying a plurality of first expressions waiting to be selected; and and a target expression display module for displaying a second target expression at a second target position in response to a drag operation on a second target expression among the plurality of first selection-waiting expressions, the second target position being an end position of the drag operation.

[0009] According to one aspect, a computing device is provided, the computing device including one or more processors and one or more memory devices, the one or more memory devices storing at least one computer program, the computer program being loaded and executed by the one or more processors to implement a method for displaying facial expressions in the virtual scene.

[0010] According to one aspect, a computer-readable storage medium is provided having stored thereon at least one computer program, the computer program being capable of being loaded and executed by a processor to implement a method for displaying facial expressions in the virtual scene.

[0011] According to one aspect, there is provided a computer program product or computer program comprising program code stored on a computer readable storage medium, wherein a processor of a computing device reads the program code from the computer readable storage medium and the processor executes the program code, thereby causing the computing device to perform the method of displaying facial expressions in a virtual scene as described above. Effect of the Invention

[0012] According to the technical solution provided in the embodiment of the present application, the user can trigger the display of the expression selection area by dragging the expression adding icon, and select an expression through the expression selection area, so that the selected first target expression can be displayed at a first target position in the virtual scene. Since the first target position is the end position of the drag operation, the display position of the first target expression can be changed by adjusting the drag operation, so that the operation is simple and convenient, and the efficiency of human-computer interaction is high. For example, when a user wants to send an expression in a virtual scene, he or she can simply drag the expression adding icon, and then select the first target expression he or she wants to display from the displayed expression selection area to send the expression, which is simple and convenient to operate, and the efficiency of human-computer interaction is improved, compared with the conventional method of first calling a chat window, calling an expression selection panel in the chat window, selecting an expression from the expression selection panel, and then clicking the send control of the chat window to realize the sending of the expression. [Brief description of the drawings]

[0013] [Figure 1] FIG. 1 is a diagram showing an implementation environment of a method for displaying facial expressions in a virtual scene provided in an embodiment of the present application. [Diagram 2] FIG. 2 illustrates an interface provided in an embodiment of the present application. [Diagram 3] 1 is a flowchart of a method for displaying facial expressions in a virtual scene provided in an embodiment of the present application. [Figure 4] 11 is a flowchart of another method for displaying facial expressions in a virtual scene provided in an embodiment of the present application. [Diagram 5] FIG. 13 illustrates another interface provided in an embodiment of the present application. [Figure 6] FIG. 13 illustrates another interface provided in an embodiment of the present application. [Figure 7]FIG. 13 illustrates another interface provided in an embodiment of the present application. [Figure 8] FIG. 2 is a logic block diagram of a method for displaying facial expressions in a virtual scene provided in an embodiment of the present application. [Figure 9] 11 is a flowchart of another method for displaying facial expressions in a virtual scene provided in an embodiment of the present application. [Figure 10] FIG. 13 illustrates another interface provided in an embodiment of the present application. [Figure 11] FIG. 13 illustrates another interface provided in an embodiment of the present application. [Figure 12] FIG. 2 is a diagram showing the division of functional modules provided in an embodiment of the present application. [Figure 13] FIG. 1 is a diagram showing the configuration of an apparatus for displaying facial expressions in a virtual scene provided in an embodiment of the present application. [Figure 14] FIG. 13 is a diagram showing the configuration of a device for displaying facial expressions in another virtual scene provided in an embodiment of the present application. [Figure 15] FIG. 2 is a diagram showing the configuration of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application are described in detail below with reference to the drawings.

[0015] In this application, the terms "first," "second," etc. are used to distinguish between items that are essentially the same in action or function or similar items. As will be understood, there is no logical or temporal dependency between the terms "first," "second,"..., "nth" and the terms "second," etc., and no limitations on the quantity or order of execution.

[0016] As used herein, the term "at least one" refers to one or more, and "plurality" means two or more than two, for example, a plurality of subregions refers to two or more than two subregions.

[0017] In the related technology, when a user wants to send a facial expression while playing an automatic chess game, in order to realize sending of the facial expression, the user must first call up a chat window in the automatic chess game, call up a facial expression selection panel in the chat window, select a facial expression from the facial expression selection panel, and then click the send control in the chat window.

[0018] In such a case, the procedure for the user to transmit facial expressions is complicated, resulting in low efficiency of human-computer interaction.

[0019] First, nouns (terms) related to the embodiments of the present application will be described.

[0020] Auto Chess: A new type of multiplayer battle strategy game, in which users can train their own pieces, organize their pieces into formations, and play against the opponent's formations. During the battle, virtual hit points are deducted from the loser of the battle, and the order of disappearance determines the ranking.

[0021] Pieces: Various combat units that users can manipulate. Pieces can be equipped, upgraded, bought and sold. Most pieces are obtained by refreshing the piece pool, some are obtained from 'drafts' and combat activities.

[0022] Traits: Different classifications of pieces (there are generally two traits: class and race), which can activate the trait's special ability when a certain number of pieces with the same trait are in the battle area, making the pieces have stronger combat power.

[0023] Buying and Selling: A user can obtain pieces by consuming virtual resources, and a user can obtain virtual resources by selling pieces (possibly with a certain discount).

[0024] 1 is a diagram illustrating an implementation environment of the method for displaying facial expressions in a virtual scene provided in an embodiment of the present application. As shown in FIG. 1, the implementation environment includes a terminal 110 and a server 140.

[0025] The terminal 110 is connected to the server 140 via a wireless or wired network. Optionally, the terminal 110 is, but is not limited to, a smartphone, a tablet computer, a laptop, a desktop computer, etc. An application supporting the display of a virtual scene is installed and executed on the terminal 110.

[0026] Optionally, server 140 may be an independent physical server, or a server cluster or distributed system of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery network (CDN), big data, and artificial intelligence platforms.

[0027] Optionally, the terminal 110 refers to one of multiple terminals, and the embodiments of the present application will be described with only the terminal 110 as an example.

[0028] As can be understood by those skilled in the art, the number of the above-mentioned terminals may be more or less. For example, the above-mentioned terminal may be only one, or may be tens, hundreds, or more terminals, and in this case, the above-mentioned implementation environment further includes other terminals. Note that the number and types of terminals are not limited in the embodiments of the present application.

[0029] The implementation environment of the embodiment of the present application has been described above. Next, application scenarios of the embodiment of the present application will be described.

[0030] The technical solution provided in the embodiments of the present application can be applied to the scene of an automatic chess game. Optionally, in the automatic chess game, the virtual object is a piece, and the classification icon is a characteristic icon. In order to more clearly explain the technical solution provided in the embodiments of the present application, some related contents of the automatic chess game are introduced below.

[0031] The automatic chess game is a round-based game, and the game process is divided into multiple rounds, and users can upgrade pieces and adjust the positions of pieces between rounds. The matches are divided into matches between different users and matches between users and non-player-controlled characters (NPCs). In each round, winning users can obtain many virtual resources, while failing users can only obtain a few virtual resources. Optionally, the virtual resources are gold coins in the game. Also, failing users will have a certain number of virtual hit points deducted, and when a user's virtual hit points become 0, the user will disappear.

[0032] In some embodiments, a user who wins consecutively can get a consecutive win reward, i.e., a user who wins consecutively can get additional virtual resources as a reward, and of course, to balance the game, a user who fails consecutively can also get a consecutive loss reward. In a battle round between a user and an NPC, the user can obtain virtual equipment by defeating the NPC, and the virtual equipment can improve the combat ability of the piece by increasing the attribute of the piece.

[0033] The pieces in the automated chess game vary in quality, and such quality differences are typically expressed by the number of stars. In some embodiments, the pieces typically include a three-star rating, and for the same piece, the combat ability of a three-star piece is stronger than that of a two-star piece, which in turn is stronger than that of a one-star piece, and the process of increasing the number of stars of a piece is also a process of the user increasing his or her own combat ability. Optionally, all pieces that the user initially obtains are one-star pieces, and as the game progresses, the user can increase the number of stars of the piece. In some embodiments, three identical one-star pieces can be combined into one two-star piece, and three identical two-star pieces can be combined into one three-star piece. The user can purchase pieces through a store, i.e., the user can spend a certain number of virtual resources in the store to exchange (buy) one piece. In some embodiments, the store can only provide one-star pieces.

[0034] Pieces in an automatic chess game have different characteristics (types); for example, one piece may have the characteristic of "escort" and another may have the characteristic of "magician". When multiple pieces with the same characteristic appear at the same time, they can get additional attribute bonuses; for example, when pieces with three characteristics of "escort" appear at the same time, the defensive ability of all three pieces is improved, and when pieces with three characteristics of "magician" appear at the same time, the magic attack ability of all three pieces is improved, and of course, these three pieces are different pieces. The more pieces with the same characteristic a user collects, the stronger the combat ability of the pieces becomes. For example, when pieces with three characteristics of "magician" appear at the same time, all three pieces can get a bonus of +100 to their magic attack ability, and when pieces with five characteristics of "magician" appear at the same time, all five pieces can get a bonus of +300 to their magic attack ability. That is, the user can improve the combat ability not only by collecting the virtual equipment and increasing the number of stars as described above, but also by collecting pieces with the same characteristics. In some embodiments, one piece can correspond to two or more characteristics, for example, one piece can have the occupation characteristic of "magician" and the camp characteristic of "beast", and the user can combine pieces based on the corresponding characteristics of the pieces.

[0035] FIG. 2 is a diagram showing one game interface of the automatic chess game, in which FIG. 2 includes an information display area 201, a store trigger control 202, a battlefield area 203, a battle preparation area 204, a trait display area 205, an equipment storehouse 206 and a scoring area 207.

[0036] The functions of each of the above-mentioned areas will now be described.

[0037] The information presentation area 201 is used to display the user's game level and the virtual resources required to increase the game level. The user's game level determines the number of pieces that the user can place simultaneously in the battlefield area 203. For example, at the start of the game, the user's game level is level 1, so the user can place three pieces simultaneously in the battlefield area 203 to compete with other users. If the user wants to increase the number of pieces that can be placed simultaneously in the battlefield area 203, the user needs to increase the game level by consuming virtual resources. In some embodiments, each time the user increases the game level by one, the number of pieces that can be placed in the battlefield area 203 increases by one, i.e., if the user can place three pieces simultaneously in the battlefield area 203 when the user is at level 1, when the user's game level becomes level 2, the user can place four pieces simultaneously in the battlefield area 203, and others can be inferred based on this. In some embodiments, the virtual resources required for the user to increase the game level decreases with an increase in the number of rounds. For example, when a user starts a game, the game level is level 1, and when the user wants to increase the game level to level 2 in the first round, he needs to consume 4 gold coins, but when the game progresses to the second round, when the user wants to increase the game level from level 1 to level 2, he only needs to consume 2 gold coins.

[0038] The store trigger control 202 is used to display the target transaction area, i.e., the store area, after being triggered, where multiple pieces are provided and the user can select the piece he wants to exchange in the store area. The exchange of the piece requires consuming a certain number of virtual resources. In some embodiments, the number of virtual resources consumed for the exchange of different pieces is different, and the piece with stronger combat ability requires consuming more virtual resources. The store area can be displayed when the user clicks the store trigger control 202, and can also be displayed automatically at the end of each game round. The type of pieces provided in the store area is randomly determined by the terminal, and there is one refresh control in the store area. When the pieces provided in the store area do not have the pieces desired by the user, the user can click the refresh control and consume a certain number of virtual resources to update the pieces provided in the store area.

[0039] The battlefield area 203 is an area where the pieces fight, and the user can fight with other users' pieces by dragging the pieces into the battlefield area 203. In addition to this, the user can also adjust the position of the pieces in the battlefield area 203. At the start of each game round, other users' pieces can also appear in the battlefield area 203, and the user's pieces can fight with other users' pieces in the battlefield area 203.

[0040] The battle preparation area 204 is used to place pieces that the user has (i.e., the user's pieces) that have not yet appeared, where appearing refers to placing the pieces in the battlefield area 203. For example, when a user needs three identical pieces to increase the number of stars of a piece, the battle preparation area 204 is an area for placing these pieces, and when the user collects enough pieces to increase the number of stars of the piece, the pieces in the battlefield area 204 can be automatically merged and upgraded. For example, when there is one one-star piece in the battlefield area 203 and there is also one identical one-star piece in the battle preparation area 204, when the user obtains another identical one-star piece in the store area, the one-star piece in the battle preparation area 204 is merged with the piece in the battlefield area 203, the one-star piece in the battlefield area 203 disappears, the piece in the battlefield area 203 is upgraded from one star to two stars, and one empty position appears in the battle preparation area 204.

[0041] In some embodiments, there are limited positions for placing pieces in the battle preparation area 204, and when all positions for placing pieces in the battle preparation area 204 are occupied, the user is unable to place pieces in the battle preparation area 204.

[0042] The trait display area 205 is used to display classification icons, i.e., trait icons, which are used to present the traits that the user's pieces have, and "Yordle" and "Shapeshifter" in FIG. 2 are two kinds of traits. For example, when the user has one piece with the trait of magician, an icon for representing the trait of magician may be displayed in the trait display area. In some embodiments, when the color of the icon is gray, it indicates that the attribute bonus corresponding to the trait of magician is inactive, and a number 1 / 3 is displayed near the icon, of which 1 represents the number of pieces with the trait of magician present in the battlefield area 203, and 3 represents the number of pieces required to activate the attribute corresponding to the trait of magician. When there are three pieces with the trait of magician present in the battlefield area 203, the icon for representing the trait of magician changes from gray to color, which indicates that the attribute bonus corresponding to the trait of magician is activated.

[0043] The equipment storehouse 206 is used for the user to check (view) the type and number of his / her virtual equipment.

[0044] The scoring area 207 is used to display each user's nickname and score, and in some embodiments, the scoring area 207 sorts each user's avatar according to the user's virtual hit points, allowing users to see their ranking in the current game based on the position of their avatar in the scoring area 207.

[0045] In the embodiments of the present application, the computer device may be configured as a terminal or a server. In some embodiments, the terminal may be an execution entity that implements the technical solutions provided in the embodiments of the present application, or the terminal may implement the technical solutions provided in the embodiments of the present application by interacting with a server, but the embodiments of the present application are not limited thereto. The following description will be given taking the execution entity as a terminal as an example.

[0046] FIG. 3 is a flowchart of a method for displaying facial expressions in a virtual scene provided in an embodiment of the present application. As shown in FIG. 3, the method includes the following steps:

[0047] 301: A terminal displays a virtual scene, and an expression adding icon is displayed in the virtual scene, and the expression adding icon is used to add an expression to the virtual scene.

[0048] The add expression icon is an icon corresponding to the add expression control, when the user clicks the add expression icon, it means that the user clicks the add expression control, and when the user drags the add expression icon, it means that the user drags the add expression control.

[0049] 302: In response to a drag operation on the facial expression addition icon, the terminal displays a facial expression selection area at a first target position in the virtual scene, the first target position being an end position of the drag operation, and a plurality of facial expressions waiting for a first selection are displayed in the facial expression selection area.

[0050] In some embodiments, the first waiting expression is an expression pre-arranged by an engineer, for example, an expression pre-drawn by an artist, or an expression retrieved from a database, which is used to maintain the user's expressions, or an expression arranged by a user, for example, an expression uploaded, exchanged, or drawn by a user, and the embodiments of the present application are not limited thereto. The first waiting expression is displayed in an expression selection area, and the user can voluntarily select the first waiting expression from the expression selection area. By displaying the first waiting expression in the expression selection area, the user can intuitively check the multiple first waiting expressions, which can improve the checking efficiency of the first waiting expressions and improve the user's information acquisition efficiency.

[0051] 303: In response to a selection operation on a first target facial expression from among a plurality of first selection-waiting facial expressions, the terminal displays the first target facial expression in the virtual scene.

[0052] In some embodiments, when any one of the first selection waiting expressions in the expression selection area is clicked, the first selection waiting expression becomes the first target expression to be selected.

[0053] According to the technical solution provided in the embodiment of the present application, the user can trigger the display of the expression selection area by dragging the expression adding icon, and select an expression through the expression selection area, so that the selected first target expression can be displayed at a first target position in the virtual scene. Since the first target position is the end position of the drag operation, the display position of the first target expression can be changed by adjusting the drag operation, so that the operation is simple and convenient, and the efficiency of human-computer interaction is high. For example, when a user wants to send an expression in a virtual scene, he or she can simply drag the expression adding icon, and then select the first target expression he or she wants to display from the displayed expression selection area to send the expression, which is simple and convenient to operate, and the efficiency of human-computer interaction is improved, compared with the conventional method of first calling a chat window, calling an expression selection panel in the chat window, selecting an expression from the expression selection panel, and then clicking the send control of the chat window to realize the sending of the expression.

[0054] The above steps 301-303 are a brief description of the technical solution provided in the present application, and the following provides a detailed description of the technical solution provided in the present application based on several examples.

[0055] 4 is a flowchart of another method for displaying facial expressions in a virtual scene provided in an embodiment of the present application, taking a computer device as a terminal and the terminal as an execution subject as an example. As shown in FIG. 4, the method includes the following steps:

[0056] 401: A terminal displays a virtual scene, and an expression adding icon is displayed in the virtual scene, and the expression adding icon is used to add an expression to the virtual scene.

[0057] In some embodiments, the virtual scene is a game scene of an automatic chess game, and a controlled virtual object, a plurality of first type virtual objects, and a plurality of second type virtual objects are displayed in the virtual scene. Among them, the controlled virtual object is a virtual object controlled by a terminal, and a user can control the virtual object to move in the virtual scene through the terminal. In some embodiments, the controlled virtual object is a "virtual image" in the user's virtual scene. The first type of virtual object is a "piece" in the user's automatic chess game, and the second type of virtual object is a "piece" in another user's automatic chess game playing against the user, or the second type of virtual object is an NPC (Non-player Character), and the embodiments of the present application are not limited thereto. In some embodiments, before the start of each round, the user can adjust the first type of virtual object in the virtual scene, i.e., adjust the pieces that "appear".

[0058] In some embodiments, when a user starts a game, the terminal displays a virtual scene corresponding to the game. Wherein, a game is an automatic chess game. The terminal displays an expression adding icon at a first icon position of the virtual scene. Wherein, the first icon position can be set by an engineer according to the actual situation, or can be set by a user in a setting interface of the virtual scene, and the embodiments of the present application are not limited thereto. In some embodiments, the terminal displays an expression adding icon at the lower left corner of the virtual scene.

[0059] For example, as shown in FIG. 5, the terminal displays a virtual scene 501, in which an expression adding icon 502 is displayed.

[0060] In some embodiments, before displaying the virtual scene, the terminal can further display an expression setting interface for the virtual scene, where multiple expressions are displayed in the expression setting interface, and the user can select multiple expressions in the expression setting interface, and the selected expressions are expressions that can be displayed in the virtual scene. In some embodiments, an expression drawing control is further displayed in the expression setting interface, and in response to a click operation on the expression drawing control, the terminal displays an expression drawing interface, where multiple drawing tools are displayed in the expression drawing interface, and the user can employ these drawing tools to draw in the expression drawing interface. In response to a click operation on a storage control in the expression drawing interface, the terminal can store the image in the expression drawing interface as an expression, and display the expression in the expression setting interface for user selection. By providing the expression setting interface and the expression drawing interface, the user can self-define expressions, and the operation of self-defining expressions is convenient and the flow is simple, so that the efficiency of human-computer interaction is high.

[0061] 402: In response to a drag operation on the facial expression addition icon, the terminal displays a facial expression selection area at a first target position in the virtual scene, the first target position being an end position of the drag operation, and a plurality of facial expressions waiting for a first selection are displayed in the facial expression selection area.

[0062] In some embodiments, in response to a drag operation on the expression adding icon, the terminal can display an expression selection area at an end position of the drag operation, and the end position of the drag operation is a first target position. By displaying the expression selection area at the end position of the drag operation, the user can control the position where the expression selection area is displayed by the drag operation. Because the drag operation is simple, the efficiency of human-computer interaction for triggering the display of the expression selection area is high.

[0063] 6 , for example, an expression adding icon 602 is displayed in a virtual scene 601, and in response to a drag operation on the expression adding icon 602, the terminal displays an expression selection area 603 at the end position of the drag operation, and a plurality of first selection waiting expressions 604 are displayed in the expression selection area 603. In some embodiments, in response to the display time of the expression selection area meeting a target time condition, the expression selection area is no longer displayed.

[0064] In some embodiments, the facial expression selection area includes a first sub-area and a second sub-area, the first sub-area is used for displaying facial expression type icons, and in response to a drag operation on the facial expression adding icon, the terminal displays the first sub-area and the second sub-area at a first target position. In response to a selection operation on the first type icon in the first sub-area, the terminal displays a plurality of first waiting facial expressions corresponding to the first type icon in the second sub-area. By dividing the facial expression selection area into the first sub-area and the second sub-area, the type of facial expression displayed in the second sub-area can be switched by simply triggering the first sub-area, which is simple and convenient to operate and has high efficiency in human-computer interaction.

[0065] Based on the above implementation manner, in some embodiments, according to the selection operation on the second type icon in the first sub-area, the terminal switches the multiple first selection waiting expressions in the second sub-area to multiple second selection waiting expressions, and the second selection waiting expressions are expressions corresponding to the second type icon. In some embodiments, the first sub-area is a circular area, the second sub-area is an annular area inscribed in the first sub-area, and the first sub-area and the second sub-area have the same circle center. The user can control the terminal to display different types of selection waiting expressions in the second sub-area by selecting different type icons in the first sub-area, so that the type icons displayed in the first sub-area can be referred to as classification icons of selection waiting expressions, and by setting multiple expressions corresponding to different type icons, the user can select different types of expressions just by triggering different type icons, so that the operation is simple and convenient, and the efficiency of human-computer interaction is high.

[0066] In some embodiments, the facial expression selection area includes multiple sub-areas, and multiple first facial expressions waiting for selection are respectively displayed in the multiple sub-areas. By dividing the facial expression selection area into multiple sub-areas, the terminal can display multiple first facial expressions waiting for selection in the multiple sub-areas respectively, so that different sub-areas can separate multiple first facial expressions waiting for selection, and the user can intuitively check and select the first facial expressions waiting for selection according to different sub-areas, so that the checking efficiency is high, the selection method is simple and convenient, and the efficiency of human-computer interaction is high.

[0067] For example, the facial expression selection area is a circular area, one sub-area is a part of the circular area, and type icons corresponding to the multiple first facial expressions waiting for selection are displayed in the center of the circular area. In some embodiments, the facial expression selection area is a rotatable area, and in response to a slide operation on the facial expression selection area, the terminal can control the facial expression selection area to rotate according to the direction of the slide operation, and the user slides the facial expression selection area, and in the process of the facial expression selection area rotating, the first facial expressions waiting for selection also rotate accordingly, and the user can select an expression after rotating the first facial expression waiting for selection in a desired direction, and at this time, the facial expression selection area is also called an expression wheel. The type icon displayed in the center of the circular area is used to represent the type of the multiple first facial expressions waiting for selection displayed in the sub-areas, and the user can confirm the type of the multiple first facial expressions waiting for selection by checking the type icon.

[0068] In some embodiments, at least one first virtual object is displayed in the virtual scene, and the first selection waiting expression is an expression corresponding to the first virtual object. In some embodiments, the first virtual object is a virtual object that the terminal logs in to and is controlled by the user, and in response to the user controlling the appearance of any one of the first virtual objects, the terminal adds a first selection waiting expression corresponding to the first virtual object to the expression selection area. Wherein, appearance refers to controlling the first virtual object to be displayed in the virtual scene, or refers to dragging the first virtual object from the battle preparation area 204 to the battlefield area 203, see FIG. 2, and the embodiments of the present application are not limited thereto. Wherein, the correspondence between the first virtual object and the first selection waiting expression can be set by an engineer according to the actual situation, or the terminal can perform matching based on an image recognition algorithm. In response to the appearance of the first virtual object, the terminal performs image recognition on the first virtual object to obtain a label of the first virtual object. The terminal performs matching in an expression database based on the label of the first virtual object to obtain a first selection waiting expression corresponding to the first virtual object, and the embodiments of the present application are not limited in the manner in which the terminal determines the first selection waiting expression corresponding to the first virtual object. When the terminal adds a first expression waiting for selection corresponding to the first virtual object to the expression selection area, this refers to the terminal adding the first expression waiting for selection corresponding to the first virtual object to a folder corresponding to the expression selection area, and when displaying the expression selection area, the terminal can display the first expression waiting for selection in the expression selection area.

[0069] In some embodiments, the first virtual object includes not only a virtual object that the terminal is logged in to and that the user controls, but also a virtual object that the user controls to compete against. In response to the appearance of any one of the first virtual objects, the terminal adds a first expression waiting for selection corresponding to the first virtual object to the expression selection area, and the user can select an expression in the expression selection area. Among them, the method of the terminal adding the first expression waiting for selection corresponding to the first virtual object to the expression selection area belongs to the same inventive concept as the above-mentioned embodiment, and is not limited thereto in the embodiment of this application. By adding an expression corresponding to the first virtual object that has appeared to the expression selection area, the expressions displayed in the expression selection area have diversity and randomness, and the user can quickly send an expression based on the expression selection control, which is more efficient in human-computer interaction than the conventional method of setting several fixed expressions in the expression selection area.

[0070] In some embodiments, at least one first virtual object is displayed in the virtual scene, and when the expression adding icon is dragged to a position where any one of the first virtual objects is located, an expression selection area is displayed at the position where the first virtual object is located, and the position where the first virtual object is located is a first target position. The expression selected by the expression selection area is regarded as the expression to be sent to the first virtual object. This implementation method allows the user to spontaneously decide which virtual object to send the expression to during the game. Therefore, a more abundant expression sending method can be provided for the user, so that the user's game experience can be improved, and the expression can be sent to the first virtual object by simply dragging the expression selection area to the position where the first virtual object is located, which is simpler in operation steps and more efficient in human-computer interaction than the conventional method of selecting a first virtual object and then selecting and sending an expression, or selecting and sending an expression, and then selecting the first virtual object.

[0071] In some embodiments, a plurality of user avatars are displayed in the virtual scene, and one user avatar corresponds to one user participating in a match. When the expression adding icon is dragged to the location of any one of the user avatars, an expression selection area is displayed at the location of the user avatar, and the location of the user avatar is the first target location. The expression selected by the expression selection area is regarded as the expression to be sent to the user corresponding to the user avatar. This implementation method allows the user to spontaneously decide which user to send the expression to during the game. Therefore, a richer variety of expression sending methods can be provided to the user, thereby improving the user's game experience.

[0072] 403: In response to a selection operation on a first target facial expression from among a plurality of first selection-waiting facial expressions, the terminal displays the first target facial expression in the virtual scene.

[0073] In some embodiments, the first target expression is any one of a plurality of first selection waiting expressions. In response to a selection operation on the first target expression, the terminal displays the first target expression in an enlarged manner in the virtual scene. For example, the first target expression is a vector graphic, and the terminal can enlarge and display the first target expression when displaying the first target expression, which is convenient for the user to view. In some embodiments, the position where the terminal displays the first target expression in the virtual scene is the first target position, and the expression selection area is also displayed at the first target position, so that the position where the terminal displays the first target expression in the virtual scene is the same as the position where the terminal displays the expression selection area. In response to a selection operation on the first target expression among the plurality of first selection waiting expressions, the terminal displays the first target expression at the first target position in the virtual scene.

[0074] For example, in response to clicking on a first target expression among a plurality of first selection waiting expressions, the terminal enlarges and displays the first target expression at a first target position in the virtual scene. When the first target position is the end position of the drag operation on the expression adding icon, the terminal can display the first target expression at the end position. As for the user, when the user wants to display an expression at a specified position in the virtual scene, the user can drag the expression adding control to the specified position, so that the first target expression selected by the expression selection area can be displayed at the specified position. For example, as shown in Figs. 6 and 7, in response to a click operation on the first target expression 605, the terminal enlarges and displays the first target expression 605 at a first target position in the virtual scene 701, that is, displays the enlarged first target expression 702 in the virtual scene 701.

[0075] In some embodiments, in response to the selection operation for the first target expression, the terminal plays an animation (video) corresponding to the first target expression in the virtual scene. Wherein, the animation corresponding to the first target expression is set by an engineer, for example, the engineer creates an expression and an animation corresponding to the expression, and then binds and stores the expression and the animation corresponding to the expression. After the first target expression is selected, the terminal can directly load the animation corresponding to the first target expression and play the animation in the virtual scene.

[0076] For example, in response to clicking a first target expression among the first selection waiting expressions, the terminal loads an animation corresponding to the first target expression and plays the animation at a first target position in the virtual scene, and when the first target position is an end position of a drag operation on the expression adding icon, the terminal can play the animation at the end position.

[0077] In some embodiments, at least one virtual object is displayed in the virtual scene, and the first selection waiting expression is an expression corresponding to the first virtual object. The terminal can control the target virtual object to perform an action corresponding to the first target expression, and the target virtual object is a first virtual object corresponding to the first target expression among the at least one first virtual object. Wherein, control here refers to display, the control process is performed by the server, the terminal displays the process of the target virtual object performing the action, and the target virtual object is directly controlled by the terminal to perform the action, and the embodiment of the present application is not limited thereto. The correspondence between the first target expression and the action is set by the engineer according to the actual situation. For example, after the engineer creates the first target expression and the corresponding action, the first target expression and the corresponding action can be bound and stored, and according to the selection operation for the first target expression, the terminal controls the target virtual object to perform the action corresponding to the first target expression. In this implementation manner, the terminal can not only display the first target expression in the virtual scene, but also control the target virtual object to perform the corresponding action, which can enrich the display effect of the first target expression and improve the user's game experience.

[0078] In some embodiments, according to the selection operation for the first target expression among the plurality of first selection waiting expressions, the terminal controls the controlled virtual object to move to a first target position, and displays the first target expression at the first target position. Wherein, the controlled virtual object is a virtual object that the user logs in and is controlled by the terminal. In the case where the terminal controls the controlled virtual object, the term "control" refers to display, and the control process is performed by the server, and the terminal displays the process of the controlled virtual object performing an action, or the controlled virtual object is directly controlled by the terminal to perform an action, and the embodiments of the present application are not limited thereto. In such an embodiment, when the first target expression is displayed, the terminal can further control the controlled virtual object to move to the display position of the first target expression, so as to enrich the effect when the first target expression is displayed.

[0079] All the above-mentioned optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, and detailed descriptions thereof are omitted here.

[0080] Fig. 8 is a logic block diagram of one of the above steps 401-403. As shown in Fig. 8, after the game starts (entering the game), if a drag operation on the user's expression addition icon is detected, the expression wheel is displayed, and the expression wheel is the expression selection area. If a click operation on any one of the expressions in the expression wheel is detected, the clicked expression is displayed at the corresponding position of the drag operation. If a drag operation on the user's expression addition icon is not detected, no expression is displayed, and if a click operation on the user's expression wheel is not detected, no expression is displayed.

[0081] According to the technical solution provided in the embodiment of the present application, the user can trigger the display of the expression selection area by dragging the expression adding icon, and select an expression through the expression selection area, so that the selected first target expression can be displayed at a first target position in the virtual scene. Since the first target position is the end position of the drag operation, the display position of the first target expression can be changed by adjusting the drag operation, so that the operation is simple and convenient, and the efficiency of human-computer interaction is high. For example, when a user wants to send an expression in a virtual scene, he or she can simply drag the expression adding icon, and then select the first target expression he or she wants to display from the displayed expression selection area to send the expression, which is simple and convenient to operate, and the efficiency of human-computer interaction is improved, compared with the conventional method of first calling a chat window, calling an expression selection panel in the chat window, selecting an expression from the expression selection panel, and then clicking the send control of the chat window to realize the sending of the expression.

[0082] In addition to the above steps 401-403, the present application also provides another method for displaying facial expressions in a virtual scene, in which a computer device is configured as a terminal and the terminal is the execution subject. As shown in FIG. 9, the method includes the following steps:

[0083] 901: A terminal displays a virtual scene, and an expression adding icon is displayed in the virtual scene, and the expression adding icon is used to add an expression to the virtual scene.

[0084] The process of the terminal displaying the virtual scene belongs to the same inventive concept as the above-mentioned step 401, and the implementation process can refer to the relevant description of the above-mentioned step 401, and the detailed description thereof will be omitted here.

[0085] 902: In response to a click operation on the facial expression addition icon, the terminal displays a facial expression selection area in the virtual scene, and a plurality of facial expressions waiting for a first selection are displayed in the facial expression selection area.

[0086] In some embodiments, in response to a click operation on the expression adding icon, the terminal displays the expression selection area at a fourth target position in the virtual scene, the fourth target position being adjacent to the expression adding icon.

[0087] For example, as shown in Figures 10 and 11, in response to a click operation on an expression addition icon 1002 in a virtual scene 1001, the terminal displays an expression selection area 1102 at a fourth target position of a virtual scene 1101, and a plurality of first expressions waiting to be selected are displayed in the expression selection area.

[0088] In some embodiments, the facial expression selection area includes a first sub-area and a second sub-area, the first sub-area is used to display facial expression type icons, and the terminal displays the first sub-area and the second sub-area at a first target position in response to a drag operation on the facial expression adding icon. In response to a selection operation on the first type icon in the first sub-area, the terminal displays a plurality of first selection waiting facial expressions corresponding to the first type icon in the second sub-area. By dividing the facial expression selection area into the first sub-area and the second sub-area, the type of facial expression displayed in the second sub-area can be switched by simply triggering the first sub-area, which is simple and convenient to operate and highly efficient in human-computer interaction. In addition, by setting a plurality of facial expressions corresponding to different type icons, the user can select different types of facial expressions by simply triggering different type icons, which is simple and convenient to operate and highly efficient in human-computer interaction.

[0089] 11 , the facial expression selection area 1102 includes a first sub-area 1103 and a second sub-area 1104, and a plurality of type icons are displayed in the first sub-area 1103. In response to a click operation on a first type icon 1105 in the first sub-area 1103, the terminal displays a plurality of first selection waiting facial expressions corresponding to the first type icon 1105 in the second sub-area 1104.

[0090] Based on the above implementation manner, in some embodiments, in response to a selection operation on a second type icon in the first sub-region, the terminal switches a plurality of first selection waiting expressions in the second sub-region to a plurality of second selection waiting expressions, the second selection waiting expressions corresponding to the second type icon. In some embodiments, the first sub-region is a circular region, the second sub-region is an annular region inscribed in the first sub-region, and the first sub-region and the second sub-region have the same circular center.

[0091] For example, in response to a click operation on the second type icon 1106 in the first sub-area 1103 , the terminal displays a plurality of second selection waiting expressions corresponding to the second type icon 1106 in the second sub-area 1104 .

[0092] In some embodiments, the facial expression selection area includes multiple sub-areas, and the multiple first selection waiting expressions are respectively displayed in the multiple sub-areas. In such an implementation, the terminal can display the first selection waiting expressions in the multiple sub-areas respectively, and the different sub-areas can separate the multiple first selection waiting expressions, so that the user can select the desired first selection waiting expression in the different sub-areas. By dividing the facial expression selection area into multiple sub-areas, the terminal can display the multiple first selection waiting expressions in the multiple sub-areas respectively, so that the different sub-areas can separate the multiple first selection waiting expressions, so that the user can intuitively check and select the first selection waiting expressions through the different sub-areas, the checking efficiency is high, and the selection method is simple and convenient, and the efficiency of human-computer interaction is high.

[0093] For example, the facial expression selection area is a circular area, one sub-area is a part of the circular area, and type icons corresponding to multiple first selection waiting expressions are displayed in the center of the circular area. In some embodiments, the facial expression selection area is a rotatable area, and in response to a slide operation on the facial expression selection area, the terminal controls the facial expression selection area to rotate according to the direction of the slide operation, the user slides the facial expression selection area, and in the process of the facial expression selection area rotating, the first selection waiting expression also rotates accordingly, and the user can select an expression after rotating the first selection waiting expression in a desired direction, at this time, the facial expression selection area is also called an expression wheel. The type icon displayed in the center of the circular area is used to represent the type of the multiple first selection waiting expressions displayed in the sub-areas, and the user can determine the type of the multiple first selection waiting expressions by checking the type icon.

[0094] In some embodiments, at least one first virtual object is displayed in the virtual scene, and the first selection waiting expression is an expression corresponding to the first virtual object. In some embodiments, the first virtual object is a virtual object that the terminal is logged in to and controlled by the user, and in response to the user controlling the appearance of any one of the first virtual objects, the terminal adds a first selection waiting expression corresponding to the first virtual object to the expression selection area. By adding an expression corresponding to the first virtual object that has appeared to the expression selection area, the expressions displayed in the expression selection area have diversity and randomness, so that the user can quickly send expressions based on the expression selection control, and the efficiency of human-computer interaction is higher than that of the conventional method of setting several fixed expressions in the expression selection area.

[0095] 903: In response to a drag operation on a second target expression among the plurality of first selection-waiting expressions, the terminal displays the second target expression at a second target position, the second target position being an end position of the drag operation.

[0096] In some embodiments, the second target position is the end position of the drag operation. That is, the user can perform a drag operation on the first selection waiting expression in the expression selection area, and the dragged first selection waiting expression can be regarded as the second target expression to be selected. The user can control the position where the terminal displays the second target expression according to the end position of the drag operation.

[0097] In some embodiments, when the terminal is a device with a touch function such as a smartphone or a tablet computer, the drag operation on the second target expression is controlled by the user placing a finger on a position corresponding to the second target expression, pressing the finger, and then dragging the finger on the screen, and the user only needs to lift the finger when the drag operation is terminated. As for the terminal, in response to detecting that the click operation on the second target expression meets the target condition, the terminal sets the second target expression to a draggable state, where the draggable state means that the second target expression can move with the movement of the drag operation. The terminal obtains the position of the drag operation on the screen in real time and displays the second target expression at the end position of the drag operation, and the second target expression in the draggable state is always located under the finger on the screen from the user's angle. In response to detecting the end of the drag operation at the second target position, the terminal displays the second target expression at the end position of the drag operation. Wherein, the click operation on the second target expression meets the target condition means that the duration of the click operation on the second target expression is equal to or greater than a time threshold, or the force of the click operation on the second target expression is equal to or greater than a force threshold. Wherein, the time threshold and the force threshold can be set by the technician according to the actual situation, and the embodiments of the present application do not limit the same.

[0098] For example, as shown in FIG. 12, when a second target facial expression 1202 in a virtual scene 1201 is dragged to a second target position 1203 , the terminal displays the second target facial expression 1202 at the second target position 1203 .

[0099] In some embodiments, a plurality of first virtual objects are displayed in the virtual scene, the second target expression is dragged to a third target position, and in response to the distance between any one of the first virtual objects and the third target position meeting a target condition, the terminal displays the second target expression at the second target position where the first virtual object is located. In this manner, the terminal can display the second target expression on the first virtual object meeting the target condition, and the second target expression that can be displayed is the expression of the first virtual object, thereby enriching the display of the second target expression and favoring the user to convey information through the second target expression, and since the drag operation is easy to perform, the efficiency of transmitting expressions is increased, and the efficiency of human-computer interaction is improved.

[0100] For example, when one first virtual object is displayed in the virtual scene, and the second target facial expression is dragged to a third target position, the terminal determines a distance between the first virtual object and the third target position. When the distance between the first virtual object and the third target position is equal to or less than a distance threshold, the terminal displays the second target facial expression at a second target position where the first virtual object is located, the distance between the first virtual object and the third target position being consistent with the target condition. When viewed from the user's angle, when the second target facial expression is dragged near the first virtual object, the second target facial expression may be displayed on the first virtual object. Of course, the above description has been given using an example in which one virtual object is displayed in the virtual scene, but in other possible embodiments, multiple first virtual objects may be displayed in the virtual scene. In this case, when the second target facial expression is dragged to the third target position, the terminal determines a distance between the multiple first virtual objects and the third target position, and determines a first virtual object among the multiple first virtual objects that has the smallest distance from the third target position as a first virtual object whose distance from the third target position is consistent with the target condition, and the terminal displays the second target facial expression on the first virtual object. Using such a display method, a user can convey different information by controlling the terminal to display the second target facial expression on different first virtual objects.

[0101] In some embodiments, the terminal can adjust the display position of the second target expression according to the movement of the first virtual object in the virtual scene, so that the second target expression is always displayed above the first virtual object. When the second target expression is dragged near the first virtual object, the terminal can display the second target expression above the first virtual object, so that when the first virtual object moves in the virtual scene, the second target expression can move together with the first virtual object, thereby achieving the effect that the second target expression is always kept above the first virtual object.

[0102] In some embodiments, a plurality of first virtual objects are displayed in the virtual scene, a second target expression is dragged to a third target position, and in response to a distance between the at least two first virtual objects and the third target position meeting a target condition, a second target expression is displayed at a second target position where the second virtual object is located, and the second virtual object is a first virtual object controlled by the terminal among the at least two first virtual objects.

[0103] For example, in response to the second target facial expression being dragged to the third target position, the terminal determines a distance between a plurality of first virtual objects in the virtual scene and the third target position. In response to the distance between at least two of the first virtual objects and the third target position being equal to or less than a distance threshold, the terminal determines that the distance between the at least two first virtual objects and the third target position meets a target condition, and the terminal determines a second virtual object from among the at least two first virtual objects, the second virtual object being the first virtual object controlled by the terminal, in other words, the first virtual object controlled by the player. The terminal displays the second target facial expression at a second target position where the second virtual object is located, thereby achieving the effect of displaying the second target facial expression on the virtual object controlled by the terminal.

[0104] In some embodiments, the terminal adjusts the display position of the second target expression according to the movement of the second virtual object in the virtual scene, so that the second target expression is always displayed above the second virtual object. When the second target expression is dragged near the second virtual object, the terminal displays the second target expression above the second virtual object, so that when the second virtual object moves in the virtual scene, the second target expression can move along with the second virtual object, thereby achieving the effect that the second target expression is always kept above the second virtual object.

[0105] In some embodiments, according to a selection operation for a second target expression among a plurality of first selection waiting expressions, the terminal controls the controlled virtual object to move to a second target position, and displays the second target expression at the second target position. Wherein, the controlled virtual object is a virtual object in which a user logs in and is controlled by the terminal. In the case where the terminal controls the controlled virtual object, the term "control" refers to display, and the control process is performed by a server, and the terminal displays the process in which the controlled virtual object performs an action, or the controlled virtual object is directly controlled by the terminal to perform an action, and the embodiments of the present application are not limited thereto. When the terminal displays the first target expression, it can also control the controlled virtual object to move to the display position of the first target expression, so as to enrich the effect when the first target expression is displayed.

[0106] In some embodiments, a plurality of user avatars are displayed in the virtual scene, and in response to dragging a third target expression among a plurality of first selection waiting expressions to a position where a target user avatar is located, the terminal transmits a third target expression to the terminal corresponding to the target user avatar, where the target user avatar is any one of the plurality of user avatars. In this implementation manner, when transmitting an expression to a target user (a user corresponding to the target user avatar), it is only necessary to drag the third target expression among the first selection waiting expressions to the user avatar of the target user, which is simpler and more convenient to operate than the conventional manner of first calling a chat window, calling an expression selection panel in the chat window, selecting an expression from the expression selection panel, and then clicking the send control of the chat window to realize the transmission of the expression, and the efficiency of human-computer interaction is improved.

[0107] For example, in response to the third target expression being dragged to the position where the target user avatar is located, the terminal transmits the third target expression to the terminal corresponding to the target user avatar, i.e., displays the third target expression in a chat room in the virtual scene and transmits the third target expression, and the destination of the third target expression is the terminal of the target user.

[0108] All the above-mentioned optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, and detailed descriptions thereof are omitted here.

[0109] According to the technical solution provided in the embodiment of the present application, the user can trigger the display of the expression selection area by dragging the expression adding icon, and select an expression through the expression selection area, so that the selected first target expression can be displayed at a first target position in the virtual scene. Since the first target position is the end position of the drag operation, the display position of the first target expression can be changed by adjusting the drag operation, so that the operation is simple and convenient, and the efficiency of human-computer interaction is high. For example, when a user wants to send an expression in a virtual scene, he or she can select the first target expression he or she wants to display from the displayed expression selection area, and then send the expression by simply performing a drag operation on the expression, which is simple and convenient to operate, and the efficiency of human-computer interaction is improved, compared with the conventional method of first calling a chat window, calling an expression selection panel in the chat window, selecting an expression from the expression selection panel, and then clicking the send control of the chat window to realize the sending of the expression.

[0110] 13 is a diagram showing the configuration of an apparatus for displaying facial expressions in a virtual scene provided in an embodiment of the present application. As shown in FIG. 13, the apparatus includes a scene display module 1301, a region display module 1302 and a facial expression display module 1303.

[0111] The scene display module 1301 is used to display a virtual scene, and an expression adding icon is displayed in the virtual scene, and the expression adding icon is used to add an expression to the virtual scene.

[0112] The area display module 1302 is used to display an expression selection area at a first target position in the virtual scene in response to a drag operation on the expression addition icon, the first target position being the end position of the drag operation, and a number of first selection waiting expressions are displayed in the expression selection area.

[0113] The facial expression display module 1303 is used for displaying a first target facial expression in the virtual scene in response to a selection operation on a first target facial expression from among a plurality of first selection-waiting facial expressions.

[0114] In some embodiments, the facial expression display module 1303 is adapted to display a first target facial expression at a first target position in the virtual scene in response to a selection operation for a first target facial expression from the plurality of first selection-ready facial expressions.

[0115] In some embodiments, a controlled virtual object is displayed in the virtual scene; Facial Expression Display Module 1303 is used for controlling the controlled virtual object to move to a first target position in response to a selection operation on a first target facial expression from among a plurality of first selection-waiting facial expressions.

[0116] In some embodiments, the facial expression display module 1303 is adapted to play an animation corresponding to the first target facial expression in the virtual scene in response to a selection operation for the first target facial expression from the first plurality of waiting-for-selection facial expressions.

[0117] In some embodiments, the expression selection area includes a first sub-area and a second sub-area, the first sub-area is used to display expression type icons, each type icon corresponds to a plurality of expressions, and the expression display module 1303 is used to display the first sub-area and the second sub-area at a first target position in the virtual scene, and displays a plurality of first selection waiting expressions corresponding to the first type icon in the second sub-area according to a selection operation on the first type icon in the first sub-area.

[0118] In some embodiments, the apparatus further comprises:

[0119] Facial expression switching module: Used to switch the multiple first selection waiting facial expressions displayed in the second sub-area to multiple second selection waiting facial expressions in response to a selection operation on a second type icon in the first sub-area, where the second selection waiting facial expressions are facial expressions corresponding to the second type icon.

[0120] In some embodiments, the facial expression selection area includes a plurality of sub-areas, and a plurality of first selectable facial expressions are displayed in the plurality of sub-areas, respectively.

[0121] In some embodiments, the facial expression selection area is a circular area, a sub-area is a part of the circular area, and a plurality of type icons corresponding to the first facial expressions waiting to be selected are displayed in the center of the circular area.

[0122] In some embodiments, at least one first virtual object is displayed in the virtual scene, and the first selection waiting expression is an expression corresponding to the first virtual object.

[0123] In some embodiments, the apparatus further comprises:

[0124] A control module is used to control a target virtual object to perform an action corresponding to a first target facial expression, and the target virtual object is a first virtual object corresponding to the first target facial expression among the at least one first virtual object.

[0125] In addition, when the device for displaying facial expressions in a virtual scene provided in the above embodiment displays facial expressions in a virtual scene, only the division of each of the above-mentioned functional modules is described as an example, but in actual applications, the above-mentioned functions may be assigned to different functional modules to be completed according to needs, that is, all or part of the above-mentioned functions may be completed by dividing the internal configuration of a computer device into different functional modules. In addition, the device for displaying facial expressions in a virtual scene provided in the above embodiment belongs to the same concept as the embodiment of the method for displaying facial expressions in a virtual scene, and the specific implementation process thereof may be referred to the embodiment of the method, and detailed description thereof will be omitted here.

[0126] According to the technical solution provided in the embodiment of the present application, the user can trigger the display of the expression selection area by dragging the expression adding icon, and select an expression through the expression selection area, so that the selected first target expression can be displayed at a first target position in the virtual scene. Since the first target position is the end position of the drag operation, the display position of the first target expression can be changed by adjusting the drag operation, so that the operation is simple and convenient, and the efficiency of human-computer interaction is high. For example, when a user wants to send an expression in a virtual scene, he or she can simply drag the expression adding icon, and then select the first target expression he or she wants to display from the displayed expression selection area to send the expression, which is simple and convenient to operate, and the efficiency of human-computer interaction is improved, compared with the conventional method of first calling a chat window, calling an expression selection panel in the chat window, selecting an expression from the expression selection panel, and then clicking the send control of the chat window to realize the sending of the expression.

[0127] 14 is a diagram showing the configuration of another device for displaying facial expressions in a virtual scene provided in an embodiment of the present application. As shown in FIG. 14, the device includes a scene display module 1401, a region display module 1402 and a facial expression display module 1403.

[0128] The scene display module 1401 is used to display a virtual scene, in which an expression adding icon is displayed, and the expression adding icon is used to add an expression to the virtual scene.

[0129] The area display module 1402 is used to display the expression selection area in the virtual scene in response to a click operation on the expression addition icon, and a plurality of first expressions waiting to be selected are displayed in the expression selection area.

[0130] The facial expression display module 1403 is used to display a second target facial expression at a second target position in response to a drag operation on a second target facial expression among the plurality of first selection-ready facial expressions, and the second target position is an end position of the drag operation.

[0131] In some embodiments, a plurality of first virtual objects are displayed in the virtual scene, and the facial expression display module 1403 is adapted to perform any one of the following: When the second target facial expression is dragged to a third target position and a distance between any one of the first virtual objects and the third target position matches a target condition, displaying the second target facial expression at the second target position where the any one of the first virtual objects is located; and When the second target expression is dragged to the third target position and a distance between the at least two first virtual objects and the third target position matches a target condition, the second target expression is displayed at a second target position where the second virtual object is located, and the second virtual object is a first virtual object controlled by a computer device among the at least two first virtual objects.

[0132] In some embodiments, a plurality of user avatars are displayed in the virtual scene, and the apparatus further comprises:

[0133] An expression sending module: used to send a third target expression among the plurality of first selection waiting expressions to a terminal corresponding to a target user avatar in response to the third target expression being dragged to a position where the target user avatar is located, and the target user avatar is any one of the plurality of user avatars.

[0134] In addition, when the device for displaying facial expressions in a virtual scene provided in the above embodiment displays facial expressions in a virtual scene, only the division of each of the above-mentioned functional modules is described as an example, but in actual applications, the above-mentioned functions can be assigned to different functional modules according to needs, that is, all or part of the above-mentioned functions can be completed by dividing the internal configuration of a computer device into different functional modules. In addition, the device for displaying facial expressions in a virtual scene provided in the above embodiment belongs to the same concept as the embodiment of the method for displaying facial expressions in a virtual scene, and the specific implementation process can be referred to the embodiment of the method, and the detailed description thereof will be omitted here.

[0135] According to the technical solution provided in the embodiment of the present application, the user can trigger the display of the expression selection area by dragging the expression adding icon, and select an expression through the expression selection area, so that the selected first target expression can be displayed at a first target position in the virtual scene. Since the first target position is the end position of the drag operation, the display position of the first target expression can be changed by adjusting the drag operation, so that the operation is simple and convenient, and the efficiency of human-computer interaction is high. For example, when a user wants to send an expression in a virtual scene, he or she can select the first target expression he or she wants to display from the displayed expression selection area, and then send the expression by simply performing a drag operation on the expression, which is simple and convenient to operate, and the efficiency of human-computer interaction is improved, compared with the conventional method of first calling a chat window, calling an expression selection panel in the chat window, selecting an expression from the expression selection panel, and then clicking the send control of the chat window to realize the sending of the expression.

[0136] An embodiment of the present application further provides a computer device, which is used for performing the above-mentioned method, and the computer device may be realized as a terminal, and the configuration of the terminal will be described below.

[0137] 15 is a diagram showing the configuration of a terminal provided in an embodiment of the present application. The terminal 1500 may be a smartphone, a tablet computer, a notebook computer, or a desktop computer. The terminal 1500 may also be called a user device, a mobile terminal, a laptop terminal, a desktop terminal, etc.

[0138] Generally, the mobile terminal 1500 includes a processor 1501 and a memory unit 1502 .

[0139] The processor 1501 may include one or more processing cores, for example, a 4-core processor, an 8-core processor, etc. The processor 1501 may include a DSP (Digital Signal Processor). The processor 1501 may be implemented in the form of at least one of hardware such as a GPU (Graphics Processing Unit), a Field-Programmable Gate Array (FPGA), and a Programmable Logic Array (PLA). The processor 1501 may also include a main processor and a co-processor, where the main processor is a processor that processes data in an active state and is also called a Central Processing Unit (CPU), and the co-processor is a low-power processor that processes data in a standby state. In some embodiments, the processor 1501 is a Graphics Processing Unit (GPU). The processor 1501 may be integrated with a GPU (Graphics Processing Unit), and the GPU is used to render and draw content that needs to be displayed on the display. In some embodiments, the processor 1501 may further include an artificial intelligence (AI) processor, which is used to process computational operations related to machine learning.

[0140] The storage 1502 may include one or more computer-readable storage media, which may be tangible and non-transitory. The storage 1502 may further include high-speed random access memory, and non-volatile memory, such as one or more magnetic disks, flash memory. In some embodiments, the non-transitory computer-readable storage medium of the storage 1502 is used to store at least one instruction, which is executed by the processor 1501 to realize the method of displaying facial expressions in a virtual scene provided in the embodiments of the present application.

[0141] In some embodiments, the terminal 1500 may optionally further include a peripheral device interface 1503 and at least one peripheral device. The processor 1501, the memory 1502, and the peripheral device interface 1503 may be connected by a bus or signal lines. Each peripheral device may be connected to the peripheral device interface 1503 by a bus, signal lines, or a circuit board. Specifically, the peripheral device may include at least one of a display 1505, an audio circuit 1507, and a power supply 1509.

[0142] The peripheral device interface 1503 is used to connect at least one peripheral device associated with input / output (I / O) to the processor 1501 and the memory 1502. In some embodiments, the processor 1501, the memory 1502, and the peripheral device interface 1503 may be integrated on the same chip or circuit board, and in some other embodiments, any one or two of the processor 1501, the memory 1502, and the peripheral device interface 1503 may be implemented on a single chip or circuit board, although this embodiment is not limited thereto.

[0143] The display 1505 is used to display a user interface (UI). The UI may include graphics, text, icons, videos, and any combination thereof. The display 1505 is also capable of collecting touch signals on or above the surface of the display 1505. The touch signals can be input to the processor 1501 as control signals and processed. The display 1505 is used to provide virtual buttons and / or a virtual keyboard, which are also referred to as soft buttons and / or a soft keyboard.

[0144] The audio circuit 1507 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, convert the sound waves into electrical signals, and input them to the processor 1501 for processing.

[0145] The power supply 1509 is used to power each assembly in the terminal 1500. The power supply 1509 may be an AC, DC, disposable battery, or a rechargeable battery.

[0146] As one skilled in the art will appreciate, the configuration shown in FIG. 15 is not intended to limit terminal 1500 and may include more or fewer assemblies than shown, may combine some assemblies, or may employ different component arrangements.

[0147] In the embodiments of the present application, a computer-readable storage medium is further provided, for example including a storage device for a computer program, and the computer program can be executed by a processor to realize the method for displaying facial expressions in a virtual scene in the embodiments. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical disk storage device, etc.

[0148] In an embodiment of the present application, a computer program product or a computer program is further provided, the computer program product or computer program comprising a program code, the program code being stored in a computer readable storage medium, a processor of a computing device reading the program code from the computer readable storage medium, and the processor executing the program code, thereby causing the computing device to perform the method of displaying facial expressions in a virtual scene as described above.

[0149] As can be understood by those skilled in the art, the realization of all or part of the steps in the above-mentioned embodiments may be completed by hardware, or may be completed by a program instructing related hardware, and the program may be stored in a computer-readable storage medium, which may be a read-only memory, a magnetic disk, an optical disk, etc.

[0150] Although the preferred embodiment of the present application has been described above, the present application is not limited to this embodiment, and any modification to the present application falls within the technical scope of the present application as long as it does not depart from the spirit of the present application.

Claims

1. 1. A computing device implemented method for displaying facial expressions in a virtual scene, comprising: displaying a virtual scene, wherein an expression adding icon is displayed in the virtual scene, the expression adding icon being used to add an expression to the virtual scene; displaying a facial expression selection area at a first target position in the virtual scene in response to a drag operation on the facial expression addition icon, the first target position being an end position of the drag operation, and a plurality of first facial expressions waiting to be selected are displayed in the facial expression selection area; and displaying a first target facial expression in the virtual scene in response to a selection operation on a first target facial expression from among the first plurality of selection-waiting facial expressions; a controlled virtual object is displayed in the virtual scene; The method further comprises: The method includes a step of controlling the controlled virtual object to move to the first target position in response to a selection operation on a first target facial expression from among the first plurality of selection-waiting facial expressions.

2. 2. The method of claim 1, The step of displaying the first target facial expression in the virtual scene in response to a selection operation on a first target facial expression among the first plurality of selection-waiting facial expressions includes: The method includes a step of displaying a first target facial expression at the first target position in the virtual scene in response to a selection operation on a first target facial expression from among the first plurality of selection-waiting facial expressions.

3. 2. The method of claim 1, The step of displaying the first target facial expression in the virtual scene in response to a selection operation on a first target facial expression among the first plurality of selection-waiting facial expressions includes: The method includes a step of playing an animation corresponding to the first target expression in the virtual scene in response to a selection operation on the first target expression from among the first plurality of selection waiting expressions.

4. 2. The method of claim 1, the facial expression selection area includes a first sub-area and a second sub-area; the first sub-area is used to display an icon of a facial expression type; One of the icon types corresponds to multiple facial expressions, The step of displaying an expression selection area at a first target position in the virtual scene includes: displaying the first sub-region and the second sub-region at a first target position in the virtual scene; and The method includes a step of displaying the plurality of first selection waiting facial expressions corresponding to the first type icon in the second sub-region in response to a selection operation on a first type icon in the first sub-region.

5. The method of claim 4, further comprising: The method includes a step of switching the plurality of first selection waiting expressions displayed in the second sub-area to a plurality of second selection waiting expressions in response to a selection operation on a second type icon in the first sub-area, the second selection waiting expressions being expressions corresponding to the second type icon.

6. 2. The method of claim 1, the facial expression selection area includes a plurality of sub-areas; The plurality of first selection waiting expressions are displayed in the plurality of sub-regions, respectively.

7. 7. The method of claim 6, The facial expression selection area is a circular area, one of the sub-regions is a portion of the circular region; A method in which type icons corresponding to the plurality of first selection waiting facial expressions are displayed in the center of the circular area.

8. 8. The method according to any one of claims 1 to 7, comprising: At least one first virtual object is displayed in the virtual scene; The method, wherein the first selection waiting facial expression is a facial expression corresponding to the first virtual object.

9. The method of claim 8, further comprising: A method comprising: a step of controlling a target virtual object to perform an action corresponding to the first target facial expression, the target virtual object being a first virtual object among the at least one first virtual object that corresponds to the first target facial expression.

10. 1. A computing device implemented method for displaying facial expressions in a virtual scene, comprising: displaying a virtual scene, wherein an expression adding icon is displayed in the virtual scene, the expression adding icon being used to add an expression to the virtual scene; displaying a facial expression selection area in the virtual scene in response to a click operation on the facial expression addition icon, wherein a plurality of first facial expressions waiting to be selected are displayed in the facial expression selection area; and displaying a second target facial expression at a second target position in response to a drag operation on a second target facial expression among the plurality of first selection-waiting facial expressions, the second target position being an end position of the drag operation; A plurality of first virtual objects are displayed in the virtual scene; The step of displaying the second target facial expression at a second target position in response to a drag operation on a second target facial expression among the plurality of first selection waiting facial expressions includes: displaying the second target facial expression at the second target position where the arbitrary one of the first virtual objects is located in response to the second target facial expression being dragged to a third target position and a distance between the arbitrary one of the first virtual objects and the third target position matching a target condition; and displaying the second target facial expression at a second target position where a second virtual object is located in response to the second target facial expression being dragged to the third target position and a distance between the at least two first virtual objects and the third target position matching a target condition, the second virtual object being a first virtual object controlled by the computing device among the at least two first virtual objects; A method comprising any one of the following:

11. 11. The method of claim 10, A plurality of user avatars are displayed in the virtual scene; The method further comprises: The method includes a step of transmitting a third target expression among the plurality of first selection waiting expressions to a terminal corresponding to the target user avatar in response to the third target expression being dragged to a position where the target user avatar is located, the target user avatar being any one of the plurality of user avatars.

12. 1. An apparatus for displaying facial expressions in a virtual scene, comprising: a scene display module for displaying a virtual scene, the virtual scene displaying an expression adding icon, the expression adding icon being used to add an expression to the virtual scene; an area display module for displaying an expression selection area at a first target position in the virtual scene in response to a drag operation on the expression addition icon, the first target position being an end position of the drag operation, and a plurality of first selection-waiting expressions being displayed in the expression selection area; and an expression display module for displaying a first target expression in the virtual scene in response to a selection operation on a first target expression among the first plurality of selection-waiting expressions; a controlled virtual object is displayed in the virtual scene; The facial expression display module further comprises: An apparatus for controlling the controlled virtual object to move to the first target position in response to a selection operation on a first target facial expression from among the first plurality of selection-waiting facial expressions.

13. 1. An apparatus for displaying facial expressions in a virtual scene, comprising: a scene display module for displaying a virtual scene, the virtual scene displaying an expression adding icon, the expression adding icon being used to add an expression to the virtual scene; an area display module for displaying an expression selection area in the virtual scene in response to a click operation on the expression addition icon, the area display module displaying a plurality of first expressions waiting to be selected in the expression selection area; and a facial expression display module for displaying a second target facial expression at a second target position in response to a drag operation on a second target facial expression among the plurality of first selection waiting facial expressions, the second target position being an end position of the drag operation; A plurality of first virtual objects are displayed in the virtual scene; The facial expression display module includes: displaying the second target facial expression at the second target position where the arbitrary one of the first virtual objects is located in response to the second target facial expression being dragged to a third target position and a distance between the arbitrary one of the first virtual objects and the third target position matching a target condition; and displaying the second target facial expression at a second target position where a second virtual object is located in response to the second target facial expression being dragged to the third target position and a distance between at least two of the first virtual objects and the third target position matching a target condition, the second virtual object being a first virtual object controlled by a computer device among the at least two first virtual objects; An apparatus that performs any one of the above.

14. 1. A computer device comprising: A processor; and a memory coupled to the processor; The storage device stores a computer program, A computing device, the processor being configured to execute the computer program to implement the method according to any one of claims 1 to 7.

15. A program for causing a computer to execute the method according to any one of claims 1 to 7.

16. 1. A computer device comprising: A processor; and a memory coupled to the processor; The storage device stores a computer program, A computing device, the processor being configured to execute the computer program to implement the method according to claim 10 or 11.

17. A program for causing a computer to execute the method according to claim 10 or 11.

Citation Information

Patent Citations

  • Interaction information display method and device, terminal and storage medium

    CN112569611A

  • Virtual object locking method and device in virtual scene, equipment and medium

    CN112774184A

  • Apparatus, method and program for processing user interface

    JP2011141632A

  • Video processing method and apparatus, device, and storage medium

    WO2020125292A1