Character interaction method and apparatus based on virtual world, and device and medium

MYPI2025001426A0Undetermined Publication Date: 2024-06-16TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
MYPI2025001426
Authority / Receiving Office
MY · MY
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-12-16
Filing Date
2023-11-07
Publication Date
2024-06-16

AI Technical Summary

Technical Problem

The existing single-player game interaction methods in the virtual world are single and lack diversity, which leads to an increase in player loneliness. In multiplayer games, players interfere with each other and seize resources. Problems are serious, affecting the game experience.

Method used

By displaying the first virtual character in the physical state in the first virtual world and displaying the second virtual character in the virtual state in the second virtual world, non-physical interaction is realized, the amount of calculation is reduced, the processing pressure is reduced, and the game experience is enhanced.

Benefits of technology

It enriches the ways for players to interact, reduces the loneliness of single-player games, avoids mutual interference and resource grabbing in multi-player games, and improves the sinking feeling and overall experience of the game experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure PI2025001426_DRAWING_001
    Figure PI2025001426_DRAWING_001
  • Figure PI2025001426_DRAWING_002
    Figure PI2025001426_DRAWING_002
  • Figure PI2025001426_DRAWING_003
    Figure PI2025001426_DRAWING_003
Patent Text Reader

Abstract

ABSTRACT CHARACTER INTERACTION METHOD AND APPARATUS BASED ON VIRTUAL WORLD, AND DEVICE AND MEDIUM The present application belongs to the field of human-computer interaction. Disclosed are a character interaction method and apparatus based on a virtual world, and a device and a medium. The method is applied to a first client, and the method comprises: displaying, in a first virtual world, a first virtual character in an entity state (320); in response to a control operation for the first virtual character, controlling the first virtual character to perform entity interaction with a world element in the first virtual world that is in the entity state (340); displaying, in the first virtual world, a second virtual character in a ghosted state, wherein the second virtual character is a character that is controlled by a second client in a second virtual world (360); and controlling the first virtual character to perform non-entity interaction with the second virtual character, wherein during non-entity interaction, the second virtual character does not perform entity interaction with the world element in the first virtual world (380). The method in the embodiments of the present application enriches interaction modes of players. FIG. 4
Need to check novelty before this filing date? Find Prior Art

Description

Method, device, equipment and medium for role interaction based on virtual world

[0001] This application claims priority to the Chinese patent application filed on December 16, 2022, with application number 202211627922.6 and invention name “Character interaction method, device, equipment and medium based on virtual world”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present application relate to the field of human-computer interaction, and in particular to a method, apparatus, device, and medium for character interaction based on a virtual world. Background Art

[0003] A single-player game, also known as a single-player game, is a game that can be played independently with just a computer or other electronic device.

[0004] In a stand-alone game in a virtual world context in the related art, players generally interact with non-player characters (NPCs) in the same virtual world, or interact with some world elements that constitute the virtual world.

[0005] However, the interaction mode of players in related technologies is relatively simple.

[0006] Summary of the Invention

[0007] This application provides a method, device, equipment, and medium for character interaction based on a virtual world. The technical solution is as follows:

[0008] According to one aspect of the present application, a method for character interaction based on a virtual world is provided, the method being executed by a first client and comprising:

[0009] Displaying a first virtual character in a physical state in a first virtual world;

[0010] In response to a control operation on the first virtual character, controlling the first virtual character to physically interact with a world element in the first virtual world that is in the physical state;

[0011] Displaying a second virtual character in a ghost state in the first virtual world, where the second virtual character is a character controlled by a second client in the second virtual world;

[0012] The first virtual character is controlled to perform non-physical interaction with the second virtual character. During the non-physical interaction, the second virtual character does not perform physical interaction with world elements in the first virtual world.

[0013] According to another aspect of the present application, a method for character interaction based on a virtual world is provided, the method being executed by a server and comprising:

[0014] When the first virtual character is online, sending a world element of a first virtual world corresponding to the first virtual character to the first client;

[0015] determining a second virtual character, where the second virtual character is a virtual character located in a second virtual world;

[0016] Sending character synchronization data of the second virtual character to the first client so that the first client can display the second virtual character in a ghost state in the first virtual world and control the first virtual character to perform non-physical interaction with the second virtual character. During the non-physical interaction, the second virtual character does not physically interact with world elements in the first virtual world.

[0017] According to another aspect of the present application, a character interaction device based on a virtual world is provided, the device comprising:

[0018] A display module, configured to display the first virtual character in a physical state in the first virtual world;

[0019] a control module, configured to control the first virtual character to physically interact with the world elements in the physical state in the first virtual world in response to a control operation on the first virtual character;

[0020] The display module is configured to display a second virtual character in a ghost state in the first virtual world, where the second virtual character is a character controlled by a second client in the second virtual world;

[0021] The control module is used to control the first virtual character and the second virtual character to perform non-physical interaction. During the non-physical interaction, the second virtual character does not perform physical interaction with world elements in the first virtual world.

[0022] According to another aspect of the present application, a character interaction device based on a virtual world is provided, the device comprising:

[0023] A sending module, configured to send, when the first virtual character is in an online state, a world element of a first virtual world corresponding to the first virtual character to a first client;

[0024] a determining module, configured to determine a second virtual character, wherein the second virtual character is a virtual character located in a second virtual world;

[0025] The sending module is used to send character synchronization data of the second virtual character to the first client, so that the first client can display the second virtual character in a ghost state in the first virtual world, and control the first virtual character to interact with the second virtual character in a non-physical manner. During the non-physical interaction, the second virtual character does not interact in a physical manner with world elements in the first virtual world.

[0026] According to another aspect of the present application, a computer device is provided, comprising: a processor and a memory, wherein the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the above-mentioned virtual world-based character interaction method.

[0027] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and the computer program is loaded and executed by a processor to implement the above-mentioned virtual world-based character interaction method.

[0028] According to another aspect of the present application, a computer program product is provided, comprising computer instructions stored in a computer-readable storage medium, wherein a processor retrieves the computer instructions from the computer-readable storage medium, so that the processor loads and executes the computer instructions to implement the virtual world-based character interaction method as described above.

[0029] The method provided in the embodiment of the present application can not only enable players to interact physically with world elements in their personal virtual world, but also enable players to interact non-physically with other players in other virtual worlds in their personal virtual world, enriching the ways of interaction between players. Using the method in the embodiment of the present application, compared to single-player games, players can interact with real people, reducing the loneliness of single-player games. Compared to multiplayer games, by constructing virtual worlds for different players and using phantom representations, the second virtual character will not interrupt the game progress of the first virtual character, thereby reducing mutual interference and resource grabbing between players in multiplayer games, increasing the sense of immersion in the game experience, and improving the player's gaming experience.

[0030] In addition, when the first virtual character in a physical state interacts non-physically with the second virtual character in a phantom state, since the second virtual character does not need to interact physically with the world elements in the first virtual world, that is, there is no need to additionally calculate the data generated by the interaction between the second virtual character and the world elements, the amount of calculation in the character interaction process can be reduced, which helps to reduce the processing pressure during the character interaction process. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] FIG1 shows a block diagram of a computer system provided by an exemplary embodiment;

[0032] FIG2 shows a schematic diagram of a virtual world provided by an exemplary embodiment;

[0033] FIG3 shows a schematic diagram of another exemplary embodiment providing a virtual world;

[0034] FIG4 shows a flow chart of a method for character interaction based on a virtual world provided by an exemplary embodiment;

[0035] FIG5 shows a flowchart of a role interaction method based on a virtual world provided by another exemplary embodiment;

[0036] FIG6 shows a schematic diagram of controlling a first virtual character to perform a target action in a first virtual world provided by an exemplary embodiment;

[0037] FIG7 shows a schematic diagram of controlling a second virtual character to perform a target action in a second virtual world provided by an exemplary embodiment;

[0038] FIG8 shows a schematic diagram of controlling a first virtual character to perform a target action in a first virtual world, provided by an exemplary embodiment;

[0039] FIG9 shows a flowchart of a method for character interaction based on a virtual world provided by an exemplary embodiment;

[0040] FIG10 shows a schematic diagram of controlling a first virtual character to chat with a second virtual character provided by an exemplary embodiment;

[0041] FIG11 shows a schematic diagram of controlling a first virtual character to chat with a second virtual character provided by an exemplary embodiment;

[0042] FIG12 shows a schematic diagram of controlling a first virtual character to chat with a second virtual character provided by an exemplary embodiment;

[0043] FIG13 shows a schematic diagram of controlling a first virtual character and a second virtual character to form a team, provided by an exemplary embodiment;

[0044] FIG14 shows a schematic diagram of controlling a first virtual character and a second virtual character to form a team, provided by an exemplary embodiment;

[0045] FIG15 shows a schematic diagram of controlling a first virtual character and a second virtual character to form a team, provided by an exemplary embodiment;

[0046] FIG16 shows a schematic diagram of controlling a first virtual character to exit a team, provided by an exemplary embodiment;

[0047] FIG17 shows a flowchart of a method for character interaction based on a virtual world provided by an exemplary embodiment;

[0048] FIG18 shows a schematic diagram of zone switching provided by an exemplary embodiment;

[0049] FIG19 shows a flowchart of a method for character interaction based on a virtual world provided by an exemplary embodiment;

[0050] FIG20 shows a flowchart of a method for character interaction based on a virtual world provided by an exemplary embodiment;

[0051] FIG21 is a schematic diagram showing a method of determining a second virtual character belonging to the same character group as a first virtual character, provided by an exemplary embodiment;

[0052] FIG22 shows a schematic diagram of phantom construction provided by an exemplary embodiment;

[0053] FIG23 shows a schematic diagram of ghost movement combat synchronization provided by an exemplary embodiment;

[0054] FIG24 shows a flowchart of a method for character interaction based on a virtual world provided by an exemplary embodiment;

[0055] FIG25 shows a schematic diagram of zone switching provided by an exemplary embodiment;

[0056] FIG26 shows a schematic diagram of interaction between a personal virtual world and a multi-person virtual world provided by an exemplary embodiment;

[0057] FIG27 shows a flowchart of migrating a personal virtual world to a multi-person virtual world provided by an exemplary embodiment;

[0058] FIG28 shows a block diagram of a virtual world-based character interaction device provided by an exemplary embodiment;

[0059] FIG29 shows a structural block diagram of a virtual world-based character interaction device provided by another exemplary embodiment;

[0060] FIG30 shows a block diagram of a computer device provided by an exemplary embodiment;

[0061] FIG31 shows a structural block diagram of a computer device provided by another exemplary embodiment. DETAILED DESCRIPTION

[0062] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0063] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.

[0064] It should be noted that before collecting the user's relevant data and during the process of collecting the user's relevant data, this application can display a prompt interface, pop-up window or output voice prompt information. The prompt interface, pop-up window or voice prompt information is used to remind the user that its relevant data is currently being collected, so that this application only starts to execute the relevant steps of obtaining the user's relevant data after obtaining the user's confirmation operation on the prompt interface or pop-up window. Otherwise (that is, when the user's confirmation operation on the prompt interface or pop-up window is not obtained), the relevant steps of obtaining the user's relevant data are terminated, that is, the user's relevant data is not obtained. In other words, all user data collected by this application are collected with the user's consent and authorization, and the collection, use and processing of relevant user data need to comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0065] First, a brief introduction to the terms involved in the embodiments of this application is given:

[0066] A virtual world is a virtual world displayed or provided by an application (client) during runtime. This virtual world can be a simulation of the real world, a semi-simulated and semi-imaginary environment, or a purely imaginary environment. This application does not limit the virtual world to any of the following: a 2D virtual world, a 2.5D virtual world, or a 3D virtual world.

[0067] In the embodiments of the present application, multiple players correspond to multiple virtual worlds, each player corresponding to their own personal virtual world, and these multiple virtual worlds are parallel worlds. When initialized, the virtual worlds of different players contain the same world elements and world resources. Changes in world elements, world resources, or at least one of game progress in the virtual worlds of different players do not interfere with each other. Therefore, the virtual worlds in the embodiments of the present application are also referred to as infinite worlds.

[0068] World elements: These are the various virtual elements that appear in the virtual world and are used to make up the entire virtual world. World elements include land, lakes, the sky, various virtual animals, various virtual plants, various virtual buildings, etc. The virtual characters controlled by the player are also considered a type of world element.

[0069] World resources: These are the world elements used by virtual characters that can be controlled by players in the virtual world. World resources include virtual gold coins, virtual props, virtual treasure chests, virtual collection items, virtual drops, etc.

[0070] The first virtual world is a personal virtual world provided to the first player or first virtual character when the first client is running. The first virtual world contains various first world elements in a physical state.

[0071] For example, a physical world element refers to an element that has its own physical shape and volume in the first virtual world and occupies a part of the space in the first virtual world, including plots of land, virtual animals, virtual plants, virtual buildings, etc.

[0072] Entity: This refers to the display of world elements in the virtual world with collision volumes. When they come into contact with other world elements in the entity state, they will undergo at least one of collision deformation and collision displacement. When a virtual character is in the entity state, it can interact physically with world elements in the virtual world. Since world elements are all implemented using 3D models, entity interaction can also be understood as the interaction between two 3D models with collision volumes.

[0073] The Second Virtual World is a personal virtual world provided to the second player or second virtual character when the second client is running. The Second Virtual World contains physical Second World elements. Optionally, upon initialization, the Second World elements in the Second Virtual World are identical in type, quantity, position, color, and form to the corresponding First World elements in the First Virtual World.

