Virtual object control method and device, equipment, storage medium and program product

By displaying position indication information in the virtual scene and allowing dragging and releasing, the problem of limited movement speed of virtual objects is solved, instantaneous position transfer of virtual objects is achieved, and the efficiency of human-computer interaction is improved.

CN118625985APending Publication Date: 2024-09-10TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202310247247.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-08
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

In virtual scenes, when users control the movement of virtual objects through joysticks or controls, the movement speed is limited, causing virtual objects to require multiple operations when moving long distances, reducing the efficiency of human-computer interaction.

Method used

By displaying position indication information in the display interface of the virtual scene, and allowing the user to drag the information to the target area and release it, the virtual object can be instantly transferred from the undisplayed area to the displayed area, achieving instantaneous position transfer.

Benefits of technology

It improves the efficiency of human-computer interaction, reduces waiting time, enables users to quickly move virtual objects to the desired location, and enhances the convenience and intuitiveness of interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118625985A
    Figure CN118625985A
Patent Text Reader

Abstract

The invention provides a virtual object control method and device, electronic equipment, a computer readable storage medium and a computer program product. The method comprises the following steps: responding to a situation that a target virtual object is not displayed in a current display interface of a virtual scene, and displaying position indication information in the display interface; wherein the position indication information is used for indicating the position of the target virtual object in the virtual scene; in response to the fact that the position indication information is dragged to a target area in the display interface, updating and displaying the position indication information; and displaying the target virtual object at a target position in the target area in response to the fact that a dragging operation for the updated position indication information is released in the target area. According to the invention, the man-machine interaction efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to human-computer interaction technology, and in particular to a control method, device, equipment, storage medium and program product for a virtual object. Background Art

[0002] Display technology based on graphics processing hardware has expanded the channels for perceiving the environment and obtaining information, especially the display technology of virtual scenes. It can realize diversified interactions between virtual objects controlled by users or artificial intelligence according to actual application needs, and has various typical application scenarios. For example, in the virtual scene of games, it can simulate the real battle process between virtual objects. For example, in the virtual social scene, it can simulate social chats between virtual objects.

[0003] In the related art, users can control the movement of virtual objects in a virtual scene through a joystick or a control. During the movement, the movement speed of the virtual object is similar to the real speed and has a certain speed limit. Therefore, the virtual object visually moves continuously. When the movement speed is constant, the time taken by the virtual object to move is positively correlated with the required distance to move. When the required distance to move is far, the user is often required to operate the joystick or control multiple times, which takes a long time to wait, resulting in low human-computer interaction efficiency. Summary of the invention

[0004] The embodiments of the present application provide a method, device, electronic device, computer-readable storage medium, and computer program product for controlling a virtual object, which can improve the efficiency of human-computer interaction.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] The present application provides a method for controlling a virtual object, including:

[0007] In response to the target virtual object not being displayed in the current display interface of the virtual scene, displaying position indication information in the display interface;

[0008] Wherein, the position indication information is used to indicate the position of the target virtual object in the virtual scene;

[0009] In response to the position indication information being dragged to a target area in the display interface, updating and displaying the position indication information;

[0010] In response to the drag operation on the updated position indication information being released in the target area, the target virtual object is displayed at the target position in the target area.

[0011] The present application provides a control device for a virtual object, including:

[0012] A first display module, configured to display position indication information in the display interface in response to the target virtual object not being displayed in the current display interface of the virtual scene;

[0013] Wherein, the position indication information is used to indicate the position of the target virtual object in the virtual scene;

[0014] A second display module, configured to update and display the position indication information in response to the position indication information being dragged to a target area in the display interface;

[0015] A third display module is configured to display the target virtual object at a target position in the target area in response to a drag operation on the updated position indication information being released in the target area.

[0016] In the above scheme, the first display module is also used to display the position indication information of the first style in the display interface; the second display module is also used to update the first style to the second style and display the position indication information of the second style, wherein the first style is different from the second style.

[0017] In the above scheme, the first display module is also used to use the object identifier of the target virtual object as the position indication information of the first style, and display it in the display interface; wherein the object identifier includes at least one of the following: a part of the virtual image of the target virtual object in the virtual scene, and the account identifier of the login account corresponding to the target virtual object; the second display module is also used to use the virtual image of the target virtual object in the virtual scene as the position indication information of the second style, and update the first style to the second style.

[0018] In the above scheme, the device also includes: a fourth display module, which is used to control the display style of the position indication information from the second style to the first style in response to the position indication information of the second style being dragged from the target area to other areas different from the target area.

[0019] In the above scheme, the first display module is also used to display position indication information at the target edge position of the display interface; wherein the target edge position is the intersection of a line between the center point of the display interface and the position of the target virtual object in the virtual scene, and the edge of the display interface.

[0020] In the above scheme, the first display module is also used to obtain the relative position information of the target virtual object relative to the reference object in the virtual scene, and use the relative position information as position indication information; wherein the relative position information includes at least one of the following: the distance between the target virtual object and the reference object, the orientation of the target virtual object relative to the reference object; and the position indication information is displayed at a prominent position on the display interface.

[0021] In the above solution, the first display module is also used to periodically display position indication information in the display interface.

[0022] In the above scheme, the second display module is also used to control the display interface to enter the drag mode in response to the trigger duration of the trigger operation on the position indication information exceeding the target duration; in the drag mode, in response to the position indication information being dragged to the target area in the display interface, the position indication information is updated and displayed; the third display module is also used to exit the drag mode in response to the drag operation on the updated position indication information being released in the target area, and display the target virtual object at the target position in the target area.

[0023] In the above scheme, the first display module is also used to display position indication information at a first position in the display interface; the device also includes: a fifth display module, used to respond to the position indication information moving to other areas in the display interface different from the target area, and the dragging operation on the position indication information is released at a second position in the other area, exit the dragging mode, and display the process of the position indication information returning from the second position to the first position.

[0024] In the above scheme, the third display module is also used to display the target virtual object at the target position in response to the updated position indication information being dragged to the target position in the target area and the dragging operation for the updated position indication information being released at the target position.

[0025] In the above scheme, before displaying the target virtual object at the target position, the device also includes: a sixth display module, which is used to display the target position in a highlighted manner when the number of candidate positions in the virtual scene is at least two; wherein the at least two candidate positions include at least the target position, and the highlighted display manner includes at least one of the following display methods: target color display, superimposed mask display, highlight display, stroke display, and special effect display.

[0026] In the above scheme, the device also includes: a position determination module, used to obtain scene data of the virtual scene; wherein, the scene data includes at least one of the following: candidate positions in the virtual scene, interaction parameters between the target virtual object and other virtual objects in the virtual scene, and the interaction parameters include at least one of the following: interaction relationship, interaction frequency; based on the scene data, call a machine learning model to perform position prediction to obtain the target position.

[0027] In the above scheme, the third display module is also used to display the target virtual object at the target position in the target area in response to the updated position indication information being released at any position in the target area; wherein the target position is obtained by filtering from the arbitrary position, and the selection priority of the target position is higher than the selection priority of other positions in the arbitrary position except the target position.

[0028] In the above scheme, the third display module is also used to control the virtual image to move in the target area in response to a drag operation on the virtual image when the updated position indication information is a virtual image of the target virtual object in the virtual scene; control the virtual image to stop moving and display the virtual image at the target position in response to the virtual image moving to the target position in the target area and the drag operation on the virtual image being released at the target position.

[0029] In the above scheme, before displaying the target virtual object at the target position, the device also includes: a seventh display module, used to display a transmission special effect in the display interface, wherein the transmission special effect is used to indicate that the target virtual object is transmitted from the original position to the target position, and the original position is not displayed in the current display interface of the virtual scene.

