Method, device, electronic device and computer program for controlling an object in a virtual scene

The method and device facilitate real-time interaction between virtual objects by enabling them to appear near each other upon request, addressing spatial limitations and enhancing interaction efficiency in virtual scenes.

JP7760059B2Active Publication Date: 2025-10-24TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024532585
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2022-08-23
Filing Date
2023-06-21
Publication Date
2025-10-24
Estimated Expiration
2043-06-21

AI Technical Summary

Technical Problem

Existing virtual scene interaction technologies face inefficiencies due to spatial limitations, preventing real-time interactions between virtual objects located at different positions, particularly in scenarios requiring immediate assistance or collaboration.

Method used

A method and device that enable virtual objects to appear near each other instantly upon request, breaking distance limitations by allowing one virtual object to interact with another upon acceptance of an interaction request, facilitated by a server-mediated interaction system.

Benefits of technology

Enhances interaction efficiency by allowing virtual objects to engage directly without geographical constraints, improving human-computer interaction in virtual scenes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007760059000001
    Figure 0007760059000001
  • Figure 0007760059000002
    Figure 0007760059000002
  • Figure 0007760059000003
    Figure 0007760059000003
Patent Text Reader

Abstract

The present application provides a method, an apparatus, an electronic device, a computer-readable storage medium, and a computer program product for controlling an object of a virtual scene, the method including the steps of: displaying a virtual scene on a human-computer interaction interface of a first terminal, the virtual scene including at least one first virtual object associated with a first account, the at least one first virtual object being at a first location; displaying an interaction invitation entry; in response to a trigger operation on the interaction invitation entry, sending an interaction request to at least one second terminal; and in response to the at least one second account accepting the interaction request, controlling at least one second virtual object associated with the at least one second account, respectively, to emerge from a second location and interact with the at least one first virtual object, where a distance between the second location and the first location is less than a first distance threshold.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application is filed based on and claims priority from a Chinese patent application bearing application number 202211011679.5 and filed on August 23, 2022, the entire contents of which are incorporated herein by reference.

[0002] This application relates to human-computer interaction technology, and in particular to a method, device, and electronic device for controlling objects in a virtual scene. instrumentality and computer programs Mu Regarding. [Background technology]

[0003] Display technology based on graphics processing hardware has expanded the means of recognizing the environment and obtaining information. In particular, multimedia technology for virtual scenes, with the help of human-computer interaction engine technology, can realize diverse interactions between virtual objects controlled by users or artificial intelligence according to actual application needs, and has a variety of typical application scenarios, such as simulating the actual battle process between virtual objects in virtual scenes such as games.

[0004] In virtual scenes, interactions between virtual objects are required, such as rescue operations between virtual objects, medical rescue operations between virtual objects, and joint operations between virtual objects. However, since virtual objects may be located in different positions in the virtual scene, real-time interactions cannot be realized, which hinders the efficiency of interaction in virtual scenes. Summary of the Invention

[0005] The present invention provides a method, device, and electronic device for controlling objects in a virtual scene, which improves interaction efficiency by overcoming spatial limitations during interaction between virtual objects. instrumentality and computer programs M provide.

[0006] The technical means of the embodiments of the present application are realized as follows.

[0007] An embodiment of the present application provides a method for controlling an object in a virtual scene, the method being performed by an electronic device, the method comprising: Displaying a virtual scene on a human-computer interaction interface of a first terminal, where a first account is logged in on the first terminal, the virtual scene includes at least one first virtual object associated with the first account, and the at least one first virtual object is in a first position; displaying an interaction invitation entry; In response to a trigger operation on the interaction invitation entry, sending an interaction request to at least one second terminal, where different second accounts are logged in at different second terminals; In response to the at least one second account accepting the interaction request, controlling at least one second virtual object respectively associated with the at least one second account to appear from a second location to interact with the at least one first virtual object, wherein a distance between the second location and the first location is less than a first distance threshold.

[0008] An embodiment of the present application provides a device for controlling an object in a virtual scene, the device comprising: a first display module arranged to display a virtual scene in a human-computer interaction interface of a first terminal, where a first account is logged in on the first terminal, the virtual scene including at least one first virtual object associated with the first account, the at least one first virtual object being in a first position; a second display module arranged to display the interaction invitation entry; a sending module configured to send an interaction request to at least one second terminal in response to a trigger operation on the interaction invitation entry, wherein different second accounts are logged in at different second terminals; and a first interaction module arranged to, in response to the at least one second account accepting the interaction request, control at least one second virtual object respectively associated with the at least one second account to appear from a second location and interact with the at least one first virtual object, wherein a distance between the second location and the first location is less than a first distance threshold.

[0009] An embodiment of the present application provides a method for controlling an object in a virtual scene, the method being performed by an electronic device, the method comprising: displaying the virtual scene on a human-computer interaction interface of a second terminal, wherein a second account is logged in on the second terminal; displaying an interaction request sent by a first terminal, where a first account is logged in at the first terminal; In response to a confirmation operation on the interaction request, controlling at least one second virtual object associated with the second account to appear from a second location and interact with at least one first virtual object associated with the first account, wherein a distance between the second location and the first location is less than a first distance threshold.

[0010] An embodiment of the present application provides a device for controlling an object in a virtual scene, the device comprising: a third display module arranged to display the virtual scene in a human-computer interaction interface of a second terminal, the third display module having a second account logged in at the second terminal; a receiving module arranged to display an interaction request sent by a first terminal, the receiving module having a first account logged in at the first terminal; and a second interaction module arranged to, in response to a confirmation operation on the interaction request, control at least one second virtual object associated with the second account to appear from a second location and interact with at least one first virtual object associated with the first account, wherein a distance between the second location and the first location is less than a first distance threshold.

[0011] The present embodiment is a memory for storing executable instructions; and a processor for performing the method for controlling an object in a virtual scene according to an embodiment of the present application when executing executable instructions stored in a memory.

[0012] An embodiment of the present application provides a computer-readable storage medium having stored thereon executable instructions for, when executed by a processor, performing a method for controlling an object in a virtual scene according to an embodiment of the present application.

[0013] Embodiments of the present application may include computer programs or computer executable instructions. M provide. The computer , and executes the method for controlling objects in a virtual scene according to the embodiment of the present application.

[0014] The embodiment of the present application has the following advantageous effects.

[0015] A first account associated with a first virtual object is logged in to a first terminal, and the first terminal sends an interaction request to a second terminal. In response to the second account logged in to the second terminal accepting the interaction request, a second virtual object associated with the second account appears near the first virtual object and interacts with the first virtual object. This breaks the distance limitation when inviting other virtual objects to interact, and the second virtual object appears near the first virtual object in real time, thereby improving interaction efficiency and human-computer interaction efficiency in the virtual scene compared to moving around in the virtual scene. [Brief explanation of the drawings]

[0016] [Figure 1] 1 is a schematic diagram of an application mode of a virtual scene object control method according to an embodiment of the present application; [Figure 2A] 1 is a schematic diagram illustrating the configuration of an electronic device according to an embodiment of the present application. [Figure 2B] 1 is a schematic diagram illustrating the configuration of an electronic device according to an embodiment of the present application. [Figure 3A] 1 is a flowchart of a method for controlling an object in a virtual scene according to an embodiment of the present application; [Figure 3B] 1 is a flowchart of a method for controlling an object in a virtual scene according to an embodiment of the present application; [Figure 3C]1 is a flowchart of a method for controlling an object in a virtual scene according to an embodiment of the present application; [Figure 3D] 1 is a flowchart of a method for controlling an object in a virtual scene according to an embodiment of the present application; [Figure 3E] 1 is a flowchart of a method for controlling an object in a virtual scene according to an embodiment of the present application; [Figure 4] 1 is a schematic diagram of an interface of a method for controlling an object in a virtual scene according to an embodiment of the present application; [Figure 5] 1 is a schematic diagram of an interface of a method for controlling an object in a virtual scene according to an embodiment of the present application; [Figure 6] 1 is a schematic diagram of an interface of a method for controlling an object in a virtual scene according to an embodiment of the present application; [Figure 7] 1 is a schematic diagram of an interface of a method for controlling an object in a virtual scene according to an embodiment of the present application; [Figure 8] 1 is a flowchart of a method for controlling an object in a virtual scene according to an embodiment of the present application; [Figure 9] 1 is a schematic diagram of a positioning method for controlling an object in a virtual scene according to an embodiment of the present application; [Figure 10] 1 is a schematic diagram of an interface of a method for controlling an object in a virtual scene according to an embodiment of the present application; [Figure 11] 1 is a schematic diagram of an interface of a method for controlling an object in a virtual scene according to an embodiment of the present application; DETAILED DESCRIPTION OF THE INVENTION