[0074] For example, the first virtual world and the second virtual world are parallel worlds, and the first virtual world and the second virtual world do not interfere with each other. For example, a first player in the first virtual world moves an element in the first world, but this does not affect the position of the same element in the second virtual world of the second player.

[0075] When the first virtual character appears in a virtual world other than the first virtual world, or the second virtual character appears in a virtual world other than the second virtual world, they are displayed as ghost images by default.

[0076] Ghost state: This refers to a virtual character's appearance in the virtual world without a collision volume. When a virtual character comes into contact with other physical world elements, it will not produce at least one of collision deformation and collision displacement. While in ghost state, the virtual character cannot physically interact with other world elements in the virtual world.

[0077] A multiplayer virtual world is a public virtual world where different players or different virtual characters can coexist. In a multiplayer virtual world, all different virtual characters are displayed in a physical state.

[0078] Optionally, in a multiplayer virtual world, different virtual characters can interact physically with each other, whereby the physical interaction includes, for example, at least one of fighting, shaking hands, and collaborating.

[0079] Alternatively, the multiplayer virtual world is also referred to as a multiplayer area.

[0080] First virtual character: refers to the movable object played or controlled by the first player in the first virtual world. It is the character controlled by the first player using the first client in the first virtual world. The first virtual character can be a virtual person, a virtual animal, an animated character, etc., such as a person or animal displayed in the first virtual world.

[0081] The first virtual character is in a physical state in the first virtual world of the first player, and is in a phantom state in the second virtual world of the second player.

[0082] Optionally, in the first virtual world, the first virtual character is a three-dimensional model in a solid state created based on animation skeleton technology. The first virtual character has its own solid shape and volume in the first virtual world and occupies a part of the space in the first virtual world.

[0083] Optionally, in the second virtual world, the first virtual character is a three-dimensional model in a phantom shape created using animation skeletal technology. The first virtual character in the second virtual world only has its own phantom shape. This phantom shape is only used for display, has no volume, and does not occupy space in the second virtual world. The second virtual character in the second virtual world, which is in a physical state, can pass directly through the first virtual character without any obstruction.

[0084] A second virtual character is an active object played by a second player in the second virtual world. It is controlled by the second player using a second client in the second virtual world. The first and second players are different players. The second virtual character can be a virtual person, a virtual animal, or an anime character, for example, a person or animal displayed in the second virtual world.

[0085] The second virtual character is in a phantom state in the first virtual world of the first player, and is in a physical state in the second virtual world of the second player.

[0086] Optionally, in the first virtual world, the second virtual character is a three-dimensional model in a phantom state created using animation skeletal technology. The second virtual character in the first virtual world only has its own phantom shape. This phantom shape is only used for display, has no volume, and does not occupy space in the first virtual world. The first virtual character in the first virtual world, which is in a physical state, can pass directly through the second virtual character without any obstruction.

[0087] Optionally, in the second virtual world, the second virtual character is a three-dimensional model in a solid state created based on animation skeleton technology. The second virtual character has its own solid shape and volume in the second virtual world and occupies a part of the space in the second virtual world.

[0088] A third avatar is an active character played by a third player in a multiplayer virtual world. It is controlled by the third player using a third client within the multiplayer virtual world. A third player generally refers to one or more other players besides the first player. A third avatar is a virtual character in the multiplayer virtual world and is displayed as a physical entity.

[0089] Target Area: refers to one or more specific areas in each player's personal virtual world, which allow different virtual characters to switch from their respective personal virtual worlds to the multiplayer virtual world and physically interact with world elements in the multiplayer virtual world.

[0090] Multiplayer area: refers to one or more specific areas in each player's personal virtual world, which is the corresponding area of ​​the multiplayer virtual world.

[0091] Optionally, in the first virtual world, when the second virtual character in the phantom state sends an interaction request to the first virtual character in the physical state, and the first virtual character performs an operation to agree to the interaction request, the second virtual character can be transformed from the phantom state to the physical state.

[0092] Optionally, in the second virtual world, when the first virtual character in the phantom state sends an interaction request to the second virtual character in the physical state, and the second virtual character performs an operation to agree to the interaction request, the first virtual character can be transformed from the phantom state to the physical state.

[0093] Optionally, the interaction requirement includes at least one of a chat requirement, a team formation requirement, and a challenge (PK) requirement.

[0094] Physical interaction (also known as strong interaction) refers to the interaction between a first physical 3D model and a second physical 3D model in the same virtual world. The first 3D model and the second 3D model are different 3D models in the same virtual world.

[0095] Optionally, in the first virtual world, the first virtual character and the first world elements are both in a physical state, and the physical interaction includes interaction between the first virtual character in a physical state and the first world elements in a physical state.

[0096] Optionally, in the first virtual world, when the second virtual character transforms from a phantom state to a physical state, the physical interaction includes the interaction between the first virtual character in the physical state and the second virtual character in the physical state, and the interaction between the second virtual character in the physical state and the first world element in the physical state.

[0097] Exemplarily, entity interaction includes at least one of interactive behaviors such as fighting, shaking hands, and collaboration.

[0098] Non-physical interaction (or weak interaction) refers to the interaction between a third 3D model in a physical state and a fourth 3D model in a phantom state in the same virtual world. The third 3D model and the fourth 3D model are different 3D models in different virtual worlds and are displayed in a physical state in their respective virtual worlds.

[0099] Optionally, in the first virtual world, the first virtual character and the first world elements are in a physical state, and the second virtual character is in a phantom state. The non-physical interaction includes the interaction between the first virtual character in a physical state and the second virtual character in a phantom state, and the interaction between the second virtual character in a phantom state and the first world elements in a physical state.

[0100] Optionally, in the first virtual world, the first virtual character in a physical state interacts non-physically with the second virtual character in a phantom state, so that the second virtual character observes the actions of the first virtual character in the second virtual world, or so that the first virtual character observes the actions of the second virtual character in the first virtual world.

[0101] Exemplarily, non-physical interaction includes at least one of interactive behaviors such as making body movements, facial expressions, and performing consent operations required by interaction, and the interaction requirements include at least one of chat requirements, team formation requirements, and challenge (PK) requirements.

[0102] Response: Used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed can be in real time or with a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed can be executed.

[0103] FIG1 shows a block diagram of a computer system provided by an exemplary embodiment of the present application, which can be referred to as a system architecture for implementing a method for role interaction based on a virtual world. The computer system includes: a first terminal 120 , a server 140 , and a second terminal 160 .

[0104] The first terminal 120 is installed and runs an application that supports a virtual world. The application can be any one of a role-playing game (RPG), a shooting game, a virtual reality (VR) application, an augmented reality (AR) program, a three-dimensional map program, a virtual reality game, an augmented reality game, a first-person shooter game (FPS), a third-person shooter game (TPS), a multiplayer online tactical competitive game (MOBA), and a simulation game (SLG).

[0105] The first terminal 120 is used by the first player. The first player uses the first terminal 120 to control the first virtual character in the first virtual world. This control includes, but is not limited to, adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing, and constructing virtual structures. The first player can also use the first terminal 120 to observe the movements and expressions of the second virtual character in the first virtual world, or send interaction requests to the second virtual character, or agree to the interaction requests sent by the second virtual character. Optionally, the interaction request includes at least one of a chat request, a team request, and a challenge request. The first player can also use the first terminal 120 to enter the second virtual world from the first virtual world, or enter a multiplayer virtual world from the first virtual world.

[0106] The first terminal 120 is connected to the server 140 via a wireless network or a wired network.

[0107] Server 140 can be a single-person server or a multi-person server. Server 140 can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and basic cloud computing services such as big data and artificial intelligence platforms. Server 140 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center.

[0108] Exemplarily, server 140 includes a processor 144 and memory 142. Memory 142 further includes a receiving module 1421, a control module 1422, and a sending module 1423. Receiving module 1421 is configured to receive requests from clients, such as requests to interact with other virtual characters or requests to enter a multiplayer virtual world. Control module 1422 is configured to control the rendering of the virtual world. Sending module 1423 is configured to send responses to clients, such as sending virtual character interaction-related information or requests to enter a multiplayer virtual world. Server 140 provides background services for applications on first terminal 120 and second terminal 160.

[0109] Optionally, the server 140 undertakes the main computing work, and the first terminal 120 and the second terminal 160 undertake the secondary computing work; or, the server 140 undertakes the secondary computing work, and the first terminal 120 and the second terminal 160 undertake the main computing work; or, a distributed computing architecture is used among the server 140, the first terminal 120 and the second terminal 160 for collaborative computing.

[0110] The second terminal 160 is installed and runs an application that supports a virtual world. The application can be any one of a role-playing game (RPG), a shooting game, a virtual reality (VR) application, an augmented reality (AR) program, a three-dimensional map program, a virtual reality game, an augmented reality game, a first-person shooter game (FPS), a third-person shooter game (TPS), a multiplayer online tactical competitive game (MOBA), and a simulation game (SLG).

[0111] Second terminal 160 is used by a second player. The second player uses second terminal 160 to control a second virtual character in the second virtual world. This control includes, but is not limited to, adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up objects, shooting, attacking, throwing objects, and constructing virtual structures. The second player can also use second terminal 160 to observe the movements and expressions of the first virtual character in the second virtual world, or send interaction requests to the first virtual character, or agree to interaction requests sent by the first virtual character. Optionally, interaction requests include at least one of chat requests, team-up requests, and challenge requests. The second player can also use second terminal 160 to enter the first virtual world from the second virtual world, or enter a multiplayer virtual world from the second virtual world.

[0112] Optionally, the first virtual character controlled by the first player through the first terminal 120 and the second virtual character controlled by the second player through the second terminal 160 are located at different positions in the same virtual world, that is, the first player and the second player can be in the same virtual world.

[0113] For example, if a first virtual character and a second virtual character are both in a first virtual world, in the first virtual world, the first virtual character is displayed as a physical entity, while the second virtual character is displayed as a ghost image. If both the first virtual character and the second virtual character are in a second virtual world, in the second virtual world, the first virtual character is displayed as a ghost image, while the second virtual character is displayed as a physical entity. If both the first virtual character and the second virtual character are in a multiplayer virtual world, both the first virtual character and the second virtual character are displayed as physical entities.

[0114] Optionally, the applications installed on the first terminal 120 and the second terminal 160 are the same, or the applications installed on the two terminals are the same type of applications on different control system platforms. The embodiment of the present application does not limit the form of the applications installed on the first terminal 120 and the second terminal 160, including but not limited to App (Application, application), mini-programs, etc. installed in the first terminal 120 and the second terminal 160, and can also be in the form of web pages. The first terminal 120 can generally refer to one of multiple terminals, and the second terminal 160 can generally refer to one of multiple terminals. This embodiment only uses the first terminal 120 and the second terminal 160 as an example. The device types of the first terminal 120 and the second terminal 160 are the same or different, and the device types include: at least one of: a smartphone, a tablet computer, a wearable device, a PC (Personal Computer), an e-book reader, a digital player, a laptop computer, and a desktop computer. The following embodiment is illustrated by taking the terminal including a smartphone as an example.

[0115] Those skilled in the art will appreciate that the number of terminals can be greater or less. For example, there can be only one terminal (i.e., a player plays against an AI), or there can be eight terminals (a 1v1v1v1v1v1v1v1 game in which eight players compete in a round-robin format and are eliminated, ultimately determining a winner), or even more. The embodiments of this application do not limit the number of terminals or device types.

[0116] In some embodiments, the virtual world-based character interaction method provided by the embodiments of the present application includes scenes including single-player scenes and multi-player scenes.

[0117] Single-player scene

[0118] Multiple players correspond to multiple virtual worlds, each player having their own personal virtual world, and these multiple virtual worlds are parallel worlds. Within a player's personal virtual world, the player manages the data content of their personal virtual world, and the backend stores all data related to their personal virtual world. When initialized, different players' virtual worlds contain the same world elements and world resources. Changes to world elements, changes to world resources, or at least one of game progress in different players' virtual worlds do not interfere with each other.

[0119] Except for the target area, the second avatar cannot enter the first virtual world in its physical state without the authorization of the first avatar, and will enter the first virtual world as a shadow by default. With the authorization of the first avatar, the second avatar can enter the first virtual world in its physical state and interact with the first avatar in physical form, such as chatting, teaming up, and PKing.

[0120] FIG2 shows a schematic diagram of a virtual world-based character interaction method provided by an exemplary embodiment of the present application. The schematic diagram may be a schematic diagram of a first virtual world of a first player.

[0121] For example, FIG2 includes a first virtual world 10, which includes a first virtual character 11, a second virtual character 12, and world elements 13 within the first virtual world 10. Optionally, world element 13 is a virtual plant. In the first virtual world 10, the second virtual character 12 is displayed as a phantom, while the first virtual character 11 and world elements 13 within the first virtual world 10 are displayed as physical entities. A first client displays the first virtual character 11 in the first virtual world 10. In this embodiment, the physical entity is indicated by a solid line. In response to a control operation directed at the first virtual character 11, the first client controls the first virtual character 11 to interact physically with the physical world elements 13 within the first virtual world 10. The first client displays the second virtual character 12 in the first virtual world 10 as a phantom. In this embodiment, the phantom entity is indicated by a dashed line. The second virtual character 12 is controlled by the second client in the second virtual world, and the first and second virtual worlds are parallel worlds. The first client controls the first virtual character 11 to perform non-physical interaction with the second virtual character 12. The non-physical interaction does not require the second virtual character 12 to physically interact with the world elements 13 in the first virtual world 10. That is, during the non-physical interaction, the second virtual character 12 does not physically interact with the world elements 13.

