Interaction method and device between virtual images, storage medium and electronic equipment

By displaying an offline virtual avatar icon in the virtual shooting interface and generating target media resources, the cumbersome problem of requiring an online state for virtual avatar interaction in existing technologies is solved, and virtual avatar interaction in an offline state is realized.

CN120980051APending Publication Date: 2025-11-18TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410613466.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-16
Publication Date
2025-11-18

AI Technical Summary

Technical Problem

Existing methods for interaction between virtual avatars require both accounts to be online before they can interact, making the interaction process cumbersome.

Method used

By displaying offline virtual avatar icons in the virtual shooting interface and generating target media resources in response to trigger operations, interaction between virtual avatars can be achieved.

Benefits of technology

When the target account is offline, interaction is triggered by the virtual avatar of the current account, simplifying the operation process between virtual avatars and generating target media resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120980051A_ABST
    Figure CN120980051A_ABST
Patent Text Reader

Abstract

The invention discloses an interaction method and device between virtual images, a storage medium and electronic equipment. The method comprises the steps that a first virtual image in a virtual social scene is displayed in a virtual shooting interface, and the first virtual image is a virtual image associated with a current account; in response to a triggering operation of an image adding control in the virtual shooting interface, displaying at least one image identifier in the virtual shooting interface; under the condition that a target image identifier is determined from the at least one image identifier, a second virtual image indicated by the target image identifier is displayed in the virtual social scene, and the target image identifier is used for indicating a virtual image associated with the target account in an offline state; and in response to a trigger operation on the shooting control, generating a target media resource according to the virtual social scene and the first virtual image and the second virtual image in the virtual social scene. According to the method and the device, the technical problem that the interactive operation between the virtual images is relatively tedious is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computers, and more specifically, to a method and apparatus for interaction between virtual characters, a storage medium, and an electronic device. Background Technology

[0002] In applications that provide interactive operations between virtual avatars, user accounts can control their respective virtual avatars to perform various types of interactive operations in the virtual environment, such as jointly performing virtual tasks or accessing each other's virtual spaces.

[0003] However, existing methods for interaction between virtual avatars require both accounts to be online. If either account is offline, interaction is impossible. Interaction can only occur when both accounts are logged into the application and each controls their respective avatar to move into the same virtual scene. In other words, existing methods for virtual avatar interaction suffer from cumbersome technical issues.

[0004] There is currently no effective solution to the above problems. Summary of the Invention

[0005] This invention provides a method, apparatus, storage medium, and electronic device for interaction between virtual characters, to at least solve the technical problem that the interaction between virtual characters is cumbersome.

[0006] According to one aspect of the present invention, a method for interaction between virtual avatars is provided, comprising: displaying a first virtual avatar in a virtual social scene in a virtual shooting interface, wherein the first virtual avatar is a virtual avatar associated with a current account; displaying at least one avatar identifier in the virtual shooting interface in response to a triggering operation of adding a control to the avatar in the virtual shooting interface; displaying a second virtual avatar indicated by the target avatar identifier in the virtual social scene when a target avatar identifier is determined from the at least one avatar identifier, wherein the target avatar identifier is used to indicate a virtual avatar associated with a target account in an offline state; and generating a target media resource based on the virtual social scene and the first and second virtual avatars in the virtual social scene in response to a triggering operation of a shooting control in the virtual shooting interface.

[0007] According to another aspect of the present invention, an interaction device between virtual avatars is also provided, comprising: a first display unit for displaying a first virtual avatar in a virtual social scene in a virtual shooting interface, wherein the first virtual avatar is a virtual avatar associated with a current account; a second display unit for displaying at least one avatar identifier in the virtual shooting interface in response to a triggering operation of adding a control to an avatar in the virtual shooting interface; a third display unit for displaying a second virtual avatar indicated by the target avatar identifier in the virtual social scene when a target avatar identifier is determined from at least one of the target avatar identifiers, wherein the target avatar identifier indicates a virtual avatar associated with a target account in an offline state; and a generation unit for generating target media resources based on the virtual social scene and the first and second virtual avatars in the virtual social scene in response to a triggering operation of a shooting control in the virtual shooting interface.

[0008] Optionally, the interaction device between the virtual characters further includes: a determining unit, configured to obtain the current operation position of the drag operation in response to the drag operation of the candidate character identifier; display the candidate character identifier at the current operation position according to the drag operation; and determine the candidate character identifier as the target character identifier when the operation endpoint of the drag operation is located in the first release area.

[0009] Optionally, the interaction device between the aforementioned virtual avatars further includes a fourth display unit, configured to: display a first operation prompt message in the virtual shooting interface to indicate the first release area; display a second operation prompt message in the virtual shooting interface to indicate the dragging operation, wherein the second operation prompt message includes a reference dragging trajectory and a reference dragging icon dynamically displayed according to the reference dragging trajectory; and display a third operation prompt message in the virtual shooting interface to indicate a candidate display position, wherein the candidate display position is the display position where the second virtual avatar is displayed in the virtual social scene.

[0010] Optionally, the second display unit includes: a first display module, configured to de-display at least one operation control in the object display area of ​​the virtual shooting interface in response to a trigger operation on the image addition control in the virtual shooting interface, wherein the at least one operation control includes the image addition control and the shooting control; and a second display module, configured to display at least one image icon in the object display area in a target order.

[0011] Optionally, the second display unit further includes: a third display module, configured to cancel the display of at least one of the image icons in the object display area in response to a trigger operation on the return control in the object display area; and a fourth display module, configured to restore the display of the image addition control and the shooting control in the object display area.

[0012] Optionally, the second display module is configured to: obtain the image intimacy between the first virtual image and at least one candidate virtual image indicated by at least one image identifier, and determine the target order based on the image intimacy, wherein the image intimacy is determined based on the virtual social operation between the first virtual image and the candidate virtual image; obtain the style matching degree corresponding to each of the at least one candidate virtual image indicated by at least one image identifier, and determine the target order based on the style matching degree, wherein the style matching degree is used to indicate the degree of matching between the image style of the candidate virtual image and the scene style of the virtual social scene; obtain the image relationship type between the first virtual image and at least one candidate virtual image indicated by at least one image identifier, and determine the target order based on the image relationship type, wherein the image relationship type is the relationship type of the virtual social relationship pre-established between the first virtual image and the candidate virtual image.

[0013] Optionally, the interaction device between the aforementioned virtual characters further includes: a fifth display unit, configured to, in response to a long-press operation on the second virtual character in the aforementioned virtual social scene, cancel the display of the second virtual character in the aforementioned virtual social scene; display the target character identifier for indicating the second virtual character at the operation position corresponding to the long-press operation; in response to a drag operation on the target character identifier, cancel the display of the target character identifier if the end point of the drag operation is located in the second release area; and restore the display of the second virtual character in the aforementioned virtual social scene if the end point of the drag operation is not located in the second release area.

[0014] Optionally, the third display unit is configured to: obtain the account operation status of the target account associated with the second virtual avatar; determine the first interactive action of the second virtual avatar based on the account operation status; and update and display the second virtual avatar in the virtual social scene in response to the editing operation of the second virtual avatar.

[0015] Optionally, the third display unit is configured to: display the second virtual avatar at the updated display position when a first editing operation on the display position of the second virtual avatar is detected; display the second virtual avatar performing the second interactive action when a second editing operation on the interactive action of the second virtual avatar is detected; and display the second virtual avatar with the updated image style when a third editing operation on the image style of the second virtual avatar is detected.

[0016] Optionally, the interaction device between the aforementioned virtual avatars further includes one of the following: a first shooting unit, configured to, when the first virtual avatar holds a first shooting prop, in response to a trigger operation on the first shooting prop, display the virtual shooting interface of the first shooting prop according to the virtual social scene currently in which the first virtual avatar is located; and in response to controlling the movement of the first virtual avatar, update the display of the virtual social scene in the virtual shooting interface according to the moved avatar position; a second shooting unit, configured to, when the virtual scene currently in which the first virtual avatar is located includes a second shooting prop, in response to a viewing operation on the second shooting prop, display the virtual shooting interface of the second shooting prop according to the virtual social scene currently captured by the second shooting prop; and in response to controlling the movement of the first virtual avatar, display the first virtual avatar in a moving state in the virtual social scene in the virtual shooting interface.

[0017] Optionally, the above-mentioned generation unit is used for at least one of the following: generating event description text based on the above-mentioned virtual social scene and the above-mentioned first virtual image and the above-mentioned second virtual image in the above-mentioned virtual social scene; generating a target image based on the above-mentioned virtual social scene and the above-mentioned first virtual image and the above-mentioned second virtual image in the above-mentioned virtual social scene; and generating a target video based on multiple frames of virtual images captured from the above-mentioned virtual social scene and the above-mentioned first virtual image and the above-mentioned second virtual image in the above-mentioned virtual social scene.

[0018] Optionally, the interaction device between the aforementioned virtual avatars further includes: a sixth display unit, configured to send an interaction prompt message to a reference account when a reference avatar identifier is determined from at least one of the aforementioned avatar identifiers, wherein the reference avatar identifier is used to indicate the virtual avatar associated with the reference account that is online; upon receiving a confirmation operation from the reference account regarding the interaction prompt message, displaying a third virtual avatar moving to a reference display position associated with the first virtual avatar in the aforementioned virtual social scene, wherein the third virtual avatar is the virtual avatar indicated by the reference avatar identifier; and upon receiving a rejection operation from the reference account regarding the interaction prompt message, displaying feedback prompt message indicating the rejection operation by the reference account.

[0019] Optionally, the sixth display unit is further configured to: display the target media resource in a resource sharing interface; upon detecting a trigger operation on the first sharing control in the resource sharing interface, display the target media resource in a social sharing interface associated with the current account, wherein the resource sharing interface is configured to display media resources shared by the current account and object accounts that have an account association relationship with the current account; upon detecting a trigger operation on the second sharing control in the resource sharing interface, and determining the target account from object accounts that have an account association relationship with the current account, display the target media resource sent to the target account in a conversation window between the current account and the target account; upon detecting a trigger operation on the third sharing control in the resource sharing interface, add target event information to the target event set according to the target media resource, wherein the target event set is configured to record interaction events between the first virtual avatar and the second virtual avatar in the virtual social scene.

[0020] Optionally, the sixth display unit is configured to: display an account selection interface in response to a trigger operation of the second sharing control in the resource sharing interface, wherein the account selection interface includes at least one account identifier, the account identifier being used to indicate an object account that has an account association relationship with the current account; display the account identifier of the target account at a first sequential position in the account selection interface; and display multiple account identifiers in order of account association degree after the first sequential position in the account selection interface, wherein the account association degree is used to indicate the operation frequency of historical interaction operations between the object account and the current account.

[0021] Optionally, the sixth display unit is further configured to: upon receiving reference media resources sent by the reference account, display the reference media resources in a session window between the current account and the reference account, wherein the reference media resources are used to indicate a fourth virtual avatar and a first virtual avatar in a reference virtual scene, and the fourth virtual avatar is a virtual avatar associated with the reference account; in response to a triggering operation on the reference media resources, obtain a scene link for indicating the reference virtual scene; if the reference account is currently offline, display the reference virtual scene according to the scene link and display the first virtual avatar in the reference virtual scene; if the reference account is currently online, display the reference virtual scene according to the scene link and display the first virtual avatar and the fourth virtual avatar in the reference virtual scene.