[0030] In the above scheme, before displaying the position indication information in the display interface, the device also includes: a display timing determination module, which is used to control the target virtual object to move in the virtual scene in response to a movement instruction for the target virtual object until the target virtual object is not displayed in the current display interface of the virtual scene; or, in response to a sliding operation on the display interface, update the display content of the display interface until the target virtual object is not displayed in the current display interface of the virtual scene.

[0031] An embodiment of the present application provides an electronic device, including:

[0032] A memory for storing computer executable instructions;

[0033] The processor is used to implement the virtual object control method provided in the embodiment of the present application when executing the computer executable instructions stored in the memory.

[0034] An embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions for causing a processor to execute instructions to implement a virtual object control method provided in an embodiment of the present application.

[0035] An embodiment of the present application provides a computer program product, including a computer program or computer executable instructions. When the computer program or computer executable instructions are executed by a processor, the virtual object control method provided by the embodiment of the present application is implemented.

[0036] The embodiments of the present application have the following beneficial effects:

[0037] By applying the embodiments of the present application, when the target virtual object is not displayed on the current display interface of the virtual scene (that is, the target virtual object is not in the visible area), the target virtual object can be displayed at the target position in the target area by dragging the position indication information corresponding to the target virtual object to the target area and releasing it in the target area. That is, by dragging and releasing the corresponding position indication information, the target virtual object can be controlled to be immediately transferred from not being displayed on the current display interface to being displayed on the current display interface, thereby realizing instantaneous position transfer without spending the time required for position transfer, thereby improving human-computer interaction efficiency; and, the position indication information, the target area to be transferred or the target position are all displayed in the current display interface. This visibility makes the entire position transfer process more intuitive, and the player can selectively transfer to the desired position instantly, with strong adaptability. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1A A schematic diagram of an application mode of a virtual object control method provided in an embodiment of the present application;

[0039] Figure 1B A schematic diagram of an application mode of a virtual object control method provided in an embodiment of the present application;

[0040] Figure 2 A schematic diagram of the structure of an electronic device 500 for controlling a virtual object provided in an embodiment of the present application;

[0041] Figure 3 A flowchart of a method for controlling a virtual object provided in an embodiment of the present application;

[0042] Figure 4 A schematic diagram of displaying position indication information provided in an embodiment of the present application;

[0043] Figure 5A schematic diagram of displaying position indication information provided in an embodiment of the present application;

[0044] Figure 6 A schematic diagram of displaying position indication information provided in an embodiment of the present application;

[0045] Figure 7 A schematic diagram of displaying position indication information provided in an embodiment of the present application;

[0046] Figure 8 A schematic diagram of position transfer provided in an embodiment of the present application;

[0047] Fig. 9 A flowchart of a method for controlling a virtual object provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0049] It is understandable that in the embodiments of the present application, when user information and other related data (such as the user's trigger operation, the user's login account or account identification) are involved, when the embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0050] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0051] In the following description, the terms "first\second..." are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second..." can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0052] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0053] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0054] 1) Client: an application running in the terminal to provide various services, such as a video player client, a game client, etc.

[0055] 2) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order of execution of the multiple operations executed.

[0056] 3) A virtual scene is a virtual scene displayed (or provided) when an application is running on a terminal. The virtual scene can be a simulation of the real world, a semi-simulation and semi-fictitious virtual environment, or a purely fictitious virtual environment. The virtual scene can be any of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene. The embodiment of the present application does not limit the dimension of the virtual scene. For example, the virtual scene may include the sky, land, ocean, etc. The land may include environmental elements such as deserts and cities, and users can control virtual objects to move in the virtual scene.

[0057] 4) Virtual objects, images of various people and objects that can interact in a virtual scene, or movable objects in a virtual scene. The movable objects can be virtual characters, virtual animals, cartoon characters, etc., such as characters and animals displayed in a virtual scene. The virtual object can be a virtual image in the virtual scene that represents the user. The virtual scene can include multiple virtual objects, each of which has its own shape and volume in the virtual scene and occupies a part of the space in the virtual scene. The virtual object can be a game character controlled by a user (or player), that is, the virtual object is controlled by a real user and will move in the virtual scene in response to the real user's operation on the controller (including a touch screen, voice-activated switch, keyboard, mouse, joystick, etc.).

[0058] 5) Virtual social interaction: Users customize an exclusive virtual object (virtual image) and use the virtual object to chat with virtual objects customized by others.

[0059] The application embodiment provides a control method, device, electronic device, computer-readable storage medium and computer program product of a virtual object, which can improve the efficiency of human-computer interaction. In order to facilitate easier understanding of the control method of a virtual object provided by the embodiment of the application, the exemplary implementation scenario of the control method of a virtual object provided by the embodiment of the application is first described. The virtual scene in the control method of a virtual object provided by the embodiment of the application can be completely based on terminal output, or based on the coordinated output of the terminal and the server.

[0060] In one implementation scenario, see Figure 1A , Figure 1A The schematic diagram of the application mode of the control method of the virtual object provided in the embodiment of the present application is applicable to some application modes that completely rely on the computing power of the graphics processing hardware of the terminal 400 to complete the relevant data calculation of the virtual scene 100, such as stand-alone / offline mode games, and output of the virtual scene through various types of terminals 400 such as smart phones, tablet computers, and virtual reality / augmented reality devices. As an example, the types of graphics processing hardware include central processing units (CPUs) and graphics processing units (GPUs).

[0061] When forming a visual perception of the virtual scene 100, the terminal 400 calculates the data required for display through the graphics computing hardware, and completes the loading, parsing and rendering of the display data, and outputs video frames that can form a visual perception of the virtual scene through the graphics output hardware, for example, presenting two-dimensional video frames on the display screen of a smartphone, or projecting video frames to achieve a three-dimensional display effect on the lenses of augmented reality / virtual reality glasses; in addition, in order to enrich the perception effect, the terminal 400 can also use different hardware to form one or more of auditory perception, tactile perception, motion perception and taste perception.

[0062] As an example, a client 410 (e.g., a stand-alone game application) is running on the terminal 400. During the operation of the client 410, a virtual scene 100 including role-playing is output. The virtual scene 100 can be an environment for virtual objects (game characters) to interact, such as plains, streets, valleys, etc. for game characters to fight, or a place for virtual characters to engage in social chatting, etc.

[0063] As an example, in response to the target virtual object not being displayed in the current display interface of the virtual scene, terminal 400 displays position indication information in the display interface; wherein the position indication information is used to indicate the position of the target virtual object in the virtual scene; in response to the position indication information being dragged to the target area in the display interface, the display position indication information is updated; in response to the drag operation on the updated position indication information being released in the target area, the target virtual object is displayed at the target position in the target area; in this way, by dragging and releasing the position indication information of the target virtual object, the target virtual object can be controlled from not being displayed in the current display interface to being displayed in the current display interface, thereby realizing instantaneous position transfer, greatly shortening the waiting time, and improving the efficiency of human-computer interaction.