[0017] In order to make the purpose, technical means and advantages of the present application clearer, the present application will be described in detail below with reference to the drawings. The described embodiments should not be considered as limiting the present application. All other embodiments that can be obtained by a person skilled in the art without creative efforts belong to the protection scope of the present application.

[0018] In the following description, references to "some embodiments" describe a subset of all possible embodiments, but it should be understood that "some embodiments" may be the same or different subsets of all possible embodiments and may be combined with each other unless inconsistent.

[0019] In the following description, references to the terms "first," "second," and "third" are merely intended to distinguish between similar objects and do not indicate a particular order of the objects. Note that "first," "second," and "third" may be interchanged with respect to a particular order or order when permitted, such that the described embodiments of the present application may be practiced in orders other than those shown or described herein.

[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art. The terms used herein are not intended to limit the present application, but are merely intended to describe examples of the present application.

[0021] Before describing the embodiments of the present application in more detail, the nouns and terms contained in the embodiments of the present application will be explained, and the nouns and terms contained in the embodiments of the present application will be interpreted as follows.

[0022] 1) Virtual Scene: A scene output by a device that differs from the real world. Visual perception of the virtual scene can be achieved with the naked eye or with the aid of a device, for example, two-dimensional images output by a display, or three-dimensional images output by stereoscopic display technologies such as stereoscopic projection, virtual reality, and augmented reality. Furthermore, various perceptions that simulate the real world, such as auditory perception, tactile perception, olfactory perception, and kinesthetic perception, can also be achieved with various possible hardware.

[0023] For example, in a practical application, an application program supporting virtual scenes is installed and executed on the terminal. The application program may be a first-person shooter game (FPS), a third-person shooter game, a driving game in which steering is the main action, a multiplayer online battle arena game (MOBA), a two-dimensional (2D) game application, a three-dimensional (3D) game application, a virtual reality application program, a three-dimensional map program, or a multiplayer survival game. The application program may also be a standalone application program, such as a standalone 3D game program.

[0024] 2) In response to: Used to express a condition or state on which an operation to be performed depends. When the dependent condition or state is met, one or more operations to be performed may be in real time or may have a set delay. Unless otherwise specified, the order of execution of multiple operations to be performed is not limited to a chronological order.

[0025] 3) Client: An application program that runs on a terminal and provides various services, such as a game client.

[0026] 4) Cloud storage: A new concept developed by extending the concept of cloud computing, it is a system that integrates a large number of different types of storage devices on a network through application software using functions such as cluster applications, grid technology, and distributed file systems, and jointly provides data storage and service access functions to the outside world. If the core of the calculation and processing of a cloud computing system is the storage and management of large amounts of data, it is necessary to deploy a large number of storage devices in the cloud computing system, making it a cloud storage system. Therefore, cloud storage is a cloud computing system that focuses on data storage and management.

[0027] In strategy games in the related art, to request interaction with others, such as a request for assistance, a player must send assistance request information. After receiving the assistance request information, if the other player agrees to assist in battle, the player must select a virtual object in the game and then drag or select a target location to move the virtual object. Because the team must travel a real distance on the in-game map, it takes a long time to reach the specified target location, and the longer the real distance, the longer the travel time. This creates a problem in that the virtual object being provided assistance cannot be reached immediately. While interactions in the related art rely on real movement on the map, the embodiment of the present application breaks the distance limit during interaction and allows the virtual object participating in the interaction to appear directly near the virtual object that sent the assistance request, thereby achieving rapid interaction.

[0028] The present invention provides a method, device, and electronic device for controlling an object in a virtual scene, which can overcome the distance limitation when inviting other virtual objects to interact with each other, and allow the virtual object to appear directly near the virtual object, thereby improving interaction efficiency. instrumentality and computer programs M Exemplary applications of the electronic device according to the embodiment of the present application are described below. The electronic device according to the embodiment of the present application may be implemented as various types of user terminals, such as a laptop computer, a tablet computer, a desktop computer, a set-top box, or a mobile device (e.g., a mobile phone, a portable music player, a personal digital assistant, a dedicated messaging device, or a portable game device).

[0029] In order to more easily understand the method for controlling objects in a virtual scene according to the embodiment of the present application, an exemplary embodiment of the method for controlling objects in a virtual scene according to the embodiment of the present application will be described first. The virtual scene may be output entirely by the terminal, or may be output jointly by the terminal and the server.

[0030] In some embodiments, the virtual scene may be an environment for game characters to interact with, for example, an environment for game characters to compete against each other in the virtual scene.

[0031] In another embodiment, referring to Fig. 1, Fig. 1 is a schematic diagram of an application mode of a virtual scene object control method according to an embodiment of the present application, which is applied to a first terminal 400-1, a second terminal 400-2, and a server 200. Generally, this application mode is suitable for realizing virtual scene calculations using the computing capabilities of the server 200 and outputting the virtual scene to the first terminal 400-1 and the second terminal 400-2.

[0032] For example, when a first account logs into a client (such as an online version of a game application) running on a first terminal 400-1, a virtual scene is displayed in a human-computer interaction interface of the first terminal, the virtual scene including at least one first virtual object associated with the first account, the at least one first virtual object being in a first location. An interaction invitation entry is displayed on the first terminal 400-1, and in response to a trigger operation on the interaction invitation entry, the first terminal 400-1 sends an interaction request to a second terminal 400-2 via the server 200, where a second account is logged in. In response to the second account accepting the interaction request, the second terminal 400-2 sends an interaction acceptance command to the server 200. Server 200 generates at least one second virtual object associated with the second account at a second location near the first virtual object and interacts with the at least one first virtual object. Server 200 transmits, to first terminal 400-1 and second terminal 400-2, display data related to the appearance of the second virtual object at the second location and display data related to the interaction between the second virtual object and the first virtual object.

[0033] In some embodiments, the first terminal 400-1 and the second terminal 400-2 can execute a computer program to perform the virtual scene object control method according to the embodiment of the present application. For example, the computer program may be a native program or software module in an operating system, or a local (native) application program (APP, Application), i.e., a program that needs to be installed in an operating system to run, such as a game APP (the above-mentioned client) or a live broadcast APP, or an applet, i.e., a program that can be run simply by downloading it to a browser environment, or even a game applet that can be incorporated into any APP. In short, the computer program may be any type of application program, module, or plug-in.

[0034] The embodiments of the present application may be realized by cloud technology, which is a hosting technology that integrates a set of resources such as hardware, software, and networks within a wide area network or a local area network to realize data calculation, storage, processing, and sharing.

[0035] Cloud technology is a collective term for network technology, information technology, integration technology, management platform technology, and application technology based on the cloud computing business model. It allows for the creation of resource pools that can be used as needed, making them flexible and convenient. Cloud computing technology is an important supporting technology. The background services of technical network systems require large amounts of computing and storage resources.

[0036] For example, the server 200 may be an independent physical server, a server cluster or a 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, CDNs, and big data and artificial intelligence platforms. The terminal may be, but is not limited to, a smartphone, a tablet, a laptop, a desktop computer, a smart speaker, a smart watch, etc. The terminal and the server 200 may be directly or indirectly connected via wired or wireless communication, although the embodiments of the present application are not limited thereto.

[0037] Referring to FIG. 2A, FIG. 2A is a schematic configuration diagram of an electronic device to which a method for controlling an object in a virtual scene according to an embodiment of the present application is applied. Taking the electronic device as a terminal as an example, a first terminal 400-1 shown in FIG. 2A includes at least one processor 410, a memory 450, at least one network interface 420, and a user interface 430. The components of the first terminal 400-1 are connected via a bus system 440. The bus system 440 is used to realize communication between these components. The bus system 440 includes a data bus, a power bus, a control bus, and a status signal bus. For convenience of explanation, the buses in FIG. 3 are collectively referred to as the bus system 440.

[0038] The processor 410 may be an integrated circuit chip having signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc. Here, the general-purpose processor may be a microprocessor or any conventional processor, etc.

[0039] The user interface 430 includes one or more output devices 431 that enable the display of media content, including one or more speakers and / or one or more visual displays. The user interface 430 further includes one or more input devices 432 that include user interface components that facilitate user input, such as a keyboard, a mouse, a microphone, a touchscreen display, a camera, other input buttons and widgets, etc.

[0040] Memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. Memory 450 may include one or more storage devices that are physically separate from processor 410.

[0041] The memory 450 may include volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be read-only memory (ROM), and the volatile memory may be random access memory (RAM). The memory 450 described in the embodiments of the present application is intended to include any suitable type of memory.

[0042] In some embodiments, memory 450 may store data to support various operations, including, for example, programs, modules, data structures, or a subset or superset thereof, as described below by way of example.

[0043] Operating system 451: A system program for processing various basic system services and executing hardware-related tasks, including, for example, a framework layer, a core library layer, a driver layer, etc., used to realize various basic operations and process hardware-based tasks.