[0022] According to another aspect of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored therein, wherein the computer program is configured to execute the above-described interaction method between virtual avatars when it is run.

[0023] According to another aspect of the embodiments of this application, a computer program product is provided, the computer program product including a computer program / instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer program / instructions from the computer-readable storage medium, and executes the computer program / instructions, causing the computer device to perform the interaction method between virtual avatars as described above.

[0024] According to another aspect of the present invention, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to execute the interaction method between the virtual avatars through the computer program.

[0025] Through the above-described embodiments of this application, when the target account is offline, an interactive operation between the first virtual avatar associated with the current account and the second virtual avatar associated with the target account can be triggered. Thus, without the target account being online or without sending a notification message to the target account, the interactive operation between the first and second virtual avatars can be actively triggered, thereby generating target media resources as interactive products based on the virtual social scenario.

[0026] Through the above implementation method, when the virtual shooting interface is triggered and displayed, based on the selection operation of the image icon, it is possible to control the first virtual image to interact with the virtual images associated with other accounts even when other accounts are not online, and generate target media resources as the operation product of the shooting interaction operation. This simplifies the interaction operation process between virtual images and solves the technical problem that the interaction operation of the existing interaction method is relatively cumbersome. Attached Figure Description

[0027] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:

[0028] Figure 1 This is a schematic diagram of the hardware environment for an optional method of interaction between virtual avatars according to an embodiment of the present invention;

[0029] Figure 2 This is a flowchart of an optional method for interaction between virtual avatars according to an embodiment of the present invention;

[0030] Figure 3 This is a schematic diagram of an optional interaction method between virtual characters according to an embodiment of the present invention;

[0031] Figure 4 This is a schematic diagram of another optional method for interaction between virtual characters according to an embodiment of the present invention;

[0032] Figure 5 This is a schematic diagram of another optional method for interaction between virtual characters according to an embodiment of the present invention;

[0033] Figure 6 This is a schematic diagram of another optional method for interaction between virtual characters according to an embodiment of the present invention;

[0034] Figure 7 This is a schematic diagram of another optional method for interaction between virtual characters according to an embodiment of the present invention;

[0035] Figure 8 This is a schematic diagram of another optional method for interaction between virtual characters according to an embodiment of the present invention;

[0036] Figure 9 This is a schematic diagram of another optional method for interaction between virtual characters according to an embodiment of the present invention;

[0037] Figure 10 This is a schematic diagram of another optional method for interaction between virtual characters according to an embodiment of the present invention;

[0038] Figure 11 This is a schematic diagram of another optional method for interaction between virtual characters according to an embodiment of the present invention;

[0039] Figure 12 This is a schematic diagram of another optional method for interaction between virtual characters according to an embodiment of the present invention;

[0040] Figure 13 This is a schematic diagram of an optional session window according to an embodiment of the present invention;

[0041] Figure 14 This is a schematic diagram of another optional method for interaction between virtual characters according to an embodiment of the present invention;

[0042] Figure 15 This is a flowchart of another optional method for interaction between virtual characters according to an embodiment of the present invention;

[0043] Figure 16 This is a schematic diagram of another optional method for interaction between virtual characters according to an embodiment of the present invention;

[0044] Figure 17 This is a schematic diagram of another optional method for interaction between virtual characters according to an embodiment of the present invention;

[0045] Figure 18 This is a timing diagram of an optional interaction method between virtual characters according to an embodiment of the present invention;

[0046] Figure 19 This is a schematic diagram of the structure of an optional interaction device between virtual characters according to an embodiment of the present invention;

[0047] Figure 20 This is a schematic diagram of the structure of an optional electronic device according to an embodiment of the present invention. Detailed Implementation

[0048] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0049] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0050] According to one aspect of the present invention, a method for interaction between virtual characters is provided, which may be applied, but is not limited to, to... Figure 1 The hardware environment shown illustrates an interaction system between virtual avatars. This interaction system may include, but is not limited to, terminal device 102, network 104, server 106, database 108, and terminal device 110. Terminal device 102 and terminal device 110 each run a target client (e.g., ...). Figure 1 As shown, taking a target client as an example that can provide interaction between virtual avatars. The aforementioned terminal devices 102 and 110 respectively include a human-computer interaction screen, a processor, and a memory. The human-computer interaction screen is used to display virtual interactive scenes (such as...). Figure 1 The virtual interactive scene shown also provides a human-computer interaction interface to receive human-computer interaction operations for controlling a controlled virtual character in the virtual interactive scene, which will complete game tasks set in the virtual scene. The processor is used to generate interaction instructions in response to the above human-computer interaction operations and send the interaction instructions to the server. The memory is used to store relevant attribute data, such as object attribute information of the controlled virtual character and attribute information of the virtual props it holds, etc. The attribute information here may include, but is not limited to, information used to identify its identity and current location. Among them, the terminal device 102 runs a client for controlling the first virtual character; optionally, when the second virtual character is a virtual character controlled by the terminal device, the terminal device 110 runs a client for controlling the second virtual character. The second virtual character and the first virtual character can be controlled to perform certain virtual social events in the target application, such as friend addition events, greeting events, task invitation events, etc.

[0051] Furthermore, server 106 includes a processing engine used to perform store or read operations on database 108. Specifically, the processing engine reads the virtual scene information of each virtual avatar and the operation information it performs from database 108. Assuming... Figure 1 Terminal device 102 is used to control the current virtual avatar, and terminal device 110 is used to control a second virtual avatar in the same application that has a virtual social relationship with the first virtual avatar. The specific process of this embodiment is as follows: Terminal device 102 executes steps S102 to S106 to display the first virtual avatar in the virtual social scene in the virtual shooting interface, wherein the first virtual avatar is a virtual avatar associated with the current account; in response to the trigger operation of adding controls to the avatar in the virtual shooting interface, at least one avatar icon is displayed in the virtual shooting interface; if a target avatar icon is determined from at least one avatar icon, a second virtual avatar is requested; then step S108 is executed, and terminal device 102 requests the second virtual avatar from server 106 through network 104; server 106 executes S110 and returns the second virtual avatar to terminal device 102 through network 104.

[0052] Next, terminal device 102 executes S112 to S116, displays a second virtual image indicated by a target image identifier in a virtual social scene, wherein the target image identifier is used to indicate the virtual image associated with the target account in an offline state; in response to the triggering operation of the shooting control in the virtual shooting interface, generates target media resources based on the virtual social scene and the first and second virtual images in the virtual social scene; and sends the target media resources to terminal 110 through network 104.

[0053] Understandably, if the target account is logged in on the client running in terminal 110, the received target media resources can be displayed through the client.

[0054] Optionally, in this embodiment, the terminal device can be a terminal device configured with a target client, which may include, but is not limited to, at least one of the following: mobile phone (such as Android phone, iOS phone, etc.), laptop computer, tablet computer, PDA, MID (Mobile Internet Devices), PAD, desktop computer, smart TV, etc. The target client can be a video client, instant messaging client, browser client, educational client, or other client that supports providing shooting game tasks. The network can include, but is not limited to, wired networks and wireless networks. The wired network includes: local area network (LAN), metropolitan area network (MAN), and wide area network (WAN). The wireless network includes: Bluetooth, Wi-Fi, and other networks that enable wireless communication. The server can be a single server, a server cluster consisting of multiple servers, or a cloud server. The above is merely an example, and no limitation is made in this embodiment.

[0055] Optionally, in this embodiment, the interaction method between the aforementioned virtual characters can be applied, but is not limited to, to game-type terminal applications (APPs) that complete predetermined social game tasks in virtual scenes, such as virtual combat game applications in Multiplayer Online Battle Arena (MOBA) applications; the aforementioned social game tasks can be, but are not limited to, game tasks completed by the current player through virtual interaction between virtual characters in a virtual scene and virtual characters controlled by other players through virtual social interaction; the interaction method between the aforementioned virtual characters can also be applied to terminal applications of massively multiplayer online role-playing games (MMORPGs), in which the current player can complete social game tasks in the game from the first-person perspective of a virtual character through role-playing, for example, completing game tasks together with other virtual characters. These social game tasks can, but are not limited to, run in the form of plugins or mini-programs within the application (such as a non-standalone game APP), or run within the application (such as a standalone game APP) in a game engine. The types of game applications mentioned above may include, but are not limited to, at least one of the following: two-dimensional (2D) game applications, three-dimensional (3D) game applications, virtual reality (VR) game applications, augmented reality (AR) game applications, and mixed reality (MR) game applications. This is merely an example, and this embodiment does not impose any limitations on it.

[0056] Through the above-described embodiments of this application, when the target account is offline, an interactive operation between the first virtual avatar associated with the current account and the second virtual avatar associated with the target account can be triggered. Thus, without the target account being online or without sending a notification message to the target account, the interactive operation between the first and second virtual avatars can be actively triggered, thereby generating target media resources as interactive products based on the virtual social scenario.

[0057] Through the above implementation method, when the virtual shooting interface is triggered and displayed, based on the selection operation of the image icon, it is possible to control the first virtual image to interact with the virtual images associated with other accounts even when other accounts are not online, and generate target media resources as the operation product of the shooting interaction operation. This simplifies the interaction operation process between virtual images and solves the technical problem that the interaction operation of the existing interaction method is relatively cumbersome.

[0058] As an optional implementation method, such as Figure 2 As shown, the interaction method between the above virtual characters includes the following steps:

[0059] S202, Displays the first virtual avatar in the virtual social scene in the virtual shooting interface, wherein the first virtual avatar is the virtual avatar associated with the current account;

[0060] S204, in response to a triggering operation of adding controls to an image in the virtual shooting interface, display at least one image icon in the virtual shooting interface;

[0061] S206, if a target image identifier is determined from at least one image identifier, a second virtual image indicated by the target image identifier is displayed in a virtual social scene, wherein the target image identifier is used to indicate a virtual image associated with a target account in an offline state.

[0062] S208, in response to the triggering operation of the shooting control in the virtual shooting interface, generates target media resources based on the virtual social scene and the first and second virtual avatars in the virtual social scene.

[0063] It should be noted that the above implementation methods can be applied to applications that allow users to control virtual avatars for interaction. For example, it could be a game application where players can control their virtual avatars to perform social interactions or tasks within the game application's virtual social environment.

[0064] The aforementioned game application can also be specifically a game application based on a metaverse. For example, it can map objects in real space to virtual space, and simultaneously map the relationships between objects in real space to the relationships between virtual avatars in virtual space. Virtual social activities or applications can then be implemented by controlling virtual avatars in virtual space through objects in real space. These virtual social relationships can include, but are not limited to, virtual friend relationships, virtual teammate relationships, virtual colleague relationships, virtual neighbor relationships, and relationships with people nearby. In this embodiment, the specific relationship type of the aforementioned virtual social relationships is not limited.

