Method for generating user interface and method for controlling avatar movement through user interface

By generating user interfaces and virtual camera binding technology, it solves the cumbersome problems of user control of avatars and operating personnel limitations in virtual space, and achieves a combination of user immersive intuitive control and operational freedom, which is suitable for mobile terminals and metaverse spaces. .

CN118279534BActive Publication Date: 2024-08-23NANCHANG VIRTUAL REALITY RES INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410673994.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-08-23
Estimated Expiration
2044-05-28

AI Technical Summary

Technical Problem

In the existing technology, the way for users to control avatars in virtual space is cumbersome and unsuitable for mobile terminals, and it is difficult for operators to restrict the body movements of avatars, which limits users' immersive intuitive control and operational freedom.

Method used

By generating the user interface, including the main view, bird's-eye view, navigation grid diagram and local environment diagram, and binding the avatar with a virtual camera for real-time rendering and path planning, users can intuitively control the avatar movement and drive it through facial expressions and chat content Incarnate body movements.

Benefits of technology

It enables users to control avatars immersively and intuitively in virtual space, while giving operators the freedom to control avatar body movements. It is suitable for mobile terminals and metaverse spaces.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118279534B
    Figure CN118279534B
Patent Text Reader

Abstract

The present application provides a method for generating a user interface and a method for controlling the movement of an avatar through a user interface. The user interface is composed of a generated bird's-eye view, a navigation grid map, a local environment map, and a main view. The avatar is controlled through the user interface, so that the user can immersively and intuitively control the avatar, while also giving the operator the freedom to control the avatar's body movements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of controlling avatar movement in a virtual space, and in particular to a method for generating a user interface and a method for controlling avatar movement through a user interface. Background Art

[0002] In the prior art, the avatar in the virtual space is controlled in the following ways: Solution 1: A 3D keyboard or a virtual keyboard can be created by combining the control interaction component and the control component. The keyboard keys are recognized as clickable buttons and correspond to physical keyboard keys or mouse clicks. The trigger event script of the button executes the action animation that the avatar should perform after clicking the button, and this type of animation is a preset animation made by an animator in advance. For example, game events such as opening a door and moving forward, the user can control the movement of the avatar in the virtual space by manipulating the interaction component.

[0003] Solution 2: Body animation driven method: Artificial intelligence technology is used to identify the body postures in the user's full-body video captured by the visual sensor and map them to the avatar's virtual skeleton, thereby driving the avatar's movement.

[0004] The first existing solution is the interactive control method between users and game characters that is common in games. This method is also used in the current mainstream metaverse space. The significant disadvantage of this solution is that users need to constantly press keys or click the mouse, or click virtual keys to control the local movement of the avatar. For most users, it is difficult to remember the terrain and destination distribution of a large-scale metaverse space, so the control of the avatar movement becomes cumbersome and boring.

[0005] The existing solution 2 is commonly used to control the limb movement of virtual people in small-scale virtual scenes, such as real people driving virtual people to simulate real people's limb movement in live broadcast applications. This solution can also be used for users to control the movement of avatars in the metaverse space. However, the main significant disadvantage is that it is not suitable for mobile terminals, because its built-in visual sensor requires users to stand at a certain distance to capture full-body video images in order to identify limb postures, and mobile terminals, especially smartphones, are the most popular hardware devices for logging into the metaverse space. Therefore, this solution will limit the popularity of such applications. The second disadvantage is that although the real-person driven method has a very high degree of freedom of movement for the avatar (it can completely simulate the user's real limb movement), it brings trouble to the operators of the metaverse space, such as the operators cannot restrict certain limb movements of the avatar.

[0006] In order to not only provide users with an immersive and intuitive way to control the avatar, but also give operators the freedom to control the avatar's body movements, a new solution is needed. Summary of the invention

[0007] In order to solve or alleviate the problems in the prior art, the technical solution provided in the present application can enable users to immersively and intuitively control their avatars, while also giving operators the freedom to control the body movements of the user's avatars.

[0008] In a first aspect, an embodiment of the present invention provides a method for generating a user interface, wherein the user interface includes a main view, a bird's-eye view, a navigation grid map, and a local environment map, and the method includes:

[0009] adding a first virtual camera in the virtual space, scaling all virtual objects in the virtual space until the virtual space is displayed in a camera view of the first virtual camera, and determining a bird's-eye view according to the view obtained by the first virtual camera;