[0064] In another implementation scenario, see Figure 1B , Figure 1B The schematic diagram of the application mode of the control method of the virtual object provided in the embodiment of the present application is applied to the terminal 400 and the server 200, and is suitable for the application mode that relies on the computing power of the server 200 to complete the virtual scene calculation and output the virtual scene at the terminal 400. Taking the visual perception of the virtual scene 100 as an example, the server 200 calculates the display data related to the virtual scene (such as scene data) and sends it to the terminal 400 through the network 300. The terminal 400 relies on the graphics computing hardware to complete the loading, parsing and rendering of the calculated display data, and relies on the graphics output hardware to output the virtual scene to form visual perception, for example, a two-dimensional video frame can be presented on the display screen of a smart phone, or a video frame that realizes a three-dimensional display effect can be projected on the lenses of augmented reality / virtual reality glasses; for the perception of the form of the virtual scene, it can be understood that the corresponding hardware output of the terminal 400 can be used, such as using a microphone to form auditory perception, using a vibrator to form tactile perception, and so on.

[0065] As an example, a client 410 (e.g., a stand-alone game application) is running on the terminal 400. During the operation of the client 410, a virtual scene 100 including role-playing is output. The virtual scene 100 can be an environment for game characters to interact, such as a plain, street, valley, etc. for game characters to fight, or a place for virtual characters to engage in social chatting, etc.

[0066] As an example, in response to the target virtual object not being displayed in the current display interface of the virtual scene, the terminal displays position indication information in the display interface; wherein the position indication information is used to indicate the position of the target virtual object in the virtual scene; in response to the position indication information being dragged to the target area in the display interface, the display position indication information is updated; in response to the drag operation on the updated position indication information being released in the target area, the target virtual object is displayed at the target position in the target area; in this way, by dragging and releasing the position indication information of the target virtual object, the target virtual object can be controlled from not being displayed in the current display interface to being displayed in the current display interface, thereby realizing instantaneous position transfer, greatly shortening the waiting time, and improving the efficiency of human-computer interaction.

[0067] In some embodiments, the terminal 400 can implement the control method of the virtual object provided in the embodiment of the present application by running a computer program. For example, the computer program can be a native program or software module in the operating system; it can be a native application (APP, APPlication), that is, a program that needs to be installed in the operating system to run, such as a shooting game APP or a social chat APP (that is, the above-mentioned client 410); it can also be a small program, that is, a program that can be run only by downloading it to a browser environment; it can also be a game applet that can be embedded in any APP. In short, the above-mentioned computer program can be an application, module or plug-in in any form.

[0068] Taking a computer program as an application program as an example, in actual implementation, the terminal 400 installs and runs an application program that supports a virtual scene. The application program can be any one of a first-person shooter game (FPS, First-Person Shooting game), a third-person shooter game, a virtual social chat application program, a virtual reality application program, a three-dimensional map program, or a multiplayer gunfight survival game. The user uses the terminal 400 to operate a virtual object in the virtual scene to perform an activity, and the activity includes but is not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing, and building a virtual building. Indicatively, the virtual object can be a virtual character, such as a simulated character or an anime character.

[0069] In other embodiments, the embodiments of the present application can also be implemented with the aid of cloud technology, which refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or a local area network to achieve data computing, storage, processing, and sharing. Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, and application technology based on the cloud computing business model. It can form a resource pool that is used on demand and is flexible and convenient. Cloud computing technology will become an important support. The background services of the technical network system require a large amount of computing and storage resources.

[0070] For example, Figure 1B The server 200 in the example may 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, and big data and artificial intelligence platforms. The terminal 400 may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto. The terminal 400 and the server 200 may be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.

[0071] The structure of the electronic device for controlling a virtual object provided by an embodiment of the present application is described below. Figure 2 , Figure 2 The structure diagram of the electronic device 500 for controlling a virtual object provided in an embodiment of the present application is shown in FIG. Figure 2 The electronic device 500 for controlling a virtual object shown includes: at least one processor 510, a memory 550, at least one network interface 520, and a user interface 530. The various components in the electronic device 500 are coupled together via a bus system 540. It is understood that the bus system 540 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 540 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, the bus system 540 is not described in detail. Figure 2 Various buses are labeled as bus system 540 .

[0072] The processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0073] The memory 550 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 550 described in the embodiment of the present application is intended to include any suitable type of memory. The memory 550 optionally includes one or more storage devices that are physically far away from the processor 510.

[0074] In some embodiments, the memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.

[0075] The operating system 551 includes system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic businesses and processing hardware-based tasks; a network communication module 552 is used to reach other electronic devices via one or more (wired or wireless) network interfaces 520. Exemplary network interfaces 520 include: Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB), etc.

[0076] In some embodiments, the control device of the virtual object provided in the embodiments of the present application can be implemented in software. The control device of the virtual object provided in the embodiments of the present application can be provided as various software embodiments, including various forms including applications, software, software modules, scripts or codes. Figure 2 A control device 555 for a virtual object stored in a memory 550 is shown, which may be software in the form of a program or plug-in, and includes a series of modules, including a first display module 5551, a second display module 5552, and a third display module 5553. These modules are logical, and therefore may be arbitrarily combined or further split according to the functions implemented. The functions of each module will be described below.

[0077] As mentioned above, the virtual object control method provided in the embodiment of the present application can be implemented by various types of electronic devices, for example, Figure 1A The terminal 400 in the embodiment can be executed separately or by Figure 1B The terminal 400 and the server 200 in the embodiment cooperate to execute. Figure 1A The terminal 400 in the embodiment of the present application independently executes the control method of the virtual object provided in the embodiment of the present application as an example. Figure 3 , Figure 3A flow chart of a virtual object control method provided in an embodiment of the present application will be combined with Figure 3 The steps shown are explained.

[0078] Step 101: In response to a target virtual object not being displayed in a current display interface of a virtual scene, the terminal displays position indication information in the display interface.