[0065] For example, in real life, Xiao Wang and Xiao Zhang are colleagues, and in the aforementioned metaverse-type game, the first virtual avatar controlled by Xiao Wang and the second virtual avatar controlled by Xiao Zhang can have a virtual colleague relationship; similarly, in real life, Xiao Liu and Xiao Jiang are lovers, and in the aforementioned metaverse-type game, the first virtual avatar controlled by Xiao Liu and the second virtual avatar controlled by Xiao Jiang can have a virtual lover relationship.

[0066] In a specific scenario, the above implementation can also be an implementation scheme that maps object accounts in an instant messaging application to virtual avatars in a virtual space, and maps the account relationships between object accounts in the instant messaging application to the role relationships between virtual avatars in a virtual game space, thereby implementing the scheme in a virtual social space. Further, in this scenario, the object account (player) controls the virtual avatar to make virtual interaction requests and perform virtual interaction operations between avatars, which can be further mapped from the virtual space to real interaction requests and real interaction operations in the real space.

[0067] The following describes two optional technical scenarios of the above-described implementation method using two examples. In the first scenario, the above-described implementation method can be applied to a Mixed Reality (MR) game application. In this application, players enter the game application by controlling a mixed reality device and appear in a virtual space as a virtual avatar, engaging in virtual interactions within the virtual space. The first player logs into the mixed reality game using their current account to control a first virtual avatar in the virtual space to perform virtual social tasks. In the virtual space, the first player can trigger an avatar addition control in a virtual shooting interface, determine a target avatar identifier based on the displayed avatar identifier, and then add a second virtual avatar indicated by the target avatar identifier to the virtual social scene in the virtual space. The player then completes a virtual photo interaction based on the displayed second virtual avatar and the first virtual avatar.

[0068] In the second scenario, the above implementation can be applied to a sub-game application within an instant messaging application. In this game application, with authorization from the target account, virtual avatars corresponding to each target account can be created within the virtual social scene of the virtual game application. The display style of these virtual avatars can be determined based on the configuration operations of each target account. When a player triggers a shooting operation in the virtual social scene via touch, in response to the selection of a target avatar identifier, a second virtual avatar indicated by the target avatar identifier is displayed in the virtual social scene of the virtual shooting interface, and a virtual group photo interaction between the first and second virtual avatars is completed according to the virtual shooting interface. In this scenario, if a target media resource (virtual group photo) is generated based on the virtual group photo interaction, the virtual group photo can also be sent to the target account through the chat window between the current account and the target account.

[0069] In step S202 above, the virtual social scene can be a virtual subspace within the virtual social space, such as a virtual beach scene, a virtual courtyard scene, or a virtual scenic spot scene. In this embodiment, the specific type of the virtual social scene is not limited.

[0070] Furthermore, the aforementioned virtual shooting interface can be a virtual interface simulating the image acquisition interface of a virtual shooting prop. The triggering method of the aforementioned virtual shooting interface can correspond to the configuration method of the aforementioned virtual shooting prop. In one optional approach, when the aforementioned virtual shooting prop is configured by default on the first virtual avatar, the displayed virtual shooting interface can be switched in response to a trigger operation on the target control. In another optional approach, the aforementioned virtual shooting interface can also be a virtual shooting interface displayed based on the scene image captured by the aforementioned virtual shooting prop, in response to a trigger operation on the virtual shooting prop, when a virtual shooting prop is obtained in the aforementioned virtual social space. In this embodiment, the triggering method of the aforementioned virtual shooting interface is not limited.

[0071] In this embodiment, the virtual shooting interface can simultaneously display virtual operation controls and the captured virtual social scene. The virtual operation controls can be used to trigger various sub-steps in the virtual shooting operation, thereby triggering the update and display of the virtual shooting interface.

[0072] The following combination Figure 3 An optional virtual shooting interface is described. For example... Figure 3As shown, the virtual shooting interface 300 displays a virtual social scene 302, while multiple virtual operation controls are displayed in the object display area 312. The virtual social scene 302 includes a first virtual avatar 304 associated with the current account. The first virtual avatar 304 is located within the virtual viewfinder of the virtual shooting interface 300, indicating that the first virtual avatar 304 is within the focus range of the virtual shooting prop. The object display area 312 displays an exit control 306 for exiting the virtual shooting operation, a shooting control 308 for triggering the virtual shooting operation, and an avatar addition control 310 for selecting an avatar icon. Understandably, in response to triggering the exit control 306, the current virtual shooting interface 300 can be exited, and only the virtual social scene 302 and the first virtual avatar 304 within the virtual social scene 302 will be displayed in the interface, while the display of the multiple virtual operation controls in the object display area 312 will be canceled; in response to triggering the shooting control 308, a virtual image generated based on the virtual social scene 302 and the first virtual avatar 304 can be obtained.

[0073] Furthermore, in step S204 above, a trigger operation for adding controls can be performed based on the image in the virtual shooting interface, thereby displaying an image icon in the interface to indicate the virtual image. It should be noted that the aforementioned virtual image can be a virtual image associated with each object account that has a target social relationship with the current account. The aforementioned target social relationship can be one or more of the following: virtual friend relationship, virtual teammate relationship, virtual colleague relationship, virtual neighbor relationship, and nearby people relationship.

[0074] In another alternative implementation, if the current account does not have an account corresponding to the aforementioned target social relationship, a relationship prompt can be displayed on the screen to indicate that no addable avatar can be displayed. For example, if the current account's friend list is empty, a "No friend avatars to add" prompt can be displayed on the screen; or, if the current account's friend list does not include any accounts with a "close friend" relationship with the current account, a "No close friend avatars to add" prompt can be displayed on the screen.

[0075] Furthermore, if it is determined from the account list of the current account that there are displayable avatars, selectable avatars can be displayed in the aforementioned virtual shooting interface, and the target avatar used to indicate the target virtual avatar can be determined based on the displayed avatars. The display method of the aforementioned avatars may include, but is not limited to, displaying at least one avatar in the avatar list; or displaying different avatars separately in different display areas of the aforementioned virtual shooting interface.

[0076] If at least one image icon is displayed in the virtual shooting interface, before step S206, in response to the selection operation in the virtual shooting interface, a target image icon can be determined from the at least one image icon, and then a second virtual image indicated by the target image icon can be determined as an interactive virtual image.

[0077] The specific method for determining the target image identifier from at least one image identifier described above can correspond to the display method of the image identifier described above. For example, if only a list of identifiers is displayed in the virtual shooting interface, the target image identifier can be determined in response to a click on an image identifier in the identifier list; if both an image identifier and its corresponding virtual image are displayed in the image interaction page, the corresponding target image identifier can be determined in response to a click on the virtual image. In this embodiment, the method for determining the target image identifier is not limited.

[0078] Furthermore, in step S206 above, the target image identifier is the image identifier corresponding to the second virtual image associated with the target account in an offline state. Then, when the target image identifier is selected, the second virtual image can be displayed in the virtual social scene in the virtual shooting interface, thereby realizing the simultaneous display of the first virtual image and the second virtual image in the virtual shooting interface.

[0079] Then, according to step S208 above, in response to the trigger operation of the shooting control, the target media resource is generated based on the virtual social scene and the first virtual image and the second virtual image in the virtual social scene.

[0080] It is understood that the aforementioned target media resources may include resource information used to indicate the aforementioned virtual social scene, as well as the first and second virtual avatars in the scene.

[0081] In one optional implementation, the generation of target media resources in response to a triggering operation of the shooting control in the virtual shooting interface, based on the virtual social scene and the first and second virtual avatars in the virtual social scene, includes at least one of the following:

[0082] Method 1: Generate event description text based on the virtual social scene and the first and second virtual avatars in the virtual social scene;

[0083] Method 2: Generate a target image based on the virtual social scene and the first and second virtual avatars in the virtual social scene;

[0084] Method 3: Generate the target video based on multiple frames of virtual images captured from the virtual social scene and the first and second virtual avatars in the virtual social scene.

[0085] It is understandable that the target media resources mentioned above may specifically include the different types of media resources involved in the three methods mentioned above.

[0086] In the first method described above, the target media resource may include event description text describing the virtual social scene and the virtual characters within the scene. This event description text may include a scene identifier for the virtual social scene, an image identifier for the first virtual character, an image identifier for the second virtual character, and time information. In an optional method, the event description text may be obtained by combining one or more of the aforementioned information. In another optional implementation, a scene image including the virtual social scene may be input into a generative neural network model, and the event description text may be determined based on the description information output by the generative neural network model.

[0087] In the above-mentioned method two, the virtual social scene displayed in the virtual shooting interface and the virtual image in the scene can be identified as the target image, and then the target image can be used as the target media resource.

[0088] In the above method three, multiple consecutive frames of images displayed in the virtual shooting interface can be captured, and then a target video can be generated based on the virtual social scene and the virtual image in the scene, and the target video can be used as the target media resource.

[0089] It is understood that the above three methods can be combined in any way. For example, a target media resource can be generated based on the event description text and the target image. The resulting target media resource may include the target image and the event description text displayed in the target image. Alternatively, a target media resource can be generated based on the event description text and the target video. Specifically, different text statements in the event description text can be displayed in different video frames of the target video. For example, the first statement in the event description text can be displayed in video frames 1 to 50, and the second statement in the event description text can be displayed in video frames 51 to 100.

[0090] The above combination methods are merely illustrative examples, and no specific implementation will limit the combination methods of the above three methods for generating target media resources.

[0091] Through the above implementation method, when the virtual shooting interface is triggered and displayed, based on the selection operation of the image icon, it is possible to control the first virtual image to interact with the virtual images associated with other accounts even when other accounts are not online, and generate target media resources as the operation product of the shooting interaction operation. This simplifies the interaction operation process between virtual images and solves the technical problem that the interaction operation of the existing interaction method is relatively cumbersome.

[0092] In an optional implementation, after the above-mentioned response to the triggering operation of adding a control to the image in the virtual shooting interface, and displaying at least one image icon in the virtual shooting interface, further includes:

[0093] S1, when at least one icon is displayed in the virtual shooting interface, in response to a sliding operation triggered in the virtual shooting interface, the operation distance of the sliding operation is obtained;

[0094] S2, determine the current display position of at least one visual identifier based on the operation distance;

[0095] S3, determine the image logo displayed at the target display location as the target image logo.

[0096] It is understood that in this embodiment, when multiple character icons are displayed in the virtual shooting interface, the display position of each character icon can be updated by sliding, and the character icon at the target position can be determined as the target character icon.

[0097] The following combination Figure 4 This section explains a specific method for identifying a target visual identity. Figure 4 In the virtual shooting interface shown in Figure (a), multiple image icons can be displayed horizontally in the object display area 406, and the image icon located in the center of the object display area 406 is identified as the target image icon. Figure 4 In the virtual shooting interface shown in Figure (a), multiple avatars, including "Little A," "Little B," and "Little C," are displayed horizontally in the object display area 406. The virtual avatar currently located in the center of the object display area 406 is "Little A," therefore "Little A" can be identified as the target avatar, indicating that the virtual avatar currently interacting with the first virtual avatar 400 in a group photo is "Little A." Subsequently, in the virtual social scene displayed in the virtual shooting interface, the first virtual avatar 400 and the second virtual avatar 402 indicated by the target avatar are displayed.