[0044] Network communication module 452: Used to reach other electronic devices via one or more (wired or wireless) network interfaces 420. Exemplary network interfaces 420 include Bluetooth, Wireless Fidelity (WiFi), Universal Serial Bus (USB), etc.

[0045] Presentation module 453: Used to enable the display of information by one or more output devices 431 (e.g., displays, speakers, etc.) associated with the user interface 430 (e.g., a user interface for operating peripheral devices and displaying content and information).

[0046] Input Processing Module 454: Used to detect one or more user inputs or interactions from one or more input devices 432 and to translate the detected inputs or interactions.

[0047] In some embodiments, the virtual scene object control device according to the embodiments of the present application may be implemented in the form of software. FIG. 2A shows a virtual scene object control device 455-1 stored in a memory 450. The software may be in the form of a program, a plug-in, or the like, and includes software modules: a first display module 4551, a second display module 4552, a transmission module 4553, and a first interaction module 4554. The second terminal 400-2 shown in FIG. 2B has the same structure as the electronic device shown in FIG. 2A. FIG. 2B also shows a virtual scene object control device 455-2 stored in the memory 450. The software may be in the form of a program, a plug-in, or the like, and includes software modules: a third display module 4555, a receiving module 4556, and a second interaction module 4557. These modules are logical and may be arbitrarily combined or further divided according to the implemented functions. The following describes the functions of each module.

[0048] The method for controlling an object in a virtual scene according to the embodiment of the present application will be described with reference to exemplary applications and implementations of the terminal according to the embodiment of the present application.

[0049] Hereinafter, a method for controlling an object in a virtual scene according to an embodiment of the present application will be described. As described above, the electronic device that executes the method for controlling an object in a virtual scene according to the embodiment of the present application may be a terminal device. Therefore, the following description will be omitted regarding the entity that executes each step.

[0050] 3A, which is a flowchart of a method for controlling an object in a virtual scene according to an embodiment of the present application, will be described with reference to steps 101 to 104 shown in FIG.

[0051] In step 101, a virtual scene is displayed on a human-computer interaction interface of a first terminal.

[0052] For example, a first account is logged in to a first terminal, a virtual scene includes at least one first virtual object associated with the first account, and the at least one first virtual object is located at a first location. Referring to FIG. 4 , a human-computer interaction interface 401 displays a first virtual object 403 being attacked by a third virtual object 402. The first virtual object may be one virtual object or multiple virtual objects. That is, the first virtual object may be an individual or all individuals belonging to a team. When there is one first virtual object, the first location is the location where the single first virtual object is located. When there are multiple first virtual objects, each first virtual object is located at its own first location. That is, there are multiple first locations. At least two of the multiple first locations may be the same, or all of the first locations may be different.

[0053] In step 102, the interaction invitation entry is displayed.

[0054] As an example, the interaction invitation entry may be a request for operational support entry. Continuing to refer to FIG. 4 , the human-computer interaction interface 401 also displays a request for operational support entry 404. The interaction invitation entry may have different types depending on the user's interaction needs. The interaction invitation entry may include, but is not limited to, at least one of a request for operational support entry, a request for medical support entry, a joint operation entry, an equipment sharing entry, etc. The following mainly uses an example in which the interaction invitation entry is a request for operational support entry. When different interaction invitation entries are triggered, different interaction requests are sent. For example, when a request for medical support entry is triggered, a request for medical support (interaction request) is sent, requesting a second virtual object to provide medical assistance to the first virtual object.

[0055] In step 103, in response to a trigger operation on the interaction invitation entry, an interaction request is sent to at least one second terminal.

[0056] According to the above example, different second accounts are logged in at different second terminals. If the interaction invitation entry is a mission support request entry, the interaction request is a mission support request request, and the first account executes a trigger operation on the mission support request entry 404 in Fig. 4, the mission support request request can be sent to another player (second account), i.e., the mission support request request can be sent to the second terminal logged in with the second account. If there are multiple second accounts, the mission support request request is sent to each second terminal logged in with the second account.

[0057] In step 104, in response to the at least one second account accepting the interaction request, at least one second virtual object respectively associated with the at least one second account is controlled to emerge from a second location to interact with the at least one first virtual object, and a distance between the second location and the first location is less than a first distance threshold.

[0058] For example, the first distance threshold is a minimum distance at which a second virtual object cannot interact with a first virtual object, meaning that when the distance between the second virtual object and the first virtual object reaches the first distance threshold, the second virtual object cannot interact with the first virtual object.

[0059] For example, when a first account controls one first virtual object, the first location is a specific first coordinate of the first virtual object in the virtual scene. When a first account controls multiple first virtual objects (first team), the first location is a location where each first virtual object of the first team is located. When a second account controls one second virtual object, the second location is a specific second coordinate of the second virtual object in the virtual scene. When a second account controls multiple second virtual objects (second team), the second location is a location where each second virtual object of the second team is located. The number of second accounts may be one or more, and when the number of second accounts is multiple, each second account is associated with at least one second virtual object.

[0060] For example, if there is one first virtual object for each second account and one second virtual object associated with the second account, the distance between the first position and the second position is the distance between the first coordinate and the second coordinate. If there are multiple first virtual objects and one second virtual object associated with the second account, the distance between the first position and the second position is the distance between the geometric center of the multiple first coordinates and the second coordinate. If there is one first virtual object and multiple second virtual objects associated with the second account, the distance between the first position and the second position is the distance between the geometric center of the multiple second coordinates and the first coordinate. If there are multiple first virtual objects and multiple second virtual objects associated with the second account, the distance between the first position and the second position is the distance between the geometric center of the multiple second coordinates and the geometric center of the multiple first coordinates.

[0061] In some embodiments, the step of displaying the interaction invitation entry in step 102 can be realized by the following technical means: displaying the interaction invitation entry in the human-computer interaction interface when an interaction condition is met; or continuously displaying the interaction invitation entry in the human-computer interaction interface, and highlighting the interaction invitation entry when the interaction condition is met while the interaction invitation entry is continuously displayed. Conditionally displaying the interaction invitation entry in embodiments of the present application can save display resources, and highlighting the interaction invitation entry in embodiments of the present application can play a role in presentation and improve human-computer interaction efficiency.

[0062] For example, the interaction invitation entry may be displayed throughout the entire game play, and when an interaction condition is met, the interaction invitation entry may be highlighted, for example, by enlarging the display or adding a light ring around the control. Referring to Figure 10, the interaction invitation entry 1001 shown in Figure 10 is highlighted, indicating to the user of the first account that the invitation interaction function is available. The interaction invitation entry may also be displayed in the human-computer interaction interface only when the interaction condition is met, thereby saving display resources.

[0063] In some embodiments, the interaction conditions include at least one of: a total life value of at least one first virtual object is less than a life threshold; at least one first virtual object is in an attacked state and the number of attacking objects exceeds a first number threshold; at least one first virtual object is in a battle interaction winning state; and a number of virtual tools picked up in the virtual scene exceeds a second number threshold. Embodiments of the present application enable the interaction conditions to be combined with real-time battle data of the virtual scene, thereby displaying an interaction invitation entry when the first virtual object needs help, thereby improving human-computer interaction efficiency.

[0064] For example, if the number of first virtual objects is 1, the total life value is the life value of one first virtual object. The life value is used to determine the survival status of virtual objects in the game, and a low life value means that the virtual object is about to die. If the number of first virtual objects is multiple, the total life value is the sum of the life values ​​of the multiple first virtual objects. At this time, an interaction invitation entry is displayed or highlighted to present an interaction invitation to the first account to request medical help from the second account.

[0065] For example, when at least one first virtual object is in an attacked state and the number of attacking objects exceeds a first number threshold, it means that the first virtual object is being attacked by attacking objects and that the number of attacking objects is large. Here, the first number threshold is the number of attacking objects required when the combat power of the first virtual object and the combat power of the attacking objects are equal in the current battle situation. In this case, the first account needs to send a request for operational support to another account, so an interaction invitation entry is displayed or highlighted to present an interaction invitation to the first account requesting operational reinforcement from the second account.

[0066] For example, at least one first virtual object being in a battle interaction win state means that other players can be invited to celebrate the battle victory at this time, the second number threshold is the maximum number of virtual props that the first virtual object can pick up, and the number of virtual props picked up in the virtual scene exceeding the second number threshold means that other players can be invited to pick up virtual props at this time.

[0067] In some embodiments, referring to Figure 3B, Figure 3B is a flowchart of a method for controlling an object in a virtual scene according to an embodiment of the present application. In step 103, sending an interaction request to at least one second terminal can be realized by steps 1031 to 1032 in Figure 3B.

[0068] Step 1031 displays at least one candidate account and displays an interaction request control.

[0069] In step 1032, in response to a trigger operation on the interaction request control, the at least one candidate account is set as at least one second account, and an interaction request is sent to at least one second terminal logged in with each of the at least one second account.