[0010] voxelize the entire virtual space, and calculate multiple walking areas and multiple non-walking areas of all avatars, take each of the non-walking areas as an obstacle object, determine the edge of the walking area and collect edge points on the edge, connect all the edge points to generate a polygonal mesh, determine a mesh map according to the polygonal mesh, add the positions of all avatars in the virtual space to the mesh map and display them as first dots, and obtain a navigation mesh map;

[0011] Adding a second virtual camera in the virtual space, binding the second virtual camera to each of the avatars so that the second virtual camera moves with the walking of the avatar, wherein the second virtual camera is placed behind the avatar, and determining a local environment map according to a view of the second virtual camera;

[0012] The bird's-eye view map, the navigation grid map, and the local environment map are updated according to the position change of the avatar in the virtual space.

[0013] As a preferred embodiment of the present application, updating the navigation grid according to the position change of the avatar in the virtual space includes:

[0014] Adding a third virtual camera to the virtual space, rendering the virtual space in real time under the view of the third virtual camera, updating the view of the first virtual camera according to the change of the virtual space, and then updating the bird's-eye view;

[0015] The navigation grid map is updated according to the update of the bird's-eye view map.

[0016] As a preferred embodiment of the present application, updating the navigation grid map according to the updating of the bird's-eye view map includes:

[0017] determining a view of the avatar in the first virtual camera when the position of the avatar in the virtual space changes;

[0018] The position change of the avatar is projected onto a navigation grid map according to the perspective relationship of the first virtual camera, and a corresponding second dot is superimposed on the navigation grid map, where the second dot represents the updated position of the avatar.

[0019] As a preferred embodiment of the present application, the updating of the navigation grid map according to the updating of the bird's-eye view map further includes:

[0020] An area is selected in the bird's-eye view to be zoomed in, content of the area is synchronized to the local environment map, and the area is highlighted in the navigation grid map.

[0021] Compared with the prior art, the embodiment of the present application provides a method for generating a user interface for controlling the movement of an avatar in the virtual space of the metaverse. By producing a user interface composed of a bird's-eye view, a navigation grid map, a local environment map and a main view, the avatar is controlled through the user interface, which allows users to control the avatar immersively and intuitively, while also giving operators the freedom to control the body movements of the user's avatar.

[0022] In a second aspect, an embodiment of the present application further provides a method for controlling an avatar to move through a user interface, wherein the user interface is generated by the generation method described in the first aspect, and specifically includes:

[0023] Acquire a destination that the avatar determined by the user on the bird's-eye view or the navigation grid map is heading to;

[0024] Determine the walking route of the avatar according to the path finding algorithm of the navigation grid graph, and control the avatar to move toward the destination;

[0025] Obtaining a user's instruction to click on any of the bird's-eye view map, global navigation map, and local environment map;

[0026] The virtual camera corresponding to the map clicked by the user is set as the active camera of the main view so as to display in the main view a view corresponding to the position of the avatar displayed in any of the clicked maps.

[0027] As a preferred embodiment of the present application, the method further includes:

[0028] In the local environment map, an avatar of interest selected by the user is obtained, and a chat mode is entered.

[0029] As a preferred embodiment of the present application, the method further includes:

[0030] Adding a fourth virtual camera in the virtual space, placing the fourth virtual camera directly in front of the avatar's face and displaying the avatar's face in an isometric view;

[0031] A floating view window is added to render the avatar facial image in real time in the view of the fourth virtual camera, wherein the floating view window is located below the main view.

[0032] As a preferred embodiment of the present application, the method further includes:

[0033] In the chat mode, obtaining an instruction from a user to drive the facial expression of the avatar using a facial expression driving method;

[0034] The avatar is controlled to make a corresponding facial expression according to the instruction of the driven facial expression.

[0035] As a preferred embodiment of the present application, the method further includes:

[0036] Obtaining chat content between the user and the avatar;

[0037] determining a body movement of the avatar according to the chat content;

[0038] The avatar is controlled to make corresponding body movements according to the determined body movements of the avatar.