[0079] In actual applications, a client that supports virtual scenes is installed on the terminal (for example, when the virtual scene is a game, the corresponding client can be a shooting game APP; for example, when the virtual scene is a virtual social scene, the corresponding client can be a social chat APP). When the user opens the client installed on the terminal and the terminal runs the client, the current display interface of the virtual scene (that is, the terminal's screen visible area) can be displayed in the client, and information related to the virtual scene in the screen visible area can be displayed in the display interface, such as virtual objects, virtual venues, etc.; due to the limited range of the screen visible area, when there is a target virtual object in the virtual scene that is not displayed in the screen visible area (the virtual object of the current login account in the virtual scene), the position indication information corresponding to the target virtual object can be displayed in the current display interface, and the position indication information can be used to obtain the position of the target virtual object in the virtual scene, and the position transfer of the target virtual object can be achieved through the position indication information.

[0080] In some embodiments, before the terminal displays the position indication information in the display interface, it can control the target virtual object not to be displayed in the current display interface of the virtual scene in the following ways: in response to a movement instruction for the target virtual object, control the target virtual object to move in the virtual scene until the target virtual object is not displayed in the current display interface of the virtual scene; or, in response to a sliding operation on the display interface, update the display content of the display interface until the target virtual object is not displayed in the current display interface of the virtual scene.

[0081] In actual applications, the user can adjust the position of the target virtual object in the virtual scene by controlling the movement of the target virtual object (such as controlling the movement of the target virtual object in the virtual scene by triggering a joystick or control used to control the movement of the target virtual object, or controlling the movement of the target virtual object in the virtual scene by clicking a blank area in the display interface), such as controlling the movement of the target virtual object so that it is from being in the current display interface to not being in the current display interface, or controlling the movement of the target virtual object so that it is from not being in the current display interface to being in the current display interface; in addition, the user can also adjust the display content in the display interface by sliding the current display interface (screen) of the terminal, such as sliding the current display interface so that the target virtual object is from being in the current display interface to sliding out of the current display interface (i.e., from being in the visible area of ​​the terminal screen to not being in the visible area of ​​the screen); when the target virtual object is not displayed in the current display interface, corresponding position indication information can be displayed in the display interface to indicate the position of the target virtual object in the virtual scene.

[0082] In some embodiments, the terminal may display position indication information in the display interface in the following manner: display position indication information at the target edge position of the display interface; wherein the target edge position is the intersection of a line between the center point of the display interface and the position of the target virtual object in the virtual scene, and the edge of the display interface.

[0083] See also Figure 4 , Figure 4 A display schematic diagram of the position indication information provided in an embodiment of the present application. In actual application, the terminal detects in real time whether the target virtual object is displayed in the current display interface. When it is detected that the target virtual object is not displayed in the current display interface 400, such as when the user slides the screen to make the target virtual object 401 slide from the current display interface 400 to a certain position outside the display interface (the position of the target virtual object in the virtual scene is visually invisible), the line between the center point of the display interface and the position of the target virtual object is obtained, and the intersection 402 between the line and the edge of the display interface close to the position of the target virtual object is obtained, so as to use the intersection as the display position of the position indication information in the display interface. When displaying the position indication information, the position indication information can exist in multiple forms to indicate the position of the target virtual object in the virtual scene, such as when represented by an avatar logo 403 with an indicator arrow, the indicator arrow points to the position of the target virtual object in the virtual scene.

[0084] In some embodiments, the terminal may display position indication information in the display interface in the following manner: obtain relative position information of the target virtual object relative to a reference object in a virtual scene, and use the relative position information as position indication information; wherein the relative position information includes at least one of the following: the distance between the target virtual object and the reference object, the orientation of the target virtual object relative to the reference object; and display the position indication information at a prominent position on the display interface.

[0085] Here, the reference object can be other virtual objects in the virtual scene that are different from the target virtual object (virtual objects in the virtual scene of other login accounts that are different from the current login account), or virtual objects in the virtual scene (such as virtual buildings, virtual venues, etc.), and of course other objects. The embodiments of the present application do not limit the specific form of the reference object.

[0086] See also Figure 5 , Figure 5 A display schematic diagram of the position indication information provided in the embodiment of the present application. In actual application, the terminal detects in real time whether the target virtual object is displayed in the current display interface. When it is detected that the target virtual object is not displayed in the current display interface, the relative position information of the target virtual object relative to the reference object in the virtual scene is obtained, such as obtaining the relative position information 503 between the reference object 502 in the display interface 501 and the target virtual object (visually invisible) outside the display interface (e.g., the target virtual object is 5 meters to the upper right of the reference object 502, and the position indication information is expressed as "You are 5 meters to the upper right of Xiao Lanlan"), and displays the relative position information in a prominent position in the display interface to indicate the position of the target virtual object in the virtual scene, wherein the prominent position can be a position associated with the reference object or an idle position in the display interface (such as the upper right corner, lower right corner, etc.). The embodiment of the present application does not limit the prominent position.

[0087] In some embodiments, the terminal may display the location indication information in the display interface in the following manner: in the display interface, the location indication information is periodically displayed, and the display period of the location indication information may be set according to actual conditions. In this way, by periodically displaying the location indication information in the display interface, the waste of display resources caused by the location indication information being permanently resident in the display interface can be avoided.

[0088] Step 102: In response to the position indication information being dragged to a target area in the display interface, the display position indication information is updated.

[0089] The target area is an area in the display interface where the display style of the position indication information can be changed, and is also an area where the target virtual object can be placed and displayed. In actual applications, the target area can have a preset transparency, and the user can set the visibility of the target area according to actual conditions. The visible target area can guide the user to quickly drag the position indication information to the target area to achieve the subsequent instant movement of the target virtual object position.

[0090] In some embodiments, the terminal may display the position indication information in the display interface in the following manner: in the display interface, the position indication information of the first style is displayed; accordingly, the terminal may update the displayed position indication information in the following manner: the first style is updated to the second style, and the position indication information of the second style is displayed, wherein the first style is different from the second style. Here, before and after the position indication information is dragged, the position indication information may be displayed in different display styles to improve the readability of the information and the fun of the interaction.

[0091] In some embodiments, the terminal may display the position indication information of the first style in the following manner: using the object identifier of the target virtual object as the position indication information of the first style, and displaying it in the display interface; wherein the object identifier includes at least one of the following: a part of the virtual image of the target virtual object in the virtual scene, and the account identifier of the login account corresponding to the target virtual object; accordingly, the terminal may update the first style to the second style in the following manner: using the virtual image of the target virtual object in the virtual scene as the position indication information of the second style, and updating the first style to the second style.

[0092] Here, the object identifier of the target virtual object can be a part of the virtual image of the target virtual object in the virtual scene (such as the avatar in the virtual image), or it can be the account identifier of the login account corresponding to the target virtual object (such as the account avatar), wherein the virtual image is consistent with the style of the role model of the target virtual object in the virtual scene. When the virtual image is used as the position indication information of the second style, the position indication information of the second style can be consistent with the size of the role model of the target virtual object in the virtual scene, or it can be a reduced version of the role model of the target virtual object in the virtual scene.

[0093] See also Figure 6 , Figure 6A display schematic diagram of position indication information provided in an embodiment of the present application, when the target virtual object is not displayed in the current display interface, the avatar of the target virtual object in the virtual image (character model) in the virtual scene is used as the first style of position indication information 601, and when the position indication information 601 is dragged to the target area, the position indication information 601 changes from the avatar in the virtual image (character model) of the target virtual object in the virtual scene to the virtual image (character model) of the target virtual object in the virtual scene; in this way, the position indication information is more vivid and can increase the fun of the interaction.

[0094] In some embodiments, in response to the second-style position indication information being dragged from the target area to another area different from the target area, the terminal controls the display style of the position indication information to be restored from the second style to the first style.

[0095] In actual application, the user can drag the second style position indication information to move arbitrarily in the target area. When the second style position indication information moves out of the target area, the display style of the position indication information will change, that is, it will be restored from the second style to the first style before moving to the target area.

[0096] It should be noted that the restored first style position indication information can be displayed at the original position (the position of the first style position indication information before being dragged), or at the removal position outside the target area, and point to the position of the target virtual object in the virtual scene.

[0097] See also Figure 7 , Figure 7 A schematic diagram of display of position indication information provided in an embodiment of the present application, when the target virtual object is not displayed in the current display interface, the avatar of the target virtual object in the virtual image (role model) in the virtual scene is used as the first style of position indication information 701, such as displaying the first style of position indication information 701 at the edge of the display interface, when the first style of position indication information 701 is dragged to the target area 700, the first style of position indication information 701 (avatar) becomes the second style of position indication information 702 (virtual image), as the dragging operation proceeds, the second style of position indication information 702 (virtual image) moves synchronously, when the second style of position indication information 702 (virtual image) moves out of the target area, the second style of position indication information 702 (virtual image) becomes the first style of position indication information 701 (avatar), and the first style of position indication information 701 (avatar) returns to the edge position 700.

[0098] In some embodiments, the terminal may update the displayed position indication information in response to the position indication information being dragged to the target area in the display interface in the following manner: in response to the trigger duration of the trigger operation on the position indication information exceeding the target duration, controlling the display interface to enter the drag mode; in the drag mode, in response to the position indication information being dragged to the target area in the display interface, updating the displayed position indication information; accordingly, the terminal may display the target virtual object at the target position in the target area in response to the drag operation on the updated position indication information being released in the target area in the following manner: in response to the drag operation on the updated position indication information being released in the target area, exiting the drag mode, and displaying the target virtual object at the target position in the target area.

[0099] Here, when the target virtual object is not displayed in the current display interface, if the user does not trigger the position indication information or the triggering operation of the position indication information does not exceed the target duration (which can be set, such as set to 2 seconds), the display interface is in non-drag mode. In the non-drag mode, the position indication information cannot be dragged. In this way, the change of information caused by incorrect operation can be avoided; if the triggering time of the position indication information triggered by the user exceeds the target duration (which can be set, such as set to 2 seconds), the display interface is controlled to change from non-drag mode to drag mode. In the drag mode, the movement of the position indication information can be controlled by dragging the position indication information. When the position indication information moves to the target area, if the terminal receives a release instruction for the drag operation on the position indication information, the drag mode is exited, and the target virtual object is displayed at the target position in the target area.

[0100] It can be understood that in the process of dragging the position indication information, the actual position of the target virtual object in the virtual scene remains unchanged. When the drag operation for the position indication information is released in the target area, the target virtual object is controlled to be immediately displayed in the target area (that is, the target virtual object is immediately transferred from the non-visible area of ​​the terminal to the visible area). In this way, the target virtual object is controlled from not being displayed in the current display interface to being immediately displayed in the current display interface, thereby realizing instantaneous position transfer, greatly shortening the waiting time, and improving the efficiency of human-computer interaction.

[0101] In some embodiments, when the trigger operation of the user triggering the position indication information does not exceed the target duration (such as the trigger operation is a click operation), the terminal can also adjust the display content of the current display interface by adjusting the camera, that is, controlling the camera to aim at the target virtual object so that the target virtual object is displayed in the current display interface, but in this case, the position of the target virtual object in the virtual scene has not changed.

[0102] In some embodiments, the terminal may display the position indication information in the display interface in the following manner: display the position indication information at a first position in the display interface; accordingly, in response to the position indication information moving to other areas of the display interface different from the target area and the drag operation for the position indication information being released at a second position in the other area, the terminal exits the drag mode and displays the process of the position indication information returning from the second position to the first position.

[0103] Here, when the user drags the position indication information to other areas in the display interface other than the target area, and releases the dragging operation on the position indication information at a second position in the other areas, the terminal responds to the release operation, controls the display interface to exit the dragging mode, and can control the position indication information from the second position back to the original first position.

[0104] It can be understood that when the drag operation on the position indication information is released at the second position in the other area, the position indication information may continue to be displayed at the second position. At this time, the position indication information points to the position of the target virtual object in the virtual scene.

[0105] Step 103: In response to the drag operation on the updated position indication information being released in the target area, displaying the target virtual object at the target position in the target area.

[0106] Here, since the position of the target virtual object in the virtual scene remains unchanged during the process of dragging the position indication information, when the drag operation for the updated position indication information is released in the target area, the terminal receives a corresponding release instruction, and in response to the release instruction, controls the target virtual object to be immediately displayed at the target position in the target area, that is, controls the target virtual object from not being displayed in the current display interface to being immediately displayed in the current display interface, thereby realizing instantaneous position transfer without the need for waiting time required for position movement, thereby improving human-computer interaction efficiency.

[0107] The terminal controls the target virtual object to be displayed at a target position in response to the release instruction, which can be manually selected or intelligently selected by the terminal. This will be described in detail below.

[0108] In some embodiments, the terminal may display the target virtual object at the target position in the target area in response to the drag operation for the updated position indication information being released in the target area in the following manner: in response to the updated position indication information being dragged to the target position in the target area and the drag operation for the updated position indication information being released at the target position, the target virtual object is displayed at the target position.

[0109] Here, when the updated position indication information is dragged to the target position in the target area, and the drag operation on the updated position indication information is released at the target position, the terminal receives a corresponding release instruction, and in response to the release instruction, controls the target virtual object to be immediately displayed at the target position. Figure 8 , Figure 8 A position transfer schematic diagram is provided for an embodiment of the present application. When the target virtual object is not displayed in the current display interface (the target virtual object at the original position is invisible and represented by a dotted line), taking the updated position indication information as the virtual image of the target virtual object in the virtual scene as an example, when the virtual image (position indication information) is dragged to the target position 801 in the target area and the drag operation is released at the target position 801, the terminal responds to the release instruction and displays the target virtual object 802 (that is, the virtual image corresponding to the target virtual object) at the target position 801; in this way, the user can drag the position indication information to any position in the target area according to actual needs and release the drag operation at the corresponding position, so as to control the instantaneous transfer of the target virtual object to the corresponding position, thereby improving the convenience and applicability of position transfer control.

[0110] In some embodiments, the terminal may respond to a drag operation on the updated position indication information being released in the target area by displaying the target virtual object at the target position in the target area in the following manner: when the updated position indication information is a virtual image of the target virtual object in the virtual scene, in response to a drag operation on the virtual image, the virtual image is controlled to move in the target area; in response to the virtual image moving to the target position in the target area and the drag operation on the virtual image being released at the target position, the virtual image is controlled to stop moving and the virtual image is displayed at the target position.

[0111] Here, when the updated position indication information is the virtual image (character model) of the target virtual object in the virtual scene, as the dragging operation proceeds, the virtual image (display style of the position indication information) moves synchronously. It can be understood that during the movement of the virtual image, the actual position of the target virtual object in the virtual scene remains unchanged. When the virtual image moves to the target position and the dragging operation is released, the virtual image is immediately displayed at the released target position, that is, the target virtual object is immediately displayed at the target position, thereby realizing the instant transfer of the target virtual object from the invisible original position in the current display interface to the visible target position, without the waiting time required for position movement, thereby improving the efficiency of human-computer interaction.

[0112] In some embodiments, before the terminal displays the target virtual object at the target position, when the number of candidate positions in the virtual scene is at least two, the target position is displayed in a highlighted manner; wherein, the at least two candidate positions include at least the target position, and the highlighted manner includes at least one of the following display methods: target color display, overlay mask display, highlight display, stroke display, and special effect display.

[0113] Here, in actual applications, when there are multiple candidate positions (or free positions) in the virtual scene where a virtual object can be placed, different display styles can be used to display each candidate position, especially highlighting the target position among the candidate positions that is most conducive to improving the interactive ability of the target virtual object in the virtual scene, such as using target color display (such as the display color of the target position is red, and the display color of other positions is gray), superimposed mask display (such as the target position is displayed in a superimposed mask, and other positions are displayed without a superimposed mask), highlight display (such as highlighting the target position and displaying other positions in grayscale), stroke display (such as double stroke display of the target position and non-stroke display of other positions), special effect display (such as the target position emitting a shining special effect), so as to give the user a striking prompt and guide the user to drag the position indication information to the target position and release it, so as to immediately transfer the target virtual object to the target position, which is conducive to improving the efficiency of human-computer interaction.

[0114] In some embodiments, the terminal may determine the target position by: obtaining scene data of a virtual scene; wherein the scene data includes at least one of the following: candidate positions in the virtual scene, interaction parameters between the target virtual object and other virtual objects in the virtual scene, and the interaction parameters include at least one of the following: interaction relationship, interaction frequency; based on the scene data, calling a machine learning model for position prediction to obtain the target position.

[0115] Here, when the number of candidate positions is at least two, the terminal automatically obtains relevant scene data, such as the distribution of each candidate position, the interaction relationship (whether it is an enemy or a friend) or the interaction frequency (whether it is frequent interaction) between the target virtual object and other virtual objects located at other positions, and predicts the improvement degree of the interaction ability of each reference position for the target virtual object through a machine learning model based on an artificial intelligence algorithm, and obtains the corresponding improvement degree, and then screens out the target position from multiple reference positions to be selected based on the improvement degree, such as selecting a reference position whose improvement degree exceeds a promotion degree threshold as the target position, which can make the prediction result and the screening result more accurate, and then control the target virtual object to be transferred to the target position to interact with other virtual objects, which is beneficial to improving the interaction ability of the target virtual object, and then improving the control efficiency of the virtual object and the human-computer interaction efficiency.

[0116] It should be noted that the above-mentioned machine learning model can be a neural network model (such as a convolutional neural network, a deep convolutional neural network, or a fully connected neural network, etc.), a decision tree model, a gradient boosting tree, a multilayer perceptron, and a support vector machine, etc. The embodiment of the present application does not specifically limit the type of machine learning model.

[0117] Through the above method, if the player (target virtual object) sees the target position in the target area in the current display interface of the terminal (such as a place where friends gather in a virtual scene social interaction) and wants to join the interaction, by dragging the position indication information corresponding to the target virtual object to the target position in the target area and releasing it, the target virtual object can be controlled to be instantly transferred to the target position to achieve rapid joining. Since the player's position indication information, the target area to be transferred and the target position are all visible, it is more intuitive and the position transfer location is more flexible and more adaptable than the quick movement method of the portal. This is because the environment of the virtual scene or the information of the virtual object that can be transmitted by the portal is usually invisible, and the destination point of the transmission is usually also specified or fixed (cannot be selected manually).

[0118] In some embodiments, the terminal may display the target virtual object at the target position in the target area in response to the drag operation for the updated position indication information being released in the target area in the following manner: in response to the drag operation for the updated position indication information being released at any position in the target area, the target virtual object is displayed at the target position in the target area; wherein the target position is obtained by filtering from any position, and the selection priority of the target position is higher than the selection priority of other positions in the any position except the target position.

[0119] Here, in actual application, when the updated position indication information is dragged to the target area and the drag operation for the updated position indication information is released at any position, the terminal receives the corresponding release instruction and, in response to the release instruction, controls the target virtual object to be immediately displayed at the target position in the target area. That is, as long as the user drags the position indication information to the target area and releases the drag operation, there is no need to select a specific position, and the target virtual object can be controlled to be displayed at the target position (including but not limited to the release position of the drag operation, which is not necessarily the release position of the drag operation). The target position here is screened from multiple candidate positions (or free positions) where the virtual object can be placed in the virtual scene.

[0120] Generally, different reference positions have different degrees of improvement in the interaction capability of the target virtual object, and different degrees of improvement correspond to different selection priorities. The higher the degree of improvement, the higher the corresponding selection priority. Based on the selection priority of each candidate position, the terminal intelligently selects the reference position that is most conducive to improving the interaction capability of the target virtual object from multiple candidate positions as the target position, and then controls the target virtual object to be transferred to the target position to interact with other virtual objects, which is conducive to improving the interaction capability of the target virtual object, and then improving the control efficiency of the virtual object and the human-computer interaction efficiency.

[0121] In some embodiments, before the terminal displays the target virtual object at the target position, the terminal displays a transmission effect in the display interface, wherein the transmission effect is used to indicate that the target virtual object is transmitted from the original position to the target position, and the original position is not displayed in the current display interface of the virtual scene.

[0122] Here, when the drag operation for the updated location indication information is released in the target area, the terminal responds to the release operation and displays a transmission effect in the current display interface, such as a light effect that transmits the target virtual object from the original position (invisible area) to the target position in the current display interface, presenting a transition effect in visual performance, meeting the diverse display needs of information and improving user experience.

[0123] Below, an exemplary application of an embodiment of the present application in an actual application scenario will be described. Taking the virtual scene as a virtual social scene as an example, virtual objects participating in the virtual social application can conduct social interactions in the virtual social scene. In view of the display range limitations of the terminal's display interface, in a larger virtual social scene, there are often one or more virtual objects that cannot be displayed in the current display interface (i.e., not displayed in the visible area of ​​the screen). For example, the target virtual object (the virtual character of the currently logged-in account in the virtual social scene) is not displayed in the current display interface, see Fig. 9 , Fig. 9 A flow chart of a virtual object control method provided in an embodiment of the present application will be combined with Fig. 9 The steps shown are explained.

[0124] Step 201: In response to a target virtual object not being displayed in a current display interface of a virtual social scene, the terminal displays position indication information of a first style at a first position of the display interface.

[0125] In actual applications, the user can adjust the position of the target virtual object in the virtual social scene by controlling the movement of the target virtual object (such as controlling the movement of the target virtual object in the virtual social scene by triggering a joystick or control used to control the movement of the target virtual object, or controlling the movement of the target virtual object in the virtual social scene by clicking a blank area in the display interface), such as controlling the movement of the target virtual object to change it from being in the current display interface to not being in the current display interface; in addition, the user can also adjust the display content in the display interface by sliding the current display interface (screen) of the terminal, such as sliding the current display interface to cause the target virtual object to slide from being in the current display interface to sliding out of the current display interface (i.e., from being in the visible area of ​​the terminal screen to not being in the visible area of ​​the screen).

[0126] When the target virtual object is not displayed in the current display interface, corresponding position indication information may be displayed at a first position of the display interface (such as a target edge position, i.e., an intersection of a line between a center point of the display interface and a position of the target virtual object in the virtual social scene and an edge of the display interface close to the position of the target virtual object) to indicate the position of the target virtual object in the virtual social scene. Figure 6 As shown, the avatar of the virtual image of the target virtual object in the virtual social scene is used as the position indication information of the first style, and the indication arrow points to the position of the target virtual object in the virtual social scene.

[0127] Step 202: In response to the triggering duration of the triggering operation on the position indication information exceeding the target duration, controlling the display interface to enter the dragging mode.

[0128] Here, when the target virtual object is not displayed in the current display interface, if the user does not trigger the position indication information or the triggering operation of triggering the position indication information does not exceed the target duration (settable, such as set to 2 seconds), the display interface is in non-drag mode. In non-drag mode, the position indication information cannot be dragged. In this way, the change of information caused by misoperation can be avoided; if the triggering duration of the position indication information triggered by the user exceeds the target duration (settable, such as set to 2 seconds), the display interface is controlled to change from non-drag mode to drag mode. In drag mode, the movement of the position indication information can be controlled by dragging the position indication information.

[0129] Step 203: In the drag mode, in response to a drag operation on the position indication information of the first style, controlling the movement of the position indication information of the first style.

[0130] like Figure 6As shown, taking the first style of position indication information as the avatar of the virtual character of the target virtual object in the virtual social scene as an example, the movement of the position indication information can be controlled by dragging the position indication information of the avatar style of the virtual image.

[0131] Step 204: Determine whether the first style position indication information has moved to the target area.

[0132] The target area is an area in the display interface where the display style of the position indication information can be changed, and is also an area where the target virtual object can be placed and displayed. When the position indication information of the first style moves to the target area, step 205 is executed; when the position indication information of the first style does not move to the target area, step 208 is executed.

[0133] Step 205: Update the first style to a second style, and display the position indication information of the second style.

[0134] Among them, the first style is different from the second style, such as Figure 7 As shown, the avatar of the virtual image of the target virtual object in the virtual social scene is used as the position indication information of the first style. When the position indication information of the first style (the avatar of the virtual image) is dragged to the target area, the avatar of the virtual image is controlled to change into a virtual image, that is, the virtual image (role model) of the target virtual object in the virtual social scene is used as the position indication information of the second style.

[0135] Step 206: In response to a drag operation on the position indication information of the second style, controlling the position indication information of the second style to move synchronously in the target area.

[0136] Step 207: in response to the position indication information of the second style being dragged to the target position and the drag operation being released at the target position, exiting the drag mode and displaying the target virtual object at the target position.

[0137] In actual applications, during the process of dragging the first style position indication information or the second style position indication information, the actual position of the target virtual object in the virtual social scene remains unchanged. When the drag operation for the second style position indication information is released in the target position, the terminal controls the target virtual object to be immediately displayed at the target position in the target area, that is, the target virtual object is controlled from not being displayed in the current display interface to being immediately displayed in the current display interface (that is, the target virtual object is immediately transferred from the non-visible area of ​​the terminal to the visible area), thereby realizing instantaneous position transfer without the need to spend the time required for conventional position transfer, thereby improving the efficiency of human-computer interaction.

[0138] Step 208: In response to the first-style position indication information being dragged to the second position and the dragging operation being released at the second position, exit the drag mode and control the first-style position indication information to return from the second position to the first position.

[0139] Among them, the second position is a position in other areas of the display interface except the target area. When the user drags the position indication information of the first style to other areas and releases the drag operation at the second position in the other areas, the terminal responds to the release operation, controls the display interface to exit the drag mode, and controls the position indication information from the second position to return to the original first position.

[0140] It can be understood that the user can control the movement of the second style position indication information by dragging the second style position indication information. When the second style position indication information moves out of the target area (such as moving to an area different from the target area), the display style of the position indication information will change, such as restoring from the second style to the first style before moving to the target area. If the dragging operation is released at a certain position in other areas (such as the third position), the first style position indication information can also be controlled to return from the third position to the original first position.

[0141] In actual applications, the terminal responds to the drag operation for the second style position indication information being released at the target position in the target area. When controlling the target virtual object to be displayed at the target position, a transmission effect can be displayed in the current display interface, such as displaying the light effect of transmitting the target virtual object from the original position (invisible area) to the target position in the current display interface, so as to present a transition effect in visual performance; similarly, when controlling the first style position indication information from the second position (or the third position) back to the original first position, the corresponding transmission effect can also be displayed. In this way, the diversified information display needs are met and the user experience is improved.

[0142] So far, the control method of the virtual object provided by the embodiment of the present application has been described in combination with the exemplary application and implementation of the electronic device provided by the embodiment of the present application. The following will continue to describe the various modules in the virtual object control device 555 provided by the embodiment of the present application that cooperate to implement the control scheme of the virtual object.

[0143] The first display module 5551 is used to display position indication information in the current display interface of the virtual scene in response to the target virtual object not being displayed in the display interface; wherein the position indication information is used to indicate the position of the target virtual object in the virtual scene; the second display module 5552 is used to update and display the position indication information in response to the position indication information being dragged to the target area in the display interface; the third display module 5553 is used to display the target virtual object at the target position in the target area in response to the drag operation for the updated position indication information being released in the target area.

[0144] In some embodiments, the first display module is further used to display position indication information of a first style in the display interface; the second display module is further used to update the first style to a second style and display position indication information of the second style, wherein the first style is different from the second style.

[0145] In some embodiments, the first display module is further used to use the object identifier of the target virtual object as position indication information of a first style, and display it in the display interface; wherein the object identifier includes at least one of the following: a part of the virtual image of the target virtual object in the virtual scene, and the account identifier of the login account corresponding to the target virtual object; the second display module is further used to use the virtual image of the target virtual object in the virtual scene as position indication information of a second style, and update the first style to the second style.

[0146] In some embodiments, the device further includes: a fourth display module for controlling the display style of the position indication information to be restored from the second style to the first style in response to the position indication information of the second style being dragged from the target area to another area different from the target area.

[0147] In some embodiments, the first display module is also used to display position indication information at the target edge position of the display interface; wherein the target edge position is the intersection of a line between a center point of the display interface and the position of the target virtual object in the virtual scene, and an edge of the display interface.

[0148] In some embodiments, the first display module is also used to obtain the relative position information of the target virtual object relative to the reference object in the virtual scene, and use the relative position information as position indication information; wherein the relative position information includes at least one of the following: the distance between the target virtual object and the reference object, the orientation of the target virtual object relative to the reference object; and the position indication information is displayed at a prominent position on the display interface.

[0149] In some embodiments, the first display module is further used to periodically display position indication information in the display interface.

[0150] In some embodiments, the second display module is also used to control the display interface to enter a drag mode in response to a trigger duration of a trigger operation on the position indication information exceeding a target duration; in the drag mode, in response to the position indication information being dragged to a target area in the display interface, the position indication information is updated and displayed; the third display module is also used to exit the drag mode in response to the drag operation on the updated position indication information being released in the target area, and display the target virtual object at the target position in the target area.

[0151] In some embodiments, the first display module is also used to display position indication information at a first position in the display interface; the device also includes: a fifth display module, used to respond to the position indication information moving to other areas in the display interface different from the target area, and the dragging operation on the position indication information being released at a second position in the other area, exit the dragging mode, and display the process of the position indication information returning from the second position to the first position.

[0152] In some embodiments, the third display module is also used to display the target virtual object at the target position in response to the updated position indication information being dragged to the target position in the target area and the drag operation for the updated position indication information being released at the target position.

[0153] In some embodiments, before displaying the target virtual object at the target position, the device also includes: a sixth display module, used to display the target position in a highlighted manner when the number of candidate positions in the virtual scene is at least two; wherein the at least two candidate positions include at least the target position, and the highlighted display manner includes at least one of the following display methods: target color display, overlay mask display, highlight display, stroke display, and special effect display.

[0154] In some embodiments, the device also includes: a position determination module, used to obtain scene data of the virtual scene; wherein the scene data includes at least one of the following: candidate positions in the virtual scene, interaction parameters between the target virtual object and other virtual objects in the virtual scene, and the interaction parameters include at least one of the following: interaction relationship, interaction frequency; based on the scene data, calling a machine learning model for position prediction to obtain the target position.

[0155] In some embodiments, the third display module is also used to display the target virtual object at the target position in the target area in response to the updated position indication information being released at any position in the target area; wherein the target position is obtained by filtering from the arbitrary position, and the selection priority of the target position is higher than the selection priority of other positions in the arbitrary position except the target position.

[0156] In some embodiments, the third display module is also used to control the virtual image to move in the target area in response to a drag operation on the virtual image when the updated position indication information is a virtual image of the target virtual object in the virtual scene; control the virtual image to stop moving and display the virtual image at the target position in response to the virtual image moving to the target position in the target area and the drag operation on the virtual image being released at the target position.

[0157] In some embodiments, before displaying the target virtual object at the target position, the device also includes: a seventh display module, used to display a transmission effect in the display interface, wherein the transmission effect is used to indicate that the target virtual object is transmitted from the original position to the target position, and the original position is not displayed in the current display interface of the virtual scene.

[0158] In some embodiments, before displaying the position indication information in the display interface, the device also includes: a display timing determination module, which is used to control the target virtual object to move in the virtual scene in response to a movement instruction for the target virtual object until the target virtual object is not displayed in the current display interface of the virtual scene; or, in response to a sliding operation on the display interface, update the display content of the display interface until the target virtual object is not displayed in the current display interface of the virtual scene.

[0159] The embodiment of the present application provides a computer program product, which includes a computer program or a computer executable instruction, and the computer program or the computer executable instruction is stored in a computer-readable storage medium. The processor of the electronic device reads the computer executable instruction from the computer-readable storage medium, and the processor executes the computer executable instruction, so that the electronic device executes the control method of the virtual object described in the embodiment of the present application.

[0160] The present application embodiment provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, the processor will execute the control method of the virtual object provided by the present application embodiment, for example, Figure 3 or Fig. 9 The method shown.

[0161] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or it may be various devices including one or any combination of the above memories.

[0162] In some embodiments, computer executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0163] As an example, computer-executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file storing other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).

