Method, device, equipment, medium and program for processing team interaction of virtual objects
By determining action strategies based on the status of the virtual team in the virtual scene and using machine learning models to predict the behavior of virtual objects, the problem of loss of behavioral characteristics in team collaboration of virtual objects is solved, significantly improving the intelligence of virtual objects and the realism of the scene.
Patent Information
- Application Number
- CN202111660920.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-11-15
- Filing Date
- 2021-12-31
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-12-31
AI Technical Summary
When the existing technology enables team collaboration between virtual objects, unified decision-making leads to uniform behavior, losing the behavioral characteristics of different types of virtual objects, and affecting the intelligence of the virtual objects.
By displaying the virtual scene in the human-computer interaction interface, the team action strategy is determined based on the current status of the virtual team, and the machine learning model of each virtual object is called for prediction processing to ensure that the behavior of the virtual object conforms to the strategy and realize team collaboration and individual behavioral characteristics. balance.
It improves the intelligence of virtual object team collaboration, makes virtual object behavior closer to real user operations, avoids mechanical rigidity of behavior, and enhances the realism of virtual scenes.
Smart Images

Figure CN114344905B_ABST
Abstract
Description
[0001] Priority statement
[0002] This application claims priority to application number 202111350320.6, filing date November 15, 2021, and title: Method, device, equipment, medium and program for team interaction processing of virtual objects. Technical Field
[0003] The present application relates to computer and artificial intelligence technologies, and in particular to a method, device, equipment, medium and program for processing team interaction of virtual objects. Background Art
[0004] Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0005] At present, display technology based on graphics processing hardware has expanded the channels for perceiving the environment and obtaining information, especially the display technology of virtual scenes. In addition to virtual objects controlled by users, there are also different types of virtual objects controlled by artificial intelligence in virtual scenes. The behavior of different types of virtual objects is different. In order to enable team collaboration between virtual objects, the existing technology usually unifies the behavior of virtual objects in the decision-making team, making the behavior of different types of virtual objects tend to be unified, the behavior is mechanical and rigid, and the behavioral characteristics of different types of virtual objects are lost, which affects the intelligence of virtual objects. Summary of the invention
[0006] The embodiments of the present application provide a method, apparatus, terminal device, computer-readable storage medium, and computer program product for processing team interactions of virtual objects, which can enhance the intelligence level of team collaboration between virtual objects controlled by artificial intelligence.
[0007] The technical solution of the embodiment of the present application is implemented as follows:
[0008] The present application provides a method for processing team interaction of virtual objects, the method comprising:
[0009] Displaying a virtual scene in a human-computer interaction interface, wherein the virtual scene includes the first team;
[0010] determining a team action strategy of the first team based at least on a current state of the first team;
[0011] Based on the team action strategy, calling the machine learning model corresponding to at least one virtual object in the first team to perform prediction processing to obtain the behavior of each virtual object that conforms to the team action strategy;
[0012] Control the at least one virtual object in the first team to perform a corresponding behavior.
[0013] The present application provides a virtual object team interaction processing device, the device comprising:
[0014] Team management module, configured as:
[0015] Displaying a virtual scene in a human-computer interaction interface, wherein the virtual scene includes the first team;
[0016] determining a team action strategy of the first team based at least on a current state of the first team;
[0017] Based on the team action strategy, calling the machine learning model corresponding to at least one virtual object in the first team to perform prediction processing to obtain the behavior of each virtual object that conforms to the team action strategy;
[0018] The behavior control module is configured to control the at least one virtual object in the first team to perform a corresponding behavior.
[0019] The present application embodiment provides a terminal device for team interaction processing of virtual objects, the terminal device comprising:
[0020] A memory for storing executable instructions;
[0021] The processor is used to implement any virtual object team interaction processing method provided in the embodiments of the present application when executing the executable instructions stored in the memory.
[0022] An embodiment of the present application provides a computer-readable storage medium storing executable instructions for implementing a team interaction processing method for virtual objects provided in an embodiment of the present application when executed by a processor.
[0023] An embodiment of the present application provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements the team interaction processing method of virtual objects provided in the embodiment of the present application.
[0024] The embodiments of the present application have the following beneficial effects:
[0025] The team action strategy adapted to the first team is determined by the current state of the first team, so that the machine learning model of each virtual object predicts the behavior of the virtual object based on the team action strategy, so that the virtual objects in the team can both collaborate as a team and maintain the behavioral characteristics of each virtual object. Through the team collaboration between virtual objects, the behavior of virtual objects is closer to the behavior of virtual objects operated by real users, significantly improving the intelligence of team collaboration between virtual objects controlled by artificial intelligence. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1A It is a schematic diagram of an application mode of the method for processing team interaction of virtual objects provided in an embodiment of the present application;
[0027] Figure 1B It is a schematic diagram of an application mode of the method for processing team interaction of virtual objects provided in an embodiment of the present application;
[0028] Figure 2A is a schematic diagram of the structure of a terminal device 400 provided in an embodiment of the present application;
[0029] Figure 2B This is a schematic diagram of the logical architecture of the team interaction processing of virtual objects provided in the embodiment of the present application;
[0030] Figure 3 It is a flowchart of a method for processing team interaction of virtual objects provided in an embodiment of the present application;
[0031] Figure 4A It is a flowchart of a method for processing team interaction of virtual objects provided in an embodiment of the present application;
[0032] Figure 4B It is a flowchart of a method for processing team interaction of virtual objects provided in an embodiment of the present application;
[0033] Figure 5A is an interaction schematic diagram of a method for processing team interaction of virtual objects provided in an embodiment of the present application;
[0034] Figure 5B is an interaction schematic diagram of a method for processing team interaction of virtual objects provided in an embodiment of the present application;
[0035] Figure 5C is an interaction schematic diagram of a method for processing team interaction of virtual objects provided in an embodiment of the present application;
[0036] Figure 5D is an interaction schematic diagram of a method for processing team interaction of virtual objects provided in an embodiment of the present application;
[0037] Figure 5Eis an interaction schematic diagram of a method for processing team interaction of virtual objects provided in an embodiment of the present application;
[0038] Figure 6 It is a flowchart of a method for processing team interaction of virtual objects provided in an embodiment of the present application;
[0039] Fig. 7A is a schematic diagram of a human-computer interaction interface screen provided in an embodiment of the present application;
[0040] Figure 7B is a schematic diagram of a human-computer interaction interface screen provided in an embodiment of the present application;
[0041] Figure 7C is a schematic diagram of a human-computer interaction interface screen provided in an embodiment of the present application;
[0042] Fig.7D is a schematic diagram of the structure of a behavior tree model provided in an embodiment of the present application;
[0043] Fig. 8A This is a schematic diagram of the game AI team architecture provided by an embodiment of the present application;
[0044] Figure 8B This is an optional flowchart of a method for processing team interaction of virtual objects provided in an embodiment of the present application;
[0045] Figure 8C It is an optional flowchart of the team interaction processing method of virtual objects provided in the embodiment of the present application. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
[0047] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0048] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.
[0049] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0050] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.
[0051] 1) A virtual scene is a virtual scene displayed (or provided) when an application is running on an electronic device. The virtual scene can be a simulation of the real world, a semi-simulated and semi-fictitious virtual scene, or a purely fictitious virtual scene. The virtual scene can be any of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene. The embodiments of the present application do not limit the dimensions of the virtual scene. For example, a virtual scene may include the sky, land, ocean, etc. The land may include environmental elements such as deserts and cities, and users can control virtual objects to move in the virtual scene.
[0052] 2) Virtual objects: objects that interact in virtual scenes, which are controlled by users or robot programs (for example, robot programs based on artificial intelligence) and can be still, move, and perform various behaviors in virtual scenes, such as various characters in games.
[0053] 3) Game AI is a form of artificial intelligence (AI) specific to games, which refers to robot AI that can simulate a variety of behaviors according to the needs of various activities in the game.
[0054] 4) Behavior Tree is a tree-like data structure with distinct node hierarchies. Each node extending from the tree corresponds to a behavior. Each call will start from the root node and execute the behaviors corresponding to different nodes by checking the execution status of the action. Various tool nodes form the branches of the tree to control the direction of AI instructions to form a series of instructions to meet the needs of the game.
[0055] 5) Blackboard is a data-centralized design pattern that can be used for data sharing among multiple modules.
[0056] The virtual scenes of the game include many virtual objects controlled by artificial intelligence, and the behavioral characteristics of different types of virtual objects are different. In the prior art, in order to enable the virtual objects to cooperate as a team, a unified decision is usually made for all virtual objects. However, this decision-making method will make the behavior of different types of virtual objects tend to be unified, lose the behavioral characteristics of the virtual objects themselves, make the behavior of the virtual objects mechanical and rigid, reduce the intelligence of the virtual objects, and affect the realism of the game and the game experience of the users.
[0057] In response to the above technical problems, the embodiments of the present application provide a team interaction processing method for virtual objects, a team interaction processing device for virtual objects, a terminal device for team interaction processing of virtual objects, a computer-readable storage medium and a computer program product. In order to facilitate easier understanding of the team interaction processing method for virtual objects provided by the embodiments of the present application, an exemplary implementation scenario of the object control method in the virtual scene provided by the embodiments of the present application is first described. The virtual scene can be completely based on the output of the terminal device, or can be output based on the collaboration of the terminal device and the server.
[0058] The method provided in the embodiment of the present application can be applied to virtual reality applications, three-dimensional map programs, first-person shooting games (First-Person Shooting game, FPS), third-person shooting games, multiplayer online tactical competitive games (Multiplayer Online Battle Arena Games, MOBA), etc. The following is an example of application in games. The application scenario is introduced in conjunction with the terminal device.
[0059] In one implementation scenario, reference Figure 1A , Figure 1A Schematic diagram of the application mode of the team interaction processing method of virtual objects provided in the embodiment of the present application. It is applicable to some application modes that completely rely on the graphics processing hardware computing power of the terminal device 400 to complete the relevant data calculation of the virtual scene, such as stand-alone / offline mode games, and complete the output of the virtual scene through various types of terminal devices 400 such as smart phones, tablet computers and virtual reality / augmented reality devices.
[0060] When forming visual perception of a virtual scene, the terminal device 400 calculates the data required for display through the graphics computing hardware, and completes the loading, parsing and rendering of the display data, and outputs video frames that can form visual perception of the virtual scene through the graphics output hardware, for example, presenting two-dimensional video frames on the screen of a smartphone, or projecting video frames to achieve a three-dimensional display effect on the lenses of augmented reality / virtual reality glasses; in addition, in order to enrich the perception effect, the terminal device 400 can also use different hardware to form one or more of auditory perception, tactile perception, motion perception and taste perception.
[0061] As an example, the terminal device 400 runs a stand-alone game application, and during the running of the game application, a virtual scene including an action role-playing is output. The virtual scene can be an environment for game characters to interact, such as a plain, street, valley, etc. for game characters to fight against each other; taking the third-person perspective display of the virtual scene as an example, a virtual object is displayed in the virtual scene. The virtual object can be a game character controlled by a real user, and moves in the virtual scene in response to the real user's operation on a controller (for example: a gyroscope, a touch screen, a voice-activated switch, a keyboard, a mouse, a joystick, etc.). The virtual object can also be a virtual object controlled by a machine, and moves in the virtual scene according to various factors in the virtual scene.
[0062] In another implementation scenario, see Figure 1B , Figure 1B It is a schematic diagram of an application mode of a team interaction processing method for virtual objects provided in an embodiment of the present application, which is applied to a terminal device 400 and a server 200, and is suitable for an application mode that relies on the computing power of the server 200 to complete virtual scene calculations and output virtual scenes on the terminal device 400.
[0063] Taking the visual perception of a virtual scene as an example, the server 200 calculates display data related to the virtual scene (such as scene data) and sends it to the terminal device 400 through the network 300. The terminal device 400 relies on graphics computing hardware to complete the loading, parsing and rendering of the display data, and relies on graphics output hardware to output the virtual scene to form visual perception. For example, two-dimensional video frames can be presented on the display screen of a smartphone, or video frames with three-dimensional display effects can be projected on the lenses of augmented reality / virtual reality glasses. As for the perception of the form of the virtual scene, it can be understood that the corresponding hardware output of the terminal device 400 can be used, such as using a microphone to form auditory perception, using a vibrator to form tactile perception, and so on.
[0064] As an example, the terminal device 400 runs a client (e.g., a network version of a game application) and interacts with other users in a game by connecting to a game server (i.e., server 200). The terminal device 400 outputs a virtual scene of the game application. The virtual scene may be an environment for game characters to interact, such as a plain, street, valley, etc. for game characters to fight against each other. Taking the third-person perspective display of a virtual scene as an example, a virtual object is displayed in the virtual scene. The virtual object is a game character controlled by a real user, and moves in the virtual scene in response to the real user's operation on a controller (e.g., a gyroscope, a touch screen, a voice-activated switch, a keyboard, a mouse, a joystick, etc.). The virtual object may also be a virtual object controlled by a machine, and moves in the virtual scene according to various factors in the virtual scene.
[0065] In some embodiments, the terminal device 400 can implement the team interaction processing method of the virtual object provided in the embodiment of the present application by running a computer program. For example, the computer program can be a native program or software module in the operating system; it can be a native application (APP, Application), that is, a program that needs to be installed in the operating system to run, such as a game APP (i.e., the above-mentioned client); it can also be a small program, that is, a program that can be run only by downloading it to a browser environment; it can also be a game small program that can be embedded in any APP. In short, the above-mentioned computer program can be an application, module or plug-in in any form.
[0066] The embodiments of the present application can be implemented with the help of cloud technology. Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and network within a wide area network or a local area network to achieve data calculation, storage, processing, and sharing.
[0067] Cloud gaming, also known as gaming on demand, is an online gaming technology based on cloud computing technology. Cloud gaming technology enables thin clients with relatively limited graphics processing and data computing capabilities to run high-quality games. In a cloud gaming scenario, the game is not played on the player's game terminal, but on a cloud server, which renders the game scene into a video and audio stream and transmits it to the player's game terminal over the network. The player's game terminal does not need to have powerful graphics computing and data processing capabilities, but only needs to have basic streaming media playback capabilities and the ability to obtain player input commands and send them to the cloud server.
[0068] As an example, the server 200 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal device 400 can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, and a smart watch, etc., but is not limited to this. The terminal device 400 and the server 200 can be directly or indirectly connected by wired or wireless communication, which is not limited in the embodiments of the present application.
[0069] In the above example, there is a demand for artificial intelligence for virtual objects in the virtual scene. Taking games as an example, the optional scheme of the machine learning model for deciding the game behavior of virtual objects in the embodiment of the present application is explained.
[0070] In some embodiments of the present application, a machine learning model is implemented using a finite state machine, in which behaviors in the game are divided into multiple states. When an event triggering condition is met, a state change is triggered, and the game character performs a corresponding behavior.
[0071] In some embodiments of the present application, a machine learning model is implemented using a hierarchical state machine. In the hierarchical state machine, in order to facilitate the maintenance of a large number of game character behaviors, the behaviors are classified and the same type of behaviors are grouped into a state machine, and then the individual state machines are combined into a higher-level state machine to realize the query and execution of different types of behaviors.
[0072] In some embodiments of the present application, a machine learning model is implemented using a behavior tree. Each node of the tree structure of the behavior tree is a game behavior. The decision-making process of the game behavior is to search the behavior tree from the root node according to certain rules, find the node that meets the conditions, and execute the game behavior of the corresponding node.
[0073] In some embodiments of the present application, a machine learning model implemented using an artificial neural network is sampled from the behaviors performed by virtual objects in a virtual scene (including virtual objects controlled by real users and virtual objects controlled by machines) and the environmental information of the virtual scene to form a set of training samples to train the artificial neural network model, so that the artificial neural network model learns the behaviors performed by virtual objects in response to different external factors. The trained artificial neural network model receives environmental information in the virtual scene, team action strategies, the current status of virtual objects, and the current status of other virtual objects, and controls the virtual objects to perform corresponding behaviors based on the above data.
[0074] See also Figure 2A , Figure 2Ais a schematic diagram of the structure of a terminal device 400 provided in an embodiment of the present application; Figure 2A The terminal device 400 shown includes: at least one processor 410, a memory 450, at least one network interface 420 and a user interface 430. The various components in the terminal device 400 are coupled together via a bus system 440. It is understood that the bus system 440 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 440 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 440 is not shown in FIG. Figure 2A Various buses are labeled as bus system 440 .
[0075] Processor 410 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0076] The user interface 430 includes one or more output devices 431 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0077] The 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. The memory 450 may optionally include one or more storage devices that are physically remote from the processor 410.
[0078] The memory 450 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 450 described in the embodiments of the present application is intended to include any suitable type of memory.
[0079] In some embodiments, memory 450 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.
[0080] The operating system 451 includes system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic businesses and process hardware-based tasks.
[0081] The network communication module 452 is used to reach other computing devices via one or more (wired or wireless) network interfaces 420. Exemplary network interfaces 420 include: Bluetooth, Wireless Authentication (WiFi), and Universal Serial Bus (USB).
[0082] The presentation module 453 is used to enable presentation of information (eg, a user interface for operating peripheral devices and displaying content and information) via one or more output devices 431 (eg, a display screen, a speaker, etc.) associated with the user interface 430 .
[0083] The input processing module 454 is used to detect one or more user inputs or interactions from one of the one or more input devices 432 and translate the detected inputs or interactions.
[0084] In some embodiments, the virtual object team interaction processing device provided in the embodiments of the present application can be implemented in a software manner. Figure 2A A team interaction processing device 455 of a virtual object stored in a memory 450 is shown, which may be software in the form of a program and a plug-in, including the following software modules: a team management module 4551, a behavior control module 4552. These modules are logical, and therefore may be arbitrarily combined or further split according to the functions implemented. The functions of each module will be described below.
[0085] In some embodiments, reference Figure 2B , Figure 2B It is a schematic diagram of the logical architecture of the team interaction processing of virtual objects provided in an embodiment of the present application. Figure 2B The shared data structure includes a team management module 4551, n (n is a positive integer greater than or equal to 2) shared data structures (shared data structure 45541, shared data structure 4554 n etc.), n virtual objects (virtual object 45551, virtual object 4555 n etc.); Each virtual object corresponds to a machine learning model and a behavior control module ( Figure 2B In the example, virtual object 45551 corresponds to machine learning model 45561 and behavior control module 45521; virtual object 4555 n Corresponding to machine learning model 4556 n and behavior control module 4552 n). n virtual objects belong to the same team, and the virtual objects of the same team correspond to the same team management module 4551. There are multiple types of virtual objects in the same team, and the machine learning models of different types of virtual objects are different. The behavior control module is set corresponding to different types of virtual objects, and different types of virtual objects correspond to different behavior control modules. A virtual object corresponds to a shared data structure, which can receive information sent by the team management module 4551 or other data modules. The machine learning model of the virtual object can read data from the corresponding shared data structure, and the machine learning model can also receive data through other data modules. The machine learning model is used to predict the behavior of the virtual object based on these data, and the behavior control module controls the virtual object to execute the behavior predicted by the machine learning model.
[0086] In some embodiments, the machine learning models of virtual objects of the same type can be the same. To reduce resource usage, multiple virtual objects of the same type can correspond to the same machine learning model and the same shared data structure. The machine learning models of different types of virtual objects are different, and the behaviors predicted by the machine learning models of different types of virtual objects based on the same information can be different. For shooting games, the types of virtual objects can be: sniper, machine gunner, medic, engineer, signalman, etc., and the behavioral characteristics of these different types of virtual objects are different.
[0087] The method for processing virtual object team interaction provided by the embodiment of the present application can be performed by Figure 1A The terminal device 400 in the embodiment can be executed separately, or it can be executed by Figure 1B The terminal device 400 and the server 200 in the step are executed collaboratively. For example, the display of the virtual scene in step 101 can be executed collaboratively by the terminal device 400 and the server 200. After the server 200 calculates the display data of the virtual scene, it returns the display data to the terminal device 400 for display.
[0088] Below, by Figure 1A The terminal device 400 in the embodiment of the present application independently executes the team interaction processing method of the virtual object provided in the embodiment of the present application as an example. Figure 3 , Figure 3 is a flowchart of a team interaction process of a virtual object provided in an embodiment of the present application, with the execution subject being a terminal device, combined with Figure 3 The steps shown are explained.
[0089] It should be noted that Figure 3 The method shown can be executed by various forms of computer programs running on the terminal device 400 and is not limited to the above-mentioned client, such as the operating system 451, software modules and scripts mentioned above, so the client should not be regarded as a limitation on the embodiments of the present application. Figure 3The process includes step 101, step 102, step 103 and step 104.
[0090] In step 101, a virtual scene is displayed in a human-computer interaction interface, wherein the virtual scene includes a first team.
[0091] As an example, the virtual scene may include a first team, the first team includes a plurality of virtual objects, the virtual objects in the first team are all virtual objects controlled by a machine learning model, or some of the virtual objects in the first team are controlled by a machine learning model, and another part is controlled by a real user. The virtual scene may also include a second team, the virtual objects in the second team are controlled by a real user, or some of the virtual objects in the second team are controlled by a real user, and another part of the virtual objects are controlled by a machine learning model. The first team is in a hostile or competitive relationship with the second team. The embodiment of the present application is described by taking a virtual scene of a shooting game as an example, and the virtual scene may also correspond to other scenes with a team mode (such as a virtual scene of a sports competitive game, etc.).
[0092] As an example, continue to refer to Figure 2B Step 101 is performed by the team management module 4551. The virtual objects in the first team can correspond to Figure 2B For the virtual objects in the team, the team management module 4551 sends the environmental information in the virtual scene and the state parameters of the current states of other virtual objects to the shared data structure of each virtual object. The machine learning model of each virtual object receives the state parameters of the current states of other virtual objects in the team and the environmental information of the virtual scene through the shared data structure, so that information can be shared between the virtual objects in the team.
[0093] In step 102, a team action strategy of the first team is determined based at least on the current state of the first team.
[0094] As an example, the team action strategy of the first team is at least related to the current status of the first team. In order to make the team action strategy more in line with the needs of the virtual objects in the first team in the virtual scene, the team action strategy of the first team can also be determined in combination with the environmental information of the virtual scene, the current status of the hostile team and other information.
[0095] As an example, continue to refer to Figure 2B Step 102 is executed by the team management module 4551, which determines the team action strategy of the first team according to the current state of at least one virtual object in the team, or determines the team action strategy of the first team according to the current state of the first team and the second team and the environmental information of the virtual scene, and adds the team action strategy to the shared data structure of at least one virtual object corresponding to the team action strategy.
[0096] In some embodiments, reference Figure 4A , Figure 4A It is a flowchart of the team interaction processing of virtual objects provided in an embodiment of the present application. Step 102 can be implemented through steps 1021, 1022, 1023, 1024, and 1025.
[0097] In step 1021 , a team action type is determined based on a current state of the first team or based on a current state of the first team and the second team.
[0098] As an example, the team action type of the first team can be determined based only on the current state of the first team, and the team action type corresponding to the first team can be obtained by analyzing factors such as the health value, combat capability, material reserves, and environmental information of the location of the first team. The environmental information can be the terrain of the virtual scene (plains, rivers, peaks, etc.), the weather conditions of the virtual scene (sunny, rainy, snowy, etc.), the building information in the virtual scene (building shape, location, etc.), the natural scenery information in the virtual scene (tree shape, tree location, stone shape, stone location, etc.), and the materials in the virtual scene (material location, quantity, etc.).
[0099] As an example, the second team and the first team are in a hostile or competitive relationship. Since some actions of the second team can affect the current state of the first team, the state of the second team can be used as a reference factor for deciding the action strategy of the first team. Comparing the combat capabilities, material reserves, environmental information of the two teams in the virtual scene and other factors can confirm the team action type of the first team based on the comparison results. Team action types include rescue actions, attack actions, defensive actions, material collection actions, etc.
[0100] Step 1021 can be implemented in the following ways: when the state of the first virtual object in the first team decays, determining the team action type based on the current state of the first virtual object; periodically or when at a specific interaction node, comparing the current state of the first team with the current state of the second team, and determining the team action type according to the comparison result.
[0101] For example, state decay may include a decrease in the health value of a virtual object, a decrease in movement speed, a decrease in the amount of supplies held, a decrease in the durability of equipment worn by a virtual object, etc.; specific interaction nodes may include the start of interaction, a change of position, the total number of casualties on both sides exceeding a threshold, supply consumption exceeding a threshold, team interaction between the first team and the second team, etc. Team interaction includes: discovering the virtual object of the other team, moving in the direction of the other team, engaging in battle, avoiding or chasing the virtual object of the other team, etc.
[0102] In some embodiments, determining the team action type based on the current state of the first virtual object includes: when a rescue condition is met, determining the team action type as a rescue team action; wherein the rescue condition includes at least one of the following: the life value of the first virtual object is greater than a life value threshold, and the distance between the first virtual object and at least one other virtual object in the first team is less than a rescue distance threshold. When a rescue abandonment condition is met, determining the team action type as a rescue abandonment team action; wherein the rescue abandonment condition includes at least one of the following: the life value of the first virtual object is less than a life value threshold, and there are no other virtual objects in the first team whose distance from the first virtual object is less than the rescue distance threshold.
[0103] As an example, the first virtual object can be any virtual object in the first team. For example, the health threshold can be 20%, 10%, etc. of the upper limit of the health. If the health of the first virtual object is 5% of the upper limit of the health, which is less than the health threshold, the survival probability of the first virtual object is small, and the team action type is determined to be abandoning the rescue team action. The rescue distance threshold is the maximum distance at which the virtual object can rescue other virtual objects in time. For example, the average moving speed of the virtual object in the virtual scene is 3 meters per second, the health of the first virtual object is 30%, and it decreases by 10% every 1 second. It takes 20 seconds for the health of the first virtual object to drop to the health threshold of 10%, and the rescue distance threshold is 20*3=60 meters. If there is no virtual object within 60 meters of the first virtual object in the first team, the team action type is determined to be abandoning the rescue team action.
[0104] refer to Figure 5B , Figure 5B is an interaction schematic diagram of a method for processing team interaction of virtual objects provided in an embodiment of the present application; Figure 5B In the example, virtual objects B1, B2, and B3 belong to the first team, virtual objects b1 and b2 belong to the second team, and the two teams are hostile to each other. Virtual object B1 is the object to be rescued, and the circular area around virtual object B1 is an area with virtual object B1 as the center and the rescue distance threshold as the radius. Virtual object B2 is within the area. If the health value of virtual object B2 is greater than the health value threshold and the attack capability of virtual object B2 is greater than the attack capability of virtual object b1, the rescue condition is met, and the team action type is the rescue team action type.
[0105] In some embodiments, the team action type can be determined as a rescue team action only if the health value of other virtual objects performing the rescue action on the first virtual object is greater than the health value threshold, otherwise the team action type is determined as a rescue-abandoning team action. For example, if there is only one virtual object in the first team whose distance to the first virtual object is less than the rescue distance threshold, and the health value of the virtual object is 3% of the upper limit of the health value, which is less than the health value and health value threshold of the first virtual object, the virtual object cannot be the object of the rescue action, and the team action type is determined as a rescue-abandoning team action.
[0106] Continue to refer Figure 5B , Figure 5B The distance between virtual object B3 and virtual object B1 is greater than the rescue distance threshold, and the rescue condition is not met; the distance between virtual object B2 and virtual object B1 is less than the rescue distance threshold. If the health value of virtual object B2 is less than the health value threshold, there is no virtual object in the first team whose distance with virtual object B1 is less than or equal to the rescue distance threshold and can perform rescue operations, then the team action type is determined to be abandoning the rescue team action.
[0107] In some embodiments, in addition to determining the team action type in the above manner, the type decision model (classification tree, neural network) can be called to make predictions based on the current state of the first virtual object (for example: the health of the first virtual object, the distance between the first virtual object and at least one other virtual object in the first team, the current position of the first virtual object) to obtain the team action type of rescue or abandonment of rescue.
[0108] As an example, a type decision model based on a classification tree can be obtained by training a binary classification tree. Each leaf node of the binary classification tree corresponds to a value interval of a state parameter, and different value intervals correspond to different team action types (rescue or abandon rescue). The classification tree of the type decision model can be a single classification tree or an integrated tree. The integrated tree integrates multiple classification trees. There is no association between each classification tree. The judgment of each classification tree is performed separately, and the decision result of the integrated tree is determined based on the judgment result of each classification tree and the voting mechanism. The type decision model based on the classification tree judges the value intervals to which the state parameters of the current state of the first virtual object belong, thereby determining the team action type corresponding to the current state of the first virtual object.
[0109] As an example, the type decision model based on the neural network can be obtained by training a binary classification neural network. The state parameters of the first virtual object in different states are used as sample data required for training the neural network, and the labeled data is the rescue team action or the team action of giving up rescue.
[0110] In some embodiments, the state parameter interval to which each state parameter of the current state of the first virtual object belongs is determined, and a set of team action types that matches the current state of the first virtual object is determined based on a mapping relationship between candidate state parameter intervals and candidate team action types; wherein the team action type set includes a plurality of pending team action types, each pending team action type corresponds to a state parameter interval to which at least one state parameter of the current state of the first virtual object belongs; and the pending team action type with the largest number of corresponding state parameter intervals in the action type set is used as the team action type of the first team.
[0111] As an example, different team action types focus on different state parameters; for example, material collection team actions focus on material-level parameters (material reserves of virtual objects, number of material points near virtual objects, etc.); attack team actions focus on attack-related parameters of virtual objects (attack capabilities, remaining health points, reserves of attack props, etc.); rescue focuses on rescue value and risk (for example, whether there are members capable of performing rescue operations near the object to be rescued, rescue success rate, etc.). Therefore, each team action type corresponds to a different parameter interval, for example: health value is 0% to 20% of the upper limit of health value, which can correspond to rescue team actions; health value is 20% to 100% of the upper limit of health value, which can correspond to attack or defense, material collection team actions. In addition to health value, multiple parameters can also be combined as considerations, and the pending team action type with the largest number of state parameter intervals is used as the team action type of the first team.
[0112] In some embodiments, comparing the current status of the first team with the current status of the second team, and determining the team action type according to the comparison result, includes: when the total attack capability of the first team is greater than the total attack capability of the second team, and the geographical situation of the first team is better than the geographical situation of the second team, determining the team action type as an offensive team action. When at least one of the total attack capability or the geographical situation of the first team is weaker than that of the second team, determining the team action type as a defensive team action.
[0113] As an example, the sum of the attack capabilities of the first team is determined based on the state parameters of the current states of the virtual objects in the first team, and the sum of the attack capabilities of the second team is determined based on the state parameters of the current states of the virtual objects in the second team; the geographical situation of the first team is determined based on the current positions of the virtual objects in the first team and the environmental information of the virtual scene, and the geographical situation of the second team is determined based on the current positions of the virtual objects in the second team and the environmental information of the virtual scene.
[0114] As an example, the attack capability is the ability of a virtual object to reduce the health of other virtual objects, which can be represented by the state parameters of the virtual object related to the attack capability (for example: the attack power of virtual weapons, the moving speed, the defense power of armor, the health value, etc.). In order to facilitate the evaluation of the strength of the attack capability of a virtual object, the state parameters corresponding to the attack capability of a virtual object can be uniformly quantified, and the total value of the quantified values can be used as the strength of the attack capability of a virtual object. The sum of the attack capabilities of a team is the sum of the attack capabilities of all virtual objects in the team. For example: the state parameters associated with the attack capability in the current state of the virtual object (for example: the attack power of the virtual weapon currently held, the amount of offensive props stored in the backpack, the health value, the equipment defense power, etc.) are evaluated to determine the strength of the attack capability of the virtual object. According to the different proportional coefficients corresponding to each parameter of the correlation with the attack capability (the proportional coefficient is positively correlated with the correlation), each parameter is multiplied by the corresponding proportional coefficient and then added in sequence. The sum is used as the attack capability score of the virtual object, that is, the value corresponding to the attack capability of the virtual object. The attack ability scores of the virtual objects in the team are added together to obtain a sum, and the sum is used as the value corresponding to the total attack ability.
[0115] As an example, the geographical situation corresponding to a certain virtual object is the relationship between the current position of the virtual object and the environmental information of the virtual scene around the virtual object, and the effect of this position relationship on the virtual object (such as good concealment, easy attack or defense, etc.). For example: the current position of the virtual object is a coordinate point in the three-dimensional virtual scene, and the environmental information around the virtual object is that the environment is flat, there are multiple rocks on the flat ground, and the coordinate point of each rock position; according to the coordinate point of the rock and the coordinate point of the virtual object, the geographical situation corresponding to the virtual object is that the virtual object is behind the rock shelter and has concealment. Another example: the geographical situation corresponding to a certain virtual object is that the virtual object is at the foot of the mountain and is easy to be attacked. The geographical situation of a certain virtual object is at a disadvantage. The geographical situation of a hostile virtual object of a certain virtual object is that the hostile virtual object is behind a tree on the hillside, which is concealed and convenient for launching an attack at the foot of the mountain. The geographical situation of the hostile virtual object has an advantage.
[0116] As an example, refer to Figure 5A , Figure 5A is an interactive schematic diagram of a method for processing team interaction of virtual objects provided in an embodiment of the present application; Figure 5AIn the virtual scene, the first area 501 is a dangerous area in the virtual scene. There is sandstorm weather in the area, which will cause the health of the virtual object to drop regularly; the second area 502 is a safe area in the virtual scene. There is no sandstorm weather in the area. The block object is a virtual building in the virtual scene. The first team includes virtual objects A1, A2, A3, A4, and A5. The actions of the virtual objects in the first team are predicted by different machine learning models; the second team includes virtual objects a1, a2, a3, and a4. The virtual objects in the second team can be controlled by real players; the first team is in a safe area, and the virtual object A1 is above the building, which is convenient for attacking the bottom of the building. The virtual objects A2, A3, and A4 are respectively near the building, which is beyond the visual range of the virtual objects of the second team. Virtual object A5 is far away from other members of the first team and also away from the second team. In the second team, virtual object a2 is below the building, virtual objects a3 and a1 are near the first area 501, and virtual object a4 is in the first area 501. Since virtual object A5 is far away from other objects, it is difficult for virtual object A5 to participate in the battle. The geographical situation of the first team is that each virtual object is in a safe area, except for virtual object A5, which is near a building. The geographical situation of the first team is more suitable for launching an attack; the geographical situation of the second team is that one virtual object in the second team is in a dangerous area, two virtual objects are located near the dangerous area, and virtual object a2 is under the building but this direction is convenient for virtual object A1 to attack. Therefore, the geographical situation of the second team is relatively disadvantageous to the first team. If the sum of the attack capabilities of virtual objects A1, A2, A3, and A4 in the first team is greater than the sum of the attack capabilities of the second team, the team action type is determined to be an offensive team action.
[0117] As an example, continue to refer to Figure 5A ,Assuming that the actions of the virtual objects in the second team are also predicted by the machine learning model, based on the above-mentioned geographical conditions, the sum of attack capabilities and other factors, the team action type of the second team is a defensive team action.
[0118] As an example, refer to Figure 5D , Figure 5D is an interactive schematic diagram of a method for processing team interaction of virtual objects provided in an embodiment of the present application; Figure 5DIn the virtual scene, there are two virtual buildings. The first team includes virtual objects D1, D2, and D3; the second team includes virtual objects d1, d2, and d3; the geographical situation of the first team is that virtual objects D2 and D3 are near the building and have shelters; virtual object D1 is above the building, which is convenient for attacking the bottom of the building; the geographical situation of the second team is that virtual object d1 is near the building, and virtual object d1 is relatively hidden compared to virtual objects D2 and D3, but is exposed to the attack range of virtual object D1; virtual objects d2 and d3 have no shelter and are far away from the building. The geographical situation of the first team is better than that of the second team. If the sum of the attack capabilities of the first team is also greater than the sum of the attack capabilities of the second team, the team action type is offensive; if the sum of the attack capabilities of the first team is less than the sum of the attack capabilities of the second team, the team action type is defensive team action.
[0119] In some embodiments, in addition to determining the attack or defense team action type through the above conditions, the type decision model (classification tree, neural network) can be called for prediction based on the current status of the first team and the second team (for example: the attack power of the virtual weapons held, the attack power of the attack props held, health points, equipment defense power, ammunition reserves, etc.) and the environmental information of the virtual scene to obtain the attack or defense team action type.
[0120] As an example, the type decision model based on the classification tree can be obtained by training a binary classification tree. Each leaf node of the binary classification tree corresponds to a comparison result of a certain state parameter of the first team and a state parameter corresponding to the second team, and different comparison results correspond to different team action types (offensive team action or defensive team action). The classification tree of the type decision model can be a single classification tree or an integrated tree, and the integrated tree integrates multiple classification trees, and there is no association between each classification tree. The judgment of each classification tree is carried out separately, and the decision result of the integrated tree is determined based on the judgment result of each classification tree and the voting mechanism. The type decision model based on the classification tree judges the comparison result of the state parameters of the current state of the first team and the second team respectively, so as to determine the team action type corresponding to the current state of the first team.
[0121] As an example, the type decision model based on the neural network can be obtained by training a binary classification neural network. The different comparison results of the state parameters of the first team and the second team are used as sample data required for training the neural network, and the labeled data is an offensive team action or a defensive team action.
[0122] In some embodiments, when the health value of the first virtual object is greater than the health value threshold, and the total attack capabilities of other virtual objects distributed around the first virtual object in the first team is greater than the total attack capabilities of virtual objects of the second team distributed within the same range, the team action type is determined to be a rescue team action; when the health value of the first virtual object is less than the health value threshold, and the total attack capabilities of other virtual objects distributed around the first virtual object in the first team is less than the total attack capabilities of virtual objects of the second team distributed within the same range, the team action type is determined to be an abandonment of rescue team action.
[0123] Here, the first virtual object is a virtual object to be rescued in the first team.
[0124] As an example, it can be the sum of the attack capabilities of other virtual objects distributed within a certain radius with the first virtual object in the first team as the center. If the sum of the attack capabilities is lower than the sum of the attack capabilities of the virtual objects of the second team in the same range and the health value of the first virtual object is smaller, it means that the probability of successful rescue of the first team is low, and the type of team action is determined to be abandoning the rescue team action.
[0125] As an example, continue to refer to Figure 5B , assuming that the first virtual object is Figure 5B If the virtual object B1 is in the range, there are hostile virtual object B1 and other virtual objects of the first team, virtual object B2. If the attack capability of virtual object B2 is lower than that of virtual object B1, or the health value of virtual object B1 is lower than the health value threshold, the success rate of the rescue operation is low, and the team action type is determined to be the abandonment of the rescue team action.
[0126] In some embodiments, in addition to determining the team action type through the above conditions, the type decision model (classification tree, neural network) can be called to make predictions based on the current status of the first team's virtual objects and the current status of the second team's virtual objects distributed within the range (for example: the health value of the first virtual object, the health value and combat capability of other objects in the first team and the combat capability and health value of the virtual objects in the second team, etc.) to obtain the team action type of rescue or abandonment of rescue.
[0127] In some embodiments, when the supply reserve of the first team is less than the supply reserve of the second team, the team action type is determined to be a supply collection type team action.
[0128] As an example, for material collection type team actions, the amount of materials in the surrounding environment also needs to be considered. When the material reserves of the first team are less than the material reserves of the second team and the amount of collectible materials within a set range around the first team is greater than the set amount of materials, the team action type is determined to be a material collection type team action.
[0129] As an example, the set range may be a visible range of a virtual object, and the set material quantity may be a minimum level of material quantity. For example, when the material reserve of the first team is less than the material reserve of the second team and there is no collectible material within the visible range of each virtual object of the first team, the team action type is a team action type other than the material collection type.
[0130] refer to Figure 5E , Figure 5E is an interaction schematic diagram of a method for processing team interaction of virtual objects provided in an embodiment of the present application; Figure 5E In the above example, Z1, Z2, and Z3 are collectible materials. The first team includes virtual objects E1, E2, and E3, and the second team includes virtual objects e1, e2, and e3. When the material reserve of the first team is less than that of the second team, according to Figure 5E In the case of the first team, there are collectible materials Z1, Z2, and Z3 near the virtual object of the first team; the team action type can be determined as a material collection type team action.
[0131] As an example, if Figure 5E If there are no collectible materials Z1, Z2, and Z3 in the virtual scene, the team action type is a team action type other than the material collection type. Alternatively, if the material reserve of the first team is less than the material reserve of the second team and the second team is engaged in a battle with the first team, the priority of the material collection team action is lower than other team action types associated with the health value of the virtual objects in the team (such as defense, attack, rescue, or abandon rescue team actions, etc.), then the team action type is a team action type other than the material collection type.
[0132] Continue to refer Figure 4A In step 1022, when the team action type is an offensive team action, the team offensive action strategy of the first team is determined according to the current state of the second team, the current state of the first team and the environmental information of the virtual scene.
[0133] As an example, an offensive team action needs to take into account the current status of the first team itself and the enemy, as well as the environment in which both parties are located.
[0134] In some embodiments, the team attack action strategy includes: attacked object, attack formation, and attack object; step 1022 can be implemented in the following ways: at least one virtual object in the second team whose distance from the first virtual object is less than the attack distance threshold is used as the attacked object; the total attack capability of the attacked objects is determined according to the current state of each attacked object; at least one virtual object in the first team other than the first virtual object is selected as the attack object. The attack formation is determined according to the current position of the attacked object, the environmental information of the virtual scene, and the current position of the attack object.
[0135] Here, the total attack capability of the at least one selected attacking target is greater than the total attack capability of the attacked targets.
[0136] As an example, the parameters associated with the attack capability in the current state of the virtual object (for example, the attack power of the virtual weapon currently held, the attack props stored in the backpack (such as grenades, flash bombs, etc.), the supply props stored in the backpack (such as bandages, medical kits, etc.), life value, equipment defense, movement speed, etc.) are evaluated to determine the attack capability of the virtual object. According to the different proportional coefficients corresponding to each parameter related to the attack capability (the proportional coefficient is positively correlated with the correlation), each parameter is multiplied by the corresponding proportional coefficient and then added in sequence. The sum is used as the attack capability score of the virtual object, that is, the value corresponding to the attack capability of the virtual object. The attack capability score of each attacked object is added to obtain the sum of the attack capabilities of the attacked objects.
[0137] As an example, determine the attack capability of each virtual object in the first team, add the attack capabilities of each virtual object in the first team in descending order of attack capability, and when a minimum attack capability sum greater than the sum of the attack capabilities of the attacked objects is obtained, take each virtual object corresponding to the minimum attack capability sum as an attack target; wherein the attack target is the virtual object in the first team that performs the attack action.
[0138] As an example, the attacking target can also be selected based on the distance from the attacked target, for example: at least one attacking target is selected in order of distance, starting from the virtual object closest to the attacked target. The action strategy of the attacking team action can also include: assisting the attacking target. Objects other than the attacking target in the first team are used as auxiliary attacking targets, so that the auxiliary attacking targets provide support for the attacking targets, thereby improving the winning rate of the attacking team action. The attack distance threshold can be the maximum attack distance of the virtual weapon held by the virtual object, or it can be the visual range of the virtual object. Continue to refer to Figure 5A , Figure 5A The attacking targets of the first team may be virtual objects A1, A2, A3, and A4; the auxiliary attacking target may be virtual object A5.
[0139] As an example, there are multiple attack formations, each of which has a corresponding positional relationship between the attacked object and the attacking object and terrain factors. The terrain factors are determined based on the environmental information of the environment in which the attacking object and the attacked object are located, and a set of attack formations corresponding to the terrain factors are selected; then, based on the current position of the attacked object and the current position of the attacking object, the current positional relationship between the two parties is confirmed, and the formation corresponding to the positional relationship is searched in the attack formation set based on the current positional relationship, and the attack formation corresponding to the team action strategy is determined.
[0140] In some embodiments, the team rescue action strategy includes: potential threat object, rescue object, rescue formation, safe location; continue to refer to Figure 4A In step 1023, when the team action type is a rescue team action, the team rescue action strategy of the first team is determined according to the current state of the second team, the current state of the first team and the environmental information of the virtual scene.
[0141] As an example, the team rescue action strategy includes: potential threat object, rescue object, rescue formation, and safe place. Step 1023 can be implemented in the following ways: taking the virtual object in the second team whose distance from the first virtual object is less than the threat distance threshold as the potential threat object; when the life value of the first virtual object is greater than the life value threshold, selecting at least one virtual object in the first team other than the first virtual object as the rescue object; wherein the sum of the attack capabilities of the rescue objects is greater than the sum of the attack capabilities of the potential threat objects, or the attack capability of each rescue object is greater than the average attack capability of the potential threat objects; determining the rescue formation according to the current position of the potential threat object, the environmental information of the virtual scene, the current position of the first virtual object, and the current position of the rescue object; determining the safe place according to the current position of the potential threat object, the environmental information of the virtual scene, and the current position of each virtual object in the first team.
[0142] Here, the safe location is a location used by the first team to hide from the second team. The threat distance threshold is greater than the attack distance threshold.
[0143] In some embodiments, the sum of the attack capabilities of the potential threat objects is divided by the number of potential threat objects to obtain the average attack capability of the potential threat objects; the safe place can be a place far away from the second team, or a place in the virtual scene that is easy to defend (such as a hidden place in a building, the back of a mountain, etc.).
[0144] As an example, there are multiple rescue formations, and each attack formation has corresponding positions of rescue objects, objects to be rescued, and potential threat objects, and terrain factors. The terrain factors are determined based on the environmental information of the rescue objects, objects to be rescued, and potential threat objects, and a set of rescue formations corresponding to the terrain factors are selected; then, based on the current position of the potential threat object, the current position of the rescue object, and the current position of the object to be rescued, the current position relationship between the three parties is confirmed, and the formation corresponding to the position relationship is searched in the rescue formation set based on the current position relationship, and the rescue formation corresponding to the team action strategy is determined.
[0145] As an example, the determination of a safe place can be achieved in the following manner: taking the current position of the potential threat object as the center, determining the area outside the maximum attack range and visual range of the potential threat object, and determining the location closest to each virtual object in the area according to the environmental information of the virtual scene and the current position of each virtual object in the first team as the safe place for each virtual object. Alternatively, determining the hidden terrain closest to each virtual object in the first team (for example, behind a rock shelter or in a building) as the safe place according to the environmental information of the virtual scene.
[0146] Continue to refer Figure 4A In step 1024, when the team action type is a material collection team action, the team material collection action strategy of the first team is determined according to the current state of the first team and the environmental information of the virtual scene.
[0147] In some embodiments, the team material collection action strategy includes: target material points; step 1024 can be implemented in the following ways: determine at least one candidate material point based on the material location in the environmental information of the virtual scene; wherein the candidate material point is a candidate location for the first team to collect materials; respectively determine the distance between the current position of each virtual object in the first team and all candidate material points, and select the candidate material point corresponding to the shortest distance as the target material point corresponding to each virtual object.
[0148] As an example, each virtual object goes to the corresponding target material point to collect materials. A certain material point may be the target material point of multiple virtual objects. When the material quantity of the target material point cannot meet the material collection needs of multiple virtual objects, the distances between the virtual objects and the material point are sorted, and at least one virtual object with a closer distance is selected to go to the second closest material point to collect materials. Figure 5C , Figure 5C is an interaction schematic diagram of a method for processing team interaction of virtual objects provided in an embodiment of the present application; Figure 5C including virtual object C1, virtual object C2 and virtual object C2, Figure 5CIn the figure, X1, X2, and Y are three material points; material point X1 is the closest material point to the three virtual objects. Material point X1 cannot meet the material collection needs of the three virtual objects. The target material point of at least one of the three virtual objects needs to be re-determined. Assume that the distances between virtual object C1, virtual object C2, and virtual object C3 and material point X1 are 10 meters, 15 meters, and 25 meters respectively; virtual object A1 is closest to the material point, then the target material point of virtual object A1 is set to material point Y, which is the second closest to virtual object C1, and the target material points of virtual objects C2 and C3 are material point X1.
[0149] Continue to refer Figure 4A In step 1025, when the team action type is a defensive team action, the team defensive action strategy of the first team is determined according to the current state of the second team, the current state of the first team and the environmental information of the virtual scene.
[0150] In some embodiments, the team defense action strategy includes: potential attack targets, defense formations, and defense targets; step 1025 can be implemented in the following ways: taking all virtual objects in the second team whose distance from the first virtual object is less than a potential attack distance threshold as potential attack targets; determining the sum of the attack capabilities of the potential attack targets based on the current state of each potential attack target; selecting at least one virtual object in the first team as a defense target, wherein the sum of the defense capabilities of the at least one selected defense target is greater than the sum of the attack capabilities of the potential attack targets; and determining the defense formation based on the current position of the potential attack target, the environmental information of the virtual scene, and the current position of the defense target.
[0151] As an example, the potential attack distance threshold is greater than the attack distance threshold, and the potential attack distance threshold may be a distance greater than the attack distance of the virtual object or the visible distance of the virtual object.
[0152] As an example, there are multiple defensive formations, each of which has a corresponding positional relationship between the attacked object and the attacking object and terrain factors. The terrain factors are determined based on the environmental information of the environment in which the defending object and the potential attacking object are located, and a set of defensive formations corresponding to the terrain factors are selected; then, based on the current position of the potential attacking object and the current position of the defending object, the current positional relationship between the two parties is confirmed, and based on the current positional relationship, a formation matching the positional relationship is searched in the defensive formation set to determine the defensive formation corresponding to the team action strategy.
[0153] Continue to refer Figure 3 In step 103, based on the team action strategy, the machine learning model corresponding to at least one virtual object in the first team is called to perform prediction processing to obtain the behavior of each virtual object that conforms to the team action strategy.
[0154] As an example, the content of the team action strategy may be an action formation, an action target, a virtual object that performs the team action, etc. The machine learning model of the virtual object is called according to the team action strategy. The machine learning model of each virtual object predicts the behavior of each virtual object that conforms to the team action strategy based on the team action strategy and the corresponding status information of the virtual object and the surrounding environment information.
[0155] As an example, continue to refer to Figure 2B Step 103 is performed by the team management module 4551, which adds the team action strategy to the shared data structure of at least one virtual object corresponding to the team action strategy. The machine learning model of at least one virtual object is called in response to the change of data in the shared data structure. The machine learning model of at least one virtual object predicts the behavior of the virtual object based on the data in the shared data structure (the data includes the team action strategy). The machine learning model outputs the predicted behavior that conforms to the team action strategy to the corresponding behavior control module.
[0156] As an example, there are multiple types of virtual objects, and the machine learning models of different types of virtual objects are different, while the machine learning models of the same type of virtual objects are the same; the prediction results of the machine learning models of different types of virtual objects for the same state parameter are different. For example: the actions obtained by the decisions of the machine learning models of different types of virtual objects in the first team can be conservative actions or aggressive actions; when the hostile virtual object is within the attackable range, the machine learning model of the conservative virtual object decides to avoid the hostile virtual object based on the current state of the hostile virtual object and the current state of the virtual object, and the machine learning model of the aggressive virtual object decides to attack the hostile virtual object based on the current state of the hostile virtual object and the current state of the virtual object.
[0157] As an example, the first team may include multiple different types of virtual objects, and the prediction results obtained by the machine learning models of different types of virtual objects based on the same team action strategy may be different. For example, the types of virtual objects may be snipers, machine gunners, medics, engineers, communications soldiers, etc. When the team action type corresponding to the team action strategy is a rescue team action, a virtual object in the team is knocked down by a hostile virtual object and is waiting for rescue. The machine learning model of the sniper type can predict the behavior of attacking the hostile virtual object until the other party is knocked down or eliminated according to the team action strategy to complete the rescue action; the machine learning model of the machine gunner type predicts the behavior of attacking the hostile type or disrupting the hostile type to reduce the hostile type's attention to the rescue type according to the team action strategy to complete the rescue action; the machine learning model of the medic type can predict the behavior of helping the object to be rescued according to the team action strategy to complete the rescue action; the machine learning model of the engineer type predicts the behavior of providing the object to be rescued with virtual props for increasing the health value according to the team action strategy to complete the rescue action; the machine learning model of the communications soldier type predicts the behavior of sending information about the object to be rescued and the information about the hostile virtual object to other teammates according to the team action strategy to complete the rescue action.
[0158] In some embodiments, when the team action strategy is a team attack action strategy, the action includes a travel path and an attack method; step 103 can be implemented in the following ways: determine the attack object based on the team attack action strategy, and call the machine learning model corresponding to each attack object for prediction processing according to the position information of each attack object, the position information of the attacked object, the attack formation corresponding to the team attack action strategy, and the environmental information of the virtual scene to obtain the travel path of each attack object; call the machine learning model corresponding to each attack object for prediction processing according to the equipment information of each attack object, the position information of the attacked object, and the environmental information of the virtual scene to obtain the attack method of each attack object.
[0159] As an example, the environmental information may include the terrain of the virtual scene (plains, rivers, mountains, etc.), the weather conditions of the virtual scene (sunny, rainy, snowy, etc.), the building information in the virtual scene (building form, location, etc.), the natural scenery information in the virtual scene (tree form, tree location, stone form, stone location, etc.), and the supplies in the virtual scene (supply location, quantity, etc.). Based on the environmental information of the virtual scene, the position of obstacles in the virtual scene (virtual objects that virtual objects cannot directly pass through, such as walls of houses, trees, rocks, etc.) can be determined. In some cases, obstacles can be used as cover for the attacking object to attack the attacked object.
[0160] As an example, equipment information may include protective gear worn by the attacking target (for example, helmets, bulletproof vests, etc.), attack props held by the attacking target (for example, throwing objects: grenades, flash bombs, smoke bombs, etc.), virtual weapons (for example, virtual firearms: submachine guns, sniper rifles, flamethrowers, etc.; cold weapons: sticks, frying pans, knives, etc.).
[0161] As an example, the travel path may be a path based on the attack formation with the position of the attacked object as the end point, the current position of the attacking object as the starting point, and bypassing obstacles in the virtual scene. The attack method may include: using attack props to attack the attacked object based on the terrain of the virtual scene; using virtual weapons to attack the attacked object based on the terrain of the virtual scene.
[0162] In some embodiments, when the team action strategy is a team rescue action strategy, the action includes a travel path and a rescue method; step 103 can be implemented in the following ways: based on the position information of each rescue object, the position information of the potential threat object, the rescue formation corresponding to the team rescue action strategy, and the environmental information of the virtual scene, the machine learning model corresponding to each rescue object is called for prediction processing to obtain the travel path and rescue method of each rescue object; based on the current position of the first virtual object and the safe place corresponding to the team rescue action strategy, the machine learning model corresponding to the first virtual object is called for prediction processing to obtain the travel path of the first virtual object.
[0163] As an example, the rescue method may be: when the current state of the first virtual object is a fallen state, the first virtual object is lifted up; the potential threat object is attacked to divert the attack of the potential threat object on the first virtual object; virtual props such as smoke bombs are used to disrupt the potential threat object, etc. The travel path of the rescue object may be: a path based on the rescue formation with the position of the first virtual object as the end point, the current position of the rescue object as the starting point, and bypassing the potential threat object and obstacles in the virtual scene. Alternatively, a path based on the rescue formation with the current position of the rescue object as the starting point, the position of the potential threat object as the terminal, and bypassing obstacles in the virtual scene. The behavior of the first virtual object may be to stay away from the potential threat object and use the terrain in the virtual scene to hide.
[0164] In some embodiments, when the team action strategy is a team material collection action strategy, the action includes a travel path and target materials; wherein the target materials are materials that the virtual objects lack; step 103 can be implemented in the following ways: based on the team material collection action strategy, determine the target material points corresponding to each virtual object, and according to the positions of the target material points corresponding to each virtual object, call the machine learning model corresponding to each virtual object for prediction processing to obtain the travel path of each virtual object; according to the current material quantity of each virtual object, call the machine learning model corresponding to each virtual object for prediction processing to obtain the target materials for each virtual object.
[0165] As an example, the travel path can be a path that takes the position of the virtual object as the starting point and the target material point of the virtual object as the destination, bypassing obstacles in the virtual scene; each virtual object moves according to the corresponding travel path, and if the environmental information around the virtual object changes during the action, the machine learning model of each virtual object will re-determine the behavior of the virtual object based on the changed environmental information and the team action strategy. If a virtual object is collecting materials and the corresponding target material point does not have the target material that the virtual object lacks, the team material collection action strategy will be re-formulated based on the current environmental information, and the target material point will be reallocated to the virtual object. After receiving the new team action strategy, the machine learning model of the virtual object will decide the behavior of the virtual object based on the new team action strategy.
[0166] In some embodiments, when the team action strategy is a team defense action strategy, the action includes a travel path and a defense method; step 103 can be implemented in the following ways: determine the defense object based on the team defense action strategy, and call the machine learning model corresponding to each defense object for prediction processing according to the position information of each defense object, the position information of the potential attack object, and the defense formation and environmental information corresponding to the team defense action strategy to obtain the travel path of each defense object; call the machine learning model corresponding to each defense object for prediction processing according to the equipment information of each defense object, the position information of the potential attack object, and the environmental information to obtain the defense method of each defense object.
[0167] As an example, the travel path may be a path based on the defense formation, starting from the current position of the defending object, bypassing the current position of the potential attacking object and obstacles in the virtual scene; the equipment information may include virtual weapons, equipment, virtual props, etc. held by the defending object. The defense method may be to attack the potential attacking object with a virtual weapon, to attack the potential attacking object and retreat at the same time (i.e., to stay away from the potential attacking object), to disrupt the potential attacking object with virtual props such as smoke bombs, etc.
[0168] In some embodiments, each machine learning model of a virtual object corresponds to a shared data structure. Figure 4B , Figure 4B is a flowchart of a method for processing team interaction of virtual objects provided in an embodiment of the present application; Figure 4B In the embodiment, step 103 can be implemented through steps 1031 and 1032.
[0169] In step 1031, the shared data used to call the machine learning model is stored in a shared data structure.
[0170] Here, shared data includes team action strategies.
[0171] As an example, a machine learning model of a virtual object corresponds to a shared data structure, and the shared data may also include state parameters of the current state of the first team, state parameters of the current state of the second team, environmental information in the virtual scene, etc.
[0172] In some embodiments, every two virtual objects may correspond to a machine learning model, and one machine learning model may correspond to a shared data structure.
[0173] In step 1032, the machine learning model is called to read the shared data from the shared data structure, and predictive processing is performed based on the shared data to obtain the behavior of each virtual object that conforms to the team action strategy.
[0174] In some embodiments, the machine learning model of each virtual object predicts the behavior of each virtual object corresponding to the team action strategy based on the shared data. The machine learning model can also obtain data from other data modules. For example, the machine learning model of each virtual object can obtain environmental information of the virtual scene around the virtual object through other data modules.
[0175] Continue to refer Figure 3 In step 104, at least one virtual object in the first team is controlled to perform corresponding behavior.
[0176] As an example, the current state of the virtual object and the environmental information around the virtual object will change. During the execution process, the machine learning model of the virtual object can determine the behavior of the virtual object in real time according to the information corresponding to the virtual object and the team action strategy, so that the behavior of the virtual object can respond to factors in different virtual scenes, so that the virtual object can effectively complete the behavior corresponding to the team action strategy.
[0177] As an example, continue to refer to Figure 2BStep 104 is performed by the behavior control module of each virtual object. The behavior control module of each virtual object receives the action that conforms to the team action strategy output by the corresponding machine learning model, and controls the virtual object to perform the actual behavior in the virtual scene according to the behavior, so that the virtual scene displays a picture of the virtual object performing the behavior that conforms to the team action strategy.
[0178] In some embodiments, when each virtual object in the first team appears in the virtual scene and there is no interaction between the first team and the second team, a team action strategy adapted to the current state of the first team is determined based on the current position of each virtual object in the first team and the environmental information of the virtual scene.
[0179] As an example, when a virtual object is dropped into a virtual scene, the state parameters of the virtual object are in an initial state, so a team action strategy needs to be formulated for the first team based on the initial state. Taking a third-person shooter game as an example, a virtual object is usually airdropped from a flying vehicle to the ground of a virtual scene. In the initial state, the team action strategy may include: the airdrop area of the first team, the target material point, etc. After the team lands on the ground, the adapted team action strategy is determined based on the environmental information of the team's airdrop location and the current state of each virtual object in the first team.
[0180] In some embodiments, after step 104, it also includes: recording the behaviors performed by each virtual object in the first team and the effects of the behaviors; selecting behaviors whose behavioral effects are positive growth of state parameters corresponding to the virtual objects as sample behaviors, and optimizing and training the machine learning models corresponding to each virtual object in the first team according to the sample behaviors.
[0181] As an example, the behavior effect can be the effect on the state parameters of the virtual object itself after the virtual object completes the behavior, and the positive growth of the parameters can be an increase in health, attack ability, movement speed, etc. Optimizing and training the machine learning model based on these sample behaviors can improve the intelligence of the machine learning model and improve the prediction speed of the machine learning model under the same circumstances.
[0182] In some embodiments, reference Figure 6 , Figure 6 It is a flowchart of a method for processing team interaction of virtual objects provided in an embodiment of the present application; Figure 6In the example, the team management module 4551 performs step 201: determines the team action strategy of the first team based on at least the current state of the first team. And sends the action strategy to the machine learning model 4556. The machine learning model 4556 performs step 202: performs prediction processing based on the team action strategy, obtains the action of the virtual object that conforms to the team action strategy, and sends the action that conforms to the team action strategy to the virtual object's motion behavior control module 4552. The behavior control module 4552 performs step 203: controls the virtual object to perform the corresponding action.
[0183] As an example, Figure 6 The steps are based on Figure 2B The architecture, Figure 6 The machine learning model 4556 in can be Figure 2B A machine learning model corresponding to a virtual object in the team can obtain a variety of data required to predict the behavior of the virtual object from a shared data structure or other data modules, thereby predicting the behavior of the virtual object that conforms to the team action strategy based on the multiple data.
[0184] The embodiment of the present application sets a shared data structure so that virtual objects controlled by artificial intelligence can share data, and predict corresponding actions based on the shared data; determine the team action strategy adapted to the first team through the current state of the first team, or the current state of the first team and the second team, and decide the behavior of each virtual object based on the team action strategy through the machine model of each virtual object, so that the behavior of the virtual objects in the first team still maintains the behavioral characteristics of each virtual object when the team cooperation is completed. Through the team collaboration between virtual objects, the behavior of virtual objects is closer to the behavior of virtual objects operated by real users, and the team collaboration of the team composed of virtual objects controlled by artificial intelligence is realized, which significantly improves the intelligence of virtual objects.
[0185] The following is an explanation of an exemplary application of the embodiments of the present application in a practical application scenario.
[0186] In the embodiment of the present application, a team management module is set for each team to coordinate the management of each game AI in the team. The team management module is used to decide the action strategy of the team; the behavior tree of each game AI is responsible for deciding the specific behavior that conforms to the action strategy, thereby realizing team cooperation between game AIs.
[0187] Take the example of a game AI designed based on a behavior tree as an example. The behavior tree has multiple nodes extending from the root. Each leaf node corresponds to a behavior. Each call starts from the root node and executes the behaviors corresponding to different nodes by checking the execution status of the behavior. Fig.7D , Fig.7Dis a schematic diagram of the structure of a behavior tree model provided in an embodiment of the present application; Fig.7D 701D (whether to encounter an enemy) is the root node of the behavior tree, 704D (attack), 705D (avoid), 706D (move), 708D (collect supplies), 709D (search for supplies) are leaf nodes, each leaf node corresponds to a behavior, 702D (whether the attack capability is sufficient), 703D (whether there are sufficient supplies), 707D (whether there are supplies in the surrounding environment) are selection nodes, when the behavior tree traverses to the selection node, it determines which behavior to execute according to the current state of the game AI. For example: when the game AI encounters an enemy while searching for supplies, it starts traversing from the root node 701D of the behavior tree, enters node 702D, and determines whether the attack capability of the game AI is greater than that of the enemy. If so, the behavior tree outputs the "attack" behavior corresponding to node 704D, and if not, the behavior tree outputs the "avoid" behavior corresponding to node 705D.
[0188] For example, Fig. 8A This is a schematic diagram of the game AI team architecture provided by an embodiment of the present application; Fig. 8A In the example, the AI team includes a first AI 801, a second AI 802, and a third AI 803; the first AI 801 corresponds to a behavior tree 8011 and an AI controller 8012, the second AI 802 corresponds to a behavior tree 8021 and an AI controller 8022, and the third game AI 803 corresponds to a behavior tree 8031 and an AI controller 8032; Fig. 8A The AI team in the game includes three AIs. In actual applications, the AI team can include multiple game AIs, each of which has a corresponding behavior tree and AI controller. The behavior tree is used to decide the behavior of the game AI and output the behavior to the AI controller. The AI controller is used to control the execution of the corresponding behavior of the game AI. Different types of game AIs have different behavior trees and AI controllers. The behavior trees of different types of game AIs make different decisions based on the same information.
[0189] Continue to refer Fig. 8A , Fig. 8A The AI team management module 804 is also included. The AI team management module 804 is a data management module that encapsulates multiple different functions. Each function is set according to the business logic requirements of the game AI in the virtual scene. When the state parameters of an AI change, the behavior tree of the AI will call the function corresponding to the change in the AI team management module ( Fig. 8A In the example of calling a function in the behavior tree 8011 of the first AI 801, the behavior tree of each AI in the AI team has the function of calling a function in the AI team management module). The AI team management module 804 outputs the state change information of the AI or the team action strategy of the AI team to the blackboard module corresponding to each game AI in the team according to the function (refer to Fig. 8A , the first AI 801 corresponds to the blackboard module 8013, the second AI 802 corresponds to the blackboard module 8023, and the third AI 803 corresponds to the blackboard module 8033). The blackboard module can receive data sent from the external data module or the AI team management module. The behavior tree of each AI reads the data in the corresponding blackboard module and decides the corresponding behavior according to the data in the blackboard module.
[0190] refer to Figure 8B , Figure 8B This is an optional flowchart of a method for processing team interaction of virtual objects provided in an embodiment of the present application; Figure 8B The process includes: Step 801B: When the first AI is knocked down, the behavior tree of the first AI calls the function in the AI team management module. Step 802B: The AI team management module adds the state information of the first AI to the blackboard modules of other AIs in the team; Step 803B: The behavior trees of other AIs read the data in the corresponding blackboard modules, and determine the behavior that matches the state information of the first AI according to the data in the blackboard modules; Step 804B: At least one AI performs the behavior of rescuing the first AI, and when the rescue is successful, notifies the AI team management module that the rescue is completed.
[0191] For the sake of example and ease of explanation, the following will use virtual objects to represent game AI. The first team includes multiple virtual objects, and the first virtual object is any virtual object in the first team. The first team also includes multiple second virtual objects. For example: the first team has virtual objects A1, A2, and A3; when A1 is used as the first virtual object, A2 and A3 are the second virtual objects; when A2 is used as the first virtual object, A1 and A3 are the second virtual objects.
[0192] For example, when the first virtual object is knocked down, the state parameter corresponding to the health value of the first virtual object changes, and the behavior tree of the first virtual object calls the function in the AI team management module, so that the AI team management module adds the information that the first virtual object is knocked down to the blackboard module of other virtual objects in the team except the first virtual object through the function. The information added by the AI team management module to the blackboard of other virtual objects can be: Someone Down = True; Knocked Down Member = AI No.1. This information is a blackboard value, which can be stored in the blackboard module and is data that can be directly read by the behavior tree. When the behavior tree of other virtual objects detects that the data in the blackboard module has changed, the behavior tree of other virtual objects decides the behavior of the virtual object according to the data in the corresponding blackboard module, and sends the behavior instruction to the controller of the virtual object, so that the virtual object performs the corresponding behavior in the virtual scene. When the virtual object completes the corresponding behavior, the behavior tree of the virtual object modifies the data in the corresponding blackboard to notify the AI team management module that the team action is over. After obtaining the information that the action is completed, the AI team management module can add the information to the blackboard module of other virtual objects so that all virtual objects in the team share the information.
[0193] Example, reference Fig. 7A , Fig. 7A is a schematic diagram of a human-computer interaction interface screen provided in an embodiment of the present application; Fig. 7A In the example, the real user controls the third virtual object 703A from a first-person perspective, and the third virtual object 703A attacks the first virtual object 701A, causing the first virtual object 701A to be knocked down. The first virtual object 701A and the second virtual object 702A belong to the same team, and the third virtual object 703A is in a hostile relationship with the first virtual object 701A and the second virtual object 702A.
[0194] As an example, the following combination Fig. 7A right Figure 8B The steps in the reference are explained. Fig. 7A , Fig. 7AThe second virtual object 702A goes to the position of the first virtual object 701A to rescue the first virtual object 701A. The rescue of the first virtual object 701A by the second virtual object 702A can be achieved in the following way: when the behavior tree of the second virtual object 702A detects that the data in the blackboard module has changed, the behavior tree of the second virtual object 702A combines the data in the blackboard with the behavior tree logic to determine that it is closest to the first virtual object 701A to be rescued and can perform rescue. At the same time, the behavior tree decides the specific behavior of "going to the position of the knocked-down teammate and using the lifting action to rescue the knocked-down teammate". The controller of the second virtual object 702A drives the second virtual object 702A to perform the corresponding behavior according to the behavior instruction output by the behavior tree. When the rescue is completed, the behavior tree of the second virtual object 702A modifies the number of knocked-down virtual objects in the team status information in the blackboard module to zero, so as to notify the AI team management module that the rescue has been completed. The AI team management module adds the information that the number of knocked-down virtual objects is zero to the blackboard modules of other virtual objects in the team, indicating that this team cooperation action is over. The AI team management module uniformly manages the information of virtual objects in the team, allowing virtual objects to communicate with each other. Each virtual object performs corresponding actions based on the shared information, allowing team collaboration to be formed between virtual objects.
[0195] In some embodiments, in addition to transmitting information about virtual objects in the team to the blackboard modules of other virtual objects, the AI team management module can also decide on the team's action strategy based on changes in state parameters of any virtual object in the team, or decide on the team's action strategy based on the current state of the first team, the environmental information of the virtual scene, and the current state of the second team.
[0196] refer to Figure 8C , Figure 8C This is an optional flowchart of a method for processing team interaction of virtual objects provided in an embodiment of the present application; Figure 8C Included in: Step 801C includes: the AI team management module determines the team action strategy according to the current state of the first team, the environmental information of the virtual scene and the current state of the second team; step 801C is followed by step 803C. Step 803 includes: the AI team management module adds the team action strategy to the blackboard module corresponding to each virtual object. Step 803C is followed by step 804C, and step 804C includes: the behavior tree of each virtual object determines the behavior associated with the team action strategy of each virtual object according to the data in the blackboard module corresponding to each virtual object. Step 804C is followed by step 805C, and step 805C includes: the controller of each virtual object controls each virtual object to perform the corresponding behavior. Figure 8CThe method further includes step 802C, which is a method for determining a team action strategy different from step 801C. Step 802C includes: when the state parameter of the first virtual object changes, the AI team management module determines the team action strategy according to the current state of each virtual object in the first team. Step 802C is followed by step 803C.
[0197] For example, the change in state parameters can be the change in distance between a virtual object in a team and an enemy virtual object. The distance between any virtual object in the team and an enemy virtual object is less than or equal to the attackable distance. The behavior tree of the virtual object calls the function corresponding to the attack team cooperation in the AI team management module (different functions correspond to different types of team cooperation, and each function has a preset corresponding relationship with different types of state parameter changes). At the same time, the virtual object sends enemy information (number of enemies, location information, etc.) to the AI team management module. The AI team management module determines the action strategy (for example: attacked object, attack formation, number of people in action, etc.) based on the function corresponding to the attack team cooperation, the enemy information, and the state information of each virtual object in the team, and adds the action strategy to the blackboard module corresponding to each virtual object in the team. The behavior tree of each virtual object determines the specific behavior of each virtual object adapted to the team action strategy based on the data in the blackboard module.
[0198] For example, based on step 802C, the AI team management module can also receive other information in the virtual scene (the current status of the second team, environmental information of the virtual scene, etc.) and combine it with the status information of the virtual objects in the team, and decide on the team action strategy based on this information, so that the team composed of virtual objects is more intelligent.
[0199] For example, the following combination Figure 7B , Fig. 7A right Figure 8C The steps in the explanation are as follows. Figure 7B and Figure 7C , Figure 7B is a schematic diagram of a human-computer interaction interface screen provided in an embodiment of the present application; Figure 7C It is a schematic diagram of the human-computer interaction interface screen provided in an embodiment of the present application. Figure 7B In the figure, the third virtual object 703 is in a hostile relationship with other virtual objects, the first virtual object 701, the second virtual object 7021, and the second virtual object 7022 belong to the same team, and the virtual objects in the same team cooperate with each other. The three virtual objects surround the third virtual object 703, wherein the first virtual object 701 approaches the third virtual object 703 from the side and attacks it, the second virtual object 7021 approaches the third virtual object 703 from the top of the building and attacks it, and the second virtual object 7022 snipes the third virtual object 703 from a distance. Figure 7CThe virtual objects in Figure 7B The virtual objects in are the same, but the virtual objects are based on Figure 7B The position in has been moved.
[0200] For example, continue to refer to Figure 7B The behavior tree of the first virtual object 701 determines the behavior of the first virtual object 701 to be "approaching the enemy and attacking" according to the data in the blackboard module (e.g., team action strategy, position information, virtual weapon information of holding a submachine gun, distance from the enemy, etc.), and the behavior tree of the second virtual object 7021 determines the behavior of the second virtual object 7021 to be "staying away from the enemy and performing a long-range sniping on the enemy" according to the data in the blackboard module (e.g., team action strategy, position information, virtual weapon information of holding a sniper rifle, distance from the enemy, etc.). The first virtual object 701 approaches the third virtual object 703 (reference Figure 7B ) and then moved away from the third virtual object 703 (reference Figure 7C ), when the first virtual object 701 approaches the enemy, the behavior tree of the first virtual object 701 determines that the first virtual object 701 and the enemy virtual object lack a cover and are easily attacked according to the current environment information, state information, and team action strategy, and decides that the behavior of the first virtual object 701 is "stay away from the enemy and continue to attack", so that the first virtual object 701 stays away from the third virtual object 703 and continues to attack. The AI team management module makes decisions on the team action strategy, and each virtual object individual decides on the specific behavior of the virtual object according to the various information contained in the blackboard module, realizing double-end decision-making. The game AIs collaborate as a team while maintaining their own behavioral characteristics, which improves the intelligence of the game AI and can enhance the realism of the game.
[0201] The following is a description of an exemplary structure of a virtual object team interaction processing device 455 provided in an embodiment of the present application implemented as a software module. In some embodiments, Figure 2A As shown, the software modules in the team interaction processing device 455 of the virtual object stored in the memory 450 may include: a team management module 4551, configured to display a virtual scene in the human-computer interaction interface, wherein the virtual scene includes the first team. The team management module 4551 is configured to determine the team action strategy of the first team based on at least the current state of the first team. The team management module 4551 is also configured to call the machine learning model corresponding to at least one virtual object in the first team for prediction processing based on the team action strategy, and obtain the behavior of each virtual object that conforms to the team action strategy. The behavior control module 4552 is configured to control at least one virtual object in the first team to perform a corresponding behavior.
[0202] In some embodiments, the virtual scene also includes a second team that is in a hostile relationship with the first team; the team management module 4551 is also configured to determine the team action type based on the current status of the first team or based on the current status of the first team and the second team; when the team action type is an offensive team action, the team attack action strategy of the first team is determined according to the current status of the second team, the current status of the first team and the environmental information of the virtual scene; when the team action type is a rescue team action, the team rescue action strategy of the first team is determined according to the current status of the second team, the current status of the first team and the environmental information of the virtual scene; when the team action type is a material collection team action, the team material collection action strategy of the first team is determined according to the current status of the first team and the environmental information of the virtual scene; when the team action type is a defensive team action, the team defense action strategy of the first team is determined according to the current status of the second team, the current status of the first team and the environmental information of the virtual scene.
[0203] In some embodiments, the team management module 4551 is further configured to determine the team action type based on the current state of the first virtual object in the first team when the state of the first virtual object decays; periodically or when at a specific interaction node, compare the current state of the first team with the current state of the second team, and determine the team action type based on the comparison result.
[0204] In some embodiments, the team management module 4551 is further configured to, when a rescue condition is met, determine the team action type as a rescue team action; wherein the rescue condition includes at least one of the following: the life value of the first virtual object is greater than a life value threshold, and the distance between the first virtual object and at least one other virtual object in the first team is less than a rescue distance threshold; when the condition for abandoning rescue is met, determine the team action type as an abandoning rescue team action; wherein the condition for abandoning rescue includes at least one of the following: the life value of the first virtual object is less than a life value threshold, and there are no other virtual objects in the first team whose distance from the first virtual object is less than the rescue distance threshold.
[0205] In some embodiments, the team management module 4551 is further configured to determine that the team action type is an offensive team action when the total attack capability of the first team is greater than the total attack capability of the second team and the geographical situation of the first team is better than the geographical situation of the second team; determine that the team action type is a defensive team action when at least one of the total attack capability or the geographical situation of the first team is weaker than that of the second team; and determine that the team action type is a defensive team action when the health value of the first virtual object is greater than the health value threshold and the total attack capability of other virtual objects in the first team distributed around the first virtual object is greater than the total attack capability of the virtual objects of the second team distributed within the same range. When the health value of the first virtual object is less than the health value threshold, and the total attack capabilities of other virtual objects distributed around the first virtual object in the first team are less than the total attack capabilities of the virtual objects of the second team distributed in the same range, the team action type is determined to be a rescue team action, wherein the first virtual object is the virtual object to be rescued in the first team; when the material reserves of the first team are less than the material reserves of the second team, the team action type is determined to be a material collection team action.
[0206] In some embodiments, the team attack action strategy includes: an attacked object, an attack formation, and an offensive object; the team management module 4551 is further configured to use at least one virtual object in the second team whose distance from the first virtual object is less than an attack distance threshold as an attacked object; determine the total attack capabilities of the attacked objects according to the current state of each attacked object; select at least one virtual object in the first team other than the first virtual object as an offensive object, wherein the total attack capability of the selected at least one offensive object is greater than the total attack capability of the attacked object; and determine the attack formation according to the current position of the attacked object, the environmental information of the virtual scene, and the current position of the offensive object.
[0207] In some embodiments, the team rescue action strategy includes: potential threat objects, rescue objects, rescue formations, and safe places; the team management module 4551 is also configured to treat virtual objects in the second team whose distance from the first virtual object is less than a threat distance threshold as potential threat objects; when the health value of the first virtual object is greater than the health value threshold, select at least one virtual object in the first team other than the first virtual object as a rescue object; wherein the sum of the attack capabilities of the rescue objects is greater than the sum of the attack capabilities of the potential threat objects, or the attack capability of each rescue object is greater than the average attack capability of the potential threat objects; determine the rescue formation based on the current position of the potential threat object, the environmental information of the virtual scene, the current position of the first virtual object, and the current position of the rescue object; determine the safe place based on the current position of the potential threat object, the environmental information of the virtual scene, and the current position of each virtual object in the first team; wherein the safe place is the place where the first team uses to avoid the second team.
[0208] In some embodiments, the team defense action strategy includes: potential attack targets, defense formations, and defense targets; the team management module 4551 is further configured to treat all virtual objects in the second team whose distance from the first virtual object is less than a potential attack distance threshold as potential attack targets; determine the sum of the attack capabilities of the potential attack targets based on the current state of each potential attack target; select at least one virtual object in the first team as a defense target, wherein the sum of the defense capabilities of at least one selected defense target is greater than the sum of the attack capabilities of the potential attack targets; and determine the defense formation based on the current position of the potential attack target, the environmental information of the virtual scene, and the current position of the defense target.
[0209] In some embodiments, the team material collection action strategy includes: a target material point; the team management module 4551 is also configured to determine at least one candidate material point based on the material location in the environmental information of the virtual scene; wherein the candidate material point is a candidate location for the first team to collect materials; respectively determine the distance between the current position of each virtual object in the first team and all candidate material points, and select the candidate material point corresponding to the shortest distance as the target material point corresponding to each virtual object.
[0210] In some embodiments, when the team action strategy is a team attack action strategy, the action includes a travel path and an attack method; the team management module 4551 is also configured to determine the attack object based on the team attack action strategy, and call the machine learning model corresponding to each attack object for predictive processing according to the position information of each attack object, the position information of the attacked object, the attack formation corresponding to the team attack action strategy, and the environmental information of the virtual scene to obtain the travel path of each attack object; call the machine learning model corresponding to each attack object for predictive processing according to the equipment information of each attack object, the position information of the attacked object, and the environmental information of the virtual scene to obtain the attack method of each attack object.
[0211] In some embodiments, when the team action strategy is a team rescue action strategy, the action includes a travel path and a rescue method; the team management module 4551 is also configured to call the machine learning model corresponding to each rescue object for predictive processing based on the position information of each rescue object, the position information of the potential threat object, the rescue formation corresponding to the team rescue action strategy, and the environmental information of the virtual scene, so as to obtain the travel path and rescue method of each rescue object; according to the current position of the first virtual object and the safe place corresponding to the team rescue action strategy, the machine learning model corresponding to the first virtual object is called for predictive processing to obtain the travel path of the first virtual object.
[0212] In some embodiments, when the team action strategy is a team material collection action strategy, the action includes a travel path and target materials; wherein the target materials are the materials that the virtual objects lack; the team management module 4551 is also configured to determine the target material points corresponding to each virtual object based on the team material collection action strategy, and according to the positions of the target material points corresponding to each virtual object, call the machine learning model corresponding to each virtual object for prediction processing to obtain the travel path of each virtual object; according to the current material quantity of each virtual object, call the machine learning model corresponding to each virtual object for prediction processing to obtain the target materials for each virtual object.
[0213] In some embodiments, when the team action strategy is a team defensive action strategy, the action includes a travel path and a defensive method; the team management module 4551 is also configured to determine the defensive object based on the team defensive action strategy, and call the machine learning model corresponding to each defensive object for predictive processing according to the position information of each defensive object, the position information of the potential attack object, and the defensive formation and environmental information corresponding to the team defensive action strategy to obtain the travel path of each defensive object; call the machine learning model corresponding to each defensive object for predictive processing according to the equipment information of each defensive object, the position information of the potential attack object, and the environmental information to obtain the defense method of each defensive object.
[0214] In some embodiments, the machine learning model of each virtual object corresponds to a shared data structure; the team management module 4551 is also configured to store the shared data used to call the machine learning model to the shared data structure, wherein the shared data includes the team action strategy; the machine learning model is called to read the shared data from the shared data structure, and predictive processing is performed based on the shared data to obtain the behavior of each virtual object that conforms to the team action strategy.
[0215] The embodiment of the present application provides a computer program product or a computer program, which includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the team interaction processing method of the virtual object described in the embodiment of the present application.
[0216] The present application embodiment provides a computer-readable storage medium storing executable instructions, wherein the executable instructions are stored. When the executable instructions are executed by a processor, the processor will execute the virtual object team interaction processing method provided by the present application embodiment, for example, Figure 3 A method for processing team interactions of virtual objects is shown.
[0217] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or it may be various devices including one or any combination of the above memories.
[0218] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
[0219] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.
[0220] To summarize, through the embodiment of the present application, the team action strategy adapted to the first team is determined by the current state of the first team, so that the machine learning model of each virtual object predicts the behavior of at least one virtual object in the team based on the team action strategy, so that the virtual objects in the first team can both perform team collaboration and maintain the behavioral characteristics of each virtual object, thereby improving the behavioral diversity in the virtual object team collaboration, avoiding mechanical and rigid behavior, enhancing the realism of the virtual objects, and significantly improving the intelligence of the virtual objects.
[0221] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.
Claims
1. A method for processing team interaction of virtual objects, characterized in that: The method comprises: Displaying a virtual scene in a human-computer interaction interface, wherein the virtual scene includes the first team; determining a team action strategy of the first team based at least on a current state of the first team; Based on the team action strategy, calling the machine learning model corresponding to at least one virtual object in the first team to perform prediction processing to obtain the behavior of each virtual object that conforms to the team action strategy; Control the at least one virtual object in the first team to perform a corresponding behavior.
2. The method according to claim 1, characterized in that The virtual scenario also includes a second team that is in a hostile relationship with the first team; The determining the team action strategy of the first team based at least on the current state of the first team includes: Determining a team action type based on a current state of the first team or based on current states of the first team and the second team; When the team action type is an attacking team action, determining a team attacking action strategy of the first team according to the current state of the second team, the current state of the first team and the environmental information of the virtual scene; When the team action type is a rescue team action, determining a team rescue action strategy of the first team according to the current state of the second team, the current state of the first team and the environmental information of the virtual scene; When the team action type is a material collection team action, determining a team material collection action strategy of the first team according to the current state of the first team and the environmental information of the virtual scene; When the team action type is a defensive team action, a team defensive action strategy of the first team is determined according to the current state of the second team, the current state of the first team and the environmental information of the virtual scene.
3. The method according to claim 2, characterized in that The determining of the team action type based on the current state of the first team or based on the current states of the first team and the second team includes: When the state of the first virtual object in the first team decays, determining the team action type based on the current state of the first virtual object; or Periodically or when in a specific interaction node, compare the current state of the first team with the current state of the second team, and determine the team action type based on the comparison result, wherein the specific interaction node includes: the start of the interaction between the first team and the second team, the change of position of the first team and the second team, the total number of casualties of the first team and the second team exceeds a threshold, the supply consumption of the first team and the second team exceeds a threshold, and the first team and the second team interact with each other.
4. The method according to claim 3, characterized in that The determining the team action type based on the current state of the first virtual object includes: When a rescue condition is met, determining the team action type as a rescue team action; wherein the rescue condition includes at least one of the following: the life value of the first virtual object is greater than a life value threshold, and the distance between the first virtual object and at least one other virtual object in the first team is less than a rescue distance threshold; When the conditions for abandoning rescue are met, the team action type is determined to be an abandoning rescue team action; wherein the conditions for abandoning rescue include at least one of the following: the life value of the first virtual object is less than a life value threshold, and there are no other virtual objects in the first team whose distance to the first virtual object is less than a rescue distance threshold.
5. The method according to claim 3, characterized in that: The comparing the current state of the first team with the current state of the second team and determining the team action type according to the comparison result includes: When the total attack capability of the first team is greater than the total attack capability of the second team, and the geographical situation of the first team is better than the geographical situation of the second team, the team action type is determined to be an offensive team action; When at least one of the total attack capability or the geographical situation of the first team is at a disadvantage relative to the second team, determining the team action type to be a defensive team action; When the health value of the first virtual object is greater than the health value threshold, and the total attack capabilities of other virtual objects in the first team distributed around the first virtual object is greater than the total attack capabilities of virtual objects of the second team distributed in the same range, the team action type is determined to be a rescue team action, wherein the first virtual object is a virtual object to be rescued in the first team; When the health value of the first virtual object is less than the health value threshold, and the total attack capabilities of other virtual objects in the first team distributed around the first virtual object is less than the total attack capabilities of virtual objects of the second team distributed in the same range, determining the team action type as abandoning the rescue team action, wherein the first virtual object is the virtual object to be rescued in the first team; When the material reserve amount of the first team is less than the material reserve amount of the second team, the team action type is determined to be a material collection type team action.
6. The method according to claim 3, characterized in that: The team attack action strategy includes: the attacked object, the attack formation, and the attack object; The step of determining the team attack action strategy of the first team according to the current state of the second team, the current state of the first team and the environmental information of the virtual scene includes: At least one virtual object in the second team whose distance from the first virtual object is less than an attack distance threshold is used as an attacked object; Determine the total attack capability of each of the attacked objects according to the current state of each of the attacked objects; selecting at least one virtual object other than the first virtual object in the first team as an attack target, wherein the total attack capability of the selected at least one attack target is greater than the total attack capability of the attacked targets; The attack formation is determined according to the current position of the attacked object, the environmental information of the virtual scene and the current position of the attacking object.
7. The method according to claim 3, characterized in that The team rescue action strategy includes: potential threat object, rescue object, rescue formation, and safe location; The step of determining a team rescue action strategy of the first team according to the current state of the second team, the current state of the first team and the environmental information of the virtual scene includes: Taking virtual objects in the second team whose distance from the first virtual object is less than a threat distance threshold as potential threat objects; When the health value of the first virtual object is greater than the health value threshold, at least one virtual object other than the first virtual object in the first team is selected as a rescue object; wherein the total attack capabilities of the rescue objects are greater than the total attack capabilities of the potential threat objects, or the attack capability of each of the rescue objects is greater than the average attack capability of the potential threat objects; Determining a rescue formation according to the current position of the potential threat object, the environmental information of the virtual scene, the current position of the first virtual object and the current position of the rescue object; A safe place is determined according to the current position of the potential threat object, the environmental information of the virtual scene and the current position of each virtual object in the first team; wherein the safe place is a place where the first team hides from the second team.
8. The method according to claim 3, characterized in that The team defense action strategy includes: potential attack targets, defense formations, and defense targets; The determining of the team defense action strategy of the first team according to the current state of the second team, the current state of the first team and the environmental information of the virtual scene includes: taking all virtual objects in the second team whose distance from the first virtual object is less than a potential attack distance threshold as potential attack objects; Determine the total attack capability of each potential attack target according to the current state of each potential attack target; Selecting at least one virtual object in the first team as a defensive object, wherein the sum of the defensive capabilities of the selected at least one defensive object is greater than the sum of the offensive capabilities of the potential offensive objects; The defensive formation is determined according to the current position of the potential attack target, the environmental information of the virtual scene and the current position of the defending target.
9. The method according to claim 2, characterized in that: The team material collection action strategy includes: target material points; The determining of the first team's material collection action strategy according to the current state of the first team and the environmental information of the virtual scene includes: Determine at least one candidate material point according to the material position in the environmental information of the virtual scene; wherein the candidate material point is a candidate location for the first team to collect materials; The distances between the current position of each virtual object in the first team and all candidate material points are determined respectively, and the candidate material point corresponding to the shortest distance is selected as the target material point corresponding to each virtual object.
10. The method according to claim 2, characterized in that When the team action strategy is a team attack action strategy, the attack-type team action includes a travel path and an attack method; Based on the team action strategy, calling the machine learning model corresponding to at least one virtual object in the first team to perform prediction processing to obtain the behavior of each virtual object that conforms to the team action strategy includes: Determine the attack target based on the team attack action strategy, and call the machine learning model corresponding to each attack target for prediction processing according to the position information of each attack target, the position information of the attacked object, the attack formation corresponding to the team attack action strategy, and the environmental information of the virtual scene to obtain the travel path of each attack target; According to the equipment information of each attacking object, the position information of the attacked object, and the environmental information of the virtual scene, the machine learning model corresponding to each attacking object is called to perform prediction processing to obtain the attack mode of each attacking object.
11. The method according to claim 7, characterized in that When the team action strategy is a team rescue action strategy, the rescue-type team action includes a travel path and a rescue method; Based on the team action strategy, calling the machine learning model corresponding to at least one virtual object in the first team to perform prediction processing to obtain the behavior of each virtual object that conforms to the team action strategy includes: According to the location information of each rescue object, the location information of the potential threat object, the rescue formation corresponding to the team rescue action strategy, and the environmental information of the virtual scene, the machine learning model corresponding to each rescue object is called to perform prediction processing to obtain the travel path and rescue method of each rescue object; According to the current position of the first virtual object and the safe location corresponding to the team rescue action strategy, the machine learning model corresponding to the first virtual object is called to perform prediction processing to obtain the travel path of the first virtual object.
12. The method according to claim 2, characterized in that: When the team action strategy is a team material collection action strategy, the material collection type team action includes a travel path and target materials; wherein the target materials are materials that the virtual object lacks; Based on the team action strategy, calling the machine learning model corresponding to at least one virtual object in the first team to perform prediction processing to obtain the behavior of each virtual object that conforms to the team action strategy includes: Determine the target material point corresponding to each virtual object based on the team material collection action strategy, and call the machine learning model corresponding to each virtual object to perform prediction processing according to the position of the target material point corresponding to each virtual object to obtain the travel path of each virtual object; According to the current material quantity of each virtual object, the machine learning model corresponding to each virtual object is called to perform prediction processing to obtain the target material of each virtual object.
13. The method according to claim 7, characterized in that When the team action strategy is a team defense action strategy, the defensive team action includes a travel path and a defense method; Based on the team action strategy, calling the machine learning model corresponding to at least one virtual object in the first team to perform prediction processing to obtain the behavior of each virtual object that conforms to the team action strategy includes: Determine the defensive object based on the team defensive action strategy, and call the machine learning model corresponding to each defensive object for prediction processing according to the position information of each defensive object, the position information of the potential attack object, the defensive formation corresponding to the team defensive action strategy, and the environmental information to obtain the travel path of each defensive object; According to the equipment information of each of the defended objects, the location information of the potential attacking objects, and the environmental information, the machine learning model corresponding to each of the defended objects is called to perform prediction processing to obtain the defense method of each of the defended objects.
14. The method according to claim 1, characterized in that The machine learning model of each virtual object corresponds to a shared data structure; Based on the team action strategy, calling the machine learning model corresponding to at least one virtual object in the first team to perform prediction processing to obtain the behavior of each virtual object that conforms to the team action strategy includes: storing shared data for invoking the machine learning model in the shared data structure, wherein the shared data includes the team action strategy; The machine learning model is called to read the shared data from the shared data structure, and prediction processing is performed based on the shared data to obtain the behavior of each virtual object that conforms to the team action strategy.
15. A virtual object team interaction processing device, characterized in that: The device comprises: Team management module, configured as: Displaying a virtual scene in a human-computer interaction interface, wherein the virtual scene includes the first team; determining a team action strategy of the first team based at least on a current state of the first team; Based on the team action strategy, calling the machine learning model corresponding to at least one virtual object in the first team to perform prediction processing to obtain the behavior of each virtual object that conforms to the team action strategy; The behavior control module is configured to control the at least one virtual object in the first team to perform a corresponding behavior.
16. A terminal device for team interaction processing of virtual objects, characterized in that: The terminal device comprises: A memory for storing executable instructions; The processor is used to implement the team interaction processing method of virtual objects of any one of claims 1 to 14 when executing the executable instructions stored in the memory.
17. A computer-readable storage medium storing executable instructions, characterized in that: A method for processing team interactions of virtual objects according to any one of claims 1 to 14 is implemented when executed by a processor.
18. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the team interaction processing method of virtual objects according to any one of claims 1 to 14 is implemented.