[0039] Compared with the prior art, the embodiments of the present application provide a method for controlling avatars through a user interface, which can enable a user interface mode for avatars to enter a chat dialogue mode, a user interface mode for the avatar's movement under global path planning; and a user interface mode for the user to control the avatar when switching to the avatar's movement in a local environment. Therefore, the user interface provided by the present application can enable users to control the avatar immersively and intuitively, while also giving operators the freedom to control the body movements of the user's avatar. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. Some specific embodiments of the present application will be described in detail in an illustrative and non-restrictive manner with reference to the drawings. The same reference numerals in the drawings indicate the same or similar components or parts. It should be understood by those skilled in the art that these drawings are not necessarily drawn to scale. In the drawings:

[0041] Figure 1 It is a flowchart of a method for generating a user interface for controlling the movement of an avatar in a virtual space of a metaverse, provided in an embodiment of the present application;

[0042] Figure 2 is a schematic diagram of the layout of the user interface provided in an embodiment of the present application;

[0043] Figure 3It is a schematic diagram of a user interface layout for avatars to communicate in a local environment map provided by an embodiment of the present application;

[0044] Figure 4 It is a schematic diagram of a user interface layout for enlarging a selected area in a local environment map provided in an embodiment of the present application. DETAILED DESCRIPTION

[0045] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only embodiments of a part of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of the present application.

[0046] First, as Figure 1 As shown, an embodiment of the present application provides a method for generating a user interface for controlling the movement of an avatar in a virtual space of a metaverse, wherein the user interface includes a main view, a bird's-eye view, a navigation grid map, and a local environment map, and the method includes:

[0047] Step S01, adding a first virtual camera in the virtual space, scaling all virtual objects in the virtual space until the virtual space is displayed in a camera view of the first virtual camera, and determining a bird's-eye view according to the view obtained by the first virtual camera;

[0048] Specifically, the user interface provided in the embodiment of the present application includes: a main view, a bird's-eye view, a navigation grid map and a local environment map. The main view is the metaverse space. The three layered mini-maps are arranged in the sidebar container and can be hidden and displayed by clicking a button. The user switches to a different display mode of the metaverse space in the main view by clicking the mini-map. At the same time, the user can still easily and synchronously view the display of the metaverse space in other views in the sidebar.

[0049] In this step, the generated bird's-eye view is mainly used for route following. First, a first virtual camera is added to the virtual space. It is generally set just above the virtual space, looking down and displaying the virtual space scene content in an isometric view. The length and width of the first virtual camera view are consistent with the length and width of the image displayed in the main view window. Since the virtual space is large, in order to display the entire scene in the first virtual camera view, all objects in the entire virtual space are first scaled. Specifically, an empty object is first created, and the empty object is used as the parent object of all other objects. The empty object is scaled until the entire virtual space is displayed in the view of the first virtual camera, and finally the parent-child relationship between all objects and the empty object is cancelled.

[0050] Step S02, voxelizing the entire virtual space, and calculating multiple walking areas and multiple non-walking areas of all avatars, taking each of the non-walking areas as an obstacle object, determining the edge of the walking area and collecting edge points on the edge, connecting all the edge points to generate a polygonal mesh, determining a navigation mesh according to the polygonal mesh, adding the positions of all avatars in the virtual space to the navigation mesh and displaying them as first dots, to obtain a navigation mesh;

[0051] In this step, a navigation grid map is generated for global planning, which can be achieved by generating a navigation grid, which is a polygonal grid used to mark the walkable area in the virtual space. The above-mentioned grid can be generated by the reshaping method in the classical method of reshaping navigation. The reshaping method does not belong to the scope of protection of this application, so it is not described in detail. The method mainly voxelizes the virtual space first, that is, produces small cubes, and then calculates the flat area sufficient to support the avatar to walk in the voxel space, and generates the edge of each flat area, and the non-walking area is used as an obstacle object. The edge points of the flat area are sampled and connected to generate a polygonal grid. All avatars in the virtual space are used as proxy objects. For the convenience of display, the object geometry of the proxy object is represented by dots, so that the positions of all avatars in the virtual space are displayed as dots on the navigation grid map. Finally, the navigation grid and the proxy objects are displayed under the bird's-eye view camera view described in step S01.

[0052] Step S03, adding a second virtual camera in the virtual space, binding the second virtual camera to each of the avatars so that the second virtual camera moves with the walking of the avatar, wherein the second virtual camera is placed behind the avatar, and determining a local environment map according to the view of the second virtual camera;

