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

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

JP2024544652AActive Publication Date: 2024-12-03TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024532585
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-08-23
Filing Date
2023-06-21
Publication Date
2024-12-03
Estimated Expiration
2043-06-21

AI Technical Summary

Technical Problem

Existing virtual scene interaction technologies face inefficiencies due to spatial limitations, hindering real-time interactions between virtual objects, particularly in scenarios requiring immediate support or collaboration.

Method used

A method and apparatus that enable virtual objects to appear near each other in real-time by sending interaction requests between terminals, allowing virtual objects to emerge from their original locations and interact without geographical constraints, facilitated by a server-mediated process.

Benefits of technology

Enhances interaction efficiency by breaking distance barriers, enabling immediate and effective collaboration among virtual objects, thereby improving human-computer interaction in virtual scenes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024544652000001_ABST
    Figure 2024544652000001_ABST
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 a Chinese patent application having application number 202211011679.5 and filing date of August 23, 2022, and claims priority to the Chinese patent application, the entire contents of which are incorporated herein by reference.

[0002] The present application relates to human-computer interaction technology, and in particular to a method, an apparatus, an electronic device, a computer-readable storage medium and a computer program product for controlling an object in a virtual scene. [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 of 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 have a variety of typical application scenes. For example, in virtual scenes such as games, the actual battle process between virtual objects can be simulated.

[0004] In a virtual scene, 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 in different positions in a virtual scene, real-time interactions cannot be realized, which hinders the efficiency of interactions in the virtual scene. Summary of the Invention

[0005] Embodiments of the present application provide a method, apparatus, electronic device, computer-readable storage medium, and computer program product for controlling objects in a virtual scene, which improves interaction efficiency by breaking through spatial limitations during interaction between virtual objects.

[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 in a human-computer interaction interface of a first terminal, where a first account is logged into 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; 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; and 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 emerge 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 an apparatus for controlling an object in a virtual scene, the apparatus 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 into 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 arranged to send an interaction request to at least one second terminal in response to a trigger operation on the interaction invitation entry, where 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, each associated with the at least one second account, to emerge 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 in a human-computer interaction interface of a second terminal, where a second account is logged into the second terminal; displaying an interaction request sent by a first terminal, where a first account is logged into the first terminal; and 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 to interact with the 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 an apparatus for controlling an object in a virtual scene, the apparatus 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, where a first account is logged into 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, where a distance between the second location and the first location is less than a first distance threshold.

[0011] The embodiment of the present application is a memory for storing executable instructions; and a processor for performing a 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] An embodiment of the present application provides a computer program product including a computer program or computer executable instructions which, when executed by a processor, perform a method for controlling an object in a virtual scene according to an embodiment of the present application.

[0014] The embodiments of the present application have the following advantageous effects.

[0015] A first account associated with a first virtual object is logged in at a first terminal, and the first terminal transmits an interaction request to a second terminal, and in response to the second account logged in at the second terminal accepting the interaction request, a second virtual object associated with the second account appears from 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 broken through, 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 with moving around in the virtual scene. [Brief description of the drawings]

[0016] [Figure 1] FIG. 2 is a schematic diagram of an application mode of the virtual scene object control method according to an embodiment of the present application; [Figure 2A] 1 is a schematic diagram illustrating a configuration of an electronic device according to an embodiment of the present application. [Figure 2B] 1 is a schematic diagram illustrating a 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] FIG. 2 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; [Diagram 5] FIG. 2 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] FIG. 2 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] FIG. 2 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] FIG. 2 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] FIG. 2 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] FIG. 2 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 PREFERRED EMBODIMENTS

[0017] In order to make the objectives, 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 obtained by those skilled in the art without creative efforts belong to the scope of protection 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. It should be noted that the terms "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 the embodiments 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 are to be interpreted as follows.

[0022] 1) Virtual Scene: A scene output by a device that is different from the real world. With the naked eye or with the aid of a device, a visual perception of the virtual scene can be formed, for example, a two-dimensional image output by a display, or a three-dimensional image output by a stereoscopic display technology such as stereoscopic projection, virtual reality, or augmented reality technology. In addition, various perceptions that simulate the real world, such as auditory perception, tactile perception, olfactory perception, and kinesthetic perception, can also be formed 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 any of First-Person Shooting games (FPS), Third-person shooter games, driving games with steering as the main action, Multiplayer Online Battle Arena games (MOBA), Two Dimension (2D) game applications, Three Dimension (3D) game applications, Virtual Reality application programs, Three-dimensional map programs, or Multiplayer Survival games. The application program may also be a standalone version of the application program, for example, a standalone version of a 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, the operation or operations to be performed may be in real time or may have a set delay. Unless otherwise stated, the order of execution of the operations to be performed is not limited to a chronological order.