[0070] According to the embodiment of the present application, all candidate accounts can be set as second accounts, and the sending of the interaction request can be completed at once by triggering the interaction request control.

[0071] 5, after a first account performs a trigger operation on the Operation Support Request entry 404 in FIG. 4, two other player's account avatars 503 (avatars of the candidate accounts) and an interaction request control 504 are displayed. In response to the first account's trigger operation on the interaction request control 504, all candidate accounts can become second accounts, and an interaction request, such as a request for assistance, can be sent to the second terminal of each second account.

[0072] In some embodiments, the step of sending an interaction request to at least one second terminal in step 103 can be realized by the following technical means: displaying at least one candidate account and displaying an interaction request control; displaying that at least one candidate account is in a selected state in response to a selection operation on the at least one candidate account or when the at least one candidate account meets an automatic selection condition; and setting the selected candidate account as a second account in response to a trigger operation on the interaction request control, and sending an interaction request to at least one second terminal logged in with the at least one second account. The embodiments of the present application enable selectively determining a second account from the candidate accounts and sending an interaction request to the second account, thereby improving the utilization of communication resources.

[0073] 11 , after a first account performs a trigger operation on the Operation Support Request entry 404 in FIG. 4, candidate account 1103, candidate account 1105, and interaction request control 1104 are displayed. Candidate account 1103 is in a selected state either automatically or after being manually selected. In response to the first account's trigger operation on the interaction request control 1104, candidate account 1103 becomes a second account, and an interaction request, such as a request for assistance, can be sent to the second terminal of candidate account 1103.

[0074] In some embodiments, before displaying at least one candidate account, the system acquires candidate accounts that satisfy at least one of the following screening conditions: a candidate account whose logged-in terminal is located at a distance less than a second distance threshold from the first terminal; a candidate account that has a social relationship with the first account; or a candidate account that has a historical interaction event, such as a historical operational support event or a historical medical assistance event, with the first account in the virtual scene. When the distance between the candidate virtual object associated with the at least one candidate account and the at least one first virtual object is less than a third distance threshold, this indicates that the candidate virtual object and the first virtual object are close to each other in the virtual scene. The third distance threshold is the average value of the distance between the first virtual object and other virtual objects other than the first virtual object in the virtual scene. Therefore, a player controlling the candidate virtual object can better understand the environment in which the first virtual object is located, facilitating more efficient interaction between the candidate virtual object and the first virtual object.

[0075] For example, a candidate account whose logged-in device is located less than a second distance threshold from the first device means that the two players are close to each other offline. Using this as a screening condition can promote mutual assistance between offline players. The second distance threshold may be the maximum distance threshold for short-range communication. By designating an account that has a social relationship with the first account as a social account, the range of interaction between players can be expanded, allowing for a transition from game interaction to social interaction.

[0076] In some embodiments, before displaying at least one candidate account, the system performs the following steps: acquires environmental data of the virtual scene and object data of at least one virtual object associated with each participating account in the virtual scene; invokes a first neural network model to extract environmental features from the environmental data and object features from the object data; fuses the environmental features and the object features to obtain a first fused feature; maps the first fused feature to a first probability that each participating account will respond to the interaction request; and identifies participating accounts whose first probability is greater than a first probability threshold as candidate accounts. In this way, the first neural network model learns the current state of the virtual objects and the current environment of the virtual scene, and can accurately predict the first probability that each participating account will respond to the interaction request based on the learned information. By accurately predicting the first probability, candidate accounts that are likely to respond to the interaction request can be displayed, thereby preventing a decrease in human-computer interaction efficiency and a waste of communication resources due to no response after the first account sent an interaction request.

[0077] For example, the environmental data may be used to represent the topography and features of the virtual scene, and the object data may be used to represent the current state of virtual objects, such as life points and skills. Sample object data for a sample account may be collected in a sample virtual scene, and sample environment data may be collected in the sample virtual scene. A training sample may be constructed based on the collected data. The training sample may be used as input for a first neural network model to be trained, and labeling data may indicate whether the account responded to an interaction request. If the account responded to the interaction request, the labeling data may be 1, and if the account did not respond to the interaction request, the labeling data may be 0. The first neural network model may be trained based on the training sample and the labeling data, allowing the first neural network model to directly determine whether an account should be displayed as a candidate account.

[0078] In some embodiments, when the number of at least one candidate account is plural, the step of displaying at least one candidate account can be realized by performing any of the following technical means: displaying the candidate accounts in order of the shortest physical distance between the candidate accounts and the first account, where the physical distance between the candidate accounts and the first account is the distance between the candidate terminal logged in with the candidate account and the first terminal. By displaying the candidate accounts in order of the shortest physical distance, the user can be prompted to send interaction requests preferentially to nearby players, thereby combining online games and offline interactions and improving the diversity of interactions. displaying the candidate accounts in order of the shortest social distance between the candidate accounts and the first account. By displaying the candidate accounts in order of the shortest social distance, the user can be prompted to send interaction requests preferentially to players with whom they are closely related, thereby expanding the interaction range from game scenes to social scenes and effectively improving the diversity of interactions. displaying the candidate accounts in order of the strongest network signal strength of the terminals logged in with the candidate accounts. The system can prompt users to send interaction requests preferentially to candidate accounts with strong network signals, thereby ensuring smooth network operation and efficient interaction in the subsequent interaction process.The system displays candidate accounts in descending order of the prominence of each candidate account.

[0079] The prominence of the candidate account is negatively correlated with characteristic parameters of the candidate account, and the characteristic parameters include at least one of the physical distance between the terminal logged in with the candidate account and the first terminal, the social distance between the candidate account and the first account, and the distance between a candidate virtual object associated with the candidate account and the first virtual object. For example, the closer the physical distance of the candidate account, the higher the prominence when displayed. By recommending candidate accounts to send interaction requests to the user with different prominences, the efficiency of human-computer interaction is improved.

[0080] In some embodiments, the multiple candidate accounts are displayed by a radar control, and the order of the distance between the multiple candidate accounts and the virtual radar of the radar control matches the order of the multiple candidate accounts.

[0081] 5, for example, a radar control 502 is displayed in a human-computer interaction interface 501, and two other player candidate accounts 503 and 505 are displayed in the radar control 502. The physical distance between the candidate account 503 and the first account is smaller than the physical distance between the candidate account 505 and the first account, and therefore the distance between the candidate account 503 and the virtual radar 506 is smaller than the distance between the candidate account 505 and the virtual radar 506.

[0082] In some embodiments, when at least one candidate account is displayed, a countdown control is displayed, the countdown control is used to start counting from the time when the at least one candidate account is displayed, and in response to the counting time reaching a set time threshold and all of the at least one candidate account being in a deselected state, the at least one candidate account is hidden and at least one new candidate account is displayed. By controlling the display duration of each batch of candidate accounts, the present embodiment allows the batch of candidate accounts to be periodically changed and displayed, providing more options for logging in using a first account and improving human-computer interaction efficiency.

[0083] For example, the countdown control may be a countdown clock. The countdown starts when at least one candidate account is displayed. For example, if the countdown starts from 10 seconds, 10 seconds is the set time threshold. In response to the countdown time reaching the set time threshold, that is, if all the candidate accounts displayed at the end of the countdown have not been selected, all the currently displayed candidate accounts are hidden and new candidate accounts are displayed. The method for acquiring a new candidate account is similar to the method for acquiring a previous candidate account.

[0084] In some examples, the automatic selection conditions include at least one of: a number of candidate virtual objects associated with the candidate account is greater than or equal to a third number threshold, the third number threshold being a difference between a number of attack objects attacking the at least one first virtual object and a number of the at least one first virtual object; and an object skill of the candidate virtual object associated with the candidate account being different from an object skill of the at least one first virtual object.

[0085] For example, if the number of attack objects is 10, the number of first virtual objects is 3, and the third number threshold is 7, a candidate account associated with 7 or more candidate virtual objects can be automatically selected as the second account to ensure that the second virtual object of the second account effectively reinforces the first virtual object. If the skill of the candidate virtual object is different from the skill of the first virtual object, the skill can be complemented when reinforced, improving the subsequent interaction effect.

[0086] In some embodiments, when the number of second accounts is plural, refer to FIG. 3C , which is a flowchart of a method for controlling an object in a virtual scene according to an embodiment of the present application. In step 104, controlling at least one second virtual object associated with at least one second account to appear from a second position can be realized by step 1041 or step 1042 in FIG. 3C .

[0087] In step 1041, at least one second virtual object respectively associated with each second account is controlled to appear from the same second position.