[0122] Multiplayer scenes

[0123] Different players or different avatars can enter a multiplayer virtual world. In this multiplayer virtual world, avatars are displayed in a physical state. Players can interact physically in the multiplayer virtual world, such as shaking hands, fighting, and collaborating, creating a sense of the world.

[0124] FIG3 shows a schematic diagram of a virtual world-based character interaction method provided by an exemplary embodiment of the present application. The schematic diagram may be a schematic diagram of a multiplayer virtual world of a first player.

[0125] For example, FIG3(a) includes a multiplayer virtual world 20-1, which includes a first virtual character 21 and a second virtual character 22. Both the first virtual character 21 and the second virtual character 22 are displayed in a physical state. The first virtual character 21 can interact physically with the second virtual character 22, such as by shaking hands. FIG3(b) includes a multiplayer virtual world 20-2, which includes a first virtual character 21 and a virtual monster 23. Both the first virtual character 21 and the virtual monster 23 are displayed in a physical state. The first virtual character 21 can interact physically with the virtual monster 23, such as by fighting.

[0126] FIG4 shows a flowchart of a method for character interaction based on a virtual world provided by an exemplary embodiment of the present application. The method is illustrated by applying the method to the first terminal shown in FIG1 or a first client supporting a virtual world installed on the first terminal. The method includes:

[0127] Step 320: Display the first virtual character in a physical state in the first virtual world.

[0128] The first virtual world is a personal virtual world of the first player.

[0129] The first virtual character is a character played by the first player in the first virtual world. The first player controls the first virtual character through the first client.

[0130] Optionally, the first virtual character is a three-dimensional model, and the first virtual character includes one of a virtual person, a virtual animal, and a cartoon character.

[0131] Optionally, the control includes but is not limited to: at least one of adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing, and building a virtual building.

[0132] The entity state refers to a display form with a collision volume in the virtual world. When it comes into contact with other world elements in the entity state, it will produce at least one of a collision deformation and a collision displacement. In the first virtual world, the first virtual character is in the entity state.

[0133] Exemplarily, the first client displays a first virtual character in a physical state in the first virtual world.

[0134] Step 340 : In response to the control operation on the first virtual character, control the first virtual character to physically interact with the physical elements in the first virtual world.

[0135] The control operation refers to the operation of the first player controlling the first virtual character through the first client.

[0136] World elements are various virtual elements that appear in the virtual world and are used to constitute the entire virtual world. The first virtual character controlled by the first player is also one of the world elements in the first virtual world.

[0137] Optionally, the world elements include land, various virtual animals, various virtual plants, various virtual buildings, etc. The world elements constituting the first virtual world are in a physical state in the first virtual world.

[0138] Physical interaction refers to the interaction between the physical first virtual character and the physical world elements in the first virtual world.

[0139] Optionally, the physical interaction includes at least one of the first virtual character picking up, moving world elements, fighting, shaking hands, and collaborating. Optionally, the physical interaction may also include at least one of killing monsters, defeating bosses, and collecting virtual props. For example, if the world element is a virtual building, the physical interaction may include the first virtual character moving the virtual building.

[0140] Exemplarily, in response to a control operation directed at the first virtual character, the first client controls the first virtual character to physically interact with physical elements in the first virtual world.

[0141] Step 360: Display a second virtual character in a ghost state in the first virtual world. The second virtual character is a character controlled by the second client in the second virtual world.

[0142] The second virtual world is a personal virtual world of the second player.

[0143] Optionally, the first virtual world and the second virtual world are parallel worlds. Parallel worlds are used to indicate that the first virtual world and the second virtual world exist simultaneously and include the same parameters such as space and time.

[0144] Exemplarily, during initialization, the first virtual world and the second virtual world contain the same world elements and world resources, and at least one of changes in world elements, changes in world resources, and game progress in the first virtual world and the second virtual world do not interfere with each other.

[0145] The second virtual character is a character played by the second player in the second virtual world. The second player controls the second virtual character through the second client.

[0146] Optionally, the second virtual character is a three-dimensional model, and the second virtual character includes one of a virtual person, a virtual animal, and a cartoon character.

[0147] Optionally, the control includes but is not limited to: at least one of adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing, and building a virtual building.

[0148] The ghost state refers to a virtual world display without a collision volume. When a character comes into contact with a physical world element, it does not produce at least one of the following: collision deformation or collision displacement. While in the ghost state, the character cannot physically interact with other virtual world elements.

[0149] Optionally, the second virtual character appears in a phantom state by default in the first virtual world and appears in a physical state in the second virtual world. The first virtual character appears in a physical state in the first virtual world and appears in a phantom state by default in the second virtual world. The physical first virtual character in the first virtual world can pass directly through the second virtual character without any obstruction.

[0150] Exemplarily, the first client displays a second virtual character in a ghost state in the first virtual world. The second virtual character is a character controlled by the second client in the second virtual world. The first virtual world and the second virtual world are parallel worlds.

[0151] In some embodiments, the second virtual character in the first virtual world can also be transformed from a phantom state to a physical state.

[0152] Optionally, in the first virtual world, when the second virtual character in the phantom state sends an interaction request to the first virtual character in the physical state, and the first virtual character performs an operation to agree to the interaction request, the second virtual character can be transformed from the phantom state to the physical state.

[0153] Optionally, the interaction requirement includes at least one of a chat requirement, a team formation requirement, and a challenge (PK) requirement. The interaction requirement may also include at least one of a clothing interaction, a partnership interaction, a town interaction, and a sect interaction.

[0154] Step 380: Control the first virtual character to perform non-physical interaction with the second virtual character. During the non-physical interaction, the second virtual character does not perform physical interaction with the world elements in the first virtual world.

[0155] Non-physical interaction refers to the interaction between a physical world element and a second virtual character in a phantom state in the first virtual world.

[0156] Optionally, in the first virtual world, the world elements in a physical state include land, various virtual animals, various virtual plants, various virtual buildings, and the first virtual character.

[0157] For example, the first virtual character is controlled to interact non-physically with the second virtual character so that the first virtual character observes the actions of the second virtual character in the first virtual world, or so that the second virtual character observes the actions of the first virtual character in the second virtual world.

[0158] Optionally, the non-physical interaction includes at least one of the following interactive behaviors: the first virtual character or the second virtual character making body movements, facial expressions, the first virtual character issuing an interaction request to the second virtual character, the first virtual character performing an agreement operation on the interaction request issued by the second virtual character, and the interaction request includes at least one of a chat request, a team request, and a challenge (PK) request.

[0159] In some embodiments, in the first virtual world, when the second virtual character transitions from a phantom state to a physical state, the physical first virtual character and the physical second virtual character can interact physically. During the physical interaction, the second virtual character can interact physically with world elements in the first virtual world.

[0160] Exemplarily, entity interaction includes at least one of interactive behaviors such as fighting, shaking hands, and collaboration.

[0161] In summary, the methods provided in the embodiments of this application allow players to interact with real people, reducing the loneliness inherent in single-player games. Compared to multiplayer games, by constructing virtual worlds for different players and using phantom representations, the second virtual character does not interrupt the first virtual character's game progress. This reduces the mutual interruption and resource grabbing between players in multiplayer games, increases the sense of immersion in the game experience, and enhances the player's gaming experience.

[0162] In some embodiments, in the first virtual world, the first player can control the first virtual character in a physical state through the first client to interact with the second virtual character in a phantom state in a non-physical manner. Figure 5 shows a flowchart of a character interaction method based on a virtual world provided by another exemplary embodiment of the present application. The above step 380 can be optionally implemented as the following step 381:

[0163] Step 381, in response to the action release operation for the first virtual character, controlling the first virtual character to perform a target action in the first virtual world so that the second virtual character observes the target action of the first virtual character; wherein the target action includes: at least one of: a body movement and an expression movement.

[0164] The action release operation of the first virtual character is an operation of controlling the first virtual character to perform a target action in the first virtual world, and the action release operation is triggered by the first player through the first client.

[0165] The target action is a specific action performed by the first virtual character in the first virtual world.

[0166] Optionally, the action release operation includes at least one of a click operation, a slide operation, a touch operation, and a multi-finger touch operation.

[0167] Optionally, the target action includes at least one of a body movement and an expression movement.

[0168] Optionally, the body movements include at least one of hand gestures and body movements, wherein hand gestures include waving, extending, clenching fists, and pausing gestures, and body movements include standing, sitting, turning, lifting legs, and jumping. The facial expressions include smiling faces, crying faces, and grimacing faces.

[0169] In some embodiments, body movements and facial expressions can be performed simultaneously, for example, waving a hand while making a smiling face.

[0170] Exemplarily, in response to the action release operation on the first virtual character, the first client controls the first virtual character to perform a target action in the first virtual world, so that the second virtual character observes the target action of the first virtual character.

[0171] It should be noted that when the first virtual character performs a target action in the first virtual world, the first virtual character can physically interact with world elements in the first virtual world. For example, when the first virtual character performs a rolling action, the grass within the rolling area of ​​the first virtual character in the first virtual world will deform.

[0172] In some embodiments, the second client of the second player controls the second virtual character to perform a target action in the second virtual world in response to an action release operation on the second virtual character, so that the first virtual character observes the target action of the second virtual character.

[0173] It should be noted that when the second virtual character performs the target action in the second virtual world, the second virtual character does not physically interact with the world elements in the first virtual world. For example, when the second virtual character performs a rolling action, the grass in the second virtual character's rolling area in the first virtual world does not deform.

[0174] In this embodiment, the first client controls the first virtual character to perform a target action in the first virtual world in response to an action release operation on the first virtual character, so that the second virtual character can observe the target action of the first virtual character, thereby enriching the interaction between players.

[0175] In some embodiments, since target actions, body movements, and facial expressions can include multiple types, multiple candidate action options can be displayed on the first client for the first player to select and determine the specific action they want to perform. Please continue to refer to Figure 5, step 381 can optionally include steps 382 and 383:

[0176] Step 382: In response to the action release operation for the first virtual character, display at least two candidate action options corresponding to the first virtual character.

[0177] The candidate action options are options for candidate actions to be performed by the first virtual character. The candidate body movements and facial expressions of the first virtual character may include multiple options, that is, the candidate action options include at least two options.

[0178] Exemplarily, in response to the action release operation for the first virtual character, the first client displays at least two candidate action options corresponding to the first virtual character.

[0179] Optionally, at least two candidate action options corresponding to the first virtual character are displayed around the first virtual character. Different candidate action options are represented by different candidate action elements, and the at least two candidate action options correspond to at least two candidate action elements.

[0180] Optionally, the candidate action elements include a waving element, a stretching element, a fist clenching element, a standing element, a sitting element, a turning element, a leg raising element, and the like.

[0181] In some embodiments, the second client displays at least two candidate action options corresponding to the second virtual character in response to the action release operation on the second virtual character.

[0182] Step 383 : In response to a selection operation on a target action option from the at least two candidate action options, controlling the first virtual character to perform the target action in the first virtual world so that the second virtual character observes the target action of the first virtual character.

[0183] The target action option is a selected candidate action option from among at least two candidate action options.

[0184] The selection operation is an operation of selecting a target action option from at least two candidate action options.

[0185] Optionally, the selection operation includes at least one of a click operation, a slide operation, a touch operation, and a multi-finger touch operation.

[0186] For example, a target action performed by a first virtual character in a first virtual world can be observed by a second virtual character in a ghosted state in the first virtual world. A target action performed by a second virtual character in a second virtual world can be observed by the first virtual character in a ghosted state in the second virtual world.

[0187] Exemplarily, in response to a selection operation on a target action option from at least two candidate action options, the first client controls the first virtual character to perform a target action in the first virtual world, so that the second virtual character observes the target action of the first virtual character.

[0188] In some embodiments, in response to a selection operation on a target action option from the at least two candidate action options, the second client controls the second virtual character to perform a target action in the second virtual world, so that the first virtual character observes the target action of the second virtual character.

[0189] Optionally, the types of target actions, body movements, and facial expressions that can be performed by the first and second virtual characters are the same when the virtual world is initialized. Subsequently, the types of target actions, body movements, and facial expressions that can be performed by the first and second virtual characters may be increased or decreased based on at least one of the attributes, equipment, level, and virtual items held by the first and second virtual characters.

[0190] As an example, Figure 6 shows a schematic diagram of controlling a first virtual character to perform a target action in a first virtual world according to an exemplary embodiment of the present application. The target action includes a body movement.

[0191] As shown in FIG6( a ), a display interface 30 - 1 of a first virtual world includes a first virtual character 31. In response to an action release operation for the first virtual character 31, the first client displays at least two candidate action options corresponding to the first virtual character 31 in a display area 32 surrounding the first virtual character 31, such as a candidate action option 32 - 1 and a candidate action option 32 - 2.

[0192] For example, if the target action is sitting down and the corresponding target action option is candidate action option 32-2, as shown in FIG6(b), the display interface 30-2 of the first virtual world includes a first virtual character 33 sitting down and a second virtual character 34 in a ghosted state. In response to a selection operation for the target action option 32-2 from the at least two candidate action options, the first client controls the first virtual character 31 to perform the target action in the first virtual world. At this time, the first virtual character 31 in the display interface 30-1 is displayed as the first virtual character 33 sitting down in the display interface 30-2, so that the second virtual character 34 can observe the target action of the first virtual character 33.