[0098] In response to horizontal swipe gestures triggered in the virtual shooting interface (such as...) Figure 4As shown in Figure (a), specifically a swipe gesture pointing to the right side of the page, the display position of each icon can be updated based on the distance of the swipe gesture, thus changing the interface display as shown in Figure (a). Figure 4 As shown in Figure (b), multiple virtual characters, including "Little A," "Little B," and "Little C," are moved sequentially to the right. Since the character identifier currently located in the center of the object display area is "Little D," "Little D" can be identified as the target character identifier, indicating that the virtual character currently performing the photo-taking interaction with the first virtual character is "Little D." Subsequently, in the virtual social scene displayed in the virtual shooting interface, the first virtual character and the third virtual character 404 indicated by the target character identifier are displayed.

[0099] In another alternative implementation, after the above-mentioned response to the triggering operation of adding a control to the image in the virtual shooting interface, and displaying at least one image icon in the virtual shooting interface, further includes:

[0100] S1, in response to the drag operation on the candidate image icon, obtain the current position of the drag operation;

[0101] S2, based on the drag operation, display the candidate image icon at the current operation position;

[0102] S3, if the endpoint of the drag operation is located in the first release area, the candidate image icon is determined as the target image icon.

[0103] It is understood that in this embodiment, the target image icon can be determined from at least one image icon by dragging the candidate image icon to the first release area. Thus, the dragging operation of the image icon quickly determines the target image icon from multiple image icons, improving the efficiency of the target image icon determination process.

[0104] Furthermore, in an optional implementation, before obtaining the current position of the drag operation in response to the drag operation on the target image icon, the method further includes at least one of the following:

[0105] Method 1: Display the first operation prompt information in the virtual shooting interface to indicate the first release area;

[0106] Method 2: Display a second operation prompt in the virtual shooting interface to indicate the drag operation. The second operation prompt includes a reference drag trajectory and a reference drag icon dynamically displayed according to the reference drag trajectory.

[0107] Method 3: Display a third operation prompt in the virtual shooting interface to indicate the candidate display position, where the candidate display position is the display position of the second virtual image in the virtual social scene.

[0108] It is understood that in this embodiment, multiple elements can be displayed in the virtual shooting interface to provide prompts for the above-mentioned dragging operation. Specifically, this may include a first operation prompt message indicating the first release area, a second operation prompt message indicating the dragging operation, and a third operation prompt message indicating the candidate display position. It should be noted that the above prompt messages can be arbitrarily combined and displayed without affecting the display effect, and this embodiment does not limit the specific combination of the above operation prompt messages.

[0109] Through the above-described embodiments of this application, the operation mode of the dragging operation can be prompted by combining the first operation prompt information for indicating the first release area, the second operation prompt information for indicating the dragging operation, and the third operation prompt information for indicating the candidate display position in the virtual shooting interface, thereby improving the prompting efficiency of the dragging operation.

[0110] In one alternative implementation, the above-mentioned response to a triggering operation of adding a control to the image in the virtual shooting interface, displaying at least one image icon in the virtual shooting interface, includes:

[0111] S1, in response to the triggering operation of the image addition control in the virtual shooting interface, at least one operation control is de-displayed in the object display area of ​​the virtual shooting interface, wherein the at least one operation control includes an image addition control and a shooting control;

[0112] S2, Display at least one image logo in the object display area according to the target order.

[0113] It is understood that in this embodiment, when a trigger operation to add controls to the image in the virtual shooting interface is detected, the operation controls in the object display area can be hidden or displayed, while at least one image icon can be displayed in the object display area in the target order, thereby improving the display efficiency in the virtual shooting interface.

[0114] The following combination Figure 3 , Figure 5 , Figure 6 A specific implementation method will be described.

[0115] like Figure 3 In the virtual shooting interface 300 shown, in response to a trigger operation on the image addition control 310 in the object display area 312, the virtual shooting interface can switch to display as follows: Figure 5 As shown. First, in Figure 5In the object display area 500, the display of various operation controls is canceled. Simultaneously, multiple avatars, including a first avatar 502 and a second avatar 504, are displayed in the object display area 500. The first avatar 502 is displayed in a first style (transparent color), indicating that the first object account associated with the first virtual avatar is online. The second avatar 504 is displayed in a second style (grayscale), indicating that the second object account associated with the second virtual avatar is offline. Furthermore, in... Figure 5 The virtual shooting interface further displays several types of operation prompts, including a reference drag icon 514 to indicate dragging operations, a reference drag trajectory 512 to indicate the dragging direction, a first release area 508 to indicate the position corresponding to the drag endpoint, and a candidate display position 510 to indicate the display position of the selected target virtual image in the image. Optionally, the reference drag icon 514 can also dynamically slide along the direction indicated by the reference drag trajectory 512 to indicate that the target image can be determined by dragging.

[0116] Furthermore, after detecting the presence of Figure 5 When the second image identifier 504 is dragged, the second image identifier 504 is selected as the candidate image identifier, and the interface switches to display as follows. Figure 6 As shown, candidate image icons 600 can be displayed based on the real-time position of the drag operation. When the drag endpoint of the candidate image icon 600 is detected to be within the first release area, the candidate image icon is identified as the target image icon, and the interface switches accordingly. Figure 7 As shown, the virtual shooting interface displays the first virtual image 700 and the second virtual image 702 in the virtual scene.

[0117] In the above-described method of this application, the target image icon can be determined from at least one image icon by dragging the candidate image icon to the first release area. This allows for quick determination of the target image icon from multiple image icons through dragging operations, thus improving the efficiency of the target image icon determination process.

[0118] In an optional implementation, before generating the target media resource based on the virtual social scene and the first and second virtual avatars in the virtual social scene, the method further includes:

[0119] S1, in response to the triggering operation of the return control in the object display area, cancel the display of at least one icon in the object display area;

[0120] S2 restores the display of image addition controls and shooting controls in the object display area.

[0121] It is understood that in the above embodiments, in order to facilitate quick and easy selection of the target image icon and improve the display efficiency of the virtual shooting interface, the operation controls have been replaced with at least one image icon in the object display area. In this embodiment, in order to further complete subsequent operations, the display of the image icon in the object display area can be canceled and the display of the operation controls can be restored based on the trigger operation of the return control displayed in the object display area.

[0122] The following combination Figure 7 and Figure 8 The above-described embodiments will be explained. For example... Figure 7 As shown, when a second virtual avatar 702 is displayed in the virtual shooting interface based on the selected target avatar identifier, the virtual shooting interface can be switched in response to a trigger operation on the return control 704 in the object display area. Figure 8 As shown, in the object display area 800, the display of multiple image icons is canceled, while the display of various operation controls is restored, including the exit control 802 for exiting the shooting mode, the shooting control 808 for triggering the shooting operation, and the image addition control 806 for further adding virtual images.

[0123] Furthermore, it can respond to the Figure 8 The trigger operation of the shooting control 808 in the middle, the interface switching display is as follows Figure 9 As shown, a virtual shooting prop 900 and a virtual group photo taken using the virtual shooting prop 900, i.e., target media resource 902, can be displayed on the current display interface. The virtual group photo indicated by target media resource 902 includes a first virtual avatar and a second virtual avatar in a virtual social scene, wherein the second virtual avatar is a virtual avatar associated with an offline object account. In an optional implementation, in Figure 9 The interface shown can also display the process of the target media resource 902 (virtual group photo) being dynamically generated based on the virtual shooting prop 900. That is, it displays the dynamic process of the virtual group photo being slowly printed out by the virtual shooting prop 900 in virtual space, thereby enhancing the display effect of the virtual group photo generation process. Furthermore, Figure 9 The sharing interface shown further displays a sharing control 906 for sharing the target media resource and a save control 904 for saving the target media resource.

[0124] In one alternative implementation, before displaying at least one logo in the object display area in the target order, one of the following is included:

[0125] Method 1: Obtain the image intimacy between the first virtual avatar and at least one candidate virtual avatar indicated by at least one image icon, and determine the target order based on the image intimacy, wherein the image intimacy is determined based on the virtual social operation between the first virtual avatar and the candidate virtual avatar;

[0126] Method 2: Obtain the style matching degree corresponding to at least one candidate virtual character indicated by at least one image identifier, and determine the target order based on the style matching degree. The style matching degree is used to indicate the degree of matching between the image style of the candidate virtual character and the scene style of the virtual social scene.

[0127] Method 3: Obtain the image relationship type between the first virtual image and at least one candidate virtual image indicated by at least one image identifier, and determine the target order according to the image relationship type, wherein the image relationship type is the relationship type of the virtual social relationship pre-established between the first virtual image and the candidate virtual image.

[0128] It is understood that, in this embodiment, it is possible to use, for example... Figure 5 In the object display area 500 shown, multiple logos can be displayed in a certain order.

[0129] In the first method described above, avatar icons can be displayed sequentially based on their level of intimacy. In this embodiment, the intimacy level can reflect historical social interaction information between virtual avatars. This intimacy level may include, but is not limited to, the first historical record of virtual gift-giving between the first virtual avatar and the virtual avatar indicated by the avatar icon, the second historical record of virtual visits performed by the virtual avatar in the virtual social environment, and information such as account relationships and account session frequency between the corresponding accounts. In this embodiment, given the determined intimacy level of each avatar icon, the avatar icons of virtual avatars with higher intimacy levels can be prioritized for display in the object display area.

[0130] In the second method described above, the style of each virtual avatar indicated by its avatar can be obtained, along with the style matching degree between the avatar and the current virtual social environment. The avatars are then displayed sequentially based on their style matching degree. For example, if the virtual social environment is "seaside," the style matching degree of the avatar with a "vacation style" among the first virtual avatar's friends can be determined as the first matching degree, and the style matching degree of the avatar with a "party style" among the first virtual avatar's friends can be determined as the second matching degree. Obviously, the first matching degree can be higher than the second matching degree, thus prioritizing the display of the avatar with the "vacation style" style.

[0131] In the third method described above, the visual identifiers of virtual characters with specific relationships can be prioritized for display. For example, virtual characters with a virtual romantic relationship with the first virtual character are displayed as children in the first order; virtual characters with a virtual master-disciple relationship with the first virtual character are displayed as children in the second order; and virtual characters with a virtual neighbor relationship with the first virtual character are displayed as children in the third order. This achieves the goal of displaying visual identifiers of virtual characters with different relationships in the object display area according to different priorities.

[0132] Through the above embodiments of this application, the display priority of the image identifier corresponding to each virtual character can be determined by any of the three methods mentioned above, thereby facilitating the quick identification of the target image identifier of the second virtual character to be photographed from multiple virtual characters and improving the efficiency of target image identifier determination.

[0133] In an optional implementation, after determining the target avatar from at least one avatar, and displaying the second virtual avatar indicated by the target avatar in the virtual social scene, the method further includes:

[0134] S1, in response to a long press operation on the second virtual avatar in the virtual social scene, cancel the display of the second virtual avatar in the virtual social scene;

[0135] S2, Display the target image identifier for indicating the second virtual image at the operation position corresponding to the long press operation;

[0136] S3-1, In response to a drag operation on the target image logo, if the endpoint of the drag operation is located in the second release area, the target image logo is canceled from display;

