Virtual character display method, apparatus, device and storage medium

By introducing the first interface element into the user interface, the problem of low interaction efficiency of virtual characters is solved, rapid positioning and scene switching of virtual characters are realized, and the efficiency of virtual social interaction is improved.

WO2024187945A1PCT designated stage expired Publication Date: 2024-09-19TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Patent Information

Application Number
PCT/CN2024/072098
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-16
Filing Date
2024-01-12
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

In the existing technology, the efficiency of virtual character interaction between user accounts is low, and it is impossible to quickly locate and switch the virtual scene where the virtual character is located.

Method used

By introducing the first interface element (locator) into the user interface, users can quickly locate and switch the virtual scene where the virtual character is located through operations, achieving one-click positioning and one-click scene switching.

Benefits of technology

It improves the efficiency of interaction between user accounts, enriches virtual social interaction methods, realizes rapid positioning of virtual characters and scene switching, and meets users' needs for real-time tracking of virtual character locations and scenes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024072098_19092024_PF_FP_ABST
    Figure CN2024072098_19092024_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of computers and the Internet. Disclosed are a virtual character display method, an apparatus, a device and a storage medium. The method comprises: displaying a display interface of a first virtual scene where a first virtual character is located, and displaying the first virtual character located in the first virtual scene (310); in response to an operation for the first virtual character, displaying a first interface element corresponding to the first virtual character, the first interface element corresponding to the first virtual character being used for quickly positioning the virtual scene where the first virtual character is located (320); after the first virtual character leaves the first virtual scene, in response to a first operation for the first interface element corresponding to the first virtual character, displaying a display interface of a second virtual scene where the first virtual character is currently located, and displaying the first virtual character located in the second virtual scene (330). The present application improves the interaction efficiency between user accounts.
Need to check novelty before this filing date? Find Prior Art

Description

Virtual character display method, device, equipment and storage medium

[0001] This application claims priority to Chinese patent application No. 202310287983.0, filed on March 16, 2023, entitled “Virtual Character Display Method, Device, Equipment and Storage Medium,” the entire contents of which are incorporated herein by reference. Technical Field

[0002] The embodiments of the present application relate to the fields of computer and Internet technologies, and in particular to a method, apparatus, device, and storage medium for displaying a virtual character. Background Art

[0003] With the development of Internet technology, virtual social networking has gradually become a popular social method. When a user account is online, the user account can control the virtual character to interact with the virtual characters controlled by other user accounts in a virtual scene.

[0004] In related technologies, other user accounts can determine whether a user account is online or offline based on the online or offline information displayed by the user account. If the user account is online, the other user account can enter the virtual scene to find the virtual character controlled by the user account and interact with the virtual character.

[0005] However, in the above-mentioned related technologies, the interaction efficiency between user accounts is low.

[0006] Summary of the Invention

[0007] The embodiments of the present application provide a method, apparatus, device, and storage medium for displaying a virtual character. The technical solution is as follows:

[0008] According to one aspect of an embodiment of the present application, a method for displaying a virtual character is provided, the method being executed by a terminal device, the method comprising:

[0009] Displaying a display interface of a first virtual scene in which a first virtual character is located, and displaying the first virtual character located in the first virtual scene;

[0010] In response to an operation on the first virtual character, a first interface element corresponding to the first virtual character is displayed, where the first interface element corresponding to the first virtual character is used to quickly locate the virtual scene where the first virtual character is located, and the virtual scene where the first virtual character is located is switchable;

[0011] After the first virtual character leaves the first virtual scene, in response to a first operation on a first interface element corresponding to the first virtual character, a display interface of a second virtual scene in which the first virtual character is currently located is displayed, and the first virtual character located in the second virtual scene is displayed.

[0012] According to one aspect of an embodiment of the present application, a device for displaying a virtual character is provided, the device comprising:

[0013] An interface display module, configured to display a display interface of a first virtual scene in which a first virtual character is located, and to display the first virtual character in the first virtual scene;

[0014] an element display module, configured to display a first interface element corresponding to the first virtual character in response to an operation on the first virtual character, wherein the first interface element corresponding to the first virtual character is used to quickly locate the virtual scene where the first virtual character is located, and the virtual scene where the first virtual character is located is switchable;

[0015] A scene switching module is used to display a display interface of a second virtual scene in which the first virtual character is currently located, and to display the first virtual character in the second virtual scene in response to a first operation on a first interface element corresponding to the first virtual character after the first virtual character leaves the first virtual scene.

[0016] According to one aspect of an embodiment of the present application, a terminal device is provided, comprising a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the above method.

[0017] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the above method.

[0018] According to one aspect of an embodiment of the present application, a computer program product is provided, the computer program product including a computer program stored in a computer-readable storage medium. A processor of a terminal device reads the computer program from the computer-readable storage medium and executes the computer program, causing the terminal device to perform the above method.

[0019] The beneficial effects of the technical solutions provided in the embodiments of the present application include at least:

[0020] By operating on the first virtual character in the first virtual environment, when the first character is in the first virtual scene, the user can generate the first interface element corresponding to the character through operation. After the character leaves the first scene, the user can trigger the first interface element to quickly locate the second virtual scene where the first virtual character is currently located, thereby realizing quick positioning of the scene where the first virtual character is currently located through the first interface element. That is, unlike the related art that can only know whether the user account is online or offline, the present application knows the specific virtual scene of the virtual character through the first interface element, and in response to the first operation on the first interface element, directly switches to display the virtual character and the virtual scene where the virtual character is located, thereby realizing one-click positioning of the first virtual character. Therefore, the technical solution provided by the embodiment of the present application enriches the interaction methods between user accounts and improves the interaction efficiency between user accounts. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] FIG1 is a schematic diagram of an implementation environment of a solution provided by an embodiment of the present application;

[0022] FIG2 is a schematic diagram of a method for displaying a virtual character according to an embodiment of the present application;

[0023] FIG3 is a flow chart of a method for displaying a virtual character provided by one embodiment of the present application;

[0024] FIG4 is a flowchart of a method for displaying a virtual character provided by another embodiment of the present application;

[0025] FIG5 is a flowchart of a method for displaying a virtual character provided by another embodiment of the present application;

[0026] FIG6 is a flowchart of a method for displaying a virtual character provided by another embodiment of the present application;

[0027] FIG7 is a schematic diagram of a first control and a first interface element provided by one embodiment of the present application;

[0028] FIG8 is a schematic diagram of a first interface element provided by an embodiment of the present application;

[0029] FIG9 is a schematic diagram of a first interface element and a first virtual character provided by one embodiment of the present application;

[0030] FIG10 is a schematic diagram of an interface for setting permissions provided by an embodiment of the present application;

[0031] FIG11 is a block diagram of a method for displaying a virtual character according to an embodiment of the present application;

[0032] FIG12 is a block diagram of a method for displaying a virtual character according to another embodiment of the present application;

[0033] FIG13 is a block diagram of a display device for a virtual character provided by one embodiment of the present application;

[0034] FIG14 is a block diagram of a display device for a virtual character provided by another embodiment of the present application;

[0035] FIG15 is a block diagram of a terminal device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0036] 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.