[0164] As an example, computer executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed at multiple sites and interconnected by a communication network.

[0165] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.

Claims

1. A method for controlling a virtual object, It is characterized in that The method comprises: In response to the target virtual object not being displayed in the current display interface of the virtual scene, displaying position indication information in the display interface; Wherein, the position indication information is used to indicate the position of the target virtual object in the virtual scene; In response to the position indication information being dragged to a target area in the display interface, updating and displaying the position indication information; In response to the drag operation on the updated position indication information being released in the target area, the target virtual object is displayed at the target position in the target area.

2. The method according to claim 1, It is characterized in that The displaying of the position indication information in the display interface includes: In the display interface, displaying position indication information in a first style; The updating and displaying of the location indication information comprises: The first style is updated to a second style, and the position indication information of the second style is displayed, wherein the first style is different from the second style.

3. The method according to claim 2, It is characterized in that The displaying of the position indication information in the first style includes: Using the object identifier of the target virtual object as position indication information of a first style, and displaying it in the display interface; The object identifier includes at least one of the following: a part of the virtual image of the target virtual object in the virtual scene, and an account identifier of a login account corresponding to the target virtual object; The updating the first style to a second style includes: The virtual image of the target virtual object in the virtual scene is used as position indication information of a second style, and the first style is updated to the second style.