[0137] S3-2, If the endpoint of the drag operation is not located in the second release area, restore the display of the second virtual avatar in the virtual social scene.

[0138] It is understandable that, in this embodiment, after determining the target image from multiple image icons and displaying the second virtual image in the virtual social scene, the selection of the second virtual image can be further deselected by dragging, that is, the display of the second virtual image in the virtual shooting interface can be canceled.

[0139] like Figure 10 As shown in Figure (a), when a long press operation on the second virtual avatar 1000 is detected, the interface switches to display as follows. Figure 10As shown in Figure (b), in the virtual social scene, the display of the second virtual avatar is canceled, while the target avatar icon 1002 is displayed at the location of the long-press operation. It can be understood that if the dragging endpoint of the target avatar icon 1002 is located at the second release area 1004, it can be confirmed that the display of the target avatar icon 1002 is canceled, and the interface further restores the display as shown in Figure (b). Figure 3 As shown; if the drag endpoint of the target image identifier 1002 is not located in the second release area 1004, the interface can be restored to its original display as shown. Figure 10 As shown in Figure (a).

[0140] Through the above-described embodiments of this application, in response to a long-press operation on the second virtual avatar in a virtual social scene, the display of the second virtual avatar in the virtual social scene is canceled; a target avatar identifier for indicating the second virtual avatar is displayed at the operation position corresponding to the long-press operation; in response to a drag operation on the target avatar identifier, when the end point of the drag operation is located in the second release area, the display of the target avatar identifier is canceled, thereby realizing flexible editing of the selected virtual avatar for group photos and improving the operation efficiency of interactive operations.

[0141] In one optional implementation, the above-mentioned method of displaying a second virtual avatar indicated by the target avatar in a virtual social scene when the target avatar is determined from at least one avatar avatar includes:

[0142] S1, Obtain the account operation status of the target account associated with the second virtual avatar;

[0143] S2, determine the first interactive action of the second virtual avatar based on the account operation status;

[0144] S3, in response to the editing operation on the second virtual avatar, updates and displays the second virtual avatar in the virtual social scene according to the editing operation.

[0145] In this embodiment, the second virtual avatar can be displayed based on the account operation status of the target account used to control the second virtual avatar. The aforementioned account operation status may include, but is not limited to, online status, offline status, and usage status in associated applications.

[0146] For example, if it is determined that the target account is not online in the current application, the first interactive action (taking a photo) of "standing still" can be performed on the second virtual avatar in the virtual shooting interface.

[0147] Furthermore, when the aforementioned account operation status includes account usage status within associated applications, the corresponding first interactive action can be determined based on the application type of the associated application. It should be noted that the associated application can be other applications authorized for login by the reference account based on its account identifier. For example, if the current application is application A, the associated application could be application B used by user 'a' within application A, where the user performs registration and login operations based on the same user identifier; for instance, application B used by user 'a' to log in based on user 'a's' identifier information.

[0148] Furthermore, if the associated application currently used by the target account is a music application and the music application is in playback mode, the first interactive action of the second virtual avatar target can be determined as "listening to music"; if the associated application currently used by the target account is a video application and the video application is in playback mode, the first interactive action of the second virtual avatar target can be determined as "watching TV / movie"; and if the associated application currently used by the target account is a game application and the target account is in the process of performing a game task, the first interactive action of the second virtual avatar target can be determined as "shooting / attacking".

[0149] Based on the first interactive action of the second virtual avatar displayed according to the aforementioned account operation status, the display of the second virtual avatar can be further updated based on editing operations performed on the second virtual avatar. This updated display may include, but is not limited to, updating the decorative elements of the second virtual avatar and updating the interactive actions of the second virtual avatar.

[0150] Through the above-described embodiments of this application, the initial actions of the second virtual character can be displayed in the virtual shooting interface according to the account operation status of the target account corresponding to the virtual character, thereby improving the interaction efficiency between virtual characters and between target accounts.

[0151] In one alternative implementation, the above-mentioned response to an editing operation on the second virtual avatar, updating the display of the second virtual avatar in the virtual social scene according to the editing operation, includes at least one of the following:

[0152] Method 1: If a first editing operation on the display position of the second virtual avatar is detected, the second virtual avatar is displayed at the updated display position;

[0153] It is understood that in this embodiment, the display position of the second virtual image can be moved in the virtual scene by dragging, thereby achieving fine adjustment of the virtual image's position in the group photo process;

[0154] Method 2: If a second editing operation is detected that interacts with the second virtual avatar, the second virtual avatar performing the second interactive action is displayed;

[0155] It is understood that, in this embodiment, the interactive actions of the second virtual avatar can be adjusted. In one specific adjustment method, in response to a first trigger operation on the second virtual avatar, multiple pre-configured interactive actions of the second virtual avatar can be displayed, such as a "heart" gesture, a "V" gesture, and a "jump" gesture. Then, in response to determining a second interactive action from the multiple interactive actions, the second virtual avatar performing the second interactive action is displayed in the virtual shooting interface. In another optional method, in response to a second trigger operation on the second virtual avatar, multiple pre-configured interactive expressions of the second virtual avatar can also be displayed, such as a "happy" expression and an "excited" expression. Then, in response to determining a target interactive expression from the multiple interactive expressions, the second virtual avatar displaying the target interactive expression is shown in the virtual shooting interface.

[0156] Method 3: If a third editing operation on the image style of the second virtual avatar is detected, the second virtual avatar with the updated image style is displayed.

[0157] It is understood that, in this embodiment, the appearance style of the second virtual avatar can be adjusted. In one specific adjustment method, in response to a third trigger operation on the second virtual avatar, various dressing elements currently held by the first virtual avatar can be displayed, such as virtual accessory elements, virtual clothing elements, virtual hairstyle elements, etc. Then, in response to determining the target dressing element from the various dressing elements currently held by the first virtual avatar, the current dressing elements of the second virtual avatar are adjusted, thereby displaying the second virtual avatar with the adjusted appearance style.

[0158] Through the above-described embodiments of this application, the display position, interactive actions, and style of the second virtual character can be further adjusted, thereby enhancing the interactive effect of the interactive operation between virtual characters.

[0159] In one alternative implementation, before displaying the first virtual avatar in the virtual social scene in the virtual shooting interface, one of the following is also included:

[0160] Method 1: When the first virtual avatar holds the first shooting prop, in response to the trigger operation of the first shooting prop, the virtual shooting interface of the first shooting prop is displayed according to the virtual social scene where the first virtual avatar is currently located; in response to controlling the movement of the first virtual avatar, the virtual social scene in the virtual shooting interface is updated and displayed according to the position of the avatar after the movement.

[0161] In the above embodiments, the virtual shooting interface can be displayed by triggering the first shooting prop held by the first virtual avatar. The first shooting prop can be a shooting prop obtained by the first virtual avatar in the virtual social environment by completing virtual social tasks, used to record virtual environment scenes, or it can be a shooting prop obtained by the first virtual avatar in the virtual social environment through virtual resource exchange. For example, it can include, but is not limited to, a virtual mobile phone, a virtual camera, etc.

[0162] It is understood that, in this embodiment, the first shooting prop can be a shooting prop held by the first virtual avatar, which can then capture different environmental scenes according to the movement of the first virtual avatar, and then update and display different virtual social scenes in the virtual shooting interface according to the movement of the first virtual avatar.

[0163] Method 2: If the virtual scene where the first virtual avatar is currently located includes the second shooting prop, in response to the viewing operation of the second shooting prop, the virtual shooting interface of the second shooting prop is displayed according to the virtual social scene currently captured by the second shooting prop; in response to controlling the movement of the first virtual avatar, the first virtual avatar in a moving state is displayed in the virtual social scene in the virtual shooting interface.

[0164] In the above embodiments, a second shooting prop can be pre-configured at the target location in the virtual social environment, and then the virtual shooting interface can be displayed when the first virtual image is controlled to move to the second shooting prop and a trigger operation on the second shooting prop is detected.

[0165] Furthermore, since the second shooting prop can be a shooting prop fixed in a virtual position, the virtual social scene displayed in its corresponding virtual shooting interface is a fixed virtual scene. The content displayed in the virtual shooting interface can be changed by controlling the movement of the first virtual image in the virtual scene.

[0166] In an optional implementation, after the above-mentioned response to the triggering operation of adding a control to the image in the virtual shooting interface, and displaying at least one image icon in the virtual shooting interface, further includes:

[0167] S1, if a reference image identifier is determined from at least one image identifier, an interactive prompt message is sent to the reference account, wherein the reference image identifier is used to indicate the virtual image associated with the reference account that is online.

[0168] S2-1, Upon receiving confirmation of the interaction prompt from the reference account, the third virtual avatar is displayed in the virtual social scene as it moves to the reference display position associated with the first virtual avatar, wherein the third virtual avatar is the virtual avatar indicated by the reference avatar identifier;

[0169] S2-2, upon receiving a rejection message from the reference account regarding the interactive prompt, display feedback prompts indicating the rejection message from the reference account.

[0170] It is understood that, in this embodiment, when the selected virtual avatar is a third virtual avatar associated with an online reference account, during the process of controlling the first virtual avatar and the third virtual avatar to perform a photo interaction, real-time feedback from the reference account can be obtained to determine whether the photo interaction between the virtual avatars has been completed.

[0171] For example in Figure 5 In the interface shown, when the selected avatar is the first avatar 502 (the highlighted avatar indicates that the corresponding reference account is online), an interactive prompt message can be sent from the current account to the reference account to instruct on a group photo interaction. Since the reference account is online, the system can determine whether to trigger subsequent group photo interaction operations based on the reference account's real-time feedback.

[0172] Upon receiving confirmation from the reference account, you can, as follows: Figure 11 The virtual shooting interface 1100 shows the third virtual avatar 1106 associated with the reference account gradually entering the virtual social environment 1102, and then completing the group photo interaction operation between the first virtual avatar 1104 and the third virtual avatar 1106 according to the subsequent shooting operation.

[0173] If the operation is rejected by the reference account, such as Figure 12 As shown, the virtual shooting interface 1200 can display feedback message 1202 "Sorry, the other party has rejected your photo request!" which then indicates that the reference account has rejected the photo interaction operation.

[0174] Through the above-described embodiments of this application, when a reference image identifier is determined from at least one image identifier, an interactive prompt message is sent to a reference account. Upon receiving confirmation of the interactive prompt message from the reference account, a third virtual image is displayed in the virtual social scene, moving to a reference display position associated with the first virtual image. Upon receiving rejection of the interactive prompt message from the reference account, feedback prompt message indicating the rejection is displayed. Thus, by adding identifiers and sending real-time conversation information, a photo-taking interaction operation between virtual images of online accounts is realized, improving the efficiency of virtual image interaction.

[0175] In an optional implementation, after generating the target media resource based on the virtual social scene and the first and second virtual avatars in the virtual social scene in response to the triggering operation of the shooting control in the virtual shooting interface, the method further includes:

[0176] S1, Display the target media resource in the resource sharing interface;

[0177] S2-1, Upon detecting a trigger operation on the first sharing control in the resource sharing interface, the target media resource is displayed in the social sharing interface associated with the current account. The resource sharing interface is used to display media resources shared by the current account and object accounts that have an account association relationship with the current account.