[0088] In some embodiments, when at least one second virtual object associated with each second account is controlled to appear from the same second position, the second position satisfies at least one of the following conditions: The second position is an arbitrary position less than a first distance threshold relative to the position of at least one first virtual object, thereby controlling the second virtual object to appear near the first virtual object and allowing the second virtual object to appear randomly, thereby preventing an attacking object from predicting the appearance position of the second virtual object in an attacking scene; When the first virtual object is in an attacked state, the second position is a position outside the attack range of the attacking object, thereby ensuring that the second virtual object is not attacked by the attacking object in the attacking scene; When the first virtual object is in an attacking state, the second position is a position within the injury range of the attacked object, thereby ensuring that the first virtual object effectively attacks the attacked object in the attacking scene; When there are multiple virtual tools to be picked up in the virtual scene, the second position is an arbitrary position less than a fourth distance threshold relative to the position of the virtual tool. The fourth distance threshold is the average value of the distances between each virtual object and its nearest virtual tool in the virtual scene. Therefore, in a tool sharing scene, it is advantageous for the second virtual object to quickly pick up the virtual tool, and the efficiency of picking up the virtual tool is improved.

[0089] In step 1042, at least one second virtual object respectively associated with each second account is controlled to appear from different second locations, where the different second accounts correspond to different second locations.

[0090] In some embodiments, when at least one second virtual object associated with each second account is controlled to appear from a different second position, the method includes: acquiring, for each second account, object data of at least one second virtual object associated with the second account; acquiring interaction data of the virtual scene; acquiring a plurality of location assignment strategies for the plurality of second accounts, the location assignment strategies including second positions corresponding to each second account; and invoking a second neural network model to perform the following process: extracting object features corresponding to the object data, interaction features corresponding to the interaction data, and assignment features corresponding to each location assignment strategy; fusing the object features, interaction features, and assignment features for each location assignment strategy to obtain a second fused feature; and mapping the second fused feature to an interaction result score, where the interaction result score is an interaction result score obtained when the at least one second virtual object associated with each second account is displayed according to the location assignment strategy. The second location corresponding to each second account is extracted from the location assignment strategy with the highest interaction result score. The second neural network model then learns the current state of the virtual object and the current environment of the virtual scene, and can accurately predict the interaction result score for each location assignment strategy based on the learned information. Accurate prediction of the interaction result score allows for the provision of a location assignment strategy advantageous for interaction, thereby improving human-computer interaction efficiency and interaction efficiency.

[0091] For example, the environmental data may be used to represent the topography and features of a virtual scene, and the object data may be used to represent the current state of virtual objects, such as life points and skills. Sample object data for a sample account may be collected in a sample virtual scene, and sample environment data may be collected in the sample virtual scene. Training samples may be constructed based on the collected data, and the training samples may be used as inputs for a second neural network model to be trained. Actual interaction result scores for each location assignment strategy may be used as labeling data. The second neural network model may be trained based on the training samples and labeling data, allowing the location assignment strategy to be directly determined by the second neural network model.

[0092] In some embodiments, referring to Figure 3D, Figure 3D is a flowchart of a method for controlling an object in a virtual scene according to an embodiment of the present application. In step 104, controlling at least one second virtual object associated with at least one second account to appear from a second position can be realized by step 1043 or step 1044 of Figure 3D for each second account.

[0093] Step 1043 generates at least one second virtual object associated with the second account at a second location.

[0094] In step 1044, at least one second virtual object associated with the second account is caused to disappear from the third location where it is located and teleport back into existence from the second location.

[0095] For example, in step 1043, a second virtual object can be directly generated at the second location from nothing. In step 1044, a second virtual object at a third location in the virtual scene can be transported to the second location through a virtual space-time tunnel, thereby realizing instantaneous movement of the second virtual object. The above two embodiments enable the second virtual object to appear directly at the second location, thereby breaking through distance limitations and improving interaction efficiency in the virtual scene.

[0096] In some embodiments, after controlling at least one second virtual object associated with each of the at least one second accounts to appear from a second position, the following process is performed for each second account: In response to the distance between the second terminal logged in with the second account and the first terminal exceeding a second distance threshold, the at least one second virtual object associated with the second account is controlled to be hidden, thereby controlling the second terminal and the first terminal to always maintain a close distance, thereby associating an online game with offline interaction and improving the enjoyment of the interaction; In response to the distance between the second terminal logged in with the second account and the first terminal exceeding a fifth distance threshold but not exceeding the second distance threshold, displaying presentation information indicating that the first terminal logged in with the first account needs to move closer to the second terminal. The fifth distance threshold may be smaller than the second distance threshold and may be half the second distance threshold. When the distance between the second terminal and the first terminal gradually increases and is about to exceed the second distance threshold, presentation information is displayed, thereby preventing the reinforcing second virtual object from directly disappearing and improving interaction efficiency.

[0097] In some embodiments, after at least one second virtual object respectively associated with at least one second account appears at a second position in the virtual scene, the following process is performed for each second account: display a social relationship entry corresponding to the second account, and send a social relationship establishment request to the second account in response to a trigger operation on the social relationship entry. The embodiments of the present application enable game interaction to be expanded into social interaction, thereby increasing the variety of interactions.

[0098] In some embodiments, reference is made to Figure 3E, which is a flowchart of a method for controlling an object in a virtual scene according to an embodiment of the present application, which will be described with reference to steps 201 to 203 shown in Figure 3E.

[0099] In step 201, a virtual scene is displayed in a human-computer interaction interface of a second terminal, and a second account is logged in on the second terminal.

[0100] Step 202 displays an interaction request sent by a first terminal, where a first account is logged in.

[0101] For example, refer to FIG. 6, which is a schematic diagram of an interface for controlling an object in a virtual scene according to an embodiment of the present application. Player B, who receives a request for assistance, can see who sent the request. A received request for assistance 602 is displayed in Player B's human-computer interaction interface 601, and a rejection control 603 and an agreement control 604 are displayed in the request for assistance 602. If Player A agrees to the reinforcement, a pre-defined second virtual object appears directly near Player A, and the human-computer interaction interface displays information stating "Support for Player A has been successful." Player A or Player B can control the second virtual object (support team) to attack, creating a surprise effect. If multiple players B agree to the reinforcement near Player A, multiple support teams, i.e., support teams controlled by multiple players B, are displayed near the first virtual object controlled by Player A. Each support team may include one or more second virtual objects.

[0102] In step 203, in response to a confirmation operation on the interaction request, at least one second virtual object associated with the second account is controlled to appear from a second location to interact with at least one first virtual object associated with the first account, and a distance between the second location and the first location is less than a first distance threshold.

[0103] For example, a specific embodiment of controlling at least one second virtual object associated with the second account to appear from a second position and interact with at least one first virtual object associated with the first account in step 203 may refer to the embodiment of step 104. Then, the second virtual object that appears in the second position may continue to be controlled by the second account, or may be transferred to be controlled by the first account.

[0104] According to an embodiment of the present application, a first account associated with a first virtual object is logged in to a first terminal, and the first terminal sends an interaction request to a second terminal. In response to the second account logged in to the second terminal accepting the interaction request, a second virtual object associated with the second account appears near the first virtual object and interacts with the first virtual object. This breaks the distance limitation when inviting other virtual objects to interact, and the second virtual object appears near the first virtual object in real time, which improves the interaction efficiency and human-computer interaction efficiency in the virtual scene compared to moving around in the virtual scene.

[0105] The following describes an exemplary application of the embodiment of the present application in one practical application scenario.

[0106] In some embodiments, when a first account logs into a client (e.g., an online version of a game application) running on a first terminal, a virtual scene is displayed in a human-computer interaction interface of the first terminal, the virtual scene including at least one first virtual object associated with the first account, the at least one first virtual object being at a first location. An interaction invitation entry is displayed on the first terminal, and in response to a trigger operation on the interaction invitation entry, the first terminal sends an interaction request to a second terminal via a server, in which a second account is logged in. In response to the second account accepting the interaction request, the second terminal sends an interaction acceptance command to the server. The server generates at least one second virtual object associated with the second account at a second location near the first virtual object, and interacts with the at least one first virtual object. The server transmits to the first terminal and the second terminal display data relating to the appearance of the second virtual object at the second location and display data relating to the interaction between the second virtual object and the first virtual object.

[0107] In strategy games, players can control virtual objects to fight in the game by logging in to their accounts. During the preparation for and combat process, players may control virtual objects to interact with each other to enhance the fun of the game. For example, in the case of reinforcement interactions, it is often necessary to recruit support teams or reinforcements to achieve the goal of winning the battle. However, the battle situation changes rapidly, and when one player sends a support team to another player during the battle, it often has a decisive impact on the battle and increases the probability of winning the battle.

[0108] First, player A logs in to a first account A to play a game, and a first virtual object controlled by the first account A is being attacked. Referring to FIG. 4, FIG. 4 is a schematic diagram of an interface for a virtual scene object control method according to an embodiment of the present application. A first virtual object 403 being attacked by a third virtual object 402 is displayed on a human-computer interaction interface 401. A mission support request entry 404 is also displayed on the human-computer interaction interface 401. At this time, the first account can execute a trigger operation on the mission support request entry 404.