[0025] 3) Client: An application program that runs on a terminal to provide 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 various types of storage devices in a network with application software to cooperate and jointly provide data storage and service access functions to the outside world through functions such as cluster applications, grid technology, and distributed file systems. If the core of the calculation and processing of a cloud computing system is the storage and management of a large amount of data, it is necessary to place a large number of storage devices in the cloud computing system, and the cloud computing system becomes a cloud storage system. Therefore, cloud storage is a cloud computing system that focuses on data storage and management.

[0027] In the strategy game in the related technology, in order to make an interaction request with another person, such as a request for assistance, it is necessary to send assistance request information. After receiving the assistance request information, if the other person agrees to assist in the battle, it is necessary to select a virtual object in the game and then drag or select a target location to move the virtual object. Since the team needs to move the actual distance of the map in the game, it takes a lot of time to reach the specified target location, and if the actual distance is far, it takes a long time to move. Therefore, there is a problem that the virtual object to be supported cannot be reached immediately. Although the interaction in the related technology needs to depend on the actual movement on the map, the embodiment of the present application breaks the distance limit during the interaction, and the virtual object participating in the interaction appears directly near the virtual object that sent the assistance request, so that a quick interaction can be realized.

[0028] The embodiments of the present application provide a method, an apparatus, an electronic device, a computer-readable storage medium, and a computer program product for controlling an object in a virtual scene, which can break through the distance limit when inviting and interacting with other virtual objects, and directly appear near the virtual object, thereby improving interaction efficiency. Exemplary applications of the electronic device according to the embodiments of the present application are described below. The electronic device according to the embodiments of the present application may be implemented as various types of user terminals, such as notebook computers, tablets, desktop computers, set-top boxes, and mobile devices (e.g., mobile phones, portable music players, personal digital assistants, dedicated messaging devices, and portable game devices).

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

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

[0031] In another embodiment, refer to Fig. 1, which is a schematic diagram of an application mode of a method for controlling objects in a virtual scene 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. In general, the application mode is suitable for implementing the calculation of the virtual scene by the computing capability of the server 200, and outputting the virtual scene to the first terminal 400-1 and the second terminal 400-2.

[0032] As an 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 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. 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 transmits an interaction request via the server 200 to a second terminal 400-2, in which a second account is logged in. In response to the second account accepting the interaction request, the second terminal 400-2 transmits an interaction acceptance command to the server 200. The 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. The server 200 transmits to the first terminal 400-1 and the second terminal 400-2 display data relating to the appearance of the second virtual object at the second location and display data relating to the interaction of the second virtual object with the first virtual object.

[0033] In some embodiments, the first terminal 400-1 and the second terminal 400-2 can execute the virtual scene object control method according to the embodiment of the present application by executing a computer program. For example, the computer program may be a native program or software module in an operating system, or may be 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 (above-mentioned client), a live broadcast APP, etc., or may be an applet, i.e., a program that can be run simply by downloading it into a browser environment, or may even be 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 calculation, storage, processing, and sharing of data.