[0053] In this step, a local environment map is generated for local motion and animation. A second virtual camera needs to be added and bound to the avatar object, so that the camera moves with the avatar's walking. The position offset between the second virtual camera and the avatar is set so that the second virtual camera is placed behind the avatar and displays the virtual space content in a perspective view. The length and width of the second virtual camera view are consistent with the length and width of the image displayed in the main view window. The translation, rotation and scaling of the second virtual camera can be adjusted manually or by code script so that the second virtual camera view can at least cover the entire avatar.

[0054] Step S03: updating the bird's-eye view map, the navigation grid map and the local environment map according to the position change of the avatar in the virtual space.

[0055] In this step, updating the navigation grid according to the position change of the avatar in the virtual space includes:

[0056] Adding a third virtual camera to the virtual space, rendering the virtual space in real time under the view of the third virtual camera, updating the view of the first virtual camera according to the change of the virtual space, and then updating the bird's-eye view;

[0057] The navigation grid map is updated according to the update of the bird's-eye view map.

[0058] Specifically, the present application mainly realizes the update of the navigation grid by dynamically adding virtual cameras, rendering the virtual scene in real time from the perspective of the newly added virtual camera, and dynamically superimposing game objects and projecting them to the first virtual camera.

[0059] In an embodiment of the present application, updating the navigation grid map according to the updating of the bird's-eye view map includes:

[0060] determining a view of the avatar in the first virtual camera when the position of the avatar in the virtual space changes;

[0061] The position change of the avatar is projected onto a navigation grid map according to the perspective relationship of the first virtual camera, and a corresponding second dot is superimposed on the navigation grid map, where the second dot represents the updated position of the avatar.

[0062] Specifically, changes generated by user interactions on the local environment map, such as controlling the avatar to walk, need to be synchronized to the navigation grid map; for the avatar with updated position, it is projected onto the navigation grid map according to the perspective relationship of the first virtual camera, and a dot is superimposed to highlight the avatar.

[0063] In an embodiment of the present application, updating the navigation grid map according to the updating of the bird's-eye view map further includes:

[0064] An area is selected in the bird's-eye view to be enlarged, the content of the area is synchronized to the local environment map, and the area is highlighted in the navigation grid map.

[0065] Specifically, select an area in the bird's-eye view to zoom in, the content of the zoomed-in area needs to be synchronized to the local environment map, and the selected area needs to be highlighted in the navigation grid map. If the small map is dynamically regenerated according to the frame rate, the calculation and network load will be greatly increased. The specific steps are: add a third virtual camera and place it directly above the selected area. The length and width of the view are consistent with the length and width of the image displayed in the main view. Assuming that the virtual space coordinate system is Y-axis upward, and the ratio of the size of the selected area to the size of the newly added third virtual camera view is m, the position directly above is the center point of the selected area in the XY plane, and the Z-axis position is the Z-axis position of the first virtual camera multiplied by m. Because the size of the selected area is smaller than the size of the newly added third camera view, the position of the newly added third virtual camera on the Z-axis is smaller than the Z-axis position of the first virtual camera. Therefore, the newly added third virtual camera is closer to the scene content to be displayed, thereby achieving the effect of enlarged display.

[0066] Compared with the prior art, the embodiment of the present application provides a method for generating a user interface for controlling the movement of an avatar in the virtual space of the metaverse. By producing a user interface composed of a bird's-eye view, a navigation grid map, a local environment map and a main view, the avatar is controlled through the user interface, which allows users to control the avatar immersively and intuitively, while also giving operators the freedom to control the body movements of the user's avatar.

[0067] In a second aspect, an embodiment of the present application further provides a user interface, including: a main view, a bird's-eye view, a global navigation map, and a local environment map;

[0068] The main view is used to display the virtual space displayed by the bird's-eye view, the global navigation map or the local environment map.

[0069] Compared with the prior art, the embodiment of the present application provides a user interface having the same beneficial effects as the first aspect, which will not be repeated here.

[0070] In a third aspect, an embodiment of the present application further provides a method for controlling an avatar to move through a user interface, comprising:

[0071] Acquire a destination that the avatar determined by the user on the bird's-eye view or the navigation grid map is heading to;