[0037] It should be noted that before collecting the relevant data of the user account and the virtual character corresponding to the user account, and during the process of collecting the relevant data of the user, this application can display a prompt interface, pop-up window or output a 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 does not obtain the confirmation operation on the prompt interface or pop-up window), 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, the information involved in this application (including but not limited to user device information, user personal information, etc., information of the virtual character controlled by the user's corresponding user account), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals are all authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the user account information, virtual character scene information and location information controlled by the user account involved in this application are all obtained with full authorization.

[0038] Please refer to FIG1 , which shows a schematic diagram of an implementation environment of a solution provided by an embodiment of the present application. The implementation environment of the solution may include: a terminal device 10 and a server 20 .

[0039] The terminal device 10 includes, but is not limited to, mobile phones, tablet computers, intelligent voice interaction devices, game consoles, wearable devices, multimedia playback devices, PCs (Personal Computers), vehicle-mounted terminals, smart home appliances, and other electronic devices. The client of a target application (such as a game application) can be installed in the terminal device 10. Optionally, the target application can be an application that needs to be downloaded and installed, or it can be a click-to-use application, which is not limited in this embodiment of the application.

[0040] In an embodiment of the present application, the target application may be a social application, a simulation program, a battle royale 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 (FPS), a multiplayer gunfight survival game, a third-person shooter (TPS), a multiplayer online tactical competitive game (MOBA), a strategy game (SLG), or any one of an interactive entertainment application. In addition, for different applications, the social methods and types of virtual social scenes (also referred to as virtual scenes) supported are different, and this embodiment of the application does not limit this. Optionally, a client of the above-mentioned application is running in the terminal device 10.

[0041] Among them, the above-mentioned virtual scene is the scene displayed (or provided) when the client of the target application (such as a social application) is running on the terminal device. The virtual scene refers to a scene created for virtual objects to carry out activities (such as game competitions), such as a virtual house, a virtual island, a virtual map, etc. Optionally, the virtual scene is a virtual environment. Optionally, the virtual environment is the environment displayed (or provided) when the application is running on the terminal device. The virtual environment can be a simulation of the real world, a semi-simulated and semi-fictional three-dimensional world, or a purely fictional three-dimensional world. The virtual environment can be any one of a two-dimensional virtual environment, a 2.5-dimensional virtual environment, and a three-dimensional virtual environment. Optionally, the virtual environment is also used for a virtual environment battle between at least two virtual objects, and there are virtual resources in the virtual environment that can be used by at least two virtual objects.

[0042] The aforementioned virtual objects refer to virtual characters, virtual vehicles, virtual items, and so on, controlled by a user account within a target application. This application does not limit these virtual objects. For example, in the case of a social networking application, a virtual object refers to a virtual character controlled by a user account within the social networking application. Virtual objects can take the form of a human, an animal, a cartoon, or other forms, which are not limited in this embodiment. Virtual objects can be displayed in either three-dimensional or two-dimensional form, which is not limited in this embodiment. Optionally, when the virtual social scene is a three-dimensional virtual environment, the virtual objects are three-dimensional models created using animation skeletal technology. Each virtual object has its own unique shape and volume within the three-dimensional virtual environment and occupies a portion of the space within the three-dimensional virtual environment. Virtual object activities include, but are not limited to, at least one of adjusting body posture, crawling, walking, running, riding, flying, jumping, driving, picking up, shooting, attacking, and throwing. Illustratively, a virtual object is a virtual character, such as a simulated or animated character. In some implementations, virtual objects can also be implemented as 2.5D or 2D models, which is not limited in this embodiment. Exemplarily, virtual objects can be divided into user-controlled virtual objects and server-controlled virtual objects based on different ways of controlling virtual objects. User-controlled virtual objects are objects that are movable in a virtual environment and are controlled by a client. Server-controlled virtual objects are virtual objects that are controlled by an automatic control algorithm or artificial intelligence program on a client or server. Server-controlled virtual objects include movable objects and inactive objects in a virtual environment. Exemplarily, the virtual objects in this application are virtual objects controlled by a client.

[0043] The server 20 is used to provide background services for the client of the target application in the terminal device 10. For example, the server 20 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms, but is not limited thereto.

[0044] In the following embodiments, only the example of a virtual character as a virtual object is used for explanation. For virtual objects other than virtual characters, refer to the following embodiments for virtual characters and will not be repeated here. In some embodiments, a terminal device 10 includes a first terminal device 11 (not shown) and a second terminal device 12 (not shown), wherein a first client of a target application is installed on the first terminal device, and a second client of the target application is installed on the second terminal device. A first user account of a first user controls a first virtual character in the first client of the target application, and a second user account of a second user controls a second virtual character in the second client of the target application. Optionally, the first virtual character and the second virtual character are in the same or different virtual social scenarios. Optionally, the first virtual character and the second virtual character may be friends, belong to the same faction, the same team, the same organization, or have temporary communication permissions. Optionally, the first virtual character and the second virtual character may not be friends, belong to different factions, different teams, or different organizations. Optionally, the client installed on the first terminal device and the second terminal device is the same, or the client installed on the two terminals is the same type of client on different operating system platforms (Android or iOS). The first terminal device may generally refer to one of a plurality of terminal devices, and the second terminal device may generally refer to another one of the plurality of terminal devices. This embodiment only takes the first terminal device and the second terminal device as examples.

[0045] The terminal device 10 and the server 20 can communicate with each other via a network, which can be a wired network or a wireless network.

[0046] Please refer to FIG2 , which shows a schematic diagram of a method for displaying a virtual character provided by an embodiment of the present application.

[0047] In virtual social interaction, users customize their own two-dimensional or three-dimensional humanoid models and use their own virtual characters to socialize and chat with other people's virtual characters. There are various social scenes in the virtual world, and characters can move to different social scenes to socialize and meet different social needs. For example, you can meet strangers in the Stranger Square, and you can study in the library to achieve self-discipline (and meet strangers at the same time). The position of the character is dynamic. When a user is interested in a certain character, he or she will want to know where the character is. In related technologies, if the user account does not have permission enabled, other user accounts cannot know the virtual scene where the user account is located. In addition, even if the virtual scene where the user account is located is known, it is impossible to quickly locate the virtual character controlled by the user account.

[0048] The technical solutions provided by the embodiments of the present application enable rapid location of virtual characters and quick switching of scenes. As shown in Figure 2, when a first virtual character and a second virtual character are both in a first virtual social environment, for example, the first virtual environment is a social plaza, the virtual characters in the first virtual environment may not have a friendship relationship with each other. In some embodiments, the user interface displays the first virtual character and the scene in which the first virtual character is located. Optionally, if a second user account is interested in the first virtual character and wants to know which virtual scene the first virtual character will next visit, the user can perform an operation on the first virtual character, such as long-pressing the first virtual character. A first control (also called a locator control) will appear next to the first virtual character. Performing a first operation on the first control will display a first interface element (locator) 230. The locator will then display the virtual scene in which the first virtual character is located, for example, "This person is in the plaza." When the first virtual character leaves the first virtual environment and arrives at the second virtual environment, the second virtual environment may be a library. Since the locator constantly captures the scene and location of the first virtual character, the scene displayed on the locator also changes when the first virtual character's scene changes. For example, the locator displays "TA is in the library." For example, the user interface 200 of the terminal device displays a first virtual scene and a first virtual character. Assuming the first virtual character moves from the first virtual scene to a first location area in a second virtual scene, the terminal device displays the second virtual scene and the first virtual character on the user interface 210 in response to a first operation on the locator. Alternatively, the user interface displays the first location area in the second virtual scene and the first virtual character located in the first location area.

[0049] When the first virtual character has not left the first virtual scene, taking the first virtual scene as a square, for example, "TA is in the square" is always displayed on the locator. After the first virtual character moves in the first virtual scene and the first virtual character is no longer displayed on the user interface, since the locator of the first virtual character has been displayed on the user interface of the first user account, the real-time position of the first virtual character can be perceived by the locator in real time. Therefore, the second user performs a first operation on the locator to locate the scene where the first virtual character is located. For example, assuming that the first virtual character moves from the second position area of ​​the first virtual scene to the third position area of ​​the first virtual scene, the terminal device displays the third position area in the first virtual scene and the first virtual character located in the third position area in response to the first operation on the locator.

[0050] Of course, the locator can always track the scene and location of the first virtual character. When the virtual scene and location of the first virtual character change, the locator will also be updated in real time. This satisfies the second user's need to always know the location of the virtual character controlled by the first user account, and can also track the location of the first virtual character to interact with the first virtual character. Whenever the second user wants to know the location of the first virtual character, they can find it and switch to the first virtual character's location.

[0051] The technical solution provided by the embodiment of the present application introduces a first interface element (locator) when the user account has enabled permissions. This allows other user accounts to use the locator to quickly locate the scene and location of the virtual character controlled by the user account, thus achieving one-click positioning and one-click scene switching. Of course, it is also possible to control the virtual characters controlled by other user accounts to quickly move to the location of the virtual character controlled by the user account. Therefore, the interaction efficiency of virtual social interaction is improved, while also enriching the interaction methods.

[0052] Please refer to Figure 3, which shows a flowchart of a method for displaying a virtual character provided by an embodiment of the present application. The execution subject of each step of the method can be the terminal device 10 in the implementation environment of the solution shown in Figure 1, such as the execution subject of each step can be the second client of the target application. In the following method embodiment, for the sake of convenience, only the execution subject of each step is introduced as the "client". The method can include at least one of the following steps (310-330):

[0053] Step 310 : Displaying a display interface of a first virtual scene in which the first virtual character is located, and displaying the first virtual character in the first virtual scene.

[0054] First virtual character: An object controlled by the first user account of the target application, including but not limited to a virtual person, virtual animal, anime or cartoon character, etc. Optionally, the first virtual character can be displayed in a real virtual scene or a virtual scene not actually in the real scene. In some embodiments, the first user account controls the first virtual character to be in the first virtual scene or the second virtual scene. In some embodiments, the first virtual scene is one of multiple virtual scenes selected by the first user account. Optionally, the first virtual scene is a scene available to all user accounts for social interaction. Regardless of friendship relationships between user accounts, virtual characters controlled by all user accounts can interact in the first virtual scene. Optionally, the first virtual scene is a virtual scene provided for stranger social interaction, and the user accounts corresponding to the virtual characters in the first virtual scene have not yet established friendship relationships. Exemplarily, the first virtual scene is a social plaza. Optionally, the user-controlled virtual character can move within the first virtual social scene. In other embodiments, the first user account can control the first virtual character to leave the first virtual scene and enter a second virtual scene. Optionally, the second virtual scene is one of multiple virtual scenes selected by the first user account. For example, the second virtual scene is a library, and the first location area is the table at row 5, column 5 of the library, then the first virtual character sits at the table at row 5, column 5. The library here is considered to be the virtual scene where the first virtual character actually resides.

[0055] In other embodiments, multiple virtual characters in a target application are displayed synchronously within a comprehensive virtual scene, regardless of their actual virtual scenes. In this case, the comprehensive virtual scene is considered to be a virtual scene that is not actually occupied by the virtual characters, but rather a scene that only displays the images of the virtual characters. Optionally, when a user account logs into the client of the target application, the user account is online, and the virtual characters controlled by the user account are automatically displayed within the comprehensive virtual scene. Optionally, when the user account logs out of the client of the target application, the user account is offline, and the virtual characters controlled by the user account are removed from the comprehensive virtual scene. Optionally, a first virtual character is displayed on the homepage of a first user account, but the first virtual character is not actually in the virtual scene, and only the image of the first virtual character is displayed on the homepage of the first user account. In some embodiments, each virtual character controlled by a user account or an artificially intelligent virtual character is associated with identification information that uniquely identifies the corresponding virtual character. Optionally, the identification information is used to search within the comprehensive virtual scene to determine whether the corresponding virtual character appears within the comprehensive virtual scene, thereby determining whether the virtual character is online or offline. At this point, the artificial intelligence virtual character is considered to be a virtual character controlled by the client or server, and the client or server controls it according to the set control logic. Optionally, the artificial intelligence virtual character also corresponds to an online time and an offline time. For example, in the target application, there is an artificial intelligence robot (i.e., an artificial intelligence virtual character), which can publish daily tasks. For example, the artificial intelligence robot is a virtual teacher, and the artificial intelligence robot can publish daily homework, and the publication of homework corresponds to a publishing time period. Optionally, the first user account can search for the identification information of the artificial intelligence virtual character in the comprehensive virtual scene to determine whether the artificial intelligence virtual character is online (i.e., whether it is the time period for publishing tasks). Optionally, when the virtual character is found to be online, the virtual scene where the artificial intelligence virtual character is actually located can be located, and the artificial intelligence virtual character can be displayed. For specific how to locate and how to display, please refer to the explanation of the first virtual character in the following embodiment, which will not be repeated here. In other embodiments, there may be multiple integrated virtual scenes. For example, depending on the system, the scenes may be divided into two integrated virtual scenes, one for displaying all online virtual characters whose client terminal device is an Android system, and the other for displaying all online virtual characters whose client terminal device is an iOS system. In other embodiments, even if a virtual character is offline, it is displayed in the integrated virtual scene, but is displayed separately from other online virtual characters. For example, online virtual characters are displayed in color, while offline virtual characters are displayed in black and white. In some embodiments, the first virtual scene is a integrated virtual scene.

[0056] In some embodiments, the user interface always displays a display interface centered on the second virtual character (master virtual character) controlled by the second user account. Optionally, when the second virtual character and the first virtual character are both in the first virtual scene and the distance between the second virtual character and the first virtual character is less than a threshold, the display interface of the first virtual scene is displayed on the user interface, and the first virtual character and the second virtual character in the first virtual scene are displayed. In other embodiments, in response to the perspective movement operation, when the second virtual character and the first virtual character are both in the first virtual scene and the distance between the second virtual character and the first virtual character is greater than a threshold, the display interface of the first virtual scene is displayed on the user interface, and the first virtual character in the first virtual scene is displayed without displaying the second virtual character. That is, by sliding the screen, it is possible to display the first virtual character in the same scene and the position of the first virtual character.

[0057] Display interface of the first virtual scene: The image resulting from the projection of the first virtual scene for display on the user interface is referred to as the display interface. Optionally, if the first virtual scene includes a first virtual character, the display interface also includes the first virtual character. Optionally, the projection is at least one of a parallel projection and a perspective projection.

[0058] Step 320: In response to the operation on the first virtual character, a first interface element corresponding to the first virtual character is displayed. The first interface element corresponding to the first virtual character is used to quickly locate the virtual scene where the first virtual character is located, and the virtual scene where the first virtual character is located is switchable.

[0059] First interface element: An element used to quickly locate the virtual scene where the first virtual character is actually located. When the scene where the first virtual character is located changes, the virtual scene where the first virtual character is located, quickly located using the first interface element, also changes. Optionally, in response to a user's operation on the first interface element, the virtual scene where the first virtual character is located switches to display. This embodiment of the present application does not limit the specific display type of the first interface element. Optionally, the first interface element can be a floating window, a window, a control, etc. This embodiment of the present application does not limit the manner in which the first interface element displays the virtual scene where the first virtual character is located. Optionally, the virtual scene has corresponding identification information that uniquely represents the virtual scene. Optionally, identification information of the virtual scene where the first virtual character is located is displayed on the first interface element. Optionally, this identification information includes, but is not limited to, information used to identify the virtual scene, such as a text identifier and an image identifier. In some embodiments, the first interface element is a small window. The small window corresponding to the first interface element synchronously displays the first virtual character and the scene where the first virtual character is located. Optionally, the small window corresponding to the first interface element is located above the current user interface.

[0060] Virtual scene: a virtual environment set in the target application. For specific explanations, please refer to the above embodiments. Optionally, the virtual scene includes at least the actual virtual scene and the virtual scene that is not actually located (the above-mentioned comprehensive virtual scene may be referred to as the first virtual scene). Optionally, the actual virtual scene is considered to be a scene in which the virtual character can move. The virtual scene that is not actually located is considered to be a scene that is located since the virtual character is online, regardless of the actual scene of the virtual character. That is to say, assuming that the first virtual character controlled by the user account is in the second virtual scene, at this time, the first virtual character is synchronously displayed in the virtual environment that is not actually located (the comprehensive virtual scene may be referred to as the first virtual scene). Optionally, the first virtual character controlled by the first user account is in the virtual scene of the library, and the character image of the first virtual character is also displayed in the comprehensive virtual scene to prompt that the first virtual character is online.

[0061] On the other hand, it can also be understood that the user-controlled virtual character can leave the first virtual scene and move to the second virtual scene. Alternatively, the user-controlled virtual character actually moves in the second virtual scene, but its character image is always displayed in the first virtual scene. This application is not limited to this.

[0062] In some embodiments, in response to an operation on the first virtual character, a first interface element of the first virtual character is displayed. The timing of displaying the first interface element of a specific first character in this application may be in response to an operation on the first virtual character, or may be other triggering timings. This application does not limit the area where the first interface element is displayed in the user interface. Optionally, the operation on the first virtual character is an operation for displaying the first interface element corresponding to the first virtual character. The operation on the first virtual character includes but is not limited to operations such as clicking and sliding. This application does not limit the specific operation type of the operation on the first virtual character.

[0063] In some embodiments, a first virtual character is in a first virtual scene. In response to an operation on the first virtual character, a first interface element of the first virtual character is displayed on a user interface. Specifically, there is at least one virtual character in the first virtual scene, and these virtual characters do not necessarily have a friend relationship with each other. Optionally, when a first user account has a first permission enabled, optionally, the first permission is "allow everyone to locate their location information." A second user account can control the second virtual character to walk to the first virtual character. The second virtual character is then also displayed on the user interface. In response to an operation on the first virtual character, the first interface element of the first virtual character is displayed on the user interface, allowing the second user account to view and locate the first virtual character's location. In this case, all user accounts can display the first interface element of the first virtual character on the corresponding user interface through operations on the first virtual character. That is, all user accounts can see the first interface element of the first virtual character and quickly locate the first virtual character's location based on the first interface element. Optionally, the first permission is "allow friends to locate their location information." In response to the operation on the first virtual character, the first interface element of the first virtual character is displayed, so that all user accounts that are friends with the first user account can view and locate the position of the first virtual character. That is, the friend user accounts of the first user account can see the first interface element of the first virtual character and quickly locate the position of the first virtual character based on the first interface element.

[0064] In other embodiments, in addition to displaying the first virtual character's first interface element in response to an operation on the first virtual character when the first virtual character is in the first virtual scene, the first virtual character's first interface element may also be displayed in response to an operation on the first virtual character when the first virtual character is in another virtual scene. Optionally, a second virtual character controlled by a second user account is in a second virtual scene. If the first virtual character is in the first virtual scene, then for the second virtual character, in response to a user search operation, the first virtual character may be displayed next to the second virtual character. This does not mean that the first virtual character is next to the second virtual character, but only the first virtual character's character image is displayed. Optionally, after displaying the first virtual character's character image, the first interface element of the first virtual character is displayed. Optionally, if both the first and second virtual characters are in the second virtual scene and the distance between the first and second virtual characters is less than a threshold, the first interface element of the first virtual character is displayed in response to an operation on the second virtual character.

[0065] In other embodiments, the first interface element of the first virtual character is displayed regardless of the content currently displayed in the user interface. Alternatively, regardless of the client interface currently displayed, in response to a search operation for the identification information of the first virtual character, the character image of the first virtual character is displayed, and the first interface element of the first virtual character appears.

[0066] In the embodiment of the present application, there is no limitation on the display timing and display position of the first interface element of the first virtual character. In addition to the methods mentioned in the above embodiments, other possible methods may also be used.

[0067] Step 330 , after the first virtual character leaves the first virtual scene, in response to a first operation on a first interface element corresponding to the first virtual character, a display interface of the second virtual scene where the first virtual character is currently located is displayed, and the first virtual character located in the second virtual scene is displayed.

[0068] First operation: An operation used to locate the first virtual character. The first operation includes, but is not limited to, click, double-click, and slide operations. The embodiments of this application do not limit the specific operation type of the first operation; any operation used to locate the first virtual character on the first interface element is included within the scope of protection of this application.

[0069] The second virtual scene is another virtual scene different from the first virtual scene. This application does not limit the specific scene type of the first virtual scene.

[0070] Display interface of the second virtual scene: The image projected from the second virtual scene, displayed on the user interface, is referred to as the display interface. Optionally, if the second virtual scene includes the first virtual character, the display interface also includes the first virtual character. Optionally, the projection is at least one of a parallel projection and a perspective projection.

[0071] In some embodiments, if a first virtual character leaves a first virtual scene and enters a second virtual scene, then in response to a first operation on a first interface element corresponding to the first virtual character, the second virtual scene in which the first virtual character is located is displayed, and the first virtual character in the second virtual scene is displayed. Optionally, a second virtual scene within a threshold range is displayed, centered on the first virtual character. That is, the second virtual scene in which the first virtual character is located is located among multiple virtual scenes, and the area in the second virtual scene where the first virtual character is located is located. After location, the locations are displayed synchronously, allowing the user to view the specific location of the first virtual character.

[0072] In other embodiments, the current user account is a second user account, and the second virtual character controlled by the second user account is in a third virtual scene. Optionally, in response to a first operation on a first interface element corresponding to the first virtual character, if the first virtual character is in the second virtual scene, in addition to displaying the display interface of the second virtual scene in the first area of ​​the user interface and displaying the first virtual character in the second virtual scene, the display interface of the third virtual scene is also displayed in the second area of ​​the user interface, and the second virtual character in the third virtual scene is displayed. Optionally, the size of the first area and the second area can be adjusted. That is, a split-screen display is implemented, whereby the second virtual character and the virtual scene in which the first virtual character and the virtual scene in which the character is located are displayed simultaneously.

[0073] The technical solution provided by the embodiment of the present application is to operate on the first virtual character in the first virtual environment. When the first character is in the first virtual scene, the user can generate the first interface element corresponding to the character through the operation. After the character leaves the first scene, the user can trigger the first interface element to quickly locate the second virtual scene where the first virtual character is currently located, thereby realizing quick positioning of the scene where the first virtual character is currently located through the first interface element. That is, unlike the related art that can only know whether the user account is online or offline, the present application knows the specific virtual scene of the virtual character through the first interface element, and in response to the first operation on the first interface element, directly switches to display the virtual character and the virtual scene where the virtual character is located, thereby realizing one-click positioning of the first virtual character. Therefore, the technical solution provided by the embodiment of the present application enriches the interaction methods between user accounts and improves the interaction efficiency between user accounts.

[0074] Please refer to Figure 4, which shows a flowchart of a method for displaying a virtual character provided by another embodiment of the present application. The execution subject of each step of the method can be the terminal device 10 in the implementation environment of the solution shown in Figure 1, such as the execution subject of each step can be the second client of the target application. In the following method embodiment, for the sake of convenience, only the execution subject of each step is introduced as the "client". The method can include at least one of the following steps (310-340):

[0075] Step 310 : Displaying a display interface of a first virtual scene in which the first virtual character is located, and displaying the first virtual character in the first virtual scene.

[0076] Step 320: In response to the operation on the first virtual character, a first interface element corresponding to the first virtual character is displayed. The first interface element corresponding to the first virtual character is used to quickly locate the virtual scene where the first virtual character is located, and the virtual scene where the first virtual character is located is switchable.

[0077] Step 331, after the first virtual character leaves the first virtual scene, in response to the first operation on the first interface element corresponding to the first virtual character, the display interface of the currently displayed first virtual scene is switched to the display interface of the second virtual scene, and the first position area of ​​the second virtual scene and the first virtual character located in the first position area are displayed in the display interface of the second virtual scene.

[0078] In some embodiments, the first location area is the area where the first virtual character is located in the second virtual scene. Optionally, when the first virtual character leaves the first virtual scene and arrives at the first location area of ​​the second virtual scene, in response to a first operation on a first interface element corresponding to the first virtual character, the first location area of ​​the second virtual scene is displayed in the display interface of the second virtual scene, along with the first virtual character located in the first location area.

[0079] In some embodiments, the current user interface displays a first virtual scene, and the second virtual character is in the first virtual scene. Optionally, the first virtual character leaves the first virtual scene and is in a first location area in the second virtual scene. At this time, in response to a first operation on a first interface element corresponding to the first virtual character, the display interface of the currently displayed first virtual scene is switched to a display interface displaying the second virtual scene, and the first location area of ​​the second virtual scene and the first virtual character located in the first location area are displayed in the display interface of the second virtual scene.

[0080] That is, regardless of any changes to the virtual scene in which the first virtual character resides, the first virtual character can always be quickly located through the first interface element corresponding to the first virtual character. If the virtual scene in which the first virtual character resides changes, the scene is switched first, and then the area within the scene is switched. In other words, the scene and location of the virtual character are located to achieve precise positioning. The first interface element corresponding to the first virtual character can achieve precise positioning of the first virtual character between different virtual scenes, so that when the first virtual character's scene switches, the first virtual character and the location area within the virtual scene in which the first virtual character is located can be displayed in the display interface in a timely manner.

[0081] The embodiments of the present application do not limit the method for switching the display. Optionally, within a threshold time, the display interface of the currently displayed first virtual scene is switched to the display interface of the second virtual scene by switching scenes. Of course, in addition to switching the display, the display interface of the first virtual scene and the display interface of the second virtual scene can be displayed on the same screen to meet the needs of the second user to simultaneously view the second virtual character controlled by the second user account corresponding to the second user and the first virtual character controlled by the first user account corresponding to the first user.

[0082] Step 340, after the first virtual character moves out of the second position area of ​​the currently displayed first virtual scene, in response to a first operation on the first interface element corresponding to the first virtual character, a third position area of ​​the first virtual scene is displayed in the display interface of the first virtual scene, and the first virtual character located in the third position area is displayed.

[0083] In some embodiments, the first virtual character moves from the second position area of ​​the first virtual scene to the third position area, and the second position area and the third position area are both areas in the first virtual scene. In some embodiments, the second position area is also the position area where the second virtual character is located. Optionally, when the first virtual character moves to the third position area in the first virtual scene, and the second virtual character is still in the second position area of ​​the first virtual scene, in response to a first operation on the first interface element corresponding to the first virtual character, the second position area of ​​the currently displayed first virtual scene is switched to display the third position area of ​​the first virtual scene, and the first virtual character located in the third position area is displayed.

[0084] The embodiment of the present application does not limit the method for switching the display. Optionally, within the threshold time, the second position area moves smoothly from the second position area to the third position area to achieve switching display. Of course, in addition to switching display, the second position area of ​​the first virtual scene and the third position area of ​​the first virtual scene can be displayed on the same screen to meet the needs of the second user to simultaneously view the second virtual character controlled by the second user account corresponding to the second user and the first virtual character controlled by the first user account corresponding to the first user.

[0085] In some embodiments, in response to a first operation on a first interface element corresponding to a first virtual character, the second client sends a request to the server for obtaining the location information corresponding to the first virtual character, and the server sends the location information corresponding to the first virtual character to the second client. Optionally, the location information includes the first virtual scene in which the first virtual character is located and the coordinate information of the first virtual character in the first virtual scene. Optionally, after receiving the first virtual scene in which the first virtual character is located and the coordinate information of the first virtual character in the first virtual scene, the second client displays the display interface of the first virtual scene according to the first virtual scene in which the first virtual character is located and the coordinate information of the first virtual character in the first virtual scene, displays the third location area of ​​the first virtual scene in the display interface of the first virtual scene, and displays the first virtual character located in the third location area.

[0086] In some embodiments, when displaying a first virtual character located in a third location area in a first virtual scene or displaying a first virtual character located in a first location area in a second virtual scene, the first virtual character is displayed distinctly from other virtual characters surrounding the first virtual character. Optionally, methods for displaying the distinct character include, but are not limited to, highlighting the first virtual character, outlining the first virtual character, adding an indicator of the first virtual character's location, and the like.

[0087] The technical solution provided in the embodiment of the present application can display the virtual scene where the first virtual character is located for the second virtual character and when the second virtual character is in the same virtual scene or in a different virtual scene. Therefore, the display of the first virtual character can ignore the difference in virtual scenes. Since the location area where the first virtual character is located can be directly switched to display in response to the first operation on the first interface element, it is conducive to quickly displaying the first virtual character to meet the needs of the first user who wants to display the first virtual character that he or she controls. In addition, since the display is directly switched without the need for cumbersome control movement steps, the processing overhead required for the device to display the first virtual character is reduced.

[0088] Please refer to Figure 5, which shows a flowchart of a method for displaying a virtual character provided by another embodiment of the present application. The execution subject of each step of the method can be the terminal device 10 in the implementation environment of the solution shown in Figure 1, such as the execution subject of each step can be the client of the target application. In the following method embodiment, for the sake of ease of description, only the execution subject of each step is introduced as the "client". The method can include at least one of the following steps (501-540):

[0089] Step 501: Display a display interface of a first virtual scene in which a first virtual character is located, and display the first virtual character in the first virtual scene.

[0090] Step 510: In response to an operation on the first virtual character, a first interface element corresponding to the first virtual character is displayed. The first interface element corresponding to the first virtual character is used to quickly locate the virtual scene where the first virtual character is located, and the virtual scene where the first virtual character is located is switchable.

[0091] In some embodiments, the first interface element corresponding to the first virtual character displays at least one of identification information of the first virtual character and identification information of a virtual scene in which the first virtual character is located.

[0092] In some embodiments, the identification information of the first virtual character is any information that can uniquely characterize the first virtual character. Optionally, the identification information of the first virtual character includes but is not limited to the virtual image of the first virtual character and the name of the first virtual character. Optionally, the name of the first virtual character is used as the identification information of the virtual character. Optionally, the virtual image of the first virtual character is used as the identification information of the virtual character. Optionally, the name of the first virtual character and the virtual image are used as the identification information of the virtual character. Optionally, the name of the first virtual character is information that is set by the first user account or generated by the client itself, which uniquely characterizes the first virtual character.

[0093] In some embodiments, the identification information of the virtual scene in which the first virtual character is located is any information that can uniquely characterize the virtual scene. Optionally, the identification information of the virtual scene in which the first virtual character is located includes but is not limited to the name of the virtual scene or the icon of the virtual scene. Optionally, the name of the virtual scene in which the first virtual character is located is used as the identification information of the virtual scene. Optionally, the icon of the virtual scene in which the first virtual character is located is used as the identification information of the virtual scene. Optionally, the name and icon of the virtual scene in which the first virtual character is located are used as the identification information of the virtual scene. Optionally, the identification information of the virtual scene is information that is set by a user account or set by a target application and uniquely characterizes the virtual scene.

[0094] Optionally, the first interface element corresponding to the first virtual character displays identification information of the first virtual character. Optionally, the first interface element corresponding to the first virtual character displays identification information of the virtual scene in which the first virtual character resides. Optionally, the first interface element corresponding to the first virtual character displays identification information of the first virtual character and identification information of the virtual scene in which the first virtual character resides.

[0095] In some embodiments, the name of the first virtual character is "Tao Y", the virtual image of the first virtual character is a little girl in black clothes, and the name of the virtual scene in which the first virtual character is located is library. Then, "Tao Y, a virtual image of a little girl in black clothes, and library" are displayed on the first interface element of the first virtual character, and the first interface element corresponding to the first virtual character displays the identification information of the first virtual character (i.e., Tao Y, a virtual image of a little girl in black clothes), and the identification information of the virtual scene in which the first virtual character is located (i.e., library).

[0096] The embodiment of the present application does not limit the specific form of the virtual image of the first virtual character. Optionally, the first user account can modify the virtual image of the first virtual character.

[0097] Step 520 , after the first virtual character leaves the first virtual scene, in response to a first operation on a first interface element corresponding to the first virtual character, a display interface of the second virtual scene where the first virtual character is currently located is displayed, and the first virtual character located in the second virtual scene is displayed.

[0098] In some embodiments, step 520 may be followed by at least one of steps 521 to 524 (not shown in the figure).

[0099] Step 521, in response to the second operation on the first interface element corresponding to the first virtual character, display at least one of the first option, the second option and the third option; wherein the first option is used to enter the virtual scene where the first virtual character is currently located, the second option is used to invite the first virtual character to enter the virtual scene where the second virtual character currently controlled by the client is located, and the third option is used to trigger the first virtual character and the second virtual character currently controlled by the client to enter the third virtual scene together.

[0100] In some embodiments, the first operation is an operation on the first interface element for displaying at least one of the first option, the second option, and the third option. Optionally, the first operation includes but is not limited to operations such as clicking, double-clicking, and sliding. The embodiments of the present application do not limit the specific operation type of the first operation.

[0101] In some embodiments, at least one of the first option, the second option, and the third option is displayed. Alternatively, any one of the first option, the second option, and the third option is displayed. Alternatively, any two of the first option, the second option, and the third option are displayed. Alternatively, the first option, the second option, and the third option are displayed. This embodiment of the application does not limit the number of options displayed in response to the second operation on the first interface element corresponding to the first virtual character.

[0102] In some embodiments, the first option, the second option, and the third option correspond to different functions, respectively. For details, please refer to the explanations of the following steps. Optionally, the first option, the second option, and the third option are displayed in the form of controls.

[0103] Step 522 : In response to the operation on the first option, display the display interface of the second virtual scene where the first virtual character is currently located, and display the first virtual character located in the second virtual scene.

[0104] In some embodiments, the operation for the first option is an operation for displaying a display interface of a second virtual scene in which the first virtual character is currently located, and an operation for displaying the first virtual character in the second virtual scene. Optionally, the operation for the first option includes, but is not limited to, clicking, double-clicking, sliding, and other operations. The embodiments of the present application do not limit the specific operation type for the operation for the first option.

[0105] Step 523, in response to the operation for the second option, display the display interface of the virtual scene where the second virtual character is located, and when the first virtual character accepts the invitation, the display switches from the scene where the first virtual character is located to the first virtual character in the virtual scene where the second virtual character is located.

[0106] In some embodiments, the operation for the second option is an interface for displaying a virtual scene in which the second virtual character is located, and, if the first virtual character accepts the invitation, an operation for displaying the first virtual character in the virtual scene in which the second virtual character is located switches from the first virtual scene to the first virtual character in the virtual scene in which the second virtual character is located. Optionally, the operation for the second option includes, but is not limited to, clicking, double-clicking, sliding, and other operations. The embodiments of the present application do not limit the specific operation type for the operation for the second option.

[0107] In some embodiments, the second client sends an invitation message to the first client in response to an operation for the second option, and the invitation message is used to invite the first virtual character to enter the virtual scene where the second virtual character is located. Optionally, after the first client receives the invitation message sent by the second client, it sends an invitation feedback message to the second client in response to the invitation feedback operation of the first user account. Optionally, the invitation feedback message includes agreeing to the invitation and rejecting the invitation. The second client receives the invitation feedback message sent by the first client, and when the invitation feedback message is agreeing to the invitation, it displays the virtual scene where the second virtual character is located and displays the first virtual character in the virtual scene switched from the first virtual scene to the second virtual character. That is, the first virtual character is invited to the virtual scene where the second virtual character is located.

[0108] Step 524 : In response to the operation on the third option, display the display interface of the third virtual scene, and display the first virtual character and the second virtual character located in the third virtual scene.

[0109] In some embodiments, the operation for the third option is an operation for displaying a display interface for a third virtual scene, and an operation for displaying the first virtual character and the second virtual character in the third virtual scene. Optionally, the operation for the third option includes, but is not limited to, clicking, double-clicking, sliding, and the like. The embodiments of the present application do not limit the specific operation type for the operation for the third option.

[0110] In some embodiments, the third virtual scene is one of the virtual scenes of the target application. Optionally, the third virtual scene can be another virtual scene that is different from the virtual scene actually located by the first virtual character and different from the virtual scene actually located by the second virtual character. Optionally, the third virtual scene is selected by the second user or determined by negotiation between the second user and the first user.

[0111] In some embodiments, the third virtual scene is determined by the second user's selection. Optionally, in response to an operation on the third option, a name list of virtual scenes is displayed. Optionally, in response to a scene selection operation on the third virtual scene in the name list of virtual scenes, a display interface of the third virtual scene is displayed. Optionally, the scene selection operation is an operation for selecting the third virtual scene from the name list. Furthermore, in addition to selecting the virtual scene, the second user can also select a third position in the third virtual scene. Optionally, in response to a scene selection operation on the third virtual scene in the name list of virtual scenes and a selection operation on the third position, identification information of the third virtual scene and position information of the third position in the third virtual scene are sent to the first client. Optionally, after receiving the identification information of the third virtual scene and the position information of the third position in the third virtual scene sent by the second client, the first client controls the first virtual character to move to the third position in the third virtual scene.

[0112] In some embodiments, the third virtual scene is determined by negotiation between the second user and the first user. Optionally, after the second client sends identification information of the third virtual scene and location information of the third position in the third virtual scene to the first client, the second client receives negotiation information from the first client. If the negotiation information recognizes the third virtual scene and third position sent by the second client, the negotiation is successful. At this point, the first client controls the first virtual character to move to the third position of the third virtual scene, and the second client controls the second virtual character to move to the third position of the third virtual scene, displaying the display interface of the third virtual scene and displaying the first virtual character and the second virtual character in the third virtual scene. Optionally, if the negotiation information does not recognize the third virtual scene and third position sent by the second client, and the negotiation information returned by the first client also includes a fourth virtual scene and fourth position, the second client continues to negotiate after receiving the fourth virtual scene and fourth position until the negotiation is successful. Of course, the first and second user accounts can also negotiate through a dialog box. This application does not limit the method of negotiation.

[0113] Step 530: Receive first update information, where the first update information is used to indicate that the virtual image of the first virtual character has been updated; and update the virtual image of the first virtual character displayed in the first interface element corresponding to the first virtual character according to the first update information.

[0114] In some embodiments, a first user account updates the avatar of a first virtual character, obtaining a first update result. Optionally, the first client sends the first update result to a server of a target application. Optionally, after receiving the first update result, the server sends first update information to a second client, indicating that the avatar of the first virtual character has been updated.

[0115] In some embodiments, the first update result carries at least identification information of the first virtual character and information about the updated virtual image of the first virtual character. In some embodiments, the first update information carries at least information about the updated virtual image of the first virtual character.

[0116] Step 540: Receive second update information, where the second update information indicates that the virtual scene where the first virtual character is located is updated; and update identification information of the virtual scene where the first virtual character is located displayed in the first interface element corresponding to the first virtual character according to the second update information.

[0117] In some embodiments, a first user account updates a virtual scene in which a first virtual character resides, obtaining a second update result. Optionally, the first client sends the second update result to a server of a target application. Optionally, after receiving the second update result, the server sends second update information to the second client, indicating that the virtual scene in which the first virtual character resides has been updated.

[0118] In some embodiments, the second update result carries at least the identification information of the first virtual character and the identification information of the virtual scene where the first virtual character is located after the update. In some embodiments, the second update information carries at least the identification information of the virtual scene where the first virtual character is located after the update.

[0119] The technical solution provided in the embodiment of the present application, on the one hand, by displaying the virtual image of the first virtual character and the identification information of the virtual scene in which the first virtual character is located on the first interface element of the first virtual character, can clearly identify the first virtual character and the corresponding virtual scene in which it is located, avoid positioning errors, and improve positioning accuracy.

[0120] On the other hand, when the first user account changes the virtual image of the first virtual character and the virtual scene in which the first virtual character is located, the second client receives the update information and synchronously updates the virtual image of the first virtual character and the virtual scene in which the first virtual character is located displayed in the second client, reflecting the real-time and accuracy of virtual social interaction.

[0121] On the other hand, in response to the second operation on the first interface element, the embodiment of the present application displays three options with different functions, and implements different functions for different options. Not only can one switch to display virtual characters controlled by other user accounts with one click, but it can also invite virtual characters controlled by other user accounts to the location of the virtual character controlled by the current user account with one click. At the same time, it can also enable the virtual character controlled by the current user account and the virtual characters controlled by other user accounts to move to the place where both of them want to go at the same time. Therefore, the technical solution provided by the embodiment of the present application can meet the different needs of users, enrich the social methods of virtual social interaction, and reflect social flexibility.

[0122] Please refer to Figure 6, which shows a flowchart of a method for displaying a virtual character provided by another embodiment of the present application. The execution subject of each step of the method can be the terminal device 10 in the implementation environment of the solution shown in Figure 1, for example, the execution subject of each step can be the client of the target application. In the following method embodiment, for the sake of convenience, only the execution subject of each step is introduced as the "client". The method can include at least one of the following steps (601-650):

[0123] Step 601: Display a display interface of a first virtual scene in which a first virtual character is located, and display the first virtual character in the first virtual scene.

[0124] Step 610: Display a first control in response to an operation on the first virtual character.

[0125] In some embodiments, a first virtual character is located in a first virtual scene, which is a virtual scene provided for stranger social interaction, and user accounts corresponding to the virtual characters in the first virtual scene have not yet established a friendship relationship. In this case, any first virtual character displayed on a terminal device where a second client resides can display a first control in response to an operation on the first virtual character.

[0126] By setting the first virtual scene as a virtual scene provided for stranger social interaction, conditions are provided for the social interaction between the current user account and the stranger user account, the social circle of the current user account is expanded, and the efficiency of virtual social interaction is improved.

[0127] Optionally, a third control may be displayed in response to an operation on a third virtual character. Optionally, the third virtual character is another virtual character different from the first virtual character and the second virtual character. Optionally, in response to an operation on the third control, a first interface element corresponding to the third virtual character is displayed.

[0128] The embodiments of the present application do not limit the location where the virtual image corresponding to the first virtual character can appear. Optionally, the account homepage of the first user account has a virtual image corresponding to the first virtual character. Optionally, the virtual image of the first virtual character is displayed in the above-mentioned comprehensive virtual scene. Optionally, the virtual image corresponding to the first virtual character can be obtained by searching the second user account. Optionally, wherever the virtual image of the first virtual character appears, the first control can be displayed in response to an operation on the first virtual character. However, this application does not limit the location in the target application where the virtual image of the first virtual character can be displayed and the manner in which the virtual image of the first virtual character is displayed.

[0129] In some embodiments, the operation on the first virtual character is an operation for displaying the first control. Optionally, the operation includes but is not limited to operations such as clicking, double-clicking, and sliding. The embodiments of the present application do not limit the specific operation type of the operation on the first virtual character.

[0130] In some embodiments, the first control is a user interface control. Optionally, a user interface (UI) control is any visual control or element that can be seen on the user interface of an application, such as a picture, input box, text box, button, label and other controls, some of which respond to user operations, such as a first control. Optionally, in response to an operation on the first control, a first interface element corresponding to the first virtual character is displayed. The UI controls involved in the embodiments of the present application include but are not limited to: a first control. Of course, the embodiments of the present application do not limit the position of the first control in the interface. Optionally, in response to a click operation on the first virtual character, the first control is displayed in the upper right corner of the first virtual character.

[0131] In some embodiments, step 610 further includes step 611 (not shown in the figure).

[0132] Step 611 : In response to an operation on a first virtual character, if the user has a first permission for the first virtual character, display a first control; if the user does not have the first permission for the first virtual character, do not display the first control.

[0133] In some embodiments, the first permission is permission to allow other user accounts to perform location operations. Optionally, when permission to allow other user accounts to perform location operations is granted, the first control is displayed in response to an operation on the first virtual character. Optionally, when permission to allow other user accounts to perform location operations is not granted, the first control is not displayed in response to an operation on the first virtual character.

[0134] In some embodiments, the first permission can be further divided into stranger permission and friend permission. Optionally, when the first permission is stranger permission, the first permission allows any other user account, including non-friend user accounts, to locate the first virtual character. When the first permission is stranger permission, the first control is displayed in response to any user account's operation on the first virtual character.

[0135] Optionally, when the first permission is a friend permission, the first permission allows other friend user accounts to locate the user. When the friend permission is granted, the first control is displayed in response to any operation on the first virtual character by any friend user account of the first user account. Accordingly, the first control is not displayed in response to any operation on the first virtual character by any friend user account other than the first user account.

[0136] Here, the friend user account is explained. The friend user account is a user account that has at least one of a friendship relationship, a cooperation relationship, and a same-camp relationship with the first user account.

[0137] By setting the first permission for the display of the first control, user accounts that do not have the first permission are prevented from obtaining the location information of the first virtual character, thereby effectively protecting the privacy of the first virtual character and improving the security of virtual social interaction.

[0138] Step 620 : Displaying a first interface element corresponding to the first virtual character in response to an operation on the first control; wherein the first interface element corresponding to the first virtual character is displayed on top in the form of a floating window.

[0139] In some embodiments, a plurality of first interface elements may be displayed simultaneously on the user interface, and different virtual characters correspond to different first interface elements, thereby quickly locating different virtual characters according to the user's selection.

[0140] By first operating the first virtual character to display the first control, and then operating the first control to display the first interface element that the first virtual character has won, user accounts that do not have the first permission are prevented from obtaining the location information of the first virtual character, and other user accounts are prevented from accidentally operating the first virtual character, thereby improving the security of virtual social interaction.

[0141] In some embodiments, as shown in FIG. 7 , in response to an operation on a first control 710 , a first interface element 720 corresponding to the first virtual character is displayed.

[0142] In some embodiments, when the user account corresponding to the first virtual character is online, the first interface element corresponding to the first virtual character is displayed in a first display style.

[0143] In some embodiments, when the user account corresponding to the first virtual character is in an offline state, the first interface element corresponding to the first virtual character is displayed in a second display style. The first display style and the second display style are different.

[0144] In some embodiments, as shown in FIG. 7, the first interface element 720 corresponding to the first virtual character is in the first display style. As shown in FIG. 8, the first interface element 820 corresponding to the first virtual character is in the second display style. Optionally, when the user account corresponding to the first virtual character is in an offline state, the first interface element is displayed in the second display style, and the fact that the first virtual character is offline is displayed in the first interface element. Optionally, when a first operation is performed on the first interface element corresponding to the first virtual character, an offline prompt message "Taoy has gone offline" is displayed, where Taoy is the identification information of the first virtual character.

[0145] Optionally, two display styles of the first interface element are designed according to whether the user account is in an offline state or an online state. Optionally, the first display style and the second display style correspond to first interface display elements of different colors. Optionally, through the two display styles, it can help a second user quickly distinguish whether the current first user account is in an online state or an offline state, and improve the efficiency of virtual social interaction.

[0146] In some embodiments, after step 620, at least one of steps 621 to 622 (not shown in the figure) is further included.

[0147] Step 621, in response to a close operation on the first interface element corresponding to the first virtual character, cancel the display of the first interface element corresponding to the first virtual character.

[0148] In some embodiments, the close operation is an operation for closing the first interface element. Optionally, the operation includes but is not limited to operations such as clicking, double-clicking, and swiping. The embodiments of the present application do not limit the operation type of the close operation.

[0149] Step 622, in response to a move operation on the first interface element corresponding to the first virtual character, adjust the display position of the first interface element corresponding to the first virtual character.

[0150] In some embodiments, the move operation is an operation for moving the first interface element. Optionally, the operation includes but is not limited to operations such as clicking, double-clicking, and swiping. The embodiments of the present application do not limit the operation type of the move operation.

[0151] By closing or moving the first interface element, the flexible use of the first interface element is achieved, the convenience of using the first interface element is improved, and it is convenient to realize the quick social interaction between other user accounts and the current user account.

[0152] Step 630, after the first virtual character leaves the first virtual scene, in response to a first operation on a first interface element corresponding to the first virtual character, display the display interface of the second virtual scene where the first virtual character is currently located, and display the first virtual character located in the second virtual scene.

[0153] In some embodiments, as shown in FIG9 , in response to a first operation on a first interface element 910 corresponding to a first virtual character, if the first virtual character is in a second virtual scene, a display interface of the second virtual scene library is displayed, along with the first virtual character 920 in the second virtual scene. In some embodiments, the first virtual character is highlighted.

[0154] In some embodiments, as shown in FIG10 , a schematic diagram of a user interface for setting permissions is provided. Optionally, as shown in FIG10 , 1000 shows a virtual social interface in the related art. Optionally, the second user account and the first user account have a friend relationship. Optionally, after the first user account logs out of the application client, the second user account, as a friend, can determine whether the first user account is online or offline after logging into the client. When the first user account is online, the virtual character controlled by the first user account is considered online. When the first user account is offline, the virtual character controlled by the first user account is considered offline. In the related art, due to user account permissions, user accounts that are not friends of the first user account generally cannot view the location information of the first virtual character controlled by the first user account. In other embodiments, a second user account that is a friend of the first user account can view the virtual scene of the first virtual character controlled by the first user account, but cannot locate the specific location. If a second virtual character controlled by the second user account wants to go to the first virtual character's location, it cannot do so directly and must be directed by the second user account to travel to the first virtual character's location. This results in low interaction efficiency. Furthermore, each time the second user account wants to query the location of the first virtual character, it needs to open the list to query, which is relatively complicated.

[0155] The present embodiment of the present application proposes a method for displaying virtual characters, which is used to help users understand and quickly locate the location of the characters they are interested in, solving the problem of difficulty finding people in the virtual world. As shown in 1010 of Figure 10, this is an interface diagram for setting permissions proposed in the present embodiment of the application. If a first user account has the first permission, the specific virtual scene and specific location of the virtual character can be located. Optionally, if the first user account is set to have the first permission, if the first user account is online and the first virtual character controlled by the first user account is in the first location area of ​​the first virtual scene, then a second user can locate the first virtual scene and the first location area of ​​the first virtual character. Optionally, in 1010, if the "Allow strangers to locate me" permission in the figure is enabled by the first user account, the aforementioned stranger permission (also considered the first permission) is enabled. Optionally, in 1010, if the "Allow friends to locate me" permission in the figure is enabled by the first user account, the aforementioned friend permission (also considered the first permission) is enabled. Therefore, the technical solution provided by the embodiment of the present application can quickly locate the virtual scene and position of the second virtual character, improve the interaction efficiency, and reduce the processing overhead of the device to a certain extent.

[0156] Step 640: When the second virtual character currently controlled by the client is in the second virtual scene, in response to the first interactive operation, the second virtual character is moved to the position of the first virtual character for display.

[0157] In some embodiments, the first interactive operation is an operation of moving the second virtual character currently controlled by the client to the position of the first virtual character when the second virtual character is in the second virtual scene. Optionally, the operation includes but is not limited to clicking, double-clicking, sliding, and other operations. The embodiment of the present application does not limit the operation type of the first interactive operation.

[0158] In some embodiments, there are at least three ways to move the second virtual character to the position of the first virtual character: In one aspect, the second client directly modifies the coordinate information of the second virtual character so that the second virtual character directly appears at the position of the first virtual character.

[0159] On the other hand, the second client does not directly modify the coordinate information of the second virtual character, but instead controls the second virtual character to move to the position of the first virtual character. Optionally, the client determines the shortest path based on the current position information of the second virtual character and the position information of the second virtual character, and controls the second virtual character to move quickly to the position of the first virtual character at a speed limit.

[0160] On the other hand, the second client determines the shortest path based on the current position information of the second virtual character and the position information of the second virtual character, and displays the shortest path between the first virtual character and the second virtual character. At this time, the second client needs to respond to the second user account's operation to control the movement of the second virtual character before it can control the movement of the first virtual character.

[0161] Step 650: If the second virtual character currently controlled by the client is not in the second virtual scene, in response to the second interactive operation, add the second virtual character to the second virtual scene for display.

[0162] In some embodiments, the second interactive operation is an operation of moving the second virtual character to the position of the first virtual character when the second virtual character currently controlled by the client is not in the second virtual scene. Optionally, the operation includes but is not limited to operations such as clicking, double-clicking, and sliding. The embodiment of the present application does not limit the operation type of the second interactive operation. In some embodiments, in response to the second interactive operation, the second virtual character is added to the position of the first virtual character in the second virtual scene for display.

[0163] In some embodiments, the second client directly modifies the virtual scene information and coordinate information of the second virtual character, so that the second virtual character is directly displayed at the position of the first virtual character in the first virtual scene.

[0164] In other embodiments, when a second virtual character moves to the location of a first virtual character or is added and displayed in the first virtual scene, the second client is controlled to automatically send an incoming message to the first client. This incoming message is used to notify the first user account that the second virtual character is approaching. Optionally, the incoming message includes the second virtual character's avatar, the second virtual character's user account information, and so on. Optionally, after receiving the incoming message, the first client can provide a reply message to the second client. Optionally, the reply message indicates whether the second virtual character controlled by the second user account corresponding to the second client can or cannot come to the first virtual character. Optionally, if the reply message indicates that the second virtual character cannot come to the first virtual character, the second virtual character cannot move to the first virtual character. Optionally, if the reply message indicates that the second virtual character can come to the first virtual character but the distance must exceed a threshold, the second virtual character can only move beyond the threshold distance from the first virtual character.

[0165] In some embodiments, after step 650, step 651 is further included (not shown in the figure).

[0166] Step 651: In response to an interactive operation on the first virtual character, display an interactive animation between the first virtual character and the second virtual character in a second virtual scene.

[0167] In some embodiments, an interactive animation is a dynamic display of an interactive operation between a first virtual character and a second virtual character. The interactive operation is an interactive operation performed by the first and second virtual characters. Optionally, such an operation includes, but is not limited to, clicks, double-clicks, and swipes. The embodiments of this application do not limit the type of interactive operation. In some embodiments, the interaction between the first and second virtual characters includes, but is not limited to, dialogue interaction, action interaction, and the like. In some embodiments, the interaction is a dialogue interaction, where a dialog box between the first and second virtual characters is displayed in the second virtual scene. A dialogue input box is displayed on the second client, where the second user can enter the dialogue content. Correspondingly, the first client has a corresponding dialogue receiving box that displays the dialogue content sent by the second user account. The interactive animation is a dynamic display of the interactive dialogue between the first and second user accounts. In other embodiments, the interaction is an action interaction, where the actions of the first and second virtual characters are displayed in the second virtual scene. Optionally, the second client displays at least one interactive action control. Optionally, in response to an operation on a target interactive action control in the at least one interactive action control, the second virtual character is controlled to perform the action indicated by the target interactive action control. Optionally, the type of interactive operation pointed to by the interactive operation control includes but is not limited to hugging, kissing, raising high, clapping, etc., and the interactive animation is a dynamic display screen of interactive actions such as hugging, kissing, raising high, clapping, etc. Optionally, in response to the interactive operation control (taking the type of interactive operation pointed to as an example), the second virtual character is controlled to hug the first virtual character. In other embodiments, the type of interactive operation pointed to by the interactive operation control is related to the scene type of the virtual scene. In different virtual scenes, the displayed interactive operation controls are different. For example, if the virtual scene is a library, the type of interactive operation pointed to by the interactive operation control is a learning operation, a tutoring operation, an answering question operation, etc. If the virtual scene is a gymnasium, the type of interactive operation pointed to by the interactive operation control is a running operation, a skipping rope operation, etc. In this case, the relationship between the virtual scene and the type of interactive operation pointed to by the interactive operation control is pre-set by the application. Of course, you can also use the second user account to add the interactive operation you want to perform, and display the corresponding interactive operation controls.

[0168] By displaying interactive animations based on interactive operations in a virtual scene, the display screen of the application can be enriched, thereby increasing the enthusiasm of both users for virtual social interaction and improving the interaction efficiency of both users.

[0169] The technical solution provided by the embodiments of the present application, when the user has the first permission, can not only locate and display the first virtual character, but also move and display the second virtual character controlled by the current client or add it to the location of the first virtual character or the virtual scene where the first virtual character is located. While ensuring privacy, it enables rapid social interaction between virtual characters controlled by user accounts.

[0170] Please refer to Figure 11, which shows a block diagram of a method for displaying a virtual character provided by an embodiment of the present application. The execution subject of each step of the method can be the terminal device 10 in the implementation environment of the solution shown in Figure 1, such as the execution subject of each step can be the client of the target application. In the following method embodiment, for the sake of convenience, only the execution subject of each step is introduced as the "client". The method can include at least one of the following steps (S1 to S3):

[0171] Step S1: Determine whether the user has the first permission.

[0172] Long press the role you want to locate to check whether it has the first permission. If it does, it means it can be located. If not, long press to not display the first control. If it can be located, the first control will be displayed.

[0173] Click the first control to display the first interface element on the screen. The first interface element changes in real time based on the character's position. Click the first interface element.

[0174] Step S2: Determine whether the character is still online.

[0175] If not online, then prompt that the character is offline. If online, execute step S3.

[0176] Step S3, determining whether the character is in the current scene.

[0177] If the located character is in the same scene as the user, the camera will pan to the character and highlight it; if the located character is in a different scene than the user, the camera will jump to the character's current scene, locate the character, and highlight it.

[0178] Please refer to Figure 12, which shows a block diagram of a method for displaying a virtual character provided by another embodiment of the present application. The execution subject of each step of the method can be the terminal device 10 in the implementation environment of the solution shown in Figure 1, such as the execution subject of each step can be the client of the target application. In the following method embodiment, for the sake of convenience, only the execution subject of each step is introduced as the "client". The method can include at least one of the following steps (P1 to P2):

[0179] The user long presses the role, and the client presentation layer (second client) asks the background logic layer (server) for the role privacy setting information (whether it has the first permission). Optionally, the background logic layer returns the role privacy setting information.

[0180] Step P1: The client presentation layer determines whether positioning is possible.

[0181] If possible, the client presentation layer displays the first control. If not, it hides the first control. While the first control is displayed, the user clicks the first control, and the client presentation layer displays the first interface element. In response to the user clicking the first interface element, the client presentation layer queries the backend logic layer for the character's online information. The backend logic layer determines whether the character is online. If not, the backend logic layer returns an offline signal to the client presentation layer. If online, the backend logic layer returns the scene and character coordinates to the client.

[0182] Step P2: The character is online, and the client presentation layer determines whether the current scene of the user (second virtual character) and the character (first virtual character) are in the same scene.

[0183] If they are in the same scene, the camera will pan to the character and highlight the character. If they are not in the same scene, the camera will locate the character and highlight the character.

[0184] The technical solution provided by the embodiments of this application provides an intuitive display of the character's location, allowing users to quickly and easily reach the scene where the character is located and clearly find the target character, satisfying the user's attention needs. For the located character, in social networking with acquaintances, it is convenient to meet other friends, and in social networking with strangers, it satisfies the psychological desire to be sought after. This improves social efficiency while also taking into account privacy issues.

[0185] The following are device embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.

[0186] Please refer to Figure 13, which shows a block diagram of a display device for a virtual character provided by an embodiment of the present application. The device has the function of implementing the above-mentioned method example, and the function can be implemented by hardware or by hardware executing corresponding software. The device can be the terminal device described above, or it can be set in a terminal device. As shown in Figure 13, the device 1300 may include: an interface display module 1301, an element display module 1310, and a scene switching module 1320.

[0187] The interface display module 1301 is configured to display a display interface of a first virtual scene in which a first virtual character is located, and to display the first virtual character in the first virtual scene.

[0188] The element display module 1310 is used to display a first interface element corresponding to the first virtual character in response to an operation on the first virtual character. The first interface element corresponding to the first virtual character is used to quickly locate the virtual scene where the first virtual character is located, and the virtual scene where the first virtual character is located is switchable.

[0189] The scene switching module 1320 is used to display the display interface of the second virtual scene in which the first virtual character is currently located, and to display the first virtual character located in the second virtual scene in response to a first operation on a first interface element corresponding to the first virtual character after the first virtual character leaves the first virtual scene.

[0190] In some embodiments, the scene switching module 1320 is used to switch the display interface of the currently displayed first virtual scene to a display interface for displaying the second virtual scene, display the first position area of ​​the second virtual scene in the display interface of the second virtual scene, and display the first virtual character located in the first position area.

[0191] In some embodiments, the scene switching module 1320 is further used to display a third position area of ​​the first virtual scene in the display interface of the first virtual scene and display the first virtual character located in the third position area in response to a first operation on a first interface element corresponding to the first virtual character after the first virtual character moves out of the second position area of ​​the first virtual scene currently displayed.

[0192] In some embodiments, the first interface element corresponding to the first virtual character displays: identification information of the first virtual character, and identification information of the virtual scene in which the first virtual character is located.

[0193] In some embodiments, as shown in FIG. 14 , the apparatus further includes an information receiving module 1330 .

[0194] The information receiving module 1330 is used to receive first update information, where the first update information is used to indicate that the virtual image of the first virtual character is updated; based on the first update information, the virtual image of the first virtual character displayed in the first interface element corresponding to the first virtual character is updated; or, to receive second update information, where the second update information is used to indicate that the virtual scene where the first virtual character is located is updated; based on the second update information, the identification information of the virtual scene where the first virtual character is located displayed in the first interface element corresponding to the first virtual character is updated.

[0195] In some embodiments, the element display module 1310 is configured to display a first control in response to an operation on the first virtual character.

[0196] The element display module 1310 is further configured to display a first interface element corresponding to the first virtual character in response to an operation on the first control; wherein the first interface element corresponding to the first virtual character is displayed on top in the form of a floating window.

[0197] In some embodiments, the element display module 1310 is configured to display the first control in response to an operation on the first virtual character if the user has the first permission for the first virtual character; wherein the first control is not displayed if the user does not have the first permission for the first virtual character.

[0198] In some embodiments, the scene switching module 1320 is further used to, in response to a first interactive operation, move the second virtual character currently controlled by the client to the position of the first virtual character for display when the second virtual character currently controlled by the client is in the second virtual scene; or, in response to a second interactive operation, add the second virtual character to the second virtual scene for display when the second virtual character currently controlled by the client is not in the second virtual scene.

[0199] In some embodiments, the scene switching module 1320 is further configured to display an interactive animation between the first virtual character and the second virtual character in the second virtual scene in response to an interactive operation on the first virtual character.

[0200] In some embodiments, the element display module 1310 is further used to display the first interface element corresponding to the first virtual character in a first display style when the user account corresponding to the first virtual character is online; or to display the first interface element corresponding to the first virtual character in a second display style when the user account corresponding to the first virtual character is offline; wherein the first display style and the second display style are different.

[0201] In some embodiments, the element display module 1310 is further used to cancel the display of the first interface element corresponding to the first virtual character in response to a close operation on the first interface element corresponding to the first virtual character; or to adjust the display position of the first interface element corresponding to the first virtual character in response to a move operation on the first interface element corresponding to the first virtual character.

[0202] In some embodiments, as shown in FIG. 14 , the device further includes an option display module 1340 .

[0203] The option display module 1340 is used to display at least one of the first option, the second option and the third option in response to the second operation on the first interface element corresponding to the first virtual character; wherein, the first option is used to enter the virtual scene where the first virtual character is currently located, the second option is used to invite the first virtual character to enter the virtual scene where the second virtual character currently controlled by the client is located, and the third option is used to trigger the first virtual character and the second virtual character currently controlled by the client to enter a third virtual scene together.

[0204] The scene switching module 1320 is configured to display a display interface of a second virtual scene in which the first virtual character is currently located, and to display the first virtual character in the second virtual scene.

[0205] The scene switching module 1320 is further configured to display a display interface of the virtual scene where the second virtual character is located in response to an operation on the second option, and to display the first virtual character in the virtual scene where the first virtual character is located switched to the first virtual character in the virtual scene where the second virtual character is located when the first virtual character accepts the invitation.

[0206] The scene switching module 1320 is further configured to display a display interface of the third virtual scene and the first virtual character and the second virtual character in the third virtual scene in response to an operation on the third option.

[0207] In some embodiments, the first virtual scene is a virtual scene provided for stranger social interaction, and user accounts corresponding to virtual characters in the first virtual scene have not established friendships.

[0208] It should be noted that the apparatus provided in the above embodiments, when implementing its functions, is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0209] Please refer to Figure 15, which shows a block diagram of a terminal device 1500 provided in one embodiment of the present application. The terminal device 1500 may be the terminal device 10 in the implementation environment shown in Figure 1, and is used to implement the display method of the virtual character provided in the above embodiment. Specifically:

[0210] Typically, the terminal device 1500 includes a processor 1501 and a memory 1502 .

[0211] The processor 1501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1501 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 1501 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 1501 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 1501 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0212] Memory 1502 may include one or more computer-readable storage media, which may be non-transitory. Memory 1502 may also include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices or flash memory storage devices. In some embodiments, the non-transitory computer-readable storage media in memory 1502 is used to store a computer program, which is configured to be executed by one or more processors to implement the above-described virtual character display method.

[0213] In some embodiments, terminal device 1500 may optionally include a peripheral device interface 1503 and at least one peripheral device. The processor 1501, memory 1502, and peripheral device interface 1503 may be connected via a bus or signal lines. Each peripheral device may be connected to peripheral device interface 1503 via a bus, signal lines, or circuit boards. Specifically, the peripheral device may include at least one of a radio frequency circuit 1504, a display screen 1505, an audio circuit 1507, and a power supply 1508.

[0214] Those skilled in the art will understand that the structure shown in FIG15 does not constitute a limitation on the terminal device 1500 , and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.

[0215] In an exemplary embodiment, a computer-readable storage medium is further provided. The storage medium stores a computer program. When the computer program is executed by a processor, the computer program can implement the method for displaying a virtual character.

[0216] Optionally, the computer-readable storage medium may include: ROM (Read-Only Memory), RAM (Random Access Memory), SSD (Solid State Drives), or an optical disk, etc. Among them, the random access memory may include ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).