[0193] As an example, Figure 7 shows a schematic diagram of controlling a second virtual character to perform a target action in a second virtual world according to an exemplary embodiment of the present application. The target action includes a body movement.

[0194] As shown in Figure 7, the display interface 40 of the first virtual world includes a first virtual character 41 and a second virtual character 42 in a phantom state. For example, if the target action is to sit down, the second client responds to the action release operation directed at the second virtual character 42 and controls the second virtual character 42 to perform the target action in the second virtual world. In this case, the second virtual character 42 is displayed as a phantom and sitting down in the display interface 40 of the first virtual world, so that the first virtual character 41 can observe the target action of the second virtual character 42.

[0195] As an example, Figure 8 shows a schematic diagram of controlling a first virtual character to perform a target action in a first virtual world according to an exemplary embodiment of the present application. The target action includes an expression action.

[0196] As shown in FIG8( a ), a display interface 50 - 1 of a first virtual world includes a first virtual character 51 and a second virtual character 53 in a ghosted state. In response to an action release operation on the first virtual character 51 , the first client displays at least two candidate action options corresponding to the first virtual character 51 in a display area 52 surrounding the first virtual character 51 , such as a candidate action option 52 - 1 and a candidate action option 52 - 2 .

[0197] For example, the target action is a crying expression, and the corresponding target action option is candidate action option 52-2. As shown in FIG8(b), the display interface 50-2 of the first virtual world includes a first virtual character 54 with a crying expression and a second virtual character 53 in a ghost state. In response to the selection operation of the target action option 52-2 from the at least two candidate action options, the first client controls the first virtual character 51 to perform the target action in the first virtual world. At this time, the first virtual character 51 in the display interface 50-1 is displayed as the first virtual character 54 with a crying expression in the display interface 50-2, so that the second virtual character 53 can observe the target action of the first virtual character 54.

[0198] In this embodiment, the first client provides a variety of candidate actions for players to choose from by displaying at least two candidate action options, which enriches the gameplay of the game, enables the second virtual character to observe different actions of the first virtual character, and enriches the player's interaction methods.

[0199] In some embodiments, based on any of the above embodiments, the first virtual character can interact with the second virtual character. Optionally, the interaction includes the first virtual character initiating an interaction request to the second virtual character, or the second virtual character initiating an interaction request to the first virtual character.

[0200] The following embodiment uses the example of a second virtual character initiating an interaction request to a first virtual character, which is displayed on a first client. FIG9 shows a flowchart of a virtual world-based character interaction method provided by another exemplary embodiment of the present application. The method optionally includes steps 420, 440, and 460:

[0201] Step 420: Display interactive elements around the second virtual character, where the interactive elements are used to indicate that the second virtual character has an interactive requirement.

[0202] The interactive element is an element used to indicate that the second virtual character has an interactive requirement.

[0203] The surrounding side of the second virtual character refers to at least one side around the second virtual character, such as at least one of the upper side, the lower side, the left side, and the right side.

[0204] Optionally, the interaction includes at least one of chatting, team formation, and challenge (PK).

[0205] Optionally, different types of interactions correspond to different interactive elements, and the interactive elements include at least one of a chat interactive element, a team interactive element, and a challenge interactive element.

[0206] Optionally, the interactive element includes at least one of icons, symbols, and texts of different shapes, sizes, and colors. The embodiment of the present application does not limit the specific display form of the interactive element.

[0207] Exemplarily, the first client displays interactive elements around the second virtual character, where the interactive elements are used to indicate that the second virtual character has an interaction requirement.

[0208] Step 440 : In response to the consent operation for the interaction request, display the second virtual character in a physical state.

[0209] Among them, the consent operation is the operation of accepting the interaction demand.

[0210] Optionally, the consent operation includes at least one of a click operation, a slide operation, a touch operation, and a multi-touch operation.

[0211] In some embodiments, the consent operation may be a triggering operation on the interactive element, such as a click operation on the interactive element.

[0212] For example, in response to the consent operation for the interaction request, the first client displays the second virtual character in a physical state. Thus, in the first virtual world, the second virtual character is transformed from a phantom state to a physical state. In this case, the first virtual character and the second virtual character can interact physically.

[0213] Step 460: Control the first virtual character to interact physically with the second virtual character.

[0214] Optionally, the entity interaction includes at least one of interactive behaviors such as fighting, shaking hands, and collaboration.

[0215] Exemplarily, the first client controls the first virtual character to physically interact with the second virtual character.

[0216] During the physical interaction process, the second virtual character can physically interact with the world elements in the first virtual world, that is, the second virtual character will have an impact on the world elements in the first virtual world.

[0217] In this embodiment, the first client displays interactive elements around the second virtual character to indicate that the second virtual character has an interaction request, helping players quickly identify other players who have an interaction request. In response to the consent operation for the interaction request, the first client displays the second virtual character in a physical form, helping players clearly see and interact with the players who have an interaction request, enriching the ways players interact with each other.

[0218] In some embodiments, taking the second virtual character initiating an interaction request to the first virtual character, where the interaction request is a chat request, as an example, please continue to refer to FIG9 , the above step 420 may be optionally implemented as step 421 , step 440 may be optionally implemented as step 441 , and step 460 may be optionally implemented as step 461 :

[0219] Step 421: Display a chat interaction element around the second virtual character. The chat interaction element is used to indicate that the second virtual character has a chat need.

[0220] The chat interaction element is an element used to indicate that the second virtual character has a chat desire.

[0221] Optionally, the chat interaction element includes at least one of a speech bubble icon, a dialog box icon, and a chat prompt text. For example, the chat prompt text may be "Player xx initiates a chat with you."

[0222] Exemplarily, the first client displays a chat interaction element around the second virtual character, where the chat interaction element is used to indicate that the second virtual character has a chat desire.

[0223] Step 441 : In response to the consent operation for the chat request, display the second virtual character in a physical state and the chat content of the second virtual character.

[0224] The consent operation for the chat request is an operation of accepting the chat request.

[0225] Exemplarily, in response to the consent operation for the chat request, the first client displays the second virtual character in a physical state and the chat content of the second virtual character.

[0226] In some embodiments, the consent operation may be a triggering operation on a chat interactive element, such as a click operation on a speech bubble icon.

[0227] Optionally, in response to the consent operation for the chat request, the first client displays a chat consent element around the first virtual character, where the chat consent element is used to indicate that the first virtual character agrees to the chat request.

[0228] Optionally, the chat consent element includes at least one of a speech bubble icon, a dialog box icon, and chat consent text. For example, the chat consent text may be "Chat invitation accepted, chat interface can be opened for communication."

[0229] Step 461: Control the first virtual character to chat with the second virtual character.

[0230] Exemplarily, the first client controls the first virtual character to chat with the second virtual character.

[0231] As an example, taking the second virtual character initiating a chat request to the first virtual character as an example, Figures 10 and 11 show schematic diagrams of controlling the first virtual character to chat with the second virtual character provided by an exemplary embodiment of the present application.

[0232] As shown in FIG10(a), the display interface 60-1 of the first virtual world includes a first virtual character 61 and a second virtual character 62 in a virtual state. In the display interface 60-1 of the first virtual world, a chat interaction element 63 is displayed around (in this embodiment, above) the second virtual character 62. This chat interaction element is a hand icon and indicates that the second virtual character 62 has a chat request. In response to the first client's approval of the chat request, as shown in FIG10(b), a chat acceptance element 64 is displayed around (in this embodiment, above) the first virtual character in the display interface 60-2 of the first virtual world. This chat acceptance element is a handshake icon and the text "Chat invitation accepted. You can open the chat interface to communicate." As shown in FIG11, the display interface 60-3 of the first virtual world displays a physical second virtual character 65 and a chat message from the second virtual character 65, such as "Hello." The first client controls the first virtual character to chat with the second virtual character.

[0233] As an example, taking the case where a first virtual character initiates a chat request to a second virtual character, FIG12 shows a schematic diagram of controlling the first virtual character to chat with the second virtual character provided by an exemplary embodiment of the present application.

[0234] As shown in FIG12(a), the display interface 70-1 of the first virtual world includes a first virtual character 71. A chat interaction element 72 is displayed around the first virtual character 71 (the upper side in this embodiment). The chat interaction element is a hand icon that indicates that the first virtual character 71 has a chat request. The text "Chat invitation has been sent, please wait for the player's response" is also displayed. As shown in FIG12(b), the display interface 70-2 of the first virtual world includes the first virtual character 71 and a second virtual character 73 in a phantom state. When the second client responds to the consent operation for the chat request, the second virtual character in a physical state and the chat content of the first virtual character 71 are further displayed on the display interface 70-2. Then, the first client controls the first virtual character 71 to chat with the second virtual character 73.

[0235] In this embodiment, the first client displays chat interaction elements around the second virtual character to indicate that the second virtual character has a chat request, helping players quickly identify other players who have a chat request. Upon accepting the chat request, the first client displays the second virtual character in its physical form and the second virtual character's chat content, enriching player interaction while avoiding interruptions and enhancing the player's gaming experience.

[0236] In some embodiments, for example, the second virtual character initiates an interaction request to the first virtual character, where the interaction request is a team formation request. Continuing to refer to FIG. 9 , the above step 420 may be optionally implemented as step 422 , step 440 may be optionally implemented as step 442 , and step 460 may be optionally implemented as step 462 :

[0237] Step 422: Display a team interaction element around the second virtual character. The team interaction element is used to indicate that the second virtual character has a team requirement.

[0238] The team interaction element is an element used to indicate that the second virtual character has a need to team up.

[0239] Optionally, the team interaction element includes at least one of a team flag icon, a team item icon, and a team prompt text. For example, the team prompt text may be "Player xx has initiated a team formation with you."

[0240] Exemplarily, the first client displays a team interaction element around the second virtual character, where the team interaction element is used to indicate that the second virtual character has a team formation requirement.

[0241] Step 442 : In response to the consent operation for the team formation request, display the first virtual character and the second virtual character in the second virtual world.

[0242] The consent operation for team formation request is the operation of accepting the team formation request.

[0243] For example, when the first virtual character accepts the team formation request of the second virtual character, the first virtual character enters the second virtual world where the second virtual character is located and is displayed in a physical state.

[0244] Exemplarily, in response to the consent operation for the chat request, the first client displays the first virtual character and the second virtual character in the second virtual world.

[0245] In some embodiments, the consent operation may be a triggering operation on a team interaction element, such as a click operation on a team flag icon.

[0246] Optionally, in response to the consent operation for the team formation requirement, the first client displays a team formation consent element around the first virtual character, where the team formation consent element is used to indicate that the first virtual character agrees to the team formation requirement.

[0247] Optionally, the team agreement element includes at least one of a team flag icon, a team item icon, and team agreement text. For example, the team agreement text may be "Entering player xx's world, please wait."

[0248] Step 462: Control the first virtual character and the second virtual character to interact as a team in the second virtual world.

[0249] For example, the first virtual character and the second virtual character are controlled to interact as a team in the second virtual world. The team interaction is a physical interaction.

[0250] In some embodiments, when the first virtual character exits the team, the user can switch from the second virtual world back to the first virtual world. In the first virtual world, the first virtual character is displayed in a physical form, while the second virtual character is still displayed in a ghost state by default.

[0251] Exemplarily, in response to the team exit operation of the first virtual character, the first client displays the first virtual character and the second virtual character in a ghost state in the first virtual world.

[0252] Optionally, the first client displays a team exit prompt message in response to the team exit operation of the first virtual character. For example, the team exit prompt message may include the text "Are you sure you want to leave the team?"

[0253] In some embodiments, when the first virtual character exits the team, the first virtual character can bring the virtual props, virtual treasure chests, virtual loot, virtual collections, etc. obtained from the second virtual world back to the first virtual world.

[0254] As an example, taking the example of the second virtual character initiating a team formation request to the first virtual character, FIG13 and FIG14 show schematic diagrams of controlling the first virtual character and the second virtual character to form a team, provided by an exemplary embodiment of the present application.

[0255] As shown in FIG13(a), the display interface 80-1 of the first virtual world includes a first virtual character 81 and a second virtual character 82 in a ghosted state. In the display interface 80-1 of the first virtual world, a team interaction element 83 is displayed around (in this embodiment, above) the second virtual character 82. This team interaction element is a team flag icon, indicating that the second virtual character 82 has requested to join a team. In response to the first client's approval of the team request, as shown in FIG13(b), the text "Entering player xx's world, please wait" is displayed in a display area 84 around (in this embodiment, above) the first virtual character in the display interface 80-2 of the first virtual world. The first virtual character 81 then enters the second virtual world of the second virtual character 82. As shown in FIG14, the display interface 80-3 of the second virtual world displays the first virtual character 81 and the second virtual character 85 in a physical state in the second virtual world, along with the text "You have joined player xx's world" to indicate that the first virtual character 81 is now in the second virtual world. Then, the first client controls the first virtual character 81 and the second virtual character 85 to interact in a team in the second virtual world.

[0256] As an example, taking the example of a first virtual character initiating a team formation request to a second virtual character, FIG15 shows a schematic diagram of controlling the first virtual character and the second virtual character to form a team, provided by an exemplary embodiment of the present application.