4. The method according to claim 2, It is characterized in that The method further comprises: In response to the position indication information of the second style being dragged from the target area to another area different from the target area, the display style of the position indication information is controlled to be restored from the second style to the first style.

5. The method according to claim 1, It is characterized in that The displaying of the position indication information in the display interface includes: Displaying position indication information at a target edge position of the display interface; The target edge position is the intersection of a line between the center point of the display interface and the position of the target virtual object in the virtual scene and the edge of the display interface.

6. The method according to claim 1, It is characterized in that The displaying of the position indication information in the display interface includes: Acquire relative position information of the target virtual object relative to a reference object in the virtual scene, and use the relative position information as position indication information; The relative position information includes at least one of the following: the distance between the target virtual object and the reference object, and the orientation of the target virtual object relative to the reference object; The position indication information is displayed at a prominent position on the display interface.

7. The method according to claim 1, It is characterized in that The displaying of the position indication information in the display interface includes: In the display interface, position indication information is periodically displayed.

8. The method according to claim 1, It is characterized in that In response to the position indication information being dragged to a target area in the display interface, updating and displaying the position indication information includes: In response to a triggering duration of the triggering operation on the position indication information exceeding a target duration, controlling the display interface to enter a dragging mode; In the drag mode, in response to the position indication information being dragged to a target area in the display interface, updating and displaying the position indication information; In response to the drag operation on the updated position indication information being released in the target area, displaying the target virtual object at the target position in the target area includes: In response to the drag operation on the updated position indication information being released in the target area, exiting the drag mode, and The target virtual object is displayed at a target position in the target area.