[0217] In an exemplary embodiment, a computer program product is further provided, comprising a computer program stored in a computer-readable storage medium. A processor of a terminal device reads the computer program from the computer-readable storage medium and executes the computer program, causing the terminal device to perform the above-described method for displaying a virtual character.

[0218] It should be understood that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. In addition, the step numbers described in this article only illustrate a possible execution sequence between the steps. In some other embodiments, the above steps may not be executed in the order of the numbers, such as two steps with different numbers are executed at the same time, or two steps with different numbers are executed in the opposite order to the diagram. The embodiments of the present application do not limit this.

[0219] 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 displaying a virtual character, the method being executed by a terminal device, the method comprising: Displaying a display interface of a first virtual scene in which a first virtual character is located, and displaying the first virtual character located in the first virtual scene; In response to an operation on the first virtual character, a first interface element corresponding to the first virtual character is displayed, wherein the first interface element corresponding to the first virtual character is used to quickly locate a virtual scene where the first virtual character is located, and the virtual scene where the first virtual character is located is switchable; After the first virtual character leaves the first virtual scene, in response to a first operation on a first interface element corresponding to the first virtual character, a display interface of a second virtual scene in which the first virtual character is currently located is displayed, and the first virtual character located in the second virtual scene is displayed.

2. The method according to claim 1, wherein: The display interface of the second virtual scene in which the first virtual character is currently located, and the display interface of the first virtual character in the second virtual scene, include: The display interface of the first virtual scene currently being displayed is switched to a display interface for displaying the second virtual scene, and the first position area of ​​the second virtual scene and the first virtual character located in the first position area are displayed in the display interface of the second virtual scene.