[0109] Next, referring to FIG. 5, FIG. 5 is a schematic diagram of an interface of a method for controlling an object in a virtual scene according to an embodiment of the present application. After a first account performs a trigger operation on the operation support request entry 404 in FIG. 4, another player B near player A can be identified based on near-field communication technology. For example, a human-computer interaction interface 501 displays a radar control 502, which displays account avatars 503 of two other players and an interaction request control 504. In response to the first account's trigger operation on the interaction request control 504, a request for help can be sent to other players near player A in the real world.

[0110] Next, referring to FIG. 6, FIG. 6 is a schematic diagram of an interface for a method for controlling objects in a virtual scene according to an embodiment of the present application. Player B, who receives a request for assistance, can know who sent the request. A received request for assistance 602 is displayed in Player B's human-computer interaction interface 601, and a rejection control 603 and an agreement control 604 are displayed in the request for assistance 602. If Player A agrees to the reinforcement, a pre-defined second virtual object appears directly near Player A, and the human-computer interaction interface displays information stating "Support for Player A has been successful." Player A or Player B can control the second virtual object (support team) to attack, creating a surprise effect. If multiple players B agree to the reinforcement near Player A, multiple support teams, i.e., support teams controlled by multiple players B, are displayed near the first virtual object controlled by Player A. Each support team may include one or more second virtual objects.

[0111] Finally, referring to Figure 7, Figure 7 is a schematic diagram of an interface for a method for controlling objects in a virtual scene according to an embodiment of the present application. A first virtual object 702, a third virtual object 703 that attacks the first virtual object 702, and a second virtual object 704 that supports the first virtual object 702 are displayed on a human-computer interaction interface 701. The second virtual object 704 appears near the first virtual object, seemingly out of nowhere, and the first and second virtual objects can jointly fight against the third virtual object.

[0112] In some embodiments, the positioning mainly relies on geographical location information, which may be a real location or a virtual location set by a player to protect privacy. Referring to Figure 8, Figure 8 is a flowchart of a method for controlling an object in a virtual scene according to an embodiment of the present application.

[0113] In step 801, the operation of the player requesting assistance that triggered the assistance request control in the game is received.

[0114] In step 802, online players near the player requesting assistance are searched for based on the LBS information. Specifically, the geographical location coordinates of the mobile phone are determined based on the global positioning system, and the geographical location information of the mobile phone of the player requesting assistance and the mobile phones of surrounding game players is calculated to find nearby players participating in the game.

[0115] In step 803, a trigger operation on the interaction request control is received, and a request for assistance is sent to nearby players.

[0116] In step 804, the support request information is displayed on the nearby player's terminal, and it is determined whether the nearby player accepts the support request.

[0117] In step 805, in response to the nearby player accepting the request for assistance, the assistance team appears directly near the player requesting assistance, ignoring in-game travel distance.

[0118] In step 806, the support team joins the battle and attacks the opposing team. Specifically, the support team may be controlled by the player requesting support or a nearby player.

[0119] In step 807, in response to the nearby player's refusal of the request for support, no support team appears and presentation information is displayed to the player requesting support to the effect that support will be refused.

[0120] In some embodiments, referring to Figure 9, Figure 9 is a schematic diagram of the positioning of the virtual scene object control method according to the embodiment of the present application. Mobile phone positioning technologies mainly include: 1. satellite positioning technology; 2. mobile base station positioning technology; 3. Wi-Fi positioning technology; and 4. auxiliary satellite positioning technology.

[0121] In satellite positioning technology, a positioning satellite calculates the distance between the satellite and the user's mobile phone by recording the time it takes to send and receive signals to and from the user's mobile phone, and combines data from multiple satellites to determine the specific location of the user's mobile phone.

[0122] The principle of mobile base station positioning technology is mainly three-point positioning. After turning on the user's mobile phone, it registers with surrounding base stations, measures the downlink reference signals of different base stations, obtains the arrival time and arrival time difference of the signals from each base station, compares the position coordinate data of the base stations, and corrects the mobile phone's own position data.

[0123] In Wi-Fi positioning technology, the principle is similar to that of mobile base station positioning, which performs three-point positioning based on nearby base stations with known locations, but in Wi-Fi positioning technology, the wireless access point acts as a mobile base station and changes the base station indoors.

[0124] Auxiliary satellite positioning technology is actually an extension of satellite positioning technology, combining network base station information and satellite positioning information to quickly locate mobile devices. By using the location information of mobile phone base stations and cooperating with traditional positioning satellites, positioning is speeded up.

[0125] According to the embodiment of the present application, it is possible to request assistance from nearby online players, realize the rapid recruitment of a support team, and have them appear directly near the object to be supported, immediately join the battle, and achieve a surprise effect, effectively shortening the time required for movement based on the actual map in the game.Furthermore, by finding nearby players to request assistance based on LBS, multiple support teams can be quickly recruited, effectively enhancing offline interaction and enriching the variety of game interaction.

[0126] The embodiments of the present application are widely applied in strategy games, and in addition to the traditional method based on the game's geographical location and map movement, they also use satellite positioning technology to quickly locate support teams, thereby promoting the variety of changes in the battle process, greatly improving the playability and strategic nature of the game, and promoting interaction behaviors such as cooperation between offline players.

[0127] It should be noted that the embodiments of the present application refer to relevant data such as user information, and 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 must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0128] 2A , the software module of the virtual scene object controller 455-1 stored in the memory 450 includes a first display module 4551 configured to display a virtual scene on a human-computer interaction interface of a first terminal, where a first account is logged in to the first terminal, the virtual scene includes at least one first virtual object associated with the first account, and the at least one first virtual object is located at a first position; a second display module 4552 configured to display an interaction invitation entry; and a third display module 4553 configured to display an interaction invitation entry in response to a trigger operation on the interaction invitation entry. The system may include a sending module 4553 arranged to send the interaction request to at least one second terminal, where different second accounts are logged in at the different second terminals; and a first interaction module 4554 arranged to, in response to the at least one second account accepting the interaction request, control at least one second virtual object associated with each of the at least one second account to appear from a second location and interact with the at least one first virtual object, where a distance between the second location and the first location is less than a first distance threshold.

[0129] In some embodiments, the second display module 4552 is further configured to perform one of the following: displaying the interaction invitation entry in the human-computer interaction interface if the interaction condition is met; and continuously displaying the interaction invitation entry in the human-computer interaction interface and highlighting the interaction invitation entry if the interaction condition is met while continuously displaying the interaction invitation entry.

[0130] In some embodiments, the interaction conditions include at least one of: a total life value of the at least one first virtual object is less than a life threshold; the at least one first virtual object is in an attacked state and the number of attacking objects exceeds a first number threshold; the at least one first virtual object is in a competitive interaction win state; and the number of virtual tools picked up in the virtual scene exceeds a second number threshold.

[0131] In some embodiments, the sending module 4553 is further configured to display the at least one candidate account and display an interaction request control, and in response to a trigger operation on the interaction request control, send an interaction request to at least one second terminal that respectively logs in with the at least one second account, with the at least one candidate account as the at least one second account.

[0132] In some embodiments, the sending module 4553 is further configured to: display at least one candidate account and display an interaction request control; in response to a selection operation on the at least one candidate account or the at least one candidate account meeting an automatic selection condition, display that the at least one candidate account is in a selected state; and in response to a trigger operation on the interaction request control, set the candidate account in the selected state as a second account and send an interaction request to at least one second terminal logged in with the at least one second account.

[0133] In some embodiments, the sending module 4553 further displays a countdown control when displaying the at least one candidate account, the countdown control being used to start counting from the time the at least one candidate account is displayed, and is configured to hide the at least one candidate account and display at least one new candidate account in response to the counting time reaching a set time threshold and any of the at least one candidate account being in a non-selected state.

[0134] In some examples, the automatic selection conditions include at least one of: a number of candidate virtual objects associated with the candidate account is greater than or equal to a third number threshold, the third number threshold being a difference between a number of attack objects attacking the at least one first virtual object and a number of the at least one first virtual object; and an object skill of the candidate virtual object associated with the candidate account being different from an object skill of the at least one first virtual object.

[0135] In some embodiments, before displaying the at least one candidate account, the sending module 4553 is further configured to retrieve candidate accounts that satisfy at least one of the following screening conditions: a candidate account whose distance between the logged-in terminal and the first terminal is less than a second distance threshold; a candidate account that has a social relationship with the first account; a candidate account that has a historical interaction event in the virtual scene with the first account; and a candidate virtual object associated with the at least one candidate account whose distance between the at least one first virtual object is less than a third distance threshold.