[0072] Determine the walking route of the avatar according to the path finding algorithm of the navigation grid graph, and control the avatar to move toward the destination;

[0073] Obtaining a user's instruction to click on any of the bird's-eye view map, global navigation map, and local environment map;

[0074] The virtual camera corresponding to the map clicked by the user is set as the active camera of the main view so as to display in the main view a view corresponding to the position of the avatar displayed in any of the clicked maps.

[0075] As a preferred embodiment of the present application, the method further includes:

[0076] In the local environment map, an avatar of interest selected by the user is obtained, and a chat mode is entered.

[0077] As a preferred embodiment of the present application, the method further includes:

[0078] Adding a fourth virtual camera in the virtual space, placing the fourth virtual camera directly in front of the avatar's face and displaying the avatar's face in an isometric view;

[0079] A floating view window is added to render the avatar facial image in real time in the view of the fourth virtual camera, wherein the floating view window is located below the main view.

[0080] Specifically, Figure 3 As shown, when switching to the local environment map, avatars can communicate with each other, and a small dialogue interface window is displayed in the lower right corner of the local environment map, and the avatar's face is displayed in the small dialogue interface window.

[0081] As a preferred embodiment of the present application, the method further includes:

[0082] In the chat mode, obtaining an instruction from a user to drive the facial expression of the avatar using a facial expression driving method;

[0083] The avatar is controlled to make a corresponding facial expression according to the instruction of the driven facial expression.

[0084] Specifically, Figure 4 As shown, if the user selects a local area in the frame selection space on the interface of the local environment map, the display content in the frame selection window is enlarged and displayed in the pop-up view window.

[0085] As a preferred embodiment of the present application, the method further includes:

[0086] Obtaining chat content between the user and the avatar;

[0087] determining a body movement of the avatar according to the chat content;

[0088] The avatar is controlled to make corresponding body movements according to the determined body movements of the avatar.

[0089] The user interface provided in the embodiment of the present application and the user interaction process are described in detail as follows:

[0090] After the user enters the main view, the user clicks the interface button to expand the sidebar container and display three small maps (bird's eye view, navigation grid map and local environment map). The user clicks the button to hide the container. Clicking one of the small maps, the system sets the main view active camera to the virtual camera corresponding to the small map, and the main view window displays the virtual space under the updated active camera. If it is a navigation small map, it is a navigation grid map.

[0091] There are two ways for users to select the destination for their avatar. One is to determine the destination for the avatar on the navigation grid (usually visualized by a specific color); the other is to select an area on the bird's-eye view to zoom in to see if it is a destination of interest, such as the local environment, or whether the avatar in that area is interested. The first usually occurs when the user is familiar with the virtual space and knows or knows the destination; the second usually occurs when the user is still exploring the virtual space and has no clear destination. After completing the destination selection, the avatar turns on the route following mode and moves to the destination according to the walking animation under the path finding algorithm based on the navigation grid.

[0092] The user clicks on the local environment map, and the main view active camera is updated to the virtual camera of the local environment map, so that the main view window displays the virtual space under the perspective of the new active camera. In this view, the user can finely control the movement of the avatar, including keyboard commands, but not limited to them. Other multi-modal driven artificial intelligence algorithms such as voice-driven avatar limb movement can also be applied. The avatar can therefore make rich personalized walking or other limb animations under user control.

[0093] In the local environment map, users can chat with the nearest avatar within the viewing range. Users can select the avatar of interest by clicking on other avatars, but are not limited to this. They can also enter the chat mode through other interactive methods such as specific gestures or specific voices. A new virtual camera is added, which is placed in front of the avatar's face and displays the avatar's face in an isometric view. A new floating view window displays the avatar's face image rendered in real time from the perspective of the new camera. The floating window is located at the bottom right of the main view.

[0094] In the chat mode of the user interface provided in the embodiment of the present application, it is not limited to controlling the body movements of the avatar. The user can enhance the chat immersion by using facial expression driven methods such as video driven facial expressions and voice driven facial expressions. Based on the chat content, the avatar makes corresponding body animations. The animation can be a preset animation, but is not limited to this, and can also be a voice driven body animation implemented by an artificial intelligence algorithm.

[0095] Compared with the prior art, the embodiments of the present application provide a method for controlling avatars through a user interface, which can enable a user interface mode for avatars to enter a chat dialogue mode, a user interface mode for the avatar's movement under global path planning; and a user interface mode for the user to control the avatar when switching to the avatar's movement in a local environment. Therefore, the user interface provided by the present application can enable users to control the avatar immersively and intuitively, while also giving operators the freedom to control the body movements of the user's avatar.

[0096] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for generating a user interface, wherein the user interface includes a main view, a bird's-eye view, a navigation grid map, and a local environment map, characterized in that: The method comprises: adding a first virtual camera in the virtual space, scaling all virtual objects in the virtual space until the virtual space is displayed in a camera view of the first virtual camera, and determining a bird's-eye view according to the view obtained by the first virtual camera; voxelize the entire virtual space, and calculate multiple walking areas and multiple non-walking areas of all avatars, take each of the non-walking areas as an obstacle object, determine the edge of the walking area and collect edge points on the edge, connect all the edge points to generate a polygonal mesh, determine a mesh map according to the polygonal mesh, add the positions of all avatars in the virtual space to the mesh map and display them as first dots, and obtain a navigation mesh map; Adding a second virtual camera in the virtual space, binding the second virtual camera to each of the avatars so that the second virtual camera moves with the walking of the avatar, wherein the second virtual camera is placed behind the avatar, and determining a local environment map according to a view of the second virtual camera; The bird's-eye view map, the navigation grid map, and the local environment map are updated according to the position change of the avatar in the virtual space.

2. A method for generating a user interface as claimed in claim 1, characterized in that: The updating of the navigation grid according to the position change of the avatar in the virtual space includes: Adding a third virtual camera to the virtual space, rendering the virtual space in real time under the view of the third virtual camera, updating the view of the first virtual camera according to the change of the virtual space, and then updating the bird's-eye view; The navigation grid map is updated according to the update of the bird's-eye view map.

3. A method for generating a user interface as claimed in claim 2, characterized in that: The updating of the navigation grid map according to the updating of the bird's-eye view map includes: determining a view of the avatar in the first virtual camera when the position of the avatar in the virtual space changes; The position change of the avatar is projected onto a navigation grid map according to the perspective relationship of the first virtual camera, and a corresponding second dot is superimposed on the navigation grid map, where the second dot represents the updated position of the avatar.

4. A method for generating a user interface as claimed in claim 2, characterized in that: The updating of the navigation grid map according to the updating of the bird's-eye view map further includes: An area is selected in the bird's-eye view to be zoomed in, content of the area is synchronized to the local environment map, and the area is highlighted in the navigation grid map.

5. A method for controlling the movement of an avatar through a user interface, characterized in that: The user interface is generated by the generation method according to any one of claims 1 to 4, specifically comprising: Acquire a destination that the avatar determined by the user on the bird's-eye view or the navigation grid map is heading to; Determine the walking route of the avatar according to the path finding algorithm of the navigation grid graph, and control the avatar to move toward the destination; Obtaining a user's instruction to click on any of the bird's-eye view map, global navigation map, and local environment map; The virtual camera corresponding to the map clicked by the user is set as the active camera of the main view so as to display in the main view a view corresponding to the position of the avatar displayed in any of the clicked maps.

6. The method for controlling the movement of an avatar through a user interface according to claim 5, characterized in that: The method further comprises: In the local environment map, an avatar of interest selected by the user is obtained, and a chat mode is entered.

7. The method for controlling the movement of an avatar through a user interface according to claim 6, wherein: The method further comprises: Adding a fourth virtual camera in the virtual space, placing the fourth virtual camera directly in front of the avatar's face and displaying the avatar's face in an isometric view; A floating view window is added to render the avatar facial image in real time in the view of the fourth virtual camera, wherein the floating view window is located below the main view.

8. The method for controlling the movement of an avatar through a user interface as claimed in claim 6, characterized in that: The method further comprises: In the chat mode, obtaining an instruction from a user to drive the facial expression of the avatar using a facial expression driving method; The avatar is controlled to make a corresponding facial expression according to the instruction of the driven facial expression.

9. The method for controlling the movement of an avatar through a user interface according to claim 8, characterized in that: The method further comprises: Obtaining chat content between the user and the avatar; determining a body movement of the avatar according to the chat content; The avatar is controlled to make corresponding body movements according to the determined body movements of the avatar.