3. The method according to claim 1 or 2, wherein: After displaying the first interface element corresponding to the first virtual character, the method further includes: After the first virtual character moves out of the second position area of ​​the first virtual scene currently displayed, in response to a first operation on a first interface element corresponding to the first virtual character, a third position area of ​​the first virtual scene is displayed in the display interface of the first virtual scene, and the first virtual character located in the third position area is displayed.

4. The method according to any one of claims 1 to 3, wherein: The first interface element corresponding to the first virtual character displays at least one of the following: identification information of the first virtual character; identification information of a virtual scene where the first virtual character is located.

5. The method according to any one of claims 1 to 4, wherein: The method further comprises: receiving first update information, the first update information being used to indicate that the virtual image of the first virtual character is updated; and updating the virtual image of the first virtual character displayed in a first interface element corresponding to the first virtual character according to the first update information; or, Receive second update information, where the second update information is used to indicate that the virtual scene where the first virtual character is located is updated; and update identification information of the virtual scene where the first virtual character is located displayed in a first interface element corresponding to the first virtual character according to the second update information.

6. The method according to any one of claims 1 to 5, wherein: The step of displaying a first interface element corresponding to the first virtual character in response to the operation on the first virtual character includes: In response to an operation on the first virtual character, displaying a first control; In response to an operation on the first control, a first interface element corresponding to the first virtual character is displayed; wherein the first interface element corresponding to the first virtual character is displayed on top in the form of a floating window.