[0136] In some embodiments, before displaying the at least one candidate account, the sending module 4553 is further configured to: retrieve environment data of the virtual scene and object data of at least one virtual object associated with each participating account in the virtual scene; invoke a first neural network model to extract environment features from the environment data and object features from the object data; fuse the environment features and the object features to obtain a first fused feature; map the first fused feature to a first probability that each participating account will respond to the interaction request; and identify participating accounts with the first probability greater than a first probability threshold as candidate accounts.

[0137] In some embodiments, when the number of at least one candidate account is plural, the sending module 4553 is further configured to perform any of the following: displaying the plurality of candidate accounts in order of decreasing physical distance between the plurality of candidate accounts and the first account, where the physical distance between the plurality of candidate accounts and the first account is the distance between a candidate terminal logged in with the candidate account and the first terminal; displaying the plurality of candidate accounts in order of decreasing social distance between the plurality of candidate accounts and the first account; displaying the plurality of candidate accounts in order of increasing network signal strength of the terminal logged in with the plurality of candidate accounts; and displaying the candidate accounts in order of increasing prominence of each candidate account, where the prominence of the candidate account is negatively correlated with a feature parameter of the candidate account, and the feature parameter includes at least one of the distance between the terminal logged in with the candidate account and the first terminal, the social distance between the candidate account and the first account, and the distance between a candidate virtual object associated with the candidate account and the first virtual object.

[0138] In some embodiments, the first account and the plurality of candidate accounts are displayed by a radar control, with the first account displayed in a central position of the radar control and the plurality of candidate accounts arranged in a sequential order.

[0139] In some embodiments, when the number of second accounts is plural, the first interaction module 4554 is further configured to perform one of: a process of controlling at least one second virtual object respectively associated with each second account to appear from the same second position; and a process of controlling at least one second virtual object respectively associated with each second account to appear from different second positions, wherein the different second accounts correspond to different second positions.

[0140] In some embodiments, when at least one second virtual object associated with each second account is controlled to appear from the same second position, the second position satisfies at least one of the following conditions: the second position is any position less than a first distance threshold relative to the position of the at least one first virtual object; when the first virtual object is in an attacked state, the second position is a position outside the attack range of the attacking object; when the first virtual object is in an attacking state, the second position is a position within the injury range of the attacked object; when there are multiple virtual tools to be picked up in the virtual scene, the second position is any position less than a fourth distance threshold relative to the position of the virtual tool.

[0141] In some embodiments, when controlling at least one second virtual object associated with each second account to appear from a different second position, the first interaction module 4554 further performs the following steps: for each second account, obtain object data of the at least one second virtual object associated with the second account; obtain interaction data of the virtual scene; obtain a plurality of position assignment strategies for the plurality of second accounts, the position assignment strategies including second positions corresponding to each second account; and invoke a second neural network model to assign object features corresponding to the object data, interaction data, and the ... position assignment strategies for the plurality of second accounts, the position assignment strategies including second positions corresponding to each second account, and the second neural network model to assign object features corresponding to the object data, interaction data, and the second neural network model to assign position assignment strategies for the plurality of second accounts, the position assignment strategies including second positions corresponding to each second account, and the second neural network model to assign object features corresponding to the object data, interaction data, and the second neural network model to assign position a process of fusing the object feature, the interaction feature, and the assignment feature for each location assignment strategy to obtain a second fusion feature and mapping the second fusion feature to an interaction result score, where the interaction result score is an interaction result score obtained when displaying at least one second virtual object respectively associated with each second account according to the location assignment strategy; and a process of extracting a second location corresponding to each second account from the location assignment strategy having the highest interaction result score.

[0142] In some embodiments, the first interaction module 4554 is further configured to perform, for each second account, one of: generating at least one second virtual object associated with the second account at the second location; and causing at least one second virtual object associated with the second account to disappear from a third location where it is located and teleport from the second location.

[0143] In some embodiments, after controlling at least one second virtual object respectively associated with at least one second account to appear from a second position, the first interaction module 4554 is further configured to perform, for each second account, a process of controlling at least one second virtual object associated with the second account to be hidden in response to a distance between the second terminal logged in with the second account and the first terminal exceeding a second distance threshold; and a process of displaying presentation information indicating that the first terminal logged in with the first account needs to move closer to the second terminal in response to a distance between the second terminal logged in with the second account and the first terminal exceeding a fifth distance threshold but not exceeding the second distance threshold, wherein the fifth distance threshold is smaller than the second distance threshold.

[0144] In some embodiments, after at least one second virtual object respectively associated with the at least one second account appears at a second location in the virtual scene, the first interaction module 4554 is further configured to perform, for each second account, a process of displaying a social relationship entry corresponding to the second account, and a process of sending a social relationship establishment request to the second account in response to a trigger operation on the social relationship entry.

[0145] An embodiment of the present application provides a virtual scene object control device 455-2, the device 455-2 including: a third display module 4555 arranged to display the virtual scene in a human-computer interaction interface of a second terminal, where a second account is logged in on the second terminal; a receiving module 4556 arranged to display an interaction request sent by a first terminal, where the first account is logged in on the first terminal; and a second interaction module 4557 arranged to, in response to a confirmation operation on the interaction request, control at least one second virtual object associated with the second account to appear from a second position and interact with at least one first virtual object associated with the first account, where a distance between the second position and the first position is less than a first distance threshold.

[0146] Embodiments of the present application may include a computer program comprising computer-executable instructions stored on a computer-readable storage medium. M provide. computer reads the computer-executable instructions from the computer-readable storage medium and executes the computer-executable instructions, computer executes a method for controlling an object in a virtual scene according to an embodiment of the present application.

[0147] An embodiment of the present application provides a computer-readable storage medium having stored thereon computer-executable instructions that, when executed by a processor, cause the processor to perform a method for controlling an object in a virtual scene according to an embodiment of the present application, such as the method for controlling an object in a virtual scene shown in Figures 3A to 3E.

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

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

[0150] By way of example, but not limitation, the computer-executable instructions may correspond to a file in a file system, may be stored as part of a file that stores other programs or data, for example, in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program under consideration, or in multiple collaboration files (e.g., files that store one or more modules, subprograms, or code components).

[0151] As an example, the computer-executable instructions may be implemented to execute on one electronic device, or on multiple electronic devices located at one location, or on multiple electronic devices distributed across multiple locations and interconnected via a communications network.

[0152] In summary, according to an embodiment of the present application, a first account associated with a first virtual object is logged in to a first terminal, the first terminal sends an interaction request to a second terminal, and in response to the second account logged in to the second terminal accepting the interaction request, a second virtual object associated with the second account appears near the first virtual object and interacts with the first virtual object. Thus, the distance limitation when inviting and interacting with other virtual objects can be overcome, and the second virtual object appears near the first virtual object in real time, which can improve the interaction efficiency and human-computer interaction efficiency in the virtual scene compared to moving around in the virtual scene.

[0153] The above is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and scope of the present application are included within the scope of protection of the present application.

Claims

1. 1. A method for controlling objects in a virtual scene, performed by an electronic device, comprising: displaying the virtual scene in a human-computer interaction interface of a first terminal, where a first account is logged in at the first terminal, the virtual scene includes at least one first virtual object associated with the first account, and the at least one first virtual object is in a first location; Displaying an interaction invitation entry in a human-computer interaction interface of the first terminal, the interaction invitation entry being a control that is operated to request assistance from a second account different from the first account; In response to a trigger operation on the interaction invitation entry, sending an interaction request to at least one second terminal, where different second accounts are logged in at different second terminals; In response to at least one of the second accounts accepting the interaction request, controlling at least one second virtual object respectively associated with the at least one of the second accounts to appear from a second position to interact with the at least one first virtual object, wherein a distance between the second position and the first position is less than a first distance threshold; A method for controlling an object in a virtual scene, comprising:

2. The step of displaying the interaction invitation entry includes: displaying the interaction invitation entry on the human-computer interaction interface if an interaction condition is met; continuously displaying the interaction invitation entry in the human-computer interaction interface; and highlighting the interaction invitation entry if an interaction condition is met while the interaction invitation entry is continuously displayed.

3. The interaction condition is: the total life value of the at least one first virtual object is less than a life threshold; the at least one first virtual object is in an attacked state, and the number of attacking objects exceeds a first number threshold; the at least one first virtual object is in a competitive interaction winning state; The method of claim 2 , comprising at least one of: a number of virtual tools picked up in the virtual scene exceeding a second number threshold.

4. The step of sending the interaction request to at least one second terminal includes: displaying at least one candidate account, which is a candidate account to which the interaction request is to be sent, and displaying an interaction request control; In response to a trigger operation on the interaction request control, selecting the at least one candidate account as at least one second account and sending the interaction request to at least one second terminal logged in with the at least one second account; The method according to any one of claims 1 to 3, comprising:

5. The step of sending the interaction request to at least one second terminal includes: displaying at least one candidate account and displaying an interaction request control; In response to a selection operation on at least one of the candidate accounts or in response to at least one of the candidate accounts satisfying an automatic selection condition, displaying that at least one of the candidate accounts is in a selected state; in response to a trigger operation on the interaction request control, selecting the candidate account in a selected state as a second account and sending the interaction request to at least one second terminal logged in with at least one of the second accounts; The method according to any one of claims 1 to 3, comprising:

6. When displaying the at least one candidate account, the method further comprises: displaying a countdown control, the countdown control being used to start counting from the time when the at least one candidate account is displayed; hiding the at least one candidate account and displaying at least one new candidate account in response to the counting time reaching a set time threshold and all of the at least one candidate account being in a non-selected state; The method of claim 5 further comprising:

7. The automatic selection conditions are: the number of candidate virtual objects associated with the candidate account is equal to or greater than a third number threshold, and the third number threshold is a difference between the number of attack objects attacking the at least one first virtual object and the number of the at least one first virtual object; The method of claim 5 , comprising at least one of: an object skill of a candidate virtual object associated with the candidate account being different from an object skill of the at least one first virtual object.

8. Before displaying the at least one candidate account, the method further comprises: a candidate account whose logged-in terminal is located at a distance less than a second distance threshold from the first terminal; candidate accounts having a social relationship with the first account; candidate accounts having historical interaction events with the first account in the virtual scene; The method further includes the step of acquiring candidate accounts that satisfy at least one of the following screening conditions: The method of claim 4 , wherein a distance between a candidate virtual object associated with the at least one candidate account and the at least one first virtual object is less than a third distance threshold.

9. Before displaying the at least one candidate account, the method further comprises: obtaining environment data for the virtual scene and object data for at least one virtual object associated with each participating account in the virtual scene; Call the first neural network model: extracting environmental features from the environmental data and object features from the object data; fusing the environment features and the object features to obtain a first fused feature; mapping the first fused features to a first probability that each of the participating accounts will respond to the interaction request, and determining the participating accounts for which the first probability is greater than a first probability threshold as the candidate accounts; The method of claim 4 further comprising:

10. When the number of the at least one candidate account is plural, the step of displaying the at least one candidate account includes: A process of displaying a plurality of candidate accounts in order of increasing physical distance between the plurality of candidate accounts and the first account, wherein the physical distance between the candidate accounts and the first account is the distance between a candidate terminal logged in with the candidate account and the first terminal; a process of displaying the plurality of candidate accounts in order of decreasing social distance between the plurality of candidate accounts and the first account; and displaying the plurality of candidate accounts in descending order of network signal strength of terminals logged in with the plurality of candidate accounts.

11. The method of claim 10, wherein the plurality of candidate accounts are displayed by a radar control, the order of the candidate accounts being in ascending order of distance from the plurality of candidate accounts to a virtual radar of the radar control, and the virtual radar being displayed in a central position of the radar control and representing the position of the first account.

12. When the number of the second accounts is plural, the step of controlling at least one second virtual object associated with each of the at least one second accounts to appear from a second position includes: A process of controlling at least one second virtual object associated with each of the second accounts to appear from the same second position; and a process of controlling at least one second virtual object associated with each of the second accounts to appear from different second positions, wherein different second accounts correspond to the different second positions.

13. When controlling at least one second virtual object associated with each of the second accounts to appear from the same second position, the second position is the second position is any position less than the first distance threshold with respect to a position of the at least one first virtual object; a condition that, when the first virtual object is in an attacked state, the second position is a position outside an attack range of an attacking object; a condition that, when the first virtual object is in an attacking state, the second position is a position within an injury range of an attacked object; At least one of the following is satisfied: The method of claim 12 , wherein if there are multiple virtual tools to be picked up in the virtual scene, the second position is any position less than a fourth distance threshold relative to the position of the virtual tool.

14. When controlling at least one second virtual object associated with each of the second accounts to appear from a different second position, the method includes: For each second account, obtaining object data of at least one second virtual object associated with the second account; acquiring interaction data of the virtual scene; obtaining a plurality of location assignment strategies for a plurality of the second accounts, the location assignment strategies including a second location corresponding to each of the second accounts; Call the second neural network model: extracting object features corresponding to the object data, interaction features corresponding to the interaction data, and assignment features corresponding to each of the location assignment strategies; For each of the location assignment strategies, fusing the object features, the interaction features, and the assignment features to obtain a second fusion feature, and mapping the second fusion feature to an interaction result score, a process in which the interaction result score is an interaction result score obtained when displaying at least one second virtual object respectively associated with each of the second accounts according to the location allocation strategy; extracting a second location corresponding to each of the second accounts from the location assignment strategy having the highest interaction result score; 13. The method of claim 12, further comprising:

15. The step of controlling at least one second virtual object associated with each of the at least one second accounts to appear from a second position includes: For each said second account: generating at least one second virtual object associated with the second account at the second location; and causing at least one second virtual object associated with the second account to disappear from a third location where it is located and appear from the second location by teleportation. The method according to any one of claims 1 to 3, further comprising:

16. After controlling at least one second virtual object associated with each of the at least one second accounts to appear from a second position, the method includes: For each said second account: a process of controlling to hide at least one second virtual object associated with the second account in response to a distance between the second terminal logged in with the second account and the first terminal exceeding a second distance threshold; The method of any one of claims 1 to 3, further comprising: in response to a distance between a second terminal logged in with the second account and the first terminal exceeding a fifth distance threshold but not exceeding the second distance threshold, displaying presentation information indicating that the first terminal logged in with the first account needs to move closer to the second terminal, wherein the fifth distance threshold is smaller than the second distance threshold.

17. After at least one second virtual object respectively associated with at least one second account appears at a second location in the virtual scene, the method further comprises: For each said second account: displaying a social relationship entry corresponding to the second account in a human-computer interaction interface of the first terminal, the social relationship entry including an image that can be manipulated to request the second account to establish a social relationship; The method according to any one of claims 1 to 3, further comprising the step of: sending a social relationship establishment request to the second account in response to a trigger operation on a social relationship entry.

18. 1. A method for controlling objects in a virtual scene, performed by an electronic device, comprising: displaying the virtual scene in a human-computer interaction interface of a second terminal, wherein a second account is logged in at the second terminal; displaying an interaction request sent by a first terminal in response to a trigger operation on an interaction invitation entry displayed on a human-computer interaction interface of the first terminal, wherein a first account different from the second account is logged in to the first terminal, and the interaction invitation entry is a control that is operated to request assistance from the second account; In response to a confirmation operation on the interaction request, controlling at least one second virtual object associated with the second account to appear from a second location and interact with at least one first virtual object associated with the first account, wherein a distance between the second location and a first location where the first virtual object is located is less than a first distance threshold; A method for controlling an object in a virtual scene, comprising:

19. 1. A virtual scene object control device, comprising: a first display module arranged to display the virtual scene in a human-computer interaction interface of a first terminal, wherein a first account is logged in at the first terminal, the virtual scene includes at least one first virtual object associated with the first account, and the at least one first virtual object is in a first position; and a second display module arranged to display an interaction invitation entry in a human-computer interaction interface of the first terminal, the interaction invitation entry being a control that may be operated to request assistance from a second account different from the first account; and a sending module configured to send an interaction request to at least one second terminal in response to a trigger operation on the interaction invitation entry, wherein different second accounts are logged in at different second terminals; and a first interaction module arranged to, in response to at least one of the second accounts accepting the interaction request, control at least one second virtual object associated with each of the at least one second account to appear from a second location and interact with the at least one first virtual object, wherein a distance between the second location and the first location is less than a first distance threshold; An object control device for a virtual scene, comprising:

20. 1. A virtual scene object control device, comprising: a third display module arranged to display the virtual scene in a human-computer interaction interface of a second terminal, the third display module having a second account logged in at the second terminal; a receiving module configured to display an interaction request sent by a first terminal in response to a trigger operation on an interaction invitation entry displayed on a human-computer interaction interface of the first terminal, wherein a first account different from the second account is logged in to the first terminal, and the interaction invitation entry is a control that is operated to request assistance from the second account; a second interaction module configured to, in response to a confirmation operation on the interaction request, control at least one second virtual object associated with the second account to appear from a second location and interact with at least one first virtual object associated with the first account, wherein a distance between the second location and a first location where the first virtual object is located is less than a first distance threshold; An object control device for a virtual scene, comprising:

21. An electronic device, a memory for storing computer-executable instructions; a processor for performing the method for controlling objects in a virtual scene according to any one of claims 1 to 3 or claim 18 when executing computer-executable instructions stored in the memory.

22. A computer program causing a computer to execute the method for controlling an object in a virtual scene according to any one of claims 1 to 3 or claim 18.

Citation Information

Patent Citations

  • Control method and device for virtual object in virtual scene and electronic equipment

    CN112569599A

  • Vacuum valve circuit breaker

    JP1977059864A

  • Game control device, game control method, program, recording medium, and game system

    WO2013094160A1