9. The method according to claim 8, It is characterized in that The displaying of the position indication information in the display interface includes: Displaying position indication information at a first position in the display interface; The method further comprises: In response to the position indication information moving to other areas of the display interface different from the target area, and the drag operation on the position indication information being released at a second position in the other area, the drag mode is exited, and the process of displaying the position indication information returning from the second position to the first position is performed.

10. The method according to claim 1, It is characterized in that In response to the drag operation on the updated position indication information being released in the target area, displaying the target virtual object at the target position in the target area includes: In response to the updated position indication information being dragged to a target position in the target area and the drag operation for the updated position indication information being released at the target position, the target virtual object is displayed at the target position.

11. The method according to claim 10, It is characterized in that Before displaying the target virtual object at the target position, the method further includes: When the number of candidate positions in the virtual scene is at least two, displaying the target position in a highlighted manner; The at least two candidate positions include at least the target position, and the highlight display method includes at least one of the following display methods: target color display, superimposed mask display, highlight display, stroke display, and special effect display.

12. The method according to claim 11, It is characterized in that The method further comprises: Acquiring scene data of the virtual scene; The scene data includes at least one of the following: a candidate position in the virtual scene, interaction parameters between the target virtual object and other virtual objects in the virtual scene, and the interaction parameters include at least one of the following: interaction relationship, interaction frequency; Based on the scene data, a machine learning model is called to perform position prediction to obtain the target position.