[0257] As shown in FIG15 , the display interface 90 of the first virtual world includes a first virtual character 91. A team interaction element 92 is displayed around the first virtual character 91 (the upper side in this embodiment). The team interaction element is a team flag icon, which is used to indicate that the first virtual character 91 has a team request. At the same time, a team prompt text "Team invitation has been initiated, please wait for the player to respond" is also displayed. After the second client responds to the consent operation for the team request, the second virtual character can enter the first virtual world of the first virtual character 91. Then, the first client controls the first virtual character 91 and the second virtual character to interact in the first virtual world.

[0258] As an example, taking the withdrawal of the first virtual character from the team as an example, FIG16 shows a schematic diagram of controlling the withdrawal of the first virtual character from the team provided by an exemplary embodiment of the present application.

[0259] The second virtual character initiates a team formation request to the first virtual character, and the first virtual character agrees to form a team with the second virtual character and enters the second virtual world. As shown in (a) of Figure 16, the display interface 100-1 of the second virtual world includes the first virtual character 101 and the second virtual character 102 in a physical state. In response to the team exit operation of the first virtual character 101, the first client displays the team prompt message 103 "Are you sure you want to leave the team?" Then, as shown in (b) of Figure 16, the first client displays the first virtual character in the first virtual world and the second virtual character 104 in a phantom state in the display interface 100-2 of the first virtual world, and at the same time, displays the text "You have left the team." That is, the first virtual character switches from the second virtual world back to the first virtual world.

[0260] In this embodiment, the first client displays team interaction elements around the second virtual character to indicate that the second virtual character has a teaming request, helping players quickly identify other players who have teamed up. In response to the approval of the teaming request, the first client displays the first and second virtual characters in the second virtual world, enriching the interaction between players and making them feel more immersive, thereby enhancing their gaming experience.

[0261] In some embodiments, taking the case where the second virtual character initiates an interaction request to the first virtual character, where the interaction request is a challenge (PK) request, as an example, please continue to refer to FIG9 , the above step 420 may be optionally implemented as step 423 , step 440 may be optionally implemented as step 443 , and step 460 may be optionally implemented as step 463 :

[0262] Step 423: Display a challenge interaction element around the second virtual character. The challenge interaction element is used to indicate that the second virtual character has a challenge requirement.

[0263] The challenge interaction element is an element for indicating that the second virtual character has a challenge (PK) requirement.

[0264] Optionally, the challenge interactive element includes at least one of a challenge prop icon and a challenge prompt text. For example, the challenge prompt text may be "Player xx challenges you."

[0265] Exemplarily, the first client displays a challenge interaction element around the second virtual character, where the challenge interaction element is used to indicate that the second virtual character has a challenge requirement.

[0266] Step 443 : In response to the consent operation for the challenge requirement, display the first virtual character and the second virtual character in the second virtual world.

[0267] The consent operation for a challenge requirement is the operation of accepting the challenge requirement.

[0268] For example, when the first virtual character accepts the challenge request of the second virtual character, the first virtual character enters the second virtual world where the second virtual character is located and is displayed in a physical state.

[0269] Exemplarily, in response to the consent operation to the challenge requirement, the first client displays the first virtual character and the second virtual character in the second virtual world.

[0270] In some embodiments, the consent operation is a triggering operation on a challenge interactive element, such as a click operation on a challenge prop icon.

[0271] Optionally, in response to the consent operation to the challenge requirement, the first client displays a challenge consent element around the first virtual character, where the challenge consent element is used to indicate that the first virtual character agrees to the challenge requirement.

[0272] Optionally, the challenge acceptance element includes at least one of a challenge prop icon and a challenge acceptance text. For example, the challenge acceptance text may be "Challenge accepted, entering player xx's world, please wait."

[0273] Step 463: Control the first virtual character and the second virtual character to perform confrontational interaction in the second virtual world.

[0274] For example, the first virtual character and the second virtual character are controlled to perform a confrontation interaction in the second virtual world. The confrontation interaction is a physical interaction.

[0275] In some embodiments, when the first virtual character withdraws from the challenged team, the second virtual world can be switched back to the first virtual world. In the first virtual world, the first virtual character is displayed in a solid shape, and the second virtual character is still displayed in a ghost state by default.

[0276] Exemplarily, in response to the challenge exit operation of the first virtual character, the first client displays the first virtual character and the second virtual character in a ghost state in the first virtual world.

[0277] Optionally, the first client displays a challenge exit prompt message in response to the challenge exit operation of the first virtual character. For example, the challenge exit prompt message may include the text "Are you sure to exit the challenge?"

[0278] In some embodiments, when the first virtual character exits the challenge, the first virtual character may bring back the virtual props, virtual treasure chests, virtual loot, virtual collections, etc. obtained from the second virtual world to the first virtual world.

[0279] In this embodiment, the first client displays a challenge interaction element around the second virtual character to indicate that the second virtual character has requested a challenge, helping players quickly identify other players who have requested a challenge. In response to the player agreeing to the challenge, the first client displays the first and second virtual characters in the second virtual world, enriching the competitive interaction between players and making them feel more immersive, enhancing their gaming experience.

[0280] In some embodiments, the multiplayer virtual world is a public virtual world in which different players or different virtual characters can coexist. In the multiplayer virtual world, all different virtual characters are displayed in a physical state.

[0281] Optionally, in a multiplayer virtual world, different virtual characters can interact physically with each other, whereby the physical interaction includes, for example, at least one of combat, team formation, and collaboration.

[0282] Exemplary, in each player's personal virtual world, a target area is provided, and the virtual character can enter the multiplayer virtual world from the target area. In certain embodiments, the multiplayer virtual world is also referred to as a multiplayer area.

[0283] Based on this, on the basis of any of the above embodiments, FIG17 shows a flowchart of a method for character interaction based on a virtual world provided by an exemplary embodiment of the present application, which method may optionally include the following steps:

[0284] Step 520: Control the first virtual character to move in the first virtual world.

[0285] Exemplarily, the first client controls the first virtual character to move in the first virtual world.

[0286] Step 540 : Displaying the first and third virtual characters in physical form in response to the first virtual character moving into a target area of ​​the first virtual world. The target area is an area that allows different virtual characters to physically interact with world elements in the multiplayer area.

[0287] Optionally, the target area is one or more specific areas in the first virtual world, which are areas that allow the first virtual character to switch from the first virtual world to the multiplayer virtual world and physically interact with world elements in the multiplayer virtual world.

[0288] The third virtual character is a virtual character other than the first virtual character in the multi-person virtual world.

[0289] A multiplayer virtual world can also be referred to as a multiplayer zone. The world elements within a multiplayer zone are the various virtual elements that appear within the multiplayer virtual world and are used to make up the entire multiplayer virtual world. These world elements include land, lakes, the sky, various virtual animals, various virtual plants, various virtual buildings, etc. Player-controlled virtual characters, such as the first and third virtual characters, are also considered world elements.

[0290] For example, in a multiplayer area, all different virtual characters are displayed in a physical state. Based on this, physical interactions can be performed between different virtual characters in the multiplayer area, and between different virtual characters and world elements.

[0291] Exemplarily, in response to the first virtual character moving into a target area of ​​the first virtual world, the first client displays the first virtual character and the third virtual character in physical form, where the target area is an area that allows different virtual characters to physically interact with world elements in the multiplayer area.

[0292] In some embodiments, the world elements contained in the target area in different virtual worlds remain consistent.

[0293] In some embodiments, the target area has consistent regional coordinates in different virtual worlds, or the regional positions of the target areas in different virtual worlds can be customized by the player, that is, the target area has inconsistent regional coordinates in different virtual worlds.

[0294] Optionally, before approaching the target area, the first client displays a prompt message for confirming whether to enter the target area. If a confirmation operation is received, the first virtual character is controlled to move into the target area. If a cancellation operation is received, the first virtual character is prohibited from moving into the target area.

[0295] Step 560 : In response to the first virtual character moving out of the target area of ​​the first virtual world, displaying the first virtual character in a physical state, and canceling the display of the third virtual character in a physical state.

[0296] For example, when the first virtual character moves out of the target area in the first virtual world, the first virtual character may return to the first virtual world. In the first virtual world, the first virtual character is displayed in a physical state, while the third virtual character in a physical state is not displayed.

[0297] In some embodiments, when the third virtual character in the multi-person virtual world is the second virtual character in the first virtual world, when the first virtual character returns to the first virtual world, the third virtual character is displayed in a ghost state in the first virtual world.

[0298] Exemplarily, in response to the first virtual character moving out of the target area of ​​the first virtual world, the first client displays the first virtual character in a physical state and cancels the display of the third virtual character in a physical state.

[0299] In some embodiments, when the first virtual character removes the target area in the first virtual world, the first virtual character can bring virtual props, virtual treasure chests, virtual loot, virtual collections, etc. obtained from the multiplayer virtual world back to the first virtual world.

[0300] As an example, Figure 18 shows a schematic diagram of area switching provided by an exemplary embodiment of the present application. Figure 18 shows an area 600 in the first virtual world, which includes a multiplayer area 601, a preloaded ghost area 602, and a single-player area 603.

[0301] For example, multiplayer area 601 is where a first avatar 610 enters a multiplayer virtual world and can physically interact with a third avatar 630 within the multiplayer virtual world. Preloaded phantom and additional phantom area 602 is a transitional area between multiplayer area 601 and single-player area 603, used to avoid frequent switching between the personal and multiplayer virtual worlds. In some embodiments, second avatar 620 within preloaded phantom and additional phantom area 602 can be displayed in either a phantom or physical form. Single-player area 603 is the area corresponding to the first virtual world where first avatar 610 resides.

[0302] When the first virtual character 610 moves into the single-player area 603, the first virtual character 610 is displayed in a physical state. The first virtual character 610 moves into the pre-loaded phantom additional phantom area 602, where the first virtual character 610 can be displayed selectively in a phantom state or in a physical state. When the first virtual character 610 moves into the multi-player area 601, the first client switches from the scene of the first virtual world to the scene of the multi-player virtual world, and the first virtual character 610 is displayed in a physical state.

[0303] In this embodiment, the first client controls the movement of the first virtual character in the first virtual world and responds to the first virtual character moving into the target area in the first virtual world to switch the first virtual character from the first virtual world to the multiplayer virtual world. The switching method is simple, and the player can achieve seamless switching between different virtual worlds in his own personal virtual world, enriching the scene switching method.

[0304] FIG19 shows a flowchart of a method for character interaction based on a virtual world provided by an exemplary embodiment of the present application. The method is applied to the server 140 shown in FIG1 for example. The method may include the following steps:

[0305] Step 720: When the first virtual character is online, send the world elements of the first virtual world corresponding to the first virtual character to the first client.

[0306] The first virtual character is a character played by the first player in the first virtual world.

[0307] The first client is a client used by a first player to control the first virtual character.

[0308] Exemplarily, when the first virtual character is online, the server sends the world elements of the first virtual world corresponding to the first virtual character to the first client, so that the first virtual client can load and display the first virtual world.

[0309] Step 740: Determine a second virtual character, where the second virtual character is a virtual character located in a second virtual world.

[0310] In other embodiments, the second virtual character is a virtual character that belongs to the same character group as the first virtual character.

[0311] A character group is a group of different virtual characters. A character group includes a limited number of virtual characters, and the number of virtual characters included in the character group is adjustable.

[0312] The second virtual character is a character played by the second player in the second virtual world. The second player controls the second virtual character through the second client.

[0313] Exemplarily, the first virtual world and the second virtual world are parallel worlds.

[0314] Exemplarily, during initialization, the first virtual world and the second virtual world contain the same world elements and world resources, and at least one of changes in world elements, changes in world resources, and game progress in the first virtual world and the second virtual world do not interfere with each other.

[0315] Exemplarily, the server determines a second virtual character that belongs to the same character group as the first virtual character, thereby displaying the first virtual character in a physical state and the second virtual character in a ghost state in the first virtual world.

[0316] Optionally, the second virtual character appears in a phantom state by default in the first virtual world and appears in a physical state in the second virtual world. The first virtual character appears in a physical state in the first virtual world and appears in a phantom state by default in the second virtual world. The physical first virtual character in the first virtual world can pass directly through the second virtual character without any obstruction.

[0317] In other embodiments, the second virtual character may be any virtual character (which may not belong to the same character group as the first virtual character) that meets the display condition. For example, the display condition is that the distance between the coordinates of the second virtual object in the second virtual world and the coordinates of the first virtual character in the first virtual world is less than a distance threshold.

[0318] Step 760: Send the character synchronization data of the second virtual character to the first client so that the first client can display the second virtual character in a phantom state in the first virtual world and control the first virtual character to interact with the second virtual character in a non-physical manner. During the non-physical interaction, the second virtual character does not interact physically with the world elements in the first virtual world.

[0319] The character synchronization data is data used to synchronize virtual characters in different virtual worlds into the same virtual world.

[0320] For example, the data of a second virtual character in a second virtual world can be synchronized with the first virtual world so that the first virtual character in the first virtual world can observe the actions of the second virtual character. Alternatively, the data of a first virtual character in a first virtual world can be synchronized with the second virtual world so that the second virtual character in the second virtual world can observe the actions of the first virtual character.

[0321] Optionally, the character synchronization data includes at least one of character movement data, character combat data, character attribute data, character chat data, character action data, and character interaction demand data.

[0322] The character movement data is used to represent the movement of the second virtual character.

[0323] The character combat data is used to represent the combat situation of the second virtual character.

[0324] Optionally, the character combat data includes at least one of historical combat data and real-time combat data.

[0325] The character attribute data is used to represent the character attributes of the second virtual character.

[0326] Optionally, the character attributes include at least one of life attributes, internal force attributes, attack attributes, defense attributes, etc.