7. The method according to claim 6, wherein: The step of displaying a first control in response to an operation on the first virtual character comprises: In response to the operation on the first virtual character, displaying the first control if the user has the first permission on the first virtual character; Wherein, if the user does not have the first permission for the first virtual character, the first control is not displayed.

8. The method according to any one of claims 1 to 7, wherein: After displaying the display interface of the second virtual scene where the first virtual character is currently located and displaying the first virtual character located in the second virtual scene, the method further includes: When a second virtual character currently controlled by the client is in the second virtual scene, in response to the first interactive operation, the second virtual character is moved to the position of the first virtual character for display; or, In a case where the second virtual character currently controlled by the client is not in the second virtual scene, in response to the second interactive operation, the second virtual character is added to the second virtual scene for display.

9. The method according to claim 8, wherein: The method further comprises: In response to the interactive operation on the first virtual character, an interactive animation between the first virtual character and the second virtual character is displayed in the second virtual scene.

10. The method according to any one of claims 1 to 9, wherein: The method further comprises: When the user account corresponding to the first virtual character is online, displaying a first interface element corresponding to the first virtual character in a first display style; or, When the user account corresponding to the first virtual character is in an offline state, displaying the first interface element corresponding to the first virtual character in a second display style; The first display style and the second display style are different.