13. The method of claim 1, It is characterized in that In response to the drag operation on the updated position indication information being released, displaying the target virtual object at the target position in the target area includes: In response to the updated position indication information being released at any position in the target area, displaying the target virtual object at a target position in the target area; The target position is obtained by screening from the arbitrary positions, and the selection priority of the target position is higher than the selection priority of other positions in the arbitrary positions except the target position.

14. The method of claim 1, It is characterized in that In response to the drag operation on the updated position indication information being released in the target area, displaying the target virtual object at the target position in the target area includes: When the updated position indication information is a virtual image of the target virtual object in the virtual scene, in response to a drag operation on the virtual image, controlling the virtual image to move in the target area; In response to the virtual image moving to a target position in the target area and the drag operation on the virtual image being released at the target position, the virtual image is controlled to stop moving and is displayed at the target position.

15. The method of claim 1, It is characterized in that Before displaying the target virtual object at the target position, the method further includes: A transmission effect is displayed in the display interface, wherein the transmission effect is used to indicate that the target virtual object is transmitted from an original position to the target position, and the original position is not displayed in the current display interface of the virtual scene.

16. The method of claim 1, It is characterized in that Before displaying the position indication information in the display interface, the method further includes: In response to a movement instruction for the target virtual object, controlling the target virtual object to move in the virtual scene until the target virtual object is no longer displayed in a current display interface of the virtual scene; or, In response to a sliding operation on the display interface, the display content of the display interface is updated until the target virtual object is no longer displayed in the current display interface of the virtual scene.

17. A control device for a virtual object, It is characterized in that The device comprises: A first display module, configured to display position indication information in the display interface in response to the target virtual object not being displayed in the current display interface of the virtual scene; Wherein, the position indication information is used to indicate the position of the target virtual object in the virtual scene; A second display module, configured to update and display the position indication information in response to the position indication information being dragged to a target area in the display interface; A third display module is configured to display the target virtual object at a target position in the target area in response to a drag operation on the updated position indication information being released in the target area.

18. An electronic device, It is characterized in that include: A memory for storing computer executable instructions; A processor, configured to implement the method for controlling a virtual object according to any one of claims 1 to 16 when executing the computer executable instructions stored in the memory.

19. A computer-readable storage medium, It is characterized in that Computer executable instructions are stored, and when the computer executable instructions are executed by a processor, the control method of the virtual object according to any one of claims 1 to 16 is implemented.

20. A computer program product comprising a computer program or computer executable instructions, It is characterized in that When the computer program or computer executable instruction is executed by a processor, the method for controlling a virtual object according to any one of claims 1 to 16 is implemented.

Citation Information

Patent Citations

  • Method and device for moving target object based on touch control operation

    CN105511763A

  • Smart placement of virtual objects to stay in the field of view of a head mounted display

    CN106575156A

  • Mobile control method and apparatus in virtual reality

    CN108427501A

  • Virtual scene display method and device, computer equipment and storage medium

    CN111672106A

  • Information display method and device, equipment and storage medium

    CN111672126A