[0327] The character chat data is used to represent the chat content sent by the second virtual character to the first virtual character.

[0328] The character action data is used to represent the actions performed by the second virtual character.

[0329] Optionally, the action of the second virtual character may be at least one of a body movement and an expression movement.

[0330] The character interaction demand data is used to represent the interaction demand initiated by the second virtual character to the first virtual character.

[0331] Optionally, the interaction requirement includes at least one of a chat requirement, a team formation requirement, and a challenge (PK) requirement.

[0332] Optionally, in the first virtual world, the first virtual character in a physical state may interact with the second virtual character in a phantom state in a non-physical manner.

[0333] Optionally, the non-physical interaction includes at least one of the following interactive behaviors: the first virtual character or the second virtual character making body movements, facial expressions, the first virtual character issuing an interaction request to the second virtual character, the first virtual character performing an agreement operation on the interaction request issued by the second virtual character, and the interaction request includes at least one of a chat request, a team request, and a challenge (PK) request.

[0334] Exemplarily, the server sends character synchronization data of the second virtual character to the first client so that the first client can display the second virtual character in a phantom state in the first virtual world, and control the first virtual character to interact with the second virtual character in a non-physical manner, where the non-physical interaction does not require the second virtual character to interact physically with world elements in the first virtual world.

[0335] In summary, using the method provided in the embodiments of the present application, the server sends the world elements of the first virtual world corresponding to the first virtual character to the first client when the first virtual character is online; determines a second virtual character belonging to the same character group as the first virtual character, the second virtual character being a virtual character located in the second virtual world, and the first and second virtual worlds being parallel worlds; sends character synchronization data of the second virtual character to the first client so that the first client displays the second virtual character in a ghost state in the first virtual world, and controls the first virtual character to interact with the second virtual character in a non-physical manner, where the non-physical interaction does not require the second virtual character to physically interact with the world elements in the first virtual world. Using the method provided in the embodiments of the present application, the server hosts the interaction between players. Compared to single-player games, players can interact with real people, reducing the loneliness of single-player games. Compared to multiplayer games, by constructing virtual worlds for different players and using ghost representations, the second virtual character does not interrupt the game progress of the first virtual character, thereby reducing the mutual interruption and resource grabbing between players in multiplayer games, increasing the sense of immersion in the game experience, and improving the player's gaming experience.

[0336] In some embodiments, the server needs to determine a second virtual character that belongs to the same character group as the first virtual character, so that the first client can display the second virtual character in a ghost state in the first virtual world.

[0337] For example, FIG20 shows a flowchart of a method for character interaction based on a virtual world provided by an exemplary embodiment of the present application. The above step 740 can be implemented as the following steps 741:

[0338] Step 741: When the number of role groups to which the first virtual character belongs does not meet the number threshold, at least one second virtual character is selected from the free role set according to the selection criteria to join the role group; wherein the free role set includes virtual characters that have not joined any role group, and each virtual character in the same role group can see each other, or has the authority to view each other in its own virtual world.

[0339] The number threshold is a reference value for the number of virtual characters included in the character group that the first virtual character is in. Optionally, the number threshold may be different depending on the character group that the first virtual character is in.

[0340] The free role set is a set of virtual roles that are not added to any role group.

[0341] The screening condition is to screen out one or more virtual characters from the free character set so as to add the screened virtual characters to the condition corresponding to the character group where the first virtual character is located.

[0342] After the filtered virtual character is added to the character group where the first virtual character is located, the filtered virtual character is also referred to as a second virtual character.

[0343] Exemplarily, when the number of people in the role group where the first virtual character belongs does not meet the number threshold (ie, is less than the number threshold), at least one second virtual character is selected from the free role set according to the screening condition to join the role group.

[0344] Optionally, when the number of people in the role group to which the first virtual character belongs is greater than or equal to the number threshold, there is no need to select the second virtual character from the free role set and add it to the role group.

[0345] In some embodiments, virtual characters in the same character group can see each other, or have the authority to view each other in their own virtual world.

[0346] Exemplarily, the above screening conditions are related to at least one of the following factors:

[0347] Whether the first virtual character and the second virtual character have a team relationship;

[0348] · Role attributes or role attribute values ​​of the first virtual character;

[0349] The character attributes or character attribute values ​​of the second virtual character;

[0350] The location of the first avatar;

[0351] The location of the second avatar;

[0352] The field of view of the first avatar;

[0353] The second avatar's field of view.

[0354] The first virtual character and the second virtual character having a team relationship means that the first virtual character and the second virtual character have teamed up before the current moment.

[0355] Optionally, in the case where the first virtual character and the second virtual character have a team relationship, the second virtual character may be screened out preferentially.

[0356] The character attributes include at least one of life attributes, internal force attributes, attack attributes, and defense attributes, and the character attribute values ​​include at least one of life attribute values, internal force attribute values, attack attribute values, and defense attribute values.

[0357] Optionally, when the role attributes or role attribute values ​​of the second virtual character are similar to those of the first virtual character or can produce a positive gain effect, the second virtual character can be preferentially screened out.

[0358] The position of the first virtual character is the real-time position of the first virtual character at the current moment. The position of the second virtual character is the real-time position of the second virtual character at the current moment.

[0359] The visual field of the first virtual character is used to represent the maximum range that the first virtual character can observe. The visual field of the second virtual character is used to represent the maximum range that the second virtual character can observe.

[0360] Optionally, when the positions of the first virtual character and the second virtual character are close to or located in the same position area, the second virtual character may be screened out preferentially.

[0361] Optionally, when the second virtual character is within the field of view of the first virtual character, the second virtual character may be preferentially screened out.

[0362] In a possible implementation, the second virtual character may be all virtual characters in the character group, or may be some virtual characters in the character group that meet a display condition, such as being within a target range around the first virtual character.

[0363] In this embodiment, when the number of character groups in which the first virtual character is located does not meet the number threshold, the server selects at least one second virtual character from the free character set according to the screening conditions to add to the character group, thereby achieving the adjustability of the virtual characters in the character group. In this way, different players can be seen in the first virtual world, which is more realistic. Furthermore, the server can interact with different players, thereby expanding the number of players who can interact and enriching the interaction methods.

[0364] In some embodiments, since the virtual characters in the character group are adjustable, the server can add the second virtual character to the character group or remove the second virtual character from the character group. This removal process is also called splitting. Based on this, please continue to refer to Figure 20. The method may also optionally include the following steps 742:

[0365] Step 742, if the second virtual character meets the removal conditions, remove the second virtual character from the character group; wherein the removal conditions include: the second virtual character is offline, the distance between the second virtual character and the first virtual character is greater than a threshold, and the second virtual character forms a team with other virtual characters.

[0366] Splitting the second virtual character from the character group means removing the second virtual character from the character group.

[0367] The removal condition is a condition that needs to be met in order to remove the second virtual character from the character group.

[0368] Optionally, the threshold of the distance can be set according to actual technical needs, and this embodiment does not limit this.

[0369] For example, FIG21 shows a schematic diagram of determining a second virtual character that belongs to the same character group as a first virtual character, provided by an exemplary embodiment of the present application. The overall logical flow of the schematic diagram is as follows:

[0370] 1. Virtual characters are online;

[0371] 2. Add the virtual character to the free person queue (free character collection);

[0372] 3. Determine whether the virtual characters in the free agent queue meet the screening conditions. If the virtual characters in the free agent queue meet the screening conditions, proceed to step 4; if the virtual characters in the free agent queue do not meet the screening conditions, proceed to step 5.

[0373] 4. Add virtual characters that meet the screening criteria to the character group;

[0374] 5. Record the number of executions i and perform 6;

[0375] 6. Logical loop, enter 7 and 8 respectively;

[0376] 7. Determine whether the role group is short of people. If the role group is short of people, proceed to step 3. If the role group is not short of people, proceed to step 5.

[0377] 8. Determine whether the role group is split. If the role group is split, proceed to 9. If the role group is not split, proceed to 5.

[0378] 9. Determine whether the virtual characters in the character group meet the splitting conditions; if the virtual characters in the character group meet the splitting conditions, proceed to 10; if the virtual characters in the character group do not meet the splitting conditions, proceed to 5;

[0379] 10. Determine whether there are multiple virtual characters in the character group (the number of characters exceeds the threshold); if there are multiple characters, proceed to step 12; if not, proceed to step 11;

[0380] 11. Add virtual characters to the free agent queue;

[0381] 12. Create a new role group and go to 13;

[0382] 13. Set this character group as the ghost character group queue and go to step 6.

[0383] The above-mentioned virtual character group queue is an optional redundant design and can be used to maintain the queue.

[0384] In this embodiment, the server splits the second virtual character from the character group when the second virtual character meets the splitting conditions, thereby achieving the adjustability of the virtual characters in the character group, so that different players can be seen in the first virtual world, which is more realistic. Further, it is possible to interact with different players, thereby expanding the number of players who can interact and enriching the interaction methods.

[0385] In some embodiments, the server sends character synchronization data of the second virtual character to the first client, so that the first client can display the second virtual character in a ghost state in the first virtual world and control the first virtual character to perform non-physical interaction with the second virtual character.

[0386] In some embodiments, after the first client receives the character synchronization data, it displays the second virtual character in a ghost state in the first virtual world, i.e., performing ghost synchronization on the first client. In this embodiment, ghost synchronization includes the processes of ghost construction, ghost data synchronization, and ghost movement and combat synchronization.

[0387] Shadow Construction

[0388] Figure 22 shows a schematic diagram of ghost image construction provided by an exemplary embodiment of the present application. Ghost image construction includes the following two parts:

[0389] 1. Lua-side scene object (Entity) entity and scene object entity component (Entity Component).

[0390] The scene object entity component includes at least one of a moving component, a combat component, and a participant component.

[0391] Lua is a scripting language. An entity is a member of various components. Components are members that store properties related to an entity.

[0392] 2. Character data (Character) call on the UE4 side.

[0393] The character data includes at least one of a movement-synchronized skill core component (USmoothSync) and combat-related movement synchronization data (SkillCoreComponent).

[0394] UE4 is a game development software. Character data (Character) is a special type of scene object (Entity), which can be a specific entity such as a special player or NPC.

[0395] ·Virtual data synchronization

[0396] In this embodiment, data members and initialization synchronization are defined as follows:

[0397] 1. Component: used for mounting data initialization (init), constructing Component according to CompDef_NetMode and CSNetMode types.

[0398] 2.ActorData: The player's raw data, including guid, character_id, style_id and other information;

[0399] 3.ViewActor: The observed Actor. The server determines whether to send TCP or receive TCP synchronization based on CSNetMode. Calling SmoothSync in UE4 requires calling AfterBindViewActor.

[0400] 4. ViewController is the controller of the observed object.

[0401] 5.CSNetMode: Network mode, divided into none, autonomous (master control), and ghost (ghost).

[0402] 6.Guid: A unique ID that is used for identification and has get / set methods.

[0403] ·Phantom movement and combat synchronization

[0404] In this embodiment, the ghost movement combat synchronization part is the main implementation content of movement synchronization, and the overall structure of the same type of AbilitySyncComponent (combat synchronization) and ParticipantSyncComponent (participant synchronization) is the same as this part.

[0405] FIG23 shows a schematic diagram of ghost movement combat synchronization provided by an exemplary embodiment of the present application, including the following steps:

[0406] 1. A new player enters the scene, triggering a message notification (AddMapActorNtf);

[0407] At the same time, 2. Call the creation of character entity characters (SpawnEntityCharacter) in the scene service processing (SceneEntityService);

[0408] 3. Call the bound action view (ViewActor) to monitor the movement event;

[0409] 4. When the virtual character moves, the USmoothSync in UE4 sends a movement event, and the Lua side monitors the corresponding event;

[0410] At the same time, 5. the Lua end sends the mobile synchronization data to the CS server; in this embodiment, the mobile synchronization data includes: at least one of the mobile object's guid and the mobile byte stream data sync_data;

[0411] 6. After receiving the data, the CS server broadcasts the data to everyone connected to the CS server (except the person sending the message) in the control system (ControlSystem), completing the mobile synchronization process and making the ghost images of other players appear.

[0412] In this embodiment, the server sends character synchronization data for the second virtual character to the first client, achieving time synchronization, data synchronization, and action synchronization between the first and second virtual worlds, making the first and second virtual worlds parallel. Furthermore, the real-time actions of the second virtual character in the second virtual world can be seen in the first virtual world, adding greater realism and enhancing the player's gaming experience.

[0413] In some embodiments, the second virtual character may initiate an interaction request to the first virtual character. When the interaction request is a team formation request or a challenge request, the method may further include: if the first virtual character agrees to the team formation request or the challenge request of the second virtual character, the server migrating the first virtual character from the first virtual world to the second virtual world, so that the first virtual character and the second virtual character are displayed in a physical state in the second virtual world.

[0414] In this embodiment, the server can achieve seamless switching and seamless migration between different virtual worlds by migrating the first virtual character from the first virtual world to the second virtual world.

[0415] In some embodiments, different virtual characters can enter a multi-person virtual world from a personal virtual world. In the multi-person virtual world, all different virtual characters are displayed in a physical state.

[0416] Optionally, in a multiplayer virtual world, different virtual characters can interact physically with each other, whereby the physical interaction includes, for example, at least one of fighting, shaking hands, and collaborating.

[0417] Based on this, FIG24 shows a flowchart of a method for character interaction based on a virtual world provided by an exemplary embodiment of the present application. The method may also optionally include the following steps:

[0418] Step 820 , when the first virtual character moves into a target area of ​​the first virtual world, switching from the single-player server to the multiplayer server to provide background services for the first virtual character, the target area being an area that allows different virtual characters to physically interact with world elements in the multiplayer area.

[0419] The target area is one or more specific areas in the first virtual world that allow the first virtual character to switch from the first virtual world to the multiplayer virtual world and physically interact with world elements in the multiplayer virtual world. In some embodiments, the multiplayer virtual world is also referred to as a multiplayer area.

[0420] The single-player server is a server that provides background services for the first virtual character in a single-player scenario (eg, a scenario in the first virtual world).

[0421] The multiplayer server is a server that provides background services for the first virtual character in a multiplayer scenario (eg, a multiplayer virtual world scenario).

[0422] Exemplarily, when the first virtual character moves into a target area in the first virtual world, a single-player server is switched to a multi-player server to provide background services for the first virtual character.

[0423] Step 840 : When the first virtual character moves out of the target area of ​​the first virtual world, switching from the multi-player server to the single-player server to provide background services for the first virtual character.

[0424] For example, when the first virtual character moves out of the target area in the first virtual world, the first virtual character may return to the first virtual world.

[0425] Exemplarily, when the first virtual character moves out of the target area in the first virtual world, a multi-player server is switched to a single-player server to provide background services for the first virtual character.

[0426] In this embodiment, the server providing background services can switch from a single-player server to a multiplayer server to provide background services for the first virtual character according to the specific game situation of the first virtual character, thereby improving the stability of the background services.

[0427] In some embodiments, in a multiplayer virtual world, different avatars can team up and interact with each other physically. In this case, since different avatars need to see each other, the server needs to load more data. To avoid server overload, please refer to Figure 24. In addition to steps 820 and 840, the method may optionally include the following steps 860 or 880:

[0428] In step 860 , when the first virtual character is not in the target area and the distance between the first virtual character and the second virtual character is less than a distance threshold, the single-player server loads a public map tile, where the public map tile is determined based on the position of the first virtual character and the position of the second virtual character.

[0429] The position of the first virtual character is the real-time position of the first virtual character at the current moment.

[0430] The position of the second virtual character is the real-time position of the second virtual character at the current moment.

[0431] The first virtual character is not in the target area, which means that the first virtual character is in the personal virtual world (the first virtual world).

[0432] The distance threshold is the maximum distance between different virtual characters.

[0433] The public map block is a map block determined based on the position of the first virtual character and the position of the second virtual character. The first virtual character and the second virtual character located in the public map block can see each other.

[0434] Exemplarily, when the first virtual character is not in the target area and the distance between the first virtual character and the second virtual character is less than the distance threshold, the single-player server loads a public map tile determined based on the positions of the first virtual character and the second virtual character.

[0435] In step 880, when the first virtual character is not in the target area and the distance between the first virtual character and the second virtual character is greater than the distance threshold, the single-player server loads the first private map block and the second private map block respectively, where the first private map block is determined based on the position of the first virtual character, and the second private map block is determined based on the position of the second virtual character.

[0436] The first private map tile is a private map tile where the first virtual character is located, which is determined based on the position of the first virtual character.

[0437] The second private map tile is a private map tile where the second virtual character is located, which is determined based on the position of the second virtual character.

[0438] Optionally, the sizes of the first private map tile and the second private map tile may be the same or different.

[0439] Optionally, the second virtual character located in the first private map tile and the second virtual character located in the second private map tile cannot see each other.

[0440] Exemplarily, when the first virtual character is not in the target area and the distance between the first virtual character and the second virtual character is greater than a distance threshold, the single-player server loads a first private map tile determined based on the position of the first virtual character and a second private map tile determined based on the position of the second virtual character.

[0441] As an example, Figure 25 shows a schematic diagram of region switching provided by an exemplary embodiment of the present application. This diagram provides a solution where a single-player server provides background services, as well as a solution where a single-player server switches between multiple-player servers to provide background services. Figure 25 includes five virtual characters: A, B, C, D, and E.

[0442] For example, taking virtual character A as the first virtual character, when virtual character A enters target area 621 in the first virtual world, the backend service for the first virtual character is switched from the single-player server to the multi-player server. When virtual character A leaves target area 621 in the first virtual world, the backend service for the first virtual character is switched from the multi-player server to the single-player server.

[0443] For example, when the virtual characters A, B, C, D, and E in FIG25 are not in the target area 621 and the distances between the virtual characters A, B, C, D, and E are less than the distance threshold, the single-player server loads the public map tiles determined based on the positions of the virtual characters A, B, C, D, and E. When the virtual characters A, B, C, D, and E are not in the target area 621 and the distance between any two virtual characters is greater than the distance threshold, FIG25 takes the case where the distances between the virtual characters A, B, C, D, and E are greater than the distance threshold as an example, the single-player server loads the private map tiles determined based on the positions of the virtual characters A, B, C, D, and E, respectively, and displays them in the display area 622.

[0444] In this embodiment, the server can avoid server overload by selectively loading corresponding map blocks based on the distance between the first virtual character and the second virtual character.

[0445] In some embodiments, FIG26 shows a schematic diagram of the interaction between a personal virtual world and a multi-person virtual world provided by an exemplary embodiment of the present application.

[0446] Figure 26 involves the client process (Client), the single-player scenario process (CS), and the multiplayer scenario process (DS). The interaction steps between the three are as follows:

[0447] 1. The client establishes a connection with the CS;

[0448] 2. CS establishes a connection with DS;

[0449] 3. DS sends a registration request (DSRegisterReq) to CS;

[0450] 4.CS saves DS information;

[0451] 5. CS sends a registration response (SD RegisterRsp) to DS;

[0452] 6. The client sends a login request (CSLoginReq) to the CS.

[0453] 7.CS returns character information;

[0454] 8. CS sends a login response (CSLoginRsp) to the Client;

[0455] 9. The client sends a game entry request (CSEnterGameReq) to the CS.

[0456] 10.CS creates games;

[0457] 11.CS sends a game entry response (CSEnterGameRsp) to the Client;

[0458] 12. The client sends a CSTravelToDSReq request to the CS.

[0459] 13.CS obtains the role data package (Package Role Data);

[0460] 14.CS sends a player loading request (SDPlayerReq) to DS;

[0461] 15.DS creates player information;

[0462] 16.DS sends player loading response (DSPlayerRsp) to CS;

[0463] 17.CS sends a handover request to DS (SCTravelToDSRsp);

[0464] 18. Open IP port (open ip:port);

[0465] 19.DS creates the basic action class and controller (Create Pawn and Controller).

[0466] In some embodiments, FIG27 shows a flowchart of migrating a personal virtual world to a multiplayer virtual world provided by an exemplary embodiment of the present application. In this embodiment, the migration of a personal virtual world to a multiplayer virtual world can be achieved without a black screen loading, achieving seamless migration. The process is as follows:

[0467] 1-1.DS starts;

[0468] 2-1. Call Hook UWorld's network processing interface;

[0469] 1-2. Standalone mode is running;

[0470] 2-2. Try to connect to the server;

[0471] 3. After DS initialization is complete, wait for players to access;

[0472] 4. After the handshake is completed, the client's preliminary communication Acotr is created based on the connection;

[0473] 5. Call the early communication Acotr to call the remote method and start synchronizing data;

[0474] 6. The client obtains the pre-synchronization communication Actor and calls the method to start synchronizing data;

[0475] 7. Transmit serialized client data to the server through remote call method and data synchronization;

[0476] 8. Receive client data, deserialize it and replace it with the data that needs to be created in the role creation process;

[0477] 9. Normal character creation process;

[0478] 10. Receive the new Actor object synchronized by the server;

[0479] 11. Use NetToken to determine whether it is the object serialized by the client before;

[0480] 12. Destroy the object passed down by the network, use the original object, and set the network flag setting of the original object;

[0481] 13. Rebind the ActorChannel.

[0482] In the above embodiment, the background server can pull up the DS process and complete the scene construction. Players can enter the multiplayer virtual world without the client black screen loading, realizing seamless switching and seamless migration between different virtual worlds, and reducing the interruption of players by the black screen loading process during the game, ensuring the smoothness of the game experience.

[0483] FIG28 shows a block diagram of a virtual world-based character interaction device provided by an exemplary embodiment of the present application. The device 910 includes:

[0484] The display module 911 is configured to display a first virtual character in a physical state in the first virtual world.

[0485] The control module 912 is configured to control the first virtual character to physically interact with the world elements in the physical state in the first virtual world in response to a control operation on the first virtual character.

[0486] The display module 911 is configured to display a second virtual character in a ghost state in the first virtual world, where the second virtual character is controlled by a second client in the second virtual world.

[0487] The control module 912 is configured to control the first virtual character to perform non-physical interaction with the second virtual character. During the non-physical interaction, the second virtual character does not perform physical interaction with world elements in the first virtual world.

[0488] In some embodiments, the control module 912 is configured to:

[0489] In response to an action release operation for the first virtual character, controlling the first virtual character to perform a target action in the first virtual world so that the second virtual character observes the target action of the first virtual character;

[0490] The target action includes at least one of a body movement and an expression movement.

[0491] In some embodiments, the control module 912 is configured to:

[0492] In response to an action release operation for the first virtual character, displaying at least two candidate action options corresponding to the first virtual character;

[0493] In response to a selection operation on a target action option among the at least two candidate action options, the first virtual character is controlled to perform a target action in the first virtual world so that the second virtual character observes the target action of the first virtual character.

[0494] In some embodiments, the display module 911 is used to:

[0495] Displaying an interactive element around the second virtual character, wherein the interactive element is used to indicate that the second virtual character has an interaction requirement;

[0496] In response to an agreement operation for the interaction requirement, a second virtual character in a physical state is displayed.

[0497] In some embodiments, the control module 912 is configured to:

[0498] Controlling the first virtual character to interact physically with the second virtual character.

[0499] In some embodiments, the display module 911 is used to:

[0500] Displaying a chat interaction element around the second virtual character, wherein the chat interaction element is used to indicate that the second virtual character has a chat demand;

[0501] In response to an agreement operation on the chat request, the second virtual character in a physical state and the chat content of the second virtual character are displayed.

[0502] In some embodiments, the control module 912 is configured to:

[0503] Control the first virtual character to chat with the second virtual character.

[0504] In some embodiments, the display module 911 is used to:

[0505] Displaying a team interaction element around the second virtual character, wherein the team interaction element is used to indicate that the second virtual character has a team requirement;

[0506] In response to an agreement operation on the team formation requirement, the first virtual character and the second virtual character are displayed in the second virtual world.

[0507] In some embodiments, the control module 912 is configured to:

[0508] The first virtual character and the second virtual character are controlled to interact as a team in the second virtual world.

[0509] In some embodiments, the display module 911 is used to:

[0510] Displaying a challenge interaction element around the second virtual character, wherein the challenge interaction element is used to indicate that the second virtual character has a challenge requirement;

[0511] In response to an agreement operation for the challenge requirement, the first virtual character and the second virtual character are displayed in the second virtual world.

[0512] In some embodiments, the control module 912 is configured to:

[0513] The first virtual character and the second virtual character are controlled to perform confrontational interaction in the second virtual world.

[0514] In some embodiments, the control module 912 is configured to:

[0515] The first virtual character is controlled to move in the first virtual world.

[0516] In some embodiments, the display module 911 is used to:

[0517] displaying the first virtual character and a third virtual character in physical form in response to the first virtual character moving into a target area of ​​the first virtual world, the target area being an area allowing different virtual characters to physically interact with world elements in a multiplayer area;

[0518] In response to the first virtual character moving out of the target area of ​​the first virtual world, the first virtual character is displayed in a physical state, and the display of the third virtual character in a physical state is canceled.

[0519] FIG29 shows a block diagram of a virtual world-based character interaction device provided by an exemplary embodiment of the present application. The device 920 includes:

[0520] The sending module 921 is configured to send the world elements of the first virtual world corresponding to the first virtual character to the first client when the first virtual character is in an online state.

[0521] The determination module 922 is configured to determine a second virtual character, where the second virtual character is a virtual character located in a second virtual world.

[0522] The sending module 921 is used to send the character synchronization data of the second virtual character to the first client, so that the first client can display the second virtual character in a ghost state in the first virtual world, and control the first virtual character to interact with the second virtual character in a non-physical manner, and the non-physical interaction does not require the second virtual character to interact physically with the world elements in the first virtual world.

[0523] In some embodiments, the first virtual character and the second virtual character belong to the same character group, and the determining module 922 is configured to:

[0524] If the number of people in the role group where the first virtual character belongs does not meet the number threshold, selecting at least one second virtual character from the free role set according to the screening condition to add to the role group;

[0525] The free role set includes virtual roles that have not joined any role group. The virtual roles in the same role group can see each other or have the authority to view each other in their own virtual world.

[0526] In some embodiments, the screening condition is related to at least one of the following factors:

[0527] whether the first virtual character and the second virtual character have a team relationship;

[0528] role attributes or role attribute values ​​of the first virtual character;

[0529] the role attribute or role attribute value of the second virtual character;

[0530] the position of the first virtual character;

[0531] the position of the second virtual character;

[0532] the field of view of the first virtual character;

[0533] The field of view of the second virtual character.

[0534] In some embodiments, the apparatus further comprises a splitting module; the splitting module is configured to:

[0535] If the second virtual character meets the removal condition, removing the second virtual character from the character group;