11. The method according to any one of claims 1 to 10, wherein: The method further comprises: In response to a closing operation on the first interface element corresponding to the first virtual character, canceling display of the first interface element corresponding to the first virtual character; or, In response to a move operation on a first interface element corresponding to the first virtual character, a display position of the first interface element corresponding to the first virtual character is adjusted.

12. The method according to any one of claims 1 to 11, wherein: The method further comprises: In response to a second operation on the first interface element corresponding to the first virtual character, at least one of a first option, a second option and a third option is displayed; wherein the first option is used to enter the virtual scene where the first virtual character is currently located, the second option is used to invite the first virtual character to enter the virtual scene where the second virtual character currently controlled by the client is located, and the third option is used to trigger the first virtual character and the second virtual character currently controlled by the client to enter a third virtual scene together; In response to an operation on the first option, displaying a display interface of a second virtual scene in which the first virtual character is currently located, and displaying the first virtual character located in the second virtual scene; In response to the operation on the second option, displaying a display interface of the virtual scene where the second virtual character is located, and in the case where the first virtual character accepts the invitation, displaying the first virtual character in the virtual scene where the first virtual character is located is switched to the first virtual character in the virtual scene where the second virtual character is located; In response to the operation on the third option, a presentation interface of the third virtual scene is displayed, and the first virtual character and the second virtual character located in the third virtual scene are displayed.