[0178] It is understood that, in this embodiment, the target media resource can be shared to the social sharing interface for display through the triggering operation of the first sharing control in the aforementioned resource sharing interface. The aforementioned social sharing interface is used to display media resources shared by each account with an account association relationship, including text resources, image resources, video resources, audio resources, etc. It is understood that the media resources shared by each of the aforementioned account groups can be displayed in the form of an information stream in the aforementioned social sharing interface.

[0179] S2-2, when a trigger operation on the second sharing control in the resource sharing interface is detected, and the target account is determined from the object accounts that have an account association relationship with the current account, the target media resource sent to the target account is displayed in the conversation window between the current account and the target account.

[0180] It is understood that in this embodiment, the target media resource can be shared to the chat window between the target account and the target account through the triggering operation of the second sharing control in the resource sharing interface, and then the product of the photo interaction, namely the target media resource, can be quickly shared to other object accounts in the form of instant chat.

[0181] S2-3, upon detecting a trigger operation on the third sharing control in the resource sharing interface, add target event information to the target event set according to the target media resource. The target event set is used to record the interaction events of the first virtual avatar and the second virtual avatar in the virtual social scene.

[0182] It is understood that, in this embodiment, the target media resource can be added to the target event set through the triggering operation of the third sharing control in the resource sharing interface. For example, if the first virtual avatar and the second virtual avatar are virtual avatars with a virtual romantic relationship, the target media resource can be added to the target event set used to share and record the interaction events between the first virtual avatar and the second virtual avatar. Specifically, the target event set can be recorded in the form of a "virtual diary," and when the target virtual resource is generated, the target media resource can be displayed in the "virtual diary."

[0183] Through the above-described embodiments of this application, when a target media resource is generated, it can be recorded or shared in the social sharing interface, the conversation window between target accounts, or the "virtual notepad" associated with two virtual avatars, depending on the operation of different sharing controls, thereby enhancing the richness of further interactive operations performed on the interactive product based on the group photo interaction.

[0184] In one optional implementation, before determining the target account from object accounts associated with the current account, the process includes:

[0185] S1, in response to the triggering operation of the second sharing control in the resource sharing interface, the account selection interface is displayed, wherein the account selection interface includes at least one account identifier, the account identifier is used to indicate the object account that has an account association relationship with the current account;

[0186] S2, Display the target account's identifier in the first position on the account selection screen;

[0187] S3, in the account selection interface, after the first position, displays multiple account identifiers in order of account relevance. The account relevance indicates the frequency of historical interaction operations between the target account and the current account.

[0188] It is understood that, in this embodiment, during the process of selecting the account session window of the target account to be shared, the account identifier of the target account can be prioritized for display in the account selection interface, and then the account identifiers of each target account can be displayed sequentially according to the historical interaction operations between each target account and the current account. It should be noted that the historical interaction operations may include, but are not limited to, instant conversation operations, sharing operations for media resources, and conversation operations occurring over multiple consecutive days. Therefore, based on the frequency of instant conversations, the sharing frequency of media resources, and the operation frequency of conversation operations over multiple consecutive days, the account correlation can be determined, and the display order of each account identifier in the account selection interface can be determined based on the account correlation.

[0189] Through the above-described embodiments of this application, in response to the triggering operation of the second sharing control in the resource sharing interface, an account selection interface is displayed; the account identifier of the target account is displayed in the first sequential position of the account selection interface; and multiple account identifiers are displayed in the order of account association after the first sequential position of the account selection interface. Thus, when a photo-taking interaction occurs between the first virtual avatar controlled by the current account and the second virtual avatar associated with the target account, the target media resource sends a session message to the offline target account based on the result of the photo-taking interaction, thereby prompting the target account to know the interaction result between the virtual avatars when online, improving the sharing efficiency of the interaction result between the virtual avatars.

[0190] In an optional implementation, after displaying the target media resource sent to the target account in the session window between the current account and the target account, the method further includes:

[0191] S1, Upon receiving reference media resources sent by the reference account, the reference media resources are displayed in the session window between the current account and the reference account. The reference media resources are used to indicate the fourth virtual avatar and the first virtual avatar in the reference virtual scene. The fourth virtual avatar is a virtual avatar associated with the reference account.

[0192] S2, in response to a triggering operation on a reference media resource, obtains a scene link used to indicate the reference virtual scene;

[0193] S3-1, When the reference account is currently offline, display the reference virtual scene according to the scene link, and display the first virtual image in the reference virtual scene;

[0194] S3-2, if the reference account is currently online, display the reference virtual scene according to the scene link, and display the first virtual image and the fourth virtual image in the reference virtual scene.

[0195] It is understood that, in this embodiment, when the current account is offline, and the fourth virtual avatar associated with the reference account has engaged in a photo-taking interaction with the first virtual avatar associated with the current account through the aforementioned method, the reference account can send the target photo obtained from the aforementioned photo-taking interaction to the current account. Furthermore, when the current account is online, the target photo can be displayed in the conversation window between the current account and the reference account.

[0196] Furthermore, in response to the triggering operation of the aforementioned target group photo, if the reference account is online, it can be determined that the first virtual image and the fourth virtual image are displayed in the reference virtual scene indicated by the target group photo; if the reference account is offline, it can be determined that the first virtual image is displayed in the reference virtual scene indicated by the target group photo.

[0197] The following combination Figure 9 and Figure 13 The above-described embodiments will be explained. Figure 9 In the resource sharing interface shown, in response to the trigger operation of the sharing control 906, if the target account is selected from the account identifier list, the target media resource can be sent to the target account, and the interface will then switch to display as shown. Figure 13 As shown. In the target session window 1300 between the current account and the target account, the target media resource 1302 sent by the current account to the target account and the target prompt message 1304 "We took a group photo in the woods, come and see!" are displayed.

[0198] Understandably, when the target account logs in through the target client and receives the aforementioned target media resources in the target session window, the session window interface can be switched to display the target media resources displayed in the session window in response to the triggered operation. Figure 14 As shown, in a virtual social scenario, the first virtual avatar associated with the current account and the second virtual avatar associated with the target account are displayed.

[0199] The following combination Figure 15 A complete implementation of this application will be described.

[0200] First, as with the S1500, a virtual shooting interface is displayed;

[0201] like Figure 3 As shown, the virtual shooting interface can display operation controls including shooting control 308 and image addition control 310.

[0202] Next, execute S1502 and S1504, click the add friend control; retrieve the avatar friend relationship information; and execute S1506 to determine if there is a friend avatar; if the first virtual avatar does not have a friend avatar, execute S1506-1, prompting that there are no friends to add at the moment; if there is a friend avatar, execute S1508 to display the friend avatar identifier list.

[0203] Specifically, upon detection Figure 3 The image shown illustrates the trigger operation of control 310, which first retrieves the list of friend accounts for the current account. If the retrieved friend account list is empty, the interface can display something like... Figure 16 As shown, message 1600 is displayed: "No friends can be added at the moment!"; if the retrieved friend list is not empty, the interface displays as follows. Figure 5 As shown, various operation prompts are displayed in the virtual shooting interface.

[0204] Further, S1510, drag and drop the friend's avatar icon to the target location; S1512, display the corresponding virtual friend avatar;

[0205] Specifically, such as Figure 6 As shown, when the interface detects that the candidate image icon 600 has been dragged to the target position, it displays the following: Figure 7 As shown, the first virtual avatar 700 and the second virtual avatar 702 are displayed simultaneously in the virtual social environment of the virtual shooting interface.

[0206] Next, execute S1514 and click "Close"; and S1516, which displays the camera interface.

[0207] Specifically, upon detecting the Figure 7 The trigger operation of the 704 return control in the middle, the interface displays as follows Figure 8 As shown. It is understandable that, in response to the triggering operation of the shooting control 808, the interface can further switch the display as shown. Figure 9 As shown, the target media resource 902 (i.e., a photo of the first virtual image and the second virtual image) captured by the camera is displayed in the interface.

[0208] In another alternative implementation, it is possible to Figure 7 In the interface shown, in response to the drag operation of the avatar "Little A", multiple virtual avatars to be photographed are further displayed on the current screen, and the interface then displays as follows. Figure 17 As shown, the virtual shooting interface displays the first virtual avatar 1700, the second virtual avatar 1702, and the third virtual avatar 1704.

[0209] The following combination Figure 18The timing diagram shown illustrates one specific implementation method.

[0210] For example, in step S1802, the client detects that the user clicked the "Add Virtual Avatar" button;

[0211] The client executes S1804, requesting the backend to determine if there are any virtual avatars of friends;

[0212] If S1804-1 is executed in the background and returns no friends, the client will execute S1804-2 and display a message indicating that no friends can be added at the moment; if S1804-3 is executed in the background and returns that there are friends, the client will execute S1804-4 and display the friend list.

[0213] The client detected that the user executed S1806 and dragged the icon to the target location;

[0214] The client executes S1808 to request a friend's virtual avatar from the backend;

[0215] S1810 is executed in the background to return the virtual avatar of a friend to the client.

[0216] The client detects that the user has executed S1812 and clicked the close button; it then executes S1814 to restore the camera interface.

[0217] Understandably, in the above implementation, the client can activate the camera function in response to the user clicking the camera button. When a user wants to take a photo with a friend's virtual avatar in the same frame, they can click the "Add Photo Friend" button, which will bring up the user's friend list. At this time, a guide position will appear in the scene, guiding the user to drag it to a specific position. Once the dragged friend's avatar is detected to be in the scene position, releasing the button will complete the placement of the friend's avatar in the scene, forming a natural standing position. Then, the photo can continue to be taken, thus merging the offline friend's avatar and the online friend into one photo to obtain the desired group photo.

[0218] Through the above-described embodiments of this application, if multiple virtual avatars need to be photographed in a virtual scene, this solution allows virtual avatars to be photographed together with the virtual avatars of offline friends, solving the problem that offline friends' avatars cannot be photographed together. It reduces the high-threshold and time-consuming process of communicating with friends before taking photos and then logging in to complete the photo-taking process, making the entire photo-taking process more lightweight and improving the operational efficiency of interactive photo-taking operations between virtual avatars.

[0219] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that the present invention is not limited to the described order of actions, because according to the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to the present invention.

[0220] According to another aspect of the present invention, an interaction device between virtual characters is also provided for implementing the above-described method for interaction between virtual characters. For example... Figure 19 As shown, the device includes:

[0221] The first display unit 1902 is used to display a first virtual image in a virtual social scene in a virtual shooting interface, wherein the first virtual image is a virtual image associated with the current account;

[0222] The second display unit 1904 is used to display at least one image icon in the virtual shooting interface in response to a trigger operation of the image addition control in the virtual shooting interface.

[0223] The third display unit 1906 is used to display a second virtual image indicated by the target image in the virtual social scene when a target image is determined from at least one of the above-mentioned image icons, wherein the target image is used to indicate a virtual image associated with a target account in an offline state.

[0224] The generation unit 1908 is used to generate target media resources in response to the triggering operation of the shooting control in the virtual shooting interface, based on the virtual social scene and the first virtual image and the second virtual image in the virtual social scene.