[0536] The removal condition includes at least one of: the second virtual character is offline, the distance between the second virtual character and the first virtual character is greater than a threshold, and the second virtual character forms a team with other virtual characters.

[0537] In some embodiments, the sending module 921 is configured to:

[0538] At least one of the character movement data, character combat data, character attribute data, character chat data, character action data, and character interaction demand data of the second virtual character is sent to the first client.

[0539] In some embodiments, the apparatus further includes a switching module; the switching module is configured to:

[0540] switching from a single-player server to a multiplayer server to provide backend services for the first virtual character when the first virtual character moves into a target area of ​​the first virtual world, the target area being an area that allows different virtual characters to physically interact with world elements in the multiplayer area;

[0541] When the first virtual character moves out of the target area of ​​the first virtual world, the multi-player server is switched to the single-player server to provide background services for the first virtual character.

[0542] In some embodiments, the apparatus further comprises a loading module; the loading module is configured to:

[0543] If the first virtual character is not in the target area and the distance between the first virtual character and the second virtual character is less than a distance threshold, the single-player server loads a public map tile, where the public map tile is determined based on a position of the first virtual character and a position of the second virtual character;

[0544] When the first virtual character is not in the target area and the distance between the first virtual character and the second virtual character is greater than the distance threshold, the single-player server loads a first private map block and a second private map block, respectively, where the first private map block is determined based on the position of the first virtual character, and the second private map block is determined based on the position of the second virtual character.

[0545] An embodiment of the present application further provides a computer device, comprising: a processor and a memory, wherein a computer program is stored in the memory; the processor is configured to execute the computer program in the memory to implement the virtual world-based character interaction method provided by the above-mentioned method embodiments.

[0546] Optionally, the computer device is a server. For example, FIG30 is a structural block diagram of a server provided by an exemplary embodiment of the present application.

[0547] Typically, the server 1000 includes a processor 1001 and a memory 1002 .

[0548] The processor 1001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 1001 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 1001 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1001 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1001 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0549] Memory 1002 may include one or more computer-readable storage media, which may be non-transitory. Memory 1002 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in memory 1002 is used to store at least one instruction, which is used to be executed by processor 1001 to implement the virtual world-based character interaction method provided in the method embodiment of the present application.

[0550] In some embodiments, the server 1000 may further optionally include: an input interface 1003 and an output interface 1004. The processor 1001, the memory 1002, and the input interface 1003 and the output interface 1004 may be connected via a bus or a signal line. Each peripheral device may be connected to the input interface 1003 and the output interface 1004 via a bus, a signal line, or a circuit board. The input interface 1003 and the output interface 1004 may be used to connect at least one peripheral device related to input / output (I / O) to the processor 1001 and the memory 1002. In some embodiments, the processor 1001, the memory 1002, and the input interface 1003 and the output interface 1004 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1001, the memory 1002, and the input interface 1003 and the output interface 1004 may be implemented on a separate chip or circuit board, which is not limited in the embodiments of the present application.

[0551] FIG31 illustrates a block diagram of a computer device according to an exemplary embodiment of the present application. Computer device 1800 may be a portable mobile terminal, such as a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), or MP4 player (Moving Picture Experts Group Audio Layer IV). Computer device 1800 may also be referred to as user equipment, portable terminal, or other similar names.

[0552] Typically, the computer device 1800 includes a processor 1801 and a memory 1802 .

[0553] The processor 1801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1801 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), or PLA (Programmable Logic Array). The processor 1801 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1801 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1801 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0554] Memory 1802 may include one or more computer-readable storage media, which may be tangible and non-transitory. Memory 1802 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in memory 1802 is used to store at least one instruction, which is executed by processor 1801 to implement the virtual world-based character interaction method provided in the embodiments of the present application.

[0555] In some embodiments, the computer device 1800 may further optionally include a peripheral device interface 1803 and at least one peripheral device. Specifically, the peripheral device includes at least one of a radio frequency circuit, a touch screen display, a camera, an audio circuit, and a power supply.

[0556] The peripheral device interface 1803 can be used to connect at least one I / O (Input / Output)-related peripheral device to the processor 1801 and the memory 1802. In some embodiments, the processor 1801, the memory 1802, and the peripheral device interface 1803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1801, the memory 1802, and the peripheral device interface 1803 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.

[0557] In some embodiments, the failure peripheral device may include a display screen, an audio circuit, a power supply, a sensor, etc., which is not limited in this embodiment.

[0558] Those skilled in the art will understand that the structures shown in Figures 30 and 31 do not constitute a limitation on the server 1000 and the computer device 1800, and may include more or fewer components than shown in the figures, or combine certain components, or adopt a different component arrangement.

[0559] In an exemplary embodiment, the present application provides a chip, which includes a programmable logic circuit and / or program instructions. When the chip runs on a computer device, it is used to implement the above-mentioned virtual world-based character interaction method.

[0560] The present application provides a computer-readable storage medium storing a computer program, wherein the computer program is loaded and executed by a processor to implement the above-mentioned virtual world-based character interaction method.

[0561] The present application provides a computer program product or a computer program, wherein the computer program product or the computer program includes computer instructions, wherein the computer instructions are stored in a computer-readable storage medium, and a processor obtains the computer instructions from the computer-readable storage medium, so that the processor loads and executes the computer instructions to implement the above-mentioned virtual world-based character interaction method.

[0562] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0563] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk, etc.

[0564] Those skilled in the art will appreciate that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any media that facilitates the transmission of computer programs from one place to another. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0565] The above description is merely an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A method for character interaction based on a virtual world, the method being executed by a first client, the method comprising: Displaying a first virtual character in a physical state in a first virtual world; In response to a control operation on the first virtual character, controlling the first virtual character to physically interact with a world element in the first virtual world that is in the physical state; Displaying a second virtual character in a ghost state in the first virtual world, where the second virtual character is a character controlled by a second client in the second virtual world; The first virtual character is controlled to perform non-physical interaction with the second virtual character. During the non-physical interaction, the second virtual character does not perform physical interaction with world elements in the first virtual world.

2. The method according to claim 1, wherein The controlling the first virtual character and the second virtual character to perform non-physical interaction includes: In response to an action release operation for the first virtual character, controlling the first virtual character to perform a target action in the first virtual world so that the second virtual character observes the target action of the first virtual character; The target action includes at least one of a body movement and an expression movement.

3. The method according to claim 2, wherein: In response to the action release operation on the first virtual character, controlling the first virtual character to perform a target action in the first virtual world includes: In response to an action release operation for the first virtual character, displaying at least two candidate action options corresponding to the first virtual character; In response to a selection operation on a target action option among the at least two candidate action options, the first virtual character is controlled to perform a target action in the first virtual world so that the second virtual character observes the target action of the first virtual character.

4. The method according to any one of claims 1 to 3, wherein: The method further comprises: Displaying an interactive element around the second virtual character, wherein the interactive element is used to indicate that the second virtual character has an interaction requirement; In response to an agreement to the interaction requirement, displaying a second virtual character in a physical state; Controlling the first virtual character to interact physically with the second virtual character.

5. The method according to claim 4, wherein displaying interactive elements around the second virtual character; and displaying the second virtual character in a physical state in response to an agreement to the interactive request. Controlling the first virtual character and the second virtual character to interact physically, including: Displaying a chat interaction element around the second virtual character, wherein the chat interaction element is used to indicate that the second virtual character has a chat demand; In response to an agreement to the chat request, displaying the second virtual character in a physical state and chat content of the second virtual character; Control the first virtual character to chat with the second virtual character.

6. The method according to claim 4, wherein: displaying interactive elements around the second virtual character; and displaying the second virtual character in a physical state in response to an agreement to the interactive request. Controlling the first virtual character and the second virtual character to interact physically, including: Displaying a team interaction element around the second virtual character, wherein the team interaction element is used to indicate that the second virtual character has a team requirement; In response to an agreement on the team formation request, displaying the first virtual character and the second virtual character in the second virtual world; The first virtual character and the second virtual character are controlled to interact as a team in the second virtual world.

7. The method according to claim 4, wherein: displaying interactive elements around the second virtual character; and displaying the second virtual character in a physical state in response to an agreement to the interactive request. Controlling the first virtual character and the second virtual character to interact physically, including: Displaying a challenge interaction element around the second virtual character, wherein the challenge interaction element is used to indicate that the second virtual character has a challenge requirement; In response to an agreement to the challenge requirement, displaying the first virtual character and the second virtual character in the second virtual world; The first virtual character and the second virtual character are controlled to perform confrontational interaction in the second virtual world.

8. The method according to any one of claims 1 to 7, wherein: The method further comprises: controlling the first virtual character to move in the first virtual world; displaying the first virtual character and a third virtual character in a physical state in response to the first virtual character moving into a target area of ​​the first virtual world, the target area being an area allowing different virtual characters to physically interact with world elements in a multiplayer area; In response to the first virtual character moving out of the target area of ​​the first virtual world, the first virtual character is displayed in a physical state, and the display of the third virtual character in a physical state is canceled.

9. A method for character interaction based on a virtual world, the method being executed by a server, the method comprising: When the first virtual character is online, sending a world element of a first virtual world corresponding to the first virtual character to the first client; determining a second virtual character, where the second virtual character is a virtual character located in a second virtual world; Sending character synchronization data of the second virtual character to the first client so that the first client can display the second virtual character in a ghost state in the first virtual world and control the first virtual character to perform non-physical interaction with the second virtual character. During the non-physical interaction, the second virtual character does not physically interact with world elements in the first virtual world.

10. The method according to claim 9, wherein: The first virtual character and the second virtual character belong to the same character group; The determining of the second virtual character that belongs to the same character group as the first virtual character includes: If the number of people in the role group where the first virtual character belongs does not meet the number threshold, selecting at least one second virtual character from the free role set according to the screening condition to add to the role group; The free role set includes virtual roles that have not joined any role group. The virtual roles in the same role group can see each other or have the authority to view each other in their own virtual world.

11. The method according to claim 10, wherein: The screening condition is related to at least one of the following factors: whether the first virtual character and the second virtual character have a team relationship; role attributes or role attribute values ​​of the first virtual character; the role attribute or role attribute value of the second virtual character; the position of the first virtual character; the position of the second virtual character; the field of view of the first virtual character; The field of view of the second virtual character.

12. The method according to claim 10, wherein: The method further comprises: If the second virtual character meets the removal condition, removing the second virtual character from the character group; The removal condition includes at least one of: the second virtual character is offline, the distance between the second virtual character and the first virtual character is greater than a threshold, and the second virtual character forms a team with other virtual characters.

13. The method according to any one of claims 9 to 12, characterized in that: The sending the character synchronization data of the second virtual character to the first client includes: At least one of the character movement data, character combat data, character attribute data, character chat data, character action data, and character interaction demand data of the second virtual character is sent to the first client.

14. The method according to any one of claims 9 to 13, characterized in that: The method further comprises: When the first virtual character moves into the target area of ​​the first virtual world, the single-player server is switched to the multiplayer server to provide background services for the first virtual character. The target area is a zone that allows different virtual characters to interact with the multiplayer server. The area where the world elements in the domain interact physically; When the first virtual character moves out of the target area of ​​the first virtual world, the multi-player server is switched to the single-player server to provide background services for the first virtual character.

15. The method according to claim 14, wherein The method further comprises: If the first virtual character is not in the target area and the distance between the first virtual character and the second virtual character is less than a distance threshold, the single-player server loads a public map tile, where the public map tile is determined based on a position of the first virtual character and a position of the second virtual character; When the first virtual character is not in the target area and the distance between the first virtual character and the second virtual character is greater than the distance threshold, the single-player server loads a first private map block and a second private map block, respectively, where the first private map block is determined based on the position of the first virtual character, and the second private map block is determined based on the position of the second virtual character.

16. A character interaction device based on a virtual world, the device comprising: A display module, configured to display the first virtual character in a physical state in the first virtual world; a control module, configured to control the first virtual character to physically interact with the world elements in the physical state in the first virtual world in response to a control operation on the first virtual character; The display module is configured to display a second virtual character in a ghost state in the first virtual world, where the second virtual character is a character controlled by a second client in the second virtual world; The control module is used to control the first virtual character and the second virtual character to perform non-physical interaction. During the non-physical interaction, the second virtual character does not perform physical interaction with world elements in the first virtual world.

17. A character interaction device based on a virtual world, the device comprising: A sending module, configured to send, when the first virtual character is in an online state, a world element of a first virtual world corresponding to the first virtual character to a first client; a determining module, configured to determine a second virtual character, wherein the second virtual character is a virtual character located in a second virtual world; The sending module is used to send character synchronization data of the second virtual character to the first client, so that the first client can display the second virtual character in a ghost state in the first virtual world, and control the first virtual character to interact with the second virtual character in a non-physical manner. During the non-physical interaction, the second virtual character does not interact in a physical manner with world elements in the first virtual world.

18. A computer device, comprising: A processor and a memory, wherein the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the character interaction method based on a virtual world as described in any one of claims 1 to 8, or 9 to 15.

19. A computer-readable storage medium storing a computer program, wherein the computer program is loaded and executed by a processor to implement the virtual world-based character interaction method according to any one of claims 1 to 8, or 9 to 15.

20. A computer program product, comprising computer instructions, wherein the computer instructions are stored in a computer-readable storage medium, and a processor obtains the computer instructions from the computer-readable storage medium, so that the processor loads and executes the computer instructions to implement the virtual world-based character interaction method according to any one of claims 1 to 8, or 9 to 15.