[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, which can form a resource pool and be used as needed, making it flexible and convenient. Cloud computing technology will become an important supporting technology. The background services of technical network systems require a large amount 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 providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal may be, but is not limited to, a smartphone, a tablet, a laptop, a desktop computer, a smart speaker, a smart watch, and the like. The terminal and the server 200 may be directly or indirectly connected by wired or wireless communication, but the embodiment of the present application is not limited thereto.

[0037] Referring to FIG. 2A, FIG. 2A is a schematic configuration diagram of an electronic device to which a virtual scene object control method according to an embodiment of the present application is applied. Taking the electronic device as an example of a terminal, 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. Each component in the first terminal 400-1 is connected via a bus system 440. The bus system 440 is used to realize connection communication between these components. The bus system 440 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For convenience of explanation, each bus in FIG. 3 is collectively referred to as a 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 devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general purpose processor may be a microprocessor or any conventional processor, etc.

[0039] User interface 430 includes one or more output devices 431 that enable display of media content, including one or more speakers and / or one or more visual displays. User interface 430 further includes one or more input devices 432 that include user interface components that facilitate user input, such as, for example, a keyboard, a mouse, a microphone, a touch screen 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 separate in physical location from processor 410.

[0041] The memory 450 may include volatile 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 display of information via 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 convert the detected inputs or interactions.

[0047] In some embodiments, the virtual scene object control device according to the embodiment of the present application may be realized in the form of software. FIG. 2A shows a virtual scene object control device 455-1 stored in a memory 450, which may be software in the form of a program, plug-in, etc., and includes the software modules of a first display module 4551, a second display module 4552, a transmission module 4553, and a first interaction module 4554. The structure of the second terminal 400-2 shown in FIG. 2B is the same as the electronic device shown in FIG. 2A. FIG. 2B further shows a virtual scene object control device 455-2 stored in the memory 450, which may be software in the form of a program, plug-in, etc., and includes the software modules of a third display module 4555, a receiving module 4556, and a second interaction module 4557. These modules are logical, so they may be arbitrarily combined or further divided according to the functions to be realized. 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 an exemplary application and implementation 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, in the following, a description of the entity that executes each step will be omitted.

[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 in a human-computer interaction interface of a first terminal.

[0052] As an example, a first account is logged in at a 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 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, i.e., the first virtual object may be an individual or all individuals belonging to a team. If the number of first virtual objects is one, the first location is the location where one first virtual object is located, and if the number of first virtual objects is multiple, each first virtual object is at its respective first location, i.e., there are multiple first locations. At least two of the multiple first locations may be the same, or all 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 mission support request entry. Still referring to FIG. 4, the human-computer interaction interface 401 also displays a mission support request entry 404. According to the user's interaction needs, the interaction invitation entry may have different types. The interaction invitation entry includes, but is not limited to, at least one of a mission support request entry, a medical support request entry, a joint operation entry, an equipment sharing entry, and the like. The following mainly takes as an example that the interaction invitation entry is a mission support request entry. Different interaction requests are sent when different interaction invitation entries are triggered. For example, when a medical support request entry is triggered, a medical support request request (interaction request) is sent to ask 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. When 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. When there are multiple second accounts, the mission support request request is sent to the second terminal logged in with each second account.

[0057] At 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, wherein a distance between the second location and the first location is less than a first distance threshold.

[0058] As an example, the first distance threshold is a minimum distance at which the second virtual object cannot interact with the 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 more than one, each second account is associated with at least one second virtual object.

[0060] For example, for each second account, when the number of first virtual objects is one and the number of second virtual objects associated with the second account is one, the distance between the first position and the second position is the distance between the first coordinate and the second coordinate. When the number of first virtual objects is multiple and the number of second virtual objects associated with the second account is one, 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. When the number of first virtual objects is one and the number of second virtual objects associated with the second account is multiple, 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. When the number of first virtual objects is multiple and the number of second virtual objects associated with the second account is multiple, 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: performing one of the following processes: displaying the interaction invitation entry in the human-computer interaction interface when an interaction condition is met; and continuously displaying the interaction invitation entry in the human-computer interaction interface, and highlighting the interaction invitation entry when an interaction condition is met while continuously displaying the interaction invitation entry. Conditionally displaying the interaction invitation entry in the embodiments of the present application can save display resources, and highlighting the interaction invitation entry in the embodiments of the present application can play a role of 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, such as by enlarging the display or adding a light ring around the control. Referring to Fig. 10, the interaction invitation entry 1001 shown in Fig. 10 is in a highlighted state, and serves to indicate to the user of the first account that the invitation interaction function is available. Also, the interaction invitation entry may 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 condition includes at least one of the following: a total life value of the at least one first virtual object is less than a life threshold; at least one first virtual object is in an attacked state and a number of attacking objects exceeds a first number threshold; at least one first virtual object is in a battle interaction winning state; a number of virtual props picked up in the virtual scene exceeds a second number threshold. The embodiments of the present application can combine the interaction condition with real-time battle data of the virtual scene, so that an interaction invitation entry is displayed when the first virtual object needs help, thereby improving human-computer interaction efficiency.

[0064] For example, when the number of the 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 state of the virtual object in the game, and when the life value is low, it means that the virtual object is about to die. When the number of the 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 the interaction invitation entry is highlighted to present an interaction invitation to the first account to request medical assistance 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 the attacking objects and the number of attacking objects is large. The first number threshold here is the number of attacking objects required when the combat power of the first virtual object and the attacking object is equal in the current battle situation. At this time, since the first account needs to send a request for operational support to another account, an interaction invitation entry is displayed or the interaction invitation entry is 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 match interaction winning state means that other players can be invited to celebrate the match winning at this time. The second number threshold is a 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, refer to Fig. 3B, 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 103, sending an interaction request to at least one second terminal can be realized by steps 1031 to 1032 in Fig. 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 each logged in with the at least one second account.

[0070] According to the embodiment of the present application, all the 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 the candidate accounts can become second accounts, and an interaction request, such as a support request request, can be sent to the second terminal of each second account.

[0072] In some embodiments, the step of sending the 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 at least one candidate account in a selected state 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, 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 rate of communication resources.

[0073] 11, after a first account performs a trigger operation on the operation support request entry 404 of 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 a trigger operation on the interaction request control 1104 of the first account, candidate account 1103 becomes a second account and an interaction request, such as a request for assistance, can be sent to a second terminal of candidate account 1103.

[0074] In some embodiments, before displaying at least one candidate account, obtain candidate accounts that satisfy at least one of the following screening conditions: a candidate account whose logged-in terminal and the first terminal have a distance less than a second distance threshold, a candidate account that has a social relationship with the first account, and a candidate account that has a history interaction event, such as a history operation support event, a history medical aid event, etc., in the virtual scene with the first account. 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 means that the distance between the candidate virtual object and the first virtual object in the virtual scene is close. The third distance threshold is an average value of the distance between the first virtual object and other virtual objects other than the first virtual object in the virtual scene. Thus, the player controlling the candidate virtual object can better understand the environment in which the first virtual object is located, and more efficient interaction between the candidate virtual object and the first virtual object is facilitated.

[0075] For example, a candidate account whose logged-in terminal and the first terminal are less than the second distance threshold means that the offline distance between the two players is close, and by using this as a screening condition, mutual assistance between offline players can be promoted. Here, the second distance threshold may be the maximum distance threshold for short-range communication. By using an account having a social relationship with the first account as a social account, the interaction range between players can be expanded, and a transition from game interaction to social interaction can be made.

[0076] In some embodiments, before displaying at least one candidate account, the method includes: acquiring environmental data of the virtual scene and object data of at least one virtual object associated with each participating account in the virtual scene; invoking a first neural network model to extract environmental features from the environmental data and object features from the object data; fusing the environmental features and the object features to obtain a first fused feature; and mapping the first fused feature to a first probability that each participating account will respond to the interaction request, and selecting a participating account whose first probability is greater than a first probability threshold as a candidate account. In this way, the first neural network model can learn the current state of the virtual object and the current environment of the virtual scene, and accurately predict the first probability that each participating account will respond to the interaction request based on the learned information. Since the first probability can be accurately predicted, 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 one responding after the first account sends an interaction request.

[0077] For example, the environmental data is used to represent the topography and features of the virtual scene, and the object data is used to represent the current state of the virtual object, such as life value and skill. Collect sample object data of a sample account in a sample virtual scene, collect sample environment data in the sample virtual scene, and build a training sample based on the collected data, and the training sample is used as the input of the first neural network model to be trained, and whether the account responded to the interaction request is used as labeling data, and if the account responded to the interaction request, the labeling data is 1, and if the account did not respond to the interaction request, the labeling data of the sample map is 0. Based on the training sample and the labeling data, the first neural network model is trained, so that it can be directly determined in the first neural network model whether an account is displayed as a candidate account.

[0078] In some embodiments, when the number of at least one candidate account is more than one, the step of displaying at least one candidate account can be realized by a technical means of performing any of the following processes. Displaying the multiple candidate accounts in order of the smallest physical distance between the multiple candidate accounts and the first account, the physical distance between the candidate accounts and the first account being the distance between the candidate terminal logged in with the candidate account and the first terminal. By displaying in order of the smallest physical distance, the user can be prompted to preferentially send an interaction request to a nearby player, so that online games and offline interactions are combined and the diversity of interactions is improved. Displaying the multiple candidate accounts in order of the smallest social distance between the multiple candidate accounts and the first account. By displaying in order of the smallest social distance, the user can be prompted to preferentially send an interaction request to a player with a close relationship, so that the interaction range can be expanded from the game scene to the social scene, and the diversity of interactions can be effectively improved. Displaying the multiple candidate accounts in order of the strongest network signal strength of the terminal logged in with the multiple candidate accounts. The user can be prompted to send interaction requests preferentially to candidate accounts with strong network signals, thereby ensuring the smoothness of the network in the subsequent interaction process and ensuring efficient interaction. The candidate accounts are displayed in order of the salience of each candidate account.

[0079] The salience of the candidate account is negatively correlated with the feature parameters of the candidate account, and the feature parameters include at least one of the following: a physical distance between a terminal logged in with the candidate account and the first terminal, a social distance between the candidate account and the first account, and a 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 is, the higher the salience is when displayed. By recommending candidate accounts to send interaction requests to a user according to different saliences, human-computer interaction efficiency is improved.

[0080] In some examples, the multiple candidate accounts are displayed by a radar control, and an order of distance between the multiple candidate accounts and the virtual radar of the radar control matches an 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. Since 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, 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 displaying the at least one candidate account, 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 non-selected state, the at least one candidate account is hidden and at least one new candidate account is displayed. The embodiments of the present application allow the display duration of each batch of candidate accounts to be controlled, so that the batch of candidate accounts can be changed and displayed periodically, providing more choices for logging in using a first account and improving human-computer interaction efficiency.

[0083] As an example, the countdown control may be a countdown clock. The countdown starts when at least one candidate account is displayed, and for example, when the countdown starts from 10 seconds, 10 seconds is a set time threshold. In response to the countdown time reaching the set time threshold, that is, when 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 of acquiring the new candidate account is similar to the method of acquiring the previous candidate account.

[0084] In some examples, the automatic selection condition includes 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 is different from an object skill of the at least one first virtual object.

[0085] For example, when 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 with an associated number of candidate virtual objects of 7 or more 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. When the skill of the candidate virtual object is different from the skill of the first virtual object, the skill can be complemented at the time of reinforcement, and the subsequent interaction effect is improved.

[0086] In some embodiments, when the number of second accounts is more than one, 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, the step of 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 location.

[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 with respect to the position of at least one first virtual object, so that the second virtual object can be controlled to appear near the first virtual object and can appear randomly, thereby preventing the attacking object from predicting the appearance position of the second virtual object in the 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 second 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 with respect to the position of the virtual tool. The fourth distance threshold is an average value of the distance between each virtual object and each nearest virtual tool in the virtual scene. Therefore, it is advantageous for the second virtual object to quickly pick up the virtual tool in a tool sharing scene, 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, the different second accounts corresponding to the different second locations.

[0090] In some embodiments, when controlling at least one second virtual object associated with each second account to appear from a different second position, the method includes: for each second account, acquiring 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 position assignment strategies for the plurality of second accounts, the position assignment strategies including second positions corresponding to each second account; and invoking a second neural network model to perform the following process: extracting an object feature corresponding to the object data, an interaction feature corresponding to the interaction data, and an assignment feature corresponding to each position assignment strategy; fusing the object feature, the interaction feature, and the assignment feature for each position 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 associated with each second account according to the position assignment strategy. A second location corresponding to each second account is extracted from the location allocation strategy having the highest interaction result score. Thus, the second neural network model can learn the current state of the virtual object and the current environment of the virtual scene, and accurately predict the interaction result score of each location allocation strategy based on the learned information. Since the interaction result score can be accurately predicted, a location allocation strategy favorable for interaction can be provided, and the human-computer interaction efficiency and the interaction efficiency are improved.

[0091] For example, the environmental data is used to represent the topography and features of the virtual scene, and the object data is used to represent the current state of the virtual object, such as life value and skill. Sample object data of a sample account is collected in a sample virtual scene, sample environment data is collected in the sample virtual scene, and a training sample is constructed based on the collected data, the training sample is used as the input of the second neural network model to be trained, and the actual interaction result score of each location allocation strategy is used as the labeling data. Based on the training sample and the labeling data, the second neural network model is trained, so that the location allocation strategy can be directly determined by the second neural network model.

[0092] In some embodiments, referring to Fig. 3D, Fig. 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 Fig. 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] At step 1044, at least one second virtual object associated with the second account is caused to disappear from the third location in which it was located and teleport from the second location.

[0095] For example, a second virtual object can be directly generated at the second position from nothing through step 1043. A second virtual object at a third position in the virtual scene can be transferred to the second position through a virtual space-time tunnel through step 1044, realizing the teleportation of the second virtual object. The above two embodiments allow the second virtual object to directly appear at the second position, thus breaking through the distance limitation and improving the 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 the second distance threshold, the at least one second virtual object associated with the second account is controlled to be hidden, so that the second terminal and the first terminal can be controlled to always maintain a close distance, thereby associating the online game with the offline interaction to improve the fun of the interaction. In response to the distance between the second terminal logged in with the second account and the first terminal exceeding the fifth distance threshold but not exceeding the second distance threshold, presentation information indicating that the first terminal logged in with the first account needs to approach the second terminal is displayed. The fifth distance threshold may be smaller than the second distance threshold and 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 disappearing directly 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 location 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 improving the variety of interactions.

[0098] In some embodiments, reference is made to Fig. 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 Fig. 3E.

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

[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 of an object control method of a virtual scene according to an embodiment of the present application. Player B who receives the support request can know who sent the support request. The received support request 602 is displayed in the human-computer interaction interface 601 of player B, and the support request 602 is displayed with a rejection control 603 and an agreement control 604. If the player agrees to the reinforcement, a pre-set second virtual object appears directly near player A, and the human-computer interaction interface displays the presentation information "Support for player A has been successful." Player A or player B can control the second virtual object (support team) to attack, and a surprise effect can be obtained. If there are multiple players B who agree to the reinforcement near player A, multiple support teams, i.e., support teams controlled by multiple players B respectively, are displayed near the first virtual object controlled by player A. Each support team may include one second virtual object or multiple 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 emerge from a second location to 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.

[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 at 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 the embodiment of the present application, a first account associated with a first virtual object is logged in at a first terminal, and the first terminal sends an interaction request to a second terminal, and in response to the second account logged in at 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 broken through, 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 with 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 (such as 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 includes at least one first virtual object associated with the first account, and the at least one first virtual object is 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 transmits an interaction request via a server to a second terminal, in which the second account is logged in. In response to the second account accepting the interaction request, the second terminal transmits 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 an 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. In the process of preparing for and fighting, players may control virtual objects to interact with each other in order to enhance the fun of the game. For example, in the case of reinforcement interaction, it is often necessary to recruit a support team or supporters to achieve the goal of winning the battle. However, the battle situation changes rapidly, and when a player sends a support team to another player to reinforce during the battle, it often has a decisive impact on the battle and can increase the probability of winning the battle.

[0108] First, a 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 attacked. Referring to FIG. 4, FIG. 4 is a schematic diagram of an interface of 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 an object control method of 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 of Fig. 4, another player B near the player A can be identified based on short-range communication technology. For example, a radar control 502 is displayed on the human-computer interaction interface 501, and two other players' account avatars 503 and an interaction request control 504 are displayed on the radar control 502. In response to the trigger operation on the interaction request control 504 of the first account, a support request request can be sent to other players near the player A in the real world.

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

[0111] Finally, referring to Fig. 7, Fig. 7 is a schematic diagram of an interface of an object control method of a virtual scene according to an embodiment of the present application. A first virtual object 702, a third virtual object 703 attacking the first virtual object 702, and a second virtual object 704 supporting the first virtual object 702 are displayed in a human-computer interaction interface 701. The second virtual object 704 appears near the first virtual object from nothing, and the first virtual object and the second virtual object 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, an operation by a player requesting help that triggered a help request control in the game is received.

[0114] In step 802, online players near the player who is 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 and the mobile phones of the surrounding game players is calculated to find nearby players who are 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 help request information is displayed on the nearby player's terminal, and it is determined whether the nearby player accepts the help 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 distances.

[0118] In step 806, the support team joins the battle to attack 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 rejecting the request for help, no support team will appear and presentation information is displayed to the player requesting help indicating that help will be rejected.

[0120] In some embodiments, refer to Fig. 9, which 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; 4. auxiliary satellite positioning technology.

[0121] With satellite positioning technology, a positioning satellite records the time it takes to send and receive signals to and from a user's mobile phone, calculates the distance between the satellite and 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 the user's mobile phone is turned on, it registers with the surrounding base stations, measures the downlink reference signals of different base stations, obtains the arrival time and arrival time difference of the signals of each base station, compares the position coordinate data of the base stations, and corrects the position data of the mobile phone itself.

[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 of 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] In the case of auxiliary satellite positioning technology, this positioning method is actually an extension of satellite positioning technology, which combines network base station information and satellite positioning information to quickly locate the position of 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 realize the rapid recruitment of a support team by asking nearby online players for help, and the support team can appear directly near the supported object and immediately join the battle to obtain a surprise effect, effectively shortening the time required for moving based on the real map in the game. In addition, by finding nearby players to ask for help based on the 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 strategic games, and in addition to the traditional method based on the game's geographical location and map movement, the support team can be quickly found based on satellite positioning technology, which can promote the diversity of changes in the battle process, greatly improve the playability and strategy of the game, and promote interaction behaviors such as cooperation between offline players.

[0127] In addition, 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 a specific product or technology, user permission or consent is required, and the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0128] The following will continue to describe an exemplary structure in which the implementation of the virtual scene object control device 455-1 according to the embodiment of the present application is a software module. In some embodiments, as shown in FIG. 2A, the software module of the virtual scene object control device 455-1 stored in the memory 450 includes a first display module 4551 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 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; a second display module 4552 arranged to display an interaction invitation entry; and a third display module 4553 arranged to display an interaction invitation entry in response to a trigger operation on the interaction invitation entry. The interactive communication system may include a transmitting module 4553 arranged to transmit the interaction request to at least one second terminal, where a different second account is logged in at the different second terminal; 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 the at least one second account, respectively, 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 a number of attacking objects exceeds a first number threshold; the at least one first virtual object is in a competitive interaction win state; and a number of virtual props 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 an interaction request control, and in response to a triggering operation on the interaction request control, to send an interaction request to at least one second terminal, each logged 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 an interaction request control; in response to a selection operation on the at least one candidate account or the at least one candidate account satisfying 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 selected candidate account 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 when the at least one candidate account is displayed, and is configured to hide the at least one candidate account and display the 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 accounts being in a non-selected state.

[0134] In some examples, the automatic selection condition includes 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 is 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 obtain candidate accounts that satisfy at least one of the 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, and 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 and the at least one first virtual object are 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 environmental 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 environmental features from the environmental data and object features from the object data; fuse the environmental 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 determine the 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 more than one, the sending module 4553 is further configured to perform any one of the following: displaying the multiple candidate accounts in order of smallest physical distance between the multiple candidate accounts and the first account, where the physical distance between the multiple 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 multiple candidate accounts in order of smallest social distance between the multiple candidate accounts and the first account; displaying the multiple candidate accounts in order of strongest network signal strength of the terminal logged in with the multiple candidate accounts; and displaying the candidate accounts in order of largest prominence of each candidate account. Here, 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 following: a distance between a terminal logged in with the candidate account and the first terminal, a social distance between the candidate account and the first account, and a 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 multiple candidate accounts are displayed by a radar control, with the first account displayed in a central position of the radar control and the multiple candidate accounts arranged in a sequential order.

[0139] In some embodiments, when the number of second accounts is multiple, 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 a 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, where 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 picked-up virtual tools 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 examples, 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 includes, for each second account, acquiring object data of the at least one second virtual object associated with the second account, acquiring interaction data of the virtual scene, acquiring a plurality of position assignment strategies for the plurality of second accounts, the position assignment strategies including a second position corresponding to each second account, and invoking a second neural network model to assign object features corresponding to the object data, interaction data, and a second neural network model to the object features corresponding to the object data. a process of extracting, for each location assignment strategy, an interaction feature corresponding to the object feature, an interaction feature and an assignment feature corresponding to each location assignment strategy; a process of fusing the object feature, the interaction feature and the assignment feature to obtain a second fusion feature and mapping the second fusion feature to an interaction result score, the interaction result score being 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 a 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 the following: 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 in which it is located and to 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 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, 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 an object control device 455-2 of a virtual scene, the device 455-2 comprising: 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 control at least one second virtual object associated with the second account to appear from a second position and to interact with at least one first virtual object associated with the first account in response to a confirmation operation on the interaction request, where a distance between the second position and the first position is less than a first distance threshold.

[0146] An embodiment of the present application provides a computer program product including computer-executable instructions stored in a computer-readable storage medium, the computer-executable instructions being read by a processor of an electronic device from the computer-readable storage medium and executed by the processor to cause the electronic device to perform the 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, which, 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, created in any type of programming language (including compiled or interpreted languages, or declarative or procedural languages), and 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 by way of 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 being considered, 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 at multiple locations and interconnected via a communications network.

[0152] In summary, according to the embodiment of the present application, a first account associated with a first virtual object is logged in at a first terminal, the first terminal sends an interaction request to a second terminal, and in response to the second account logged in at 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 broken through, 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 with 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 in the scope of protection of the present application.

Claims

1. 1. A method for controlling an object 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 into 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 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 associated with each of the at least one of the second accounts to emerge 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; 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 satisfied; 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 , further 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 transmitting 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 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, respectively; The method according to any one of claims 1 to 3, comprising:

5. The step of transmitting 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 selected candidate account 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 a point in time when the at least one candidate account is displayed; in response to the count time reaching a set time threshold and the at least one candidate account being in a non-selected state, hiding the at least one candidate account and displaying at least one new candidate account; The method of claim 5 further comprising:

7. The automatic selection condition is: the number of candidate virtual objects associated with the candidate account is equal to or greater than 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; 6. The method of claim 5, further 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. Prior to displaying the at least one candidate account, the method further comprises: A candidate account in which the distance between the logged-in terminal and the first terminal is less than a second distance threshold; 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 screening conditions: The method of any one of claims 4 to 7, 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. Prior to displaying the at least one candidate account, the method further comprises: obtaining environmental data for the virtual scene and object data for at least one virtual object associated with each participating account of 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 fusion feature to a first probability that each of the participating accounts will respond to the interaction request, and determining as the candidate accounts those participating accounts whose first probability is greater than a first probability threshold; The method of any one of claims 4 to 7, 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 a physical distance between the plurality of candidate accounts and the first account, the physical distance between the candidate accounts and the first account being a 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 the smallest social distance between the plurality of candidate accounts and the first account; A method according to any one of claims 4 to 7, further comprising the step of: displaying the plurality of candidate accounts in order of strength of network signals 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, and an order of the candidate accounts with the shortest distance from the plurality of candidate accounts to a virtual radar of the radar control corresponds to the order of the plurality of candidate accounts.

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: 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 locations, wherein different second accounts correspond to the different second locations.

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 being any position less than the first distance threshold relative 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 picked-up virtual tools in the virtual scene, the second position is any position less than a fourth distance threshold relative to a 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 of the second accounts, obtaining object data for 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, a fusion process is performed on the object features, the interaction features, and the assignment features to obtain a second fusion feature, and the second fusion feature is mapped to an interaction result score, 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; 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 to appear from the second location by teleportation. The method according to any one of claims 1 to 11, 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 further comprises: For each said second account, In response to a distance between a second terminal logged in with the second account and the first terminal exceeding a second distance threshold, controlling to hide at least one second virtual object associated with the second account; The method according to any one of claims 1 to 15, 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 and not exceeding the second distance threshold, 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, 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; The method of any one of claims 1 to 15, 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 an object in a virtual scene, performed by an electronic device, comprising: displaying the virtual scene in a human-computer interaction interface of a second terminal, where a second account is logged into the second terminal; displaying an interaction request sent by a first terminal, where a first account is logged into 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 emerge from a second location to 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; 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, where a first account is logged into 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 the interaction invitation entry; a sending module arranged to send an interaction request to at least one second terminal in response to a trigger operation on the interaction invitation entry, where different second accounts are logged in at different second terminals; 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 accounts to emerge 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; 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 being configured to display the virtual scene in a human-computer interaction interface of a second terminal, the second terminal being logged into a second account; a receiving module arranged to display an interaction request sent by a first terminal, the first terminal having a first account logged in; 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 emerge from a second location and interact with at least one first virtual object associated with the first account, where 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:

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

22. A computer-readable storage medium having stored thereon computer-executable instructions which, when executed by a processor, perform the method for controlling objects in a virtual scene according to any one of claims 1 to 17 or claim 18.

23. A computer program product comprising computer executable instructions which, when executed by a processor, perform the method for controlling objects in a virtual scene according to any one of claims 1 to 17 or claim 18.

Citation Information

Patent Citations

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

    CN112569599A

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

    JP5259864B1

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

    WO2013094160A1