[0225] Optionally, the interaction device between the virtual characters further includes: a determining unit, configured to obtain the current operation position of the drag operation in response to the drag operation of the candidate character identifier; display the candidate character identifier at the current operation position according to the drag operation; and determine the candidate character identifier as the target character identifier when the operation endpoint of the drag operation is located in the first release area.

[0226] Optionally, the interaction device between the aforementioned virtual avatars further includes a fourth display unit, configured to: display a first operation prompt message in the virtual shooting interface to indicate the first release area; display a second operation prompt message in the virtual shooting interface to indicate the dragging operation, wherein the second operation prompt message includes a reference dragging trajectory and a reference dragging icon dynamically displayed according to the reference dragging trajectory; and display a third operation prompt message in the virtual shooting interface to indicate a candidate display position, wherein the candidate display position is the display position where the second virtual avatar is displayed in the virtual social scene.

[0227] Optionally, the second display unit includes: a first display module, configured to de-display at least one operation control in the object display area of ​​the virtual shooting interface in response to a trigger operation on the image addition control in the virtual shooting interface, wherein the at least one operation control includes the image addition control and the shooting control; and a second display module, configured to display at least one image icon in the object display area in a target order.

[0228] Optionally, the second display unit 1904 further includes: a third display module, configured to cancel the display of at least one of the image icons in the object display area in response to a trigger operation on the return control in the object display area; and a fourth display module, configured to restore the display of the image addition control and the shooting control in the object display area.

[0229] Optionally, the second display module is configured to: obtain the image intimacy between the first virtual image and at least one candidate virtual image indicated by at least one image identifier, and determine the target order based on the image intimacy, wherein the image intimacy is determined based on the virtual social operation between the first virtual image and the candidate virtual image; obtain the style matching degree corresponding to each of the at least one candidate virtual image indicated by at least one image identifier, and determine the target order based on the style matching degree, wherein the style matching degree is used to indicate the degree of matching between the image style of the candidate virtual image and the scene style of the virtual social scene; obtain the image relationship type between the first virtual image and at least one candidate virtual image indicated by at least one image identifier, and determine the target order based on the image relationship type, wherein the image relationship type is the relationship type of the virtual social relationship pre-established between the first virtual image and the candidate virtual image.

[0230] Optionally, the interaction device between the aforementioned virtual characters further includes: a fifth display unit, configured to, in response to a long-press operation on the second virtual character in the aforementioned virtual social scene, cancel the display of the second virtual character in the aforementioned virtual social scene; display the target character identifier for indicating the second virtual character at the operation position corresponding to the long-press operation; in response to a drag operation on the target character identifier, cancel the display of the target character identifier if the end point of the drag operation is located in the second release area; and restore the display of the second virtual character in the aforementioned virtual social scene if the end point of the drag operation is not located in the second release area.

[0231] Optionally, the third display unit 1906 is configured to: obtain the account operation status of the target account associated with the second virtual avatar; determine the first interactive action of the second virtual avatar based on the account operation status; and update and display the second virtual avatar in the virtual social scene in response to the editing operation of the second virtual avatar.

[0232] Optionally, the third display unit 1906 is configured to: display the second virtual avatar at the updated display position when a first editing operation on the display position of the second virtual avatar is detected; display the second virtual avatar performing the second interactive action when a second editing operation on the interactive action of the second virtual avatar is detected; and display the second virtual avatar with the updated image style when a third editing operation on the image style of the second virtual avatar is detected.

[0233] Optionally, the interaction device between the aforementioned virtual avatars further includes one of the following: a first shooting unit, configured to, when the first virtual avatar holds a first shooting prop, in response to a trigger operation on the first shooting prop, display the virtual shooting interface of the first shooting prop according to the virtual social scene currently in which the first virtual avatar is located; and in response to controlling the movement of the first virtual avatar, update the display of the virtual social scene in the virtual shooting interface according to the moved avatar position; a second shooting unit, configured to, when the virtual scene currently in which the first virtual avatar is located includes a second shooting prop, in response to a viewing operation on the second shooting prop, display the virtual shooting interface of the second shooting prop according to the virtual social scene currently captured by the second shooting prop; and in response to controlling the movement of the first virtual avatar, display the first virtual avatar in a moving state in the virtual social scene in the virtual shooting interface.

[0234] Optionally, the generation unit 1908 is used for at least one of the following: generating event description text based on the virtual social scene and the first virtual image and the second virtual image in the virtual social scene; generating a target image based on the virtual social scene and the first virtual image and the second virtual image in the virtual social scene; and generating a target video based on multiple frames of virtual images captured from the virtual social scene and the first virtual image and the second virtual image in the virtual social scene.

[0235] Optionally, the interaction device between the aforementioned virtual avatars further includes: a sixth display unit, configured to send an interaction prompt message to a reference account when a reference avatar identifier is determined from at least one of the aforementioned avatar identifiers, wherein the reference avatar identifier is used to indicate the virtual avatar associated with the reference account that is online; upon receiving a confirmation operation from the reference account regarding the interaction prompt message, displaying a third virtual avatar moving to a reference display position associated with the first virtual avatar in the aforementioned virtual social scene, wherein the third virtual avatar is the virtual avatar indicated by the reference avatar identifier; and upon receiving a rejection operation from the reference account regarding the interaction prompt message, displaying feedback prompt message indicating the rejection operation by the reference account.

[0236] Optionally, the sixth display unit is further configured to: display the target media resource in a resource sharing interface; upon detecting a trigger operation on the first sharing control in the resource sharing interface, display the target media resource in a social sharing interface associated with the current account, wherein the resource sharing interface is configured to display media resources shared by the current account and object accounts that have an account association relationship with the current account; upon detecting a trigger operation on the second sharing control in the resource sharing interface, and determining the target account from object accounts that have an account association relationship with the current account, display the target media resource sent to the target account in a conversation window between the current account and the target account; upon detecting a trigger operation on the third sharing control in the resource sharing interface, add target event information to the target event set according to the target media resource, wherein the target event set is configured to record interaction events between the first virtual avatar and the second virtual avatar in the virtual social scene.

[0237] Optionally, the sixth display unit is configured to: display an account selection interface in response to a trigger operation of the second sharing control in the resource sharing interface, wherein the account selection interface includes at least one account identifier, the account identifier being used to indicate an object account that has an account association relationship with the current account; display the account identifier of the target account at a first sequential position in the account selection interface; and display multiple account identifiers in order of account association degree after the first sequential position in the account selection interface, wherein the account association degree is used to indicate the operation frequency of historical interaction operations between the object account and the current account.

[0238] Optionally, the sixth display unit is further configured to: upon receiving reference media resources sent by the reference account, display the reference media resources in a session window between the current account and the reference account, wherein the reference media resources are used to indicate a fourth virtual avatar and a first virtual avatar in a reference virtual scene, and the fourth virtual avatar is a virtual avatar associated with the reference account; in response to a triggering operation on the reference media resources, obtain a scene link for indicating the reference virtual scene; if the reference account is currently offline, display the reference virtual scene according to the scene link and display the first virtual avatar in the reference virtual scene; if the reference account is currently online, display the reference virtual scene according to the scene link and display the first virtual avatar and the fourth virtual avatar in the reference virtual scene.

[0239] Optionally, in this embodiment, the implementation of each of the above-mentioned unit modules can be referred to the above-mentioned method embodiments, which will not be repeated here.

[0240] According to another aspect of the present invention, an electronic device for implementing the above-described method for interaction between virtual avatars is also provided. This electronic device may be... Figure 20 The terminal device or server shown. This embodiment uses this electronic device as an example for illustration. Figure 20 As shown, the electronic device includes a memory 2002 and a processor 2004. The memory 2002 stores a computer program, and the processor 2004 is configured to execute the steps in any of the above method embodiments via the computer program.

[0241] Optionally, in this embodiment, the aforementioned electronic device may be located in at least one of a plurality of network devices in a computer network.

[0242] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:

[0243] S1, Display the first virtual avatar in the virtual social scene in the virtual shooting interface, wherein the first virtual avatar is a virtual avatar associated with the current account;

[0244] S2, in response to the triggering operation of adding a control to the image in the virtual shooting interface, display at least one image icon in the virtual shooting interface;

[0245] S3, if a target image identifier is determined from at least one of the above-mentioned image identifiers, a second virtual image indicated by the target image identifier is displayed in the above-mentioned virtual social scene, wherein the target image identifier is used to indicate the virtual image associated with the target account in an offline state;

[0246] S4, in response to the triggering operation of the shooting control in the virtual shooting interface, generate target media resources based on the virtual social scene and the first virtual image and the second virtual image in the virtual social scene.

[0247] Alternatively, as those skilled in the art will understand, Figure 20 The structure shown is for illustrative purposes only. Electronic devices can also be smartphones (such as Android phones, iOS phones, etc.), tablets, PDAs, mobile internet devices (MIDs), PADs, and other terminal devices. Figure 20 This does not limit the structure of the aforementioned electronic devices or electronic equipment. For example, electronic devices or electronic equipment may also include components that are more... Figure 20 The more or fewer components shown (such as network interfaces, etc.), or having the same Figure 20 The different configurations shown.

[0248] The memory 2002 can be used to store software programs and modules, such as the program instructions / modules corresponding to the interaction method and device between virtual characters in this embodiment of the invention. The processor 2004 executes various functional applications and data processing by running the software programs and modules stored in the memory 2002, thereby realizing the aforementioned interaction method between virtual characters. The memory 2002 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 2002 may further include memory remotely located relative to the processor 2004, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Specifically, the memory 2002 may be used, but is not limited to, to store information such as various elements in the scene screen and interaction information between virtual characters. As an example, such as... Figure 20 As shown, the memory 2002 may include, but is not limited to, the first display unit 1902, the second display unit 1904, the third display unit 1906, and the generation unit 1908 in the interaction device between the virtual characters. Furthermore, it may include, but is not limited to, other module units in the interaction device between the virtual characters, which will not be described further in this example.

[0249] Optionally, the aforementioned transmission device 2006 is used to receive or send data via a network. Specific examples of the network may include wired and wireless networks. In one example, the transmission device 2006 includes a Network Interface Controller (NIC), which can be connected to other network devices and a router via a network cable to communicate with the Internet or a local area network. In another example, the transmission device 2006 is a Radio Frequency (RF) module used for wireless communication with the Internet.

[0250] In addition, the aforementioned electronic device also includes: a display 2008 for displaying virtual scenes in the interface; and a connection bus 2010 for connecting various module components in the aforementioned electronic device.

[0251] In other embodiments, the aforementioned terminal device or server can be a node in a distributed system, wherein the distributed system can be a blockchain system, which is a distributed system formed by connecting multiple nodes through network communication. The nodes can form a peer-to-peer network, and any form of computing device, such as a server, terminal, or other electronic device, can become a node in the blockchain system by joining this peer-to-peer network.

[0252] According to one aspect of this application, a computer program product is provided, comprising a computer program / instructions containing program code for performing the methods shown in the flowchart. In such embodiments, the computer program can be downloaded and installed from a network via a communication component, and / or installed from a removable medium. When the computer program is executed by a central processing unit, it performs various functions provided in embodiments of this application.

[0253] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0254] According to one aspect of this application, a computer-readable storage medium is provided, wherein a processor of a computer device reads computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, causing the computer device to perform the aforementioned method for interaction between virtual avatars.