13. The method according to any one of claims 1 to 12, wherein: The first virtual scene is a virtual scene provided for stranger social interaction, and no friendship relationship is established between user accounts corresponding to virtual characters in the first virtual scene.

14. A display device for a virtual character, the device comprising: An interface display module, used to display a display interface of a first virtual scene in which a first virtual character is located, and to display the first virtual character in the first virtual scene; an element display module, configured to display a first interface element corresponding to the first virtual character in response to an operation on the first virtual character, wherein the first interface element corresponding to the first virtual character is used to quickly locate a virtual scene where the first virtual character is located, and the virtual scene where the first virtual character is located is switchable; A scene switching module is used to display a display interface of a second virtual scene in which the first virtual character is currently located, and to display the first virtual character in the second virtual scene in response to a first operation on a first interface element corresponding to the first virtual character after the first virtual character leaves the first virtual scene.

15. A terminal 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 method according to any one of claims 1 to 13.

16. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, wherein the computer program is loaded and executed by a processor to implement the method according to any one of claims 1 to 13.

17. A computer program product, comprising a computer program, wherein the computer program is stored in a computer-readable storage medium, and a processor reads and executes the computer program from the computer-readable storage medium to implement the method according to any one of claims 1 to 13.

Citation Information

Patent Citations

  • Game view angle control method and device, storage medium and electronic device

    CN111773711A

  • Game control method and device, terminal and storage medium

    CN113633963A

  • Virtual scene interaction method and device, storage medium and electronic device

    CN114168044A

Cited By

  • Interaction method and device, equipment and storage medium

    CN120428887A