[0255] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:

[0256] S1, Display the first virtual avatar in the virtual social scene in the virtual shooting interface, wherein the first virtual avatar is a virtual avatar associated with the current account;

[0257] S2, in response to the triggering operation of adding a control to the image in the virtual shooting interface, display at least one image icon in the virtual shooting interface;

[0258] S3, if a target image identifier is determined from at least one of the above-mentioned image identifiers, a second virtual image indicated by the target image identifier is displayed in the above-mentioned virtual social scene, wherein the target image identifier is used to indicate the virtual image associated with the target account in an offline state;

[0259] S4, in response to the triggering operation of the shooting control in the virtual shooting interface, generate target media resources based on the virtual social scene and the first virtual image and the second virtual image in the virtual social scene.

[0260] Optionally, in this embodiment, those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0261] If the integrated units in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in the aforementioned computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention.

[0262] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0263] In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection between units or modules, and may be electrical or other forms.

[0264] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0265] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0266] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A method for interaction between virtual characters, characterized in that, include: The virtual shooting interface displays the first virtual avatar in a virtual social scene, wherein the first virtual avatar is a virtual avatar associated with the current account; In response to a triggering operation of adding a control to the image in the virtual shooting interface, at least one image icon is displayed in the virtual shooting interface; If a target avatar is determined from at least one of the avatars, a second virtual avatar indicated by the target avatar is displayed in the virtual social scene, wherein the target avatar is used to indicate a virtual avatar associated with a target account that is offline. In response to a trigger operation on the shooting control in the virtual shooting interface, a target media resource is generated based on the virtual social scene and the first virtual avatar and the second virtual avatar in the virtual social scene.

2. The method according to claim 1, characterized in that, The response to the triggering operation of adding a control to the image in the virtual shooting interface, after displaying at least one image icon in the virtual shooting interface, further includes: In response to a drag operation on a candidate image icon, the current position of the drag operation is obtained; Based on the drag operation, the candidate image icon is displayed at the current operation position; If the endpoint of the drag operation is located in the first release area, the candidate image identifier is determined as the target image identifier.

3. The method according to claim 2, characterized in that, Before obtaining the current position of the drag operation in response to a drag operation on a candidate image identifier, the method further includes at least one of the following: The virtual shooting interface displays a first operation prompt message to indicate the first release area; The virtual shooting interface displays a second operation prompt message to indicate the drag operation, wherein the second operation prompt message includes a reference drag trajectory and a reference drag icon dynamically displayed according to the reference drag trajectory; The virtual shooting interface displays a third operation prompt message to indicate the candidate display position, wherein the candidate display position is the display position where the second virtual image is displayed in the virtual social scene.

4. The method according to claim 2, characterized in that, The step of displaying at least one image icon in the virtual shooting interface in response to a triggered operation of adding an image control to the virtual shooting interface includes: In response to a triggering operation on the image addition control in the virtual shooting interface, at least one operation control is de-displayed in the object display area of ​​the virtual shooting interface, wherein the at least one operation control includes the image addition control and the shooting control; at least one image icon is displayed in the object display area in target order.

5. The method according to claim 4, characterized in that, Before generating the target media resource based on the virtual social scene and the first and second virtual avatars in the virtual social scene, the method further includes: In response to a trigger operation on the return control in the object display area, at least one of the image icons in the object display area is de-displayed; The image addition control and the shooting control are restored to the display area of ​​the object.

6. The method according to claim 4, characterized in that, Before displaying at least one of the image logos in the object display area in the target order, one of the following is included: The image intimacy between the first virtual avatar and at least one candidate virtual avatar indicated by at least one of the image identifiers is obtained, and the target order is determined based on the image intimacy, wherein the image intimacy is determined based on the virtual social operation between the first virtual avatar and the candidate virtual avatar; Obtain the style matching degree corresponding to at least one of the candidate virtual images indicated by at least one of the image identifiers respectively, and determine the target order based on the style matching degree, wherein the style matching degree is used to indicate the degree of matching between the image style of the candidate virtual image and the scene style of the virtual social scene; Obtain the image relationship type between the first virtual image and at least one candidate virtual image indicated by at least one image identifier, and determine the target order based on the image relationship type, wherein the image relationship type is the relationship type of the virtual social relationship pre-established between the first virtual image and the candidate virtual image.

7. The method according to claim 2, characterized in that, After determining the target image identifier from at least one of the image identifiers, and displaying the second virtual image indicated by the target image identifier in the virtual social scene, the method further includes: In response to a long press operation on the second virtual avatar in the virtual social scene, the display of the second virtual avatar in the virtual social scene is canceled; The target image identifier, used to indicate the second virtual image, is displayed at the operation position corresponding to the long press operation; In response to a drag operation on the target image icon, if the endpoint of the drag operation is located in the second release area, the display of the target image icon is canceled. If the endpoint of the drag operation is not located in the second release area, the second virtual avatar is restored and displayed in the virtual social scene.

8. The method according to claim 2, characterized in that, When a target image identifier is determined from at least one of the image identifiers, displaying the second virtual image indicated by the target image identifier in the virtual social scene includes: Obtain the account operation status of the target account associated with the second virtual avatar; The first interactive action of the second virtual avatar is determined based on the account operation status. In response to an editing operation on the second virtual avatar, the second virtual avatar is updated and displayed in the virtual social scene according to the editing operation.

9. The method according to claim 8, characterized in that, The response to an editing operation on the second virtual avatar, updating the display of the second virtual avatar in the virtual social scene according to the editing operation, includes at least one of the following: If a first editing operation on the display position of the second virtual avatar is detected, the second virtual avatar is displayed at the updated display position; If a second editing operation is detected that interacts with the second virtual avatar, the second virtual avatar performing the second interactive action is displayed; If a third editing operation on the image style of the second virtual avatar is detected, the second virtual avatar with the updated image style is displayed.

10. The method according to claim 1, characterized in that, Before displaying the first virtual avatar in the virtual social scene in the virtual shooting interface, it also includes one of the following: When the first virtual avatar holds the first shooting prop, in response to the triggering operation of the first shooting prop, the virtual shooting interface of the first shooting prop is displayed according to the virtual social scene in which the first virtual avatar is currently located; In response to controlling the movement of the first virtual avatar, the virtual social scene in the virtual shooting interface is updated and displayed according to the position of the avatar after movement; If the virtual scene in which the first virtual avatar is currently located includes a second shooting prop, in response to the viewing operation of the second shooting prop, the virtual shooting interface of the second shooting prop is displayed according to the virtual social scene currently captured by the second shooting prop; In response to controlling the movement of the first virtual avatar, the first virtual avatar in motion is displayed in the virtual social scene of the virtual shooting interface.

11. The method according to claim 1, characterized in that, The step of generating target media resources in response to a trigger operation of the shooting control in the virtual shooting interface, based on the virtual social scene and the first virtual avatar and the second virtual avatar in the virtual social scene, includes at least one of the following: Based on the virtual social scenario, and the first virtual avatar and the second virtual avatar in the virtual social scenario, an event description text is generated; A target image is generated based on the virtual social scene and the first and second virtual avatars in the virtual social scene; A target video is generated based on multiple frames of virtual images captured from the virtual social scene and the first and second virtual avatars in the virtual social scene.

12. The method according to claim 1, characterized in that, The response to the triggering operation of adding a control to the image in the virtual shooting interface, after displaying at least one image icon in the virtual shooting interface, further includes: If a reference image identifier is determined from at least one of the image identifiers, an interactive prompt message is sent to the reference account, wherein the reference image identifier is used to indicate the virtual image associated with the reference account that is online; Upon receiving confirmation of the interactive prompt information from the reference account, a third virtual avatar is displayed in the virtual social scene, moving to a reference display position associated with the first virtual avatar, wherein the third virtual avatar is the virtual avatar indicated by the reference avatar identifier; Upon receiving a rejection operation from the reference account regarding the interactive prompt information, a feedback prompt message is displayed to indicate the rejection operation by the reference account.

13. The method according to claim 1, characterized in that, After generating target media resources based on the virtual social scene and the first and second virtual avatars in the virtual social scene in response to a trigger operation of the shooting control in the virtual shooting interface, the method further includes: The target media resource is displayed in the resource sharing interface; Upon detecting a trigger operation on the first sharing control in the resource sharing interface, the target media resource is displayed in the social sharing interface associated with the current account, wherein the resource sharing interface is used to display media resources shared by the current account and object accounts that have an account association relationship with the current account; If a trigger operation on the second sharing control in the resource sharing interface is detected, and the target account is determined from the object accounts that have an account association relationship with the current account, the target media resource sent to the target account is displayed in the session window between the current account and the target account. Upon detecting a trigger operation on the third sharing control in the resource sharing interface, target event information is added to the target event set according to the target media resource. The target event set is used to record the interaction events between the first virtual avatar and the second virtual avatar in the virtual social scene.

14. The method according to claim 13, characterized in that, Before determining the target account from the object accounts that have an account association relationship with the current account, the process includes: In response to a triggering operation of the second sharing control in the resource sharing interface, an account selection interface is displayed, wherein the account selection interface includes at least one account identifier, the account identifier being used to indicate an object account that has the account association relationship with the current account; The account identifier of the target account is displayed in the first sequential position in the account selection interface; In the account selection interface, after the first sequential position, multiple account identifiers are displayed in order of account relevance, wherein the account relevance is used to indicate the frequency of historical interaction operations between the target account and the current account.

15. The method according to claim 13, characterized in that, After displaying the target media resource sent to the target account in the session window between the current account and the target account, the method further includes: Upon receiving reference media resources sent by a reference account, the reference media resources are displayed in the session window between the current account and the reference account. The reference media resources are used to indicate the fourth virtual avatar and the first virtual avatar in the reference virtual scene. The fourth virtual avatar is a virtual avatar associated with the reference account. In response to a triggering operation on the reference media resource, a scene link for indicating the reference virtual scene is obtained; If the reference account is currently offline, the reference virtual scene is displayed according to the scene link, and the first virtual image is displayed in the reference virtual scene; If the reference account is currently online, the reference virtual scene is displayed according to the scene link, and the first virtual image and the fourth virtual image are displayed in the reference virtual scene.

16. An interactive device between virtual characters, characterized in that, include: The first display unit is used to display a first virtual avatar in a virtual social scene in a virtual shooting interface, wherein the first virtual avatar is a virtual avatar associated with the current account; The second display unit is used to display at least one image icon in the virtual shooting interface in response to a trigger operation of adding an image control in the virtual shooting interface. The third display unit is configured to display a second virtual image indicated by the target image identifier in the virtual social scene when a target image identifier is determined from at least one of the image identifiers, wherein the target image identifier is used to indicate a virtual image associated with a target account in an offline state; The generation unit is configured to generate target media resources in response to a trigger operation of the shooting control in the virtual shooting interface, based on the virtual social scene and the first virtual image and the second virtual image in the virtual social scene.

17. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program, when executed, performs the method described in any one of claims 1 to 15.

18. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the steps of the method according to any one of claims 1 to 15.

19. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the method described in any one of claims 1 to 15 through the computer program.