System and method for training artificial intelligence models for competition
By training artificial intelligence models to analyze user input data and applying interaction patterns in virtual scenes, it solves the problem of increased network traffic in multi-player online games and improves network data transfer speed and game experience.
Patent Information
- Application Number
- CN202080029245.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-03-15
- Filing Date
- 2020-02-19
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2040-02-19
AI Technical Summary
In multi-player online games, increased network traffic leads to network delays and low data transmission efficiency. It is difficult for existing technologies to effectively manage and predict network traffic, affecting the game experience.
By training artificial intelligence models, analyzing user input data to identify interaction patterns, and applying these patterns in virtual scenarios for additional training, the amount of input data between the client and server is reduced and network traffic management is more predictable.
It reduces network traffic, increases network data transfer speed, provides a better gaming experience, and reduces network latency.
Smart Images

Figure CN113710338B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to systems and methods for training artificial intelligence (AI) models for competition. Background Art
[0002] Nowadays, video games are accessed through computer networks. For example, many players from different parts of the world are playing Fortnite. TM game. One player controls the first avatar, while the other player controls the second avatar. Each avatar collects weapons and chops wood in the game. These avatars are then forced to confine themselves to a virtual circle. If the avatar is left outside the virtual circle, the avatar actually dies in the game. When both avatars are in the circle, they find each other and then fight each other with their weapons. Only one of the two avatars survives.
[0003] However, as millions of players around the world play the game, network traffic increases. Summary of the invention
[0004] Embodiments of the present disclosure provide systems and methods for training artificial intelligence (AI) models for competition.
[0005] Other aspects of the present disclosure will become apparent from the following detailed description taken in conjunction with the accompanying drawings, which illustrate, by way of example, the principles of the embodiments described in the present disclosure.
[0006] The systems and methods described herein enable players to set up matches with artificial intelligence (AI) models of other users. For example, over time, AI models are built to match the game skills of a player or user, and other AI models are built for other players or users. A user may want to see if his / her own AI model can beat his / her friend's AI model, and then the user and his / her friend watch the virtual characters representing the AI models compete. This provides customized matches that are set up and passively watched by the user.
[0007] In an embodiment, a method for training a character of a game is described. The method includes facilitating display of one or more scenes of a game. The one or more scenes include a character and a virtual object. The method also includes receiving input data for controlling the character by a user to interact with the virtual object, and analyzing the input data to identify an interaction pattern of the character in the one or more scenes. The interaction pattern defines input to train an AI model associated with a user account of the user. The method includes enabling the character to interact with a new scene based on the AI model. The method includes tracking the character's interaction with the new scene to perform additional training of the AI model.
[0008] In one embodiment, a server for training a character of a game is described. The server includes a processor configured to facilitate display of one or more scenes of the game. The one or more scenes include characters and virtual objects. The processor receives input data for controlling the character to interact with the virtual object by a user, and analyzes the input data to identify an interaction pattern of the character in the one or more scenes. The interaction pattern defines input to train an AI model associated with a user account of the user. The processor enables the character to interact with a new scene based on the AI model. The character interacts with the new scene according to the AI model. The processor tracks the character's interaction with the new scene to perform additional training of the AI model. The server includes a memory device coupled to the processor, and the memory device is configured to store the AI model.
[0009] In an embodiment, a computer-readable medium containing program instructions is described. Execution of the program instructions by one or more processors of a computer system causes the one or more processors to perform multiple operations, including facilitating the display of one or more scenes of a game. The one or more scenes include characters and virtual objects. The multiple operations also include receiving input data for controlling a character by a user to interact with a virtual object, and analyzing the input data to identify an interaction pattern of the character in one or more scenes. The interaction pattern defines input to train an AI model associated with a user account of a user. The multiple operations include enabling the character to interact with a new scene based on the AI model. The multiple operations include tracking the interaction of the character with the new scene to perform additional training of the AI model.
[0010] Some advantages of the systems and methods described herein include monitoring actions performed by a user during game play so that an artificial intelligence model can learn from the actions. Moreover, the artificial intelligence model learns by itself during the execution of the game program of the game, learns from other artificial intelligence models during the execution of the game program, and learns from new scenes of the game. These types of learning of artificial intelligence models reduce the amount of input data transmitted during game play between a client device such as a handheld controller or a head-mounted display or a computing device and one or more servers, while providing a better gaming experience for the user. The reduction in the amount of input data reduces the amount of network traffic transmitted between the client device and one or more servers. The reduction in the amount of network traffic increases the speed of network data transmission between the client and one or more servers. Therefore, when training an artificial intelligence mall, the input data transmitted via a computer network is reduced to reduce network latency.
[0011] Moreover, during the execution of the game program, the generation of input data is less predictable than with the use of artificial intelligence models. For example, during game play, a human user may spend a long time selecting buttons on a handheld controller or making gestures or taking breaks. This makes the generation and delivery of input data from a client device to one or more servers less predictable. As a result, the management of network traffic by one or more servers or computer networks becomes less predictable. With the use of artificial intelligence models, the human factor becomes less important, and the predictability of network traffic increases to achieve better network traffic management. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Various embodiments of the present disclosure are best understood by referring to the following description taken in conjunction with the accompanying drawings, in which:
[0013] Figure 1A-1 is a diagram of an implementation of a system for illustrating artificial intelligence (AI) training.
[0014] Figure 1A-2 is a diagram of an implementation of another system for illustrating user training of an AI model.
[0015] Figure 1B It is a diagram for illustrating an implementation scheme of user training of an artificial intelligence model.
[0016] Figure 2 is a diagram of an implementation scheme of a virtual scenario for illustrating training of an artificial intelligence model by another artificial intelligence model.
[0017] Figure 3-1 is a diagram for illustrating an implementation scheme of a virtual scenario for self-training of an artificial intelligence model.
[0018] Figure 3-2 is a diagram illustrating an implementation scheme for analyzing an artificial intelligence model to determine that an artificial intelligence model that has learned from one or more interaction patterns produces better results or outcomes than an AI model that has learned from other one or more interaction patterns.
[0019] Figure 4 is a schematic diagram for illustrating an implementation scheme of a new virtual scene for training an artificial intelligence model.
[0020] Figure 5A is a diagram illustrating an embodiment in which an artificial intelligence model can apply any skill level during play of a game.
[0021] Figure 5B is a diagram of an embodiment of a virtual scene in which a character competes with another character during execution of a game program.
[0022] Figure 5CIt is an embodiment for showing a virtual scene in which a user watches a match between characters without controlling the characters.
[0023] Figure 6 is a schematic diagram of an embodiment of a system for illustrating a notification displayed on a display device of a head mounted display (HMD) to indicate to a user that another user is not available to play a game, but instead an artificial intelligence model can play the game with the user.
[0024] Figure 7 It is a diagram for illustrating an implementation scheme of selecting an artificial intelligence model from a plurality of artificial intelligence models.
[0025] Fig. 8A is a diagram of an embodiment of a system for illustrating the capture of gestures performed by a user during execution of a game program to allow an artificial intelligence model to apply the gestures to a character.
[0026] Figure 8B is a diagram of an embodiment of a virtual scene displayed on an HMD to show a character performing actions similar to actions or gestures performed by a user during game play. DETAILED DESCRIPTION
[0027] Systems and methods for training artificial intelligence (AI) models for competition are described. It should be noted that various embodiments of the present disclosure may be practiced without some or all of these specific details. In other cases, well-known process operations are not described in detail to avoid unnecessarily obscuring various embodiments of the present disclosure.
[0028] Figure 1A-1 1 is a diagram for illustrating an embodiment of a system 10 of an artificial intelligence model AI1A. The system 10 includes a virtual scene 12, another virtual scene 14, an AI model AI1A, and another virtual scene 16. During the playing of a video game or an interactive game, Figure 1A-1 The virtual scenes 12, 14 and 16 shown in FIG. 1 are displayed on a head mounted display or another display device such as a TV or a computer or a smart phone or a tablet computer. In the virtual scene 12, the character C1 swings a weapon at another character CA. The character C1 moves toward the character CA in a mode 26 to virtually kill the character CA.
[0029] Similarly, in the virtual scene 14, the character C1 climbs up the virtual mountain top and dives into the virtual water located on the other side of the virtual mountain. The character C1 follows the movement pattern 28 to climb up the virtual mountain top and dive into the virtual water.
[0030] AI model AI1A receives pattern 26 as AI input 18 and pattern 28 as AI input 20, and learns from patterns 26 and 28 to generate AI output 22, which is a learning method. AI model AI1A applies AI output 22 to virtual scene 16 as AI input. For example, character C1 without virtual weapons in virtual scene 16 is controlled by AI model AI1A to climb up a virtual mountain top in virtual scene 16 but not dive. Character C1 comes down from the virtual mountain to meet character CA and fights with character CA with bare hands. In virtual scene 16, there is no virtual water, but there is a virtual mountain and character CA on the other side of the virtual mountain.
[0031] When interacting with the virtual scene 16 via the character C1, the AI model AI1A determines that the game level, such as the number of virtual coins or game points, increases when the character C1 climbs the virtual mountain in the virtual scene 16 and defeats the character CA with bare hands, compared to when the character C1 climbs the virtual mountain but does not defeat the character CA, or compared to when the character C1 does not climb the virtual mountain but goes to any other location in the virtual scene 16. Based on the determination of the game level, the AI model AI1A learns the interaction pattern 24, such as climbing the virtual mountain and fighting with the character CA with bare hands. The AI model AI1A applies the interaction pattern 24 to itself to learn or train a video game or another instance of an interactive game from the interaction pattern.
[0032] Figure 1A-2 is a diagram of an embodiment of system 100, used to illustrate the training of AI model AI1A by user A so that artificial intelligence model AI1A reacts in the same or similar manner as user A reacts during game play. As an example, the artificial intelligence model as described herein is a neural network of neural nodes. Each neural node can be a server or a processor. The neural nodes are coupled to each other via a connection. For example, two adjacent neural nodes are connected to each other via a connection. As another example, two server nodes are coupled to each other via a network cable, or two processors are connected to each other via a cable. AI input is fed to the neural network to produce AI output. System 100 includes multiple servers A, B and C. In addition, system 100 includes a computer network 102 and a computing device 104. Moreover, system 100 includes a head-mounted display (HMD) 106 and a handheld controller 108.
[0033] As used herein, a server includes one or more processors and one or more memory devices. For example, server 1 includes processor 118 and memory device 120. Processor 118 is coupled to memory device 120. One or more memory devices of one or more of servers A, B, and C store one or more AI models described herein. Examples of processors include application specific integrated circuits (ASICs), programmable logic devices (PLDs), microprocessors, and central processing units. Examples of memory devices include read-only memory devices (ROMs) and random access memory devices (RAMs). By way of example, the memory devices are non-volatile memory devices or volatile memory devices. Illustrations of memory devices include redundant arrays of independent disks (RAIDs) and flash memory. As described herein, examples of handheld controllers include PlayStation Move TM Controllers, joysticks, gun-shaped controllers and sword-shaped controllers.
[0034] The computer network 102 is a wide area network such as the Internet, or a local area network, or a combination thereof. Examples of computing devices described herein include a game console or a computer, such as a desktop computer or a laptop computer or a smart phone. The HMD 106 is coupled to the computing device 104 via a wired or wireless connection, and the handheld controller 108 is coupled to the computing device 104 or the HMD 106 via a wired or wireless connection. Examples of wired connections between the handheld controller and the computing device, or between the HMD and the computing device, or between the camera and the computing device as used herein include a coaxial cable connection or a universal serial bus (USB) cable connection. Examples of wireless connections between the handheld controller and the computing device, or between the HMD and the computing device, or between the HMD and the handheld controller, or between the camera and the computing device as used herein include a Wi-Fi connection or a Bluetooth connection or a short-range wireless connection. The computing device 104 is coupled to servers A, B, and C via the computer network 102.
[0035] User A logs in to user account 1 assigned to user A to access a game session of the game. For example, a user identification (ID) is authenticated by one or more of servers A, B, and C to allow user A to log in to user account 1. Data about user accounts is stored in one or more memory devices of one or more servers A, B, and C. For example, the user ID of user account 1 is stored in memory device 120, the user ID of another user account 2 is stored in memory device 120, and the user ID of another user account 3 is stored in memory device 120. User account 2 is assigned to another user B and user account 3 is assigned to another user C. After logging in to user account 1, during the game session, a game program is executed by one or more of servers A, B, and C, such as processor 118, to provide cloud gaming. When the game program is executed by one or more of servers A, B, and C, one or more image frames for displaying a virtual scene are generated by one or more of servers A, B, and C. As used herein, examples of virtual scenes include virtual reality (VR) scenes.
[0036] Image frames are sent from one or more of servers A, B, and C to HMD 106 via computer network 102 and computing device 104 for displaying a virtual scene on a display device of HMD 106. Examples of display devices include liquid crystal displays (LCDs) and light emitting diode displays (LEDs).
[0037] While viewing the virtual scene, user A operates the handheld controller 108 to select one or more buttons on the handheld controller 108 and / or to move one or more joysticks on the handheld controller 108. The handheld controller 108 is operated by user A to generate input data 116.
[0038] The input data 116 is sent from the handheld controller 108 to the computing device 104 via a wired or wireless connection. The computing device 104 applies a network communication protocol, such as the Internet Protocol or the Transmission Control Protocol (TCP) / IP protocol, to package the input data to generate one or more data packets and sends the one or more data packets to one or more of the servers A, B, and C via the computer network 102. One or more of the servers A, B, and C apply the network communication protocol to obtain the input data 116 from the data packets. One or more of the servers A, B, and C execute a game program to analyze the input data 116 to generate one or more image frames of the virtual scene 110, in which the character C1 representing the artificial intelligence model AI1A is shooting the virtual object 112 instead of another virtual object 114 in the virtual scene 110. For example, when the user A generates the input data 116 using the handheld controller 108, one or more of the servers A, B, and C determine that the character C1 representing the artificial intelligence model AI1A shoots the virtual object 112 before shooting the virtual object 114 in the virtual scene 110, so as to generate one or more image frames to display the virtual scene 110.
[0039] Examples of virtual objects include virtual characters, game characters, virtual weapons, virtual vehicles, virtual airplanes, virtual boxes, virtual balloons, and avatars representing users. Character C1 when controlled by artificial intelligence model AI1A is a non-player character (NPC). Virtual object 112 is a character that uses a virtual parachute and will land on the ground within virtual scene 110. Moreover, virtual object 114 is a character that will shoot character C1. Artificial intelligence model AI1A is associated with user account 1 through one or more of servers A, B and C, for example, mapped or linked to the user account. Similarly, another artificial intelligence model AI2 is associated with user account 2 through one or more of servers A, B and C, and another artificial intelligence model AI3 is associated with user account 3 through one or more of servers A, B and C.
[0040] One or more of the servers A, B, and C analyze the input data 116 to determine or identify one or more interaction patterns 119 of the character C1 associated with the input data 116. As an example, the determined or identified one or more interaction patterns 119 indicate that in the virtual scene 110, the character C1 shoots the virtual object 112 before shooting the virtual object 114. When the user A points to the virtual object 112 using the joystick of the handheld controller 108 and selects a button on the handheld controller 108 to shoot at the virtual object 112, the character C1 shoots the virtual object 112. In the virtual scene 110, the character C1 representing the artificial intelligence model AI1A faces the virtual object 112 that will land, and also faces another virtual object 114 that will shoot the character C1. As another example, the determined one or more interaction patterns 119 indicate that for most instances of the virtual scene in which the character C1 faces a virtual object that is flying and also faces another virtual object that will shoot the character C1, the character C1 is more likely to shoot the flying virtual object before shooting the other virtual object.
[0041] One or more of the servers A, B, and C store one or more interaction patterns 119 in one or more memory devices of one or more of the servers A, B, and C as a training program for training the artificial intelligence model AI1A. For example, one or more interaction patterns 119 are provided as input to the artificial intelligence model AI1A so that the artificial intelligence model AI1A can learn from the one or more interaction patterns 119, and the artificial intelligence model AI1A applies the learned method or operation to a new virtual scene different from the virtual scene 110. The new virtual scene is displayed from an image frame generated by executing the game program by one or more of the servers A, B, and C. The learned method or operation can also be applied to a virtual scene similar to or the same as the virtual scene 110.
[0042] One or more of the servers A, B, and C apply a network communication protocol to package one or more image frames of the virtual scene 110, wherein the character C1 shoots the virtual object 112 instead of the virtual object 114 to generate one or more data packets, and sends the data packets to the computing device 104 via the computer network 102. The computing device 104 applies the network communication protocol to unpack the one or more data packets to obtain one or more image frames, and sends the one or more image frames to the HMD 106 via a wired or wireless connection to display the virtual scene 110 illustrating the shooting on the display device of the HMD 106.
[0043] In an embodiment, one or more of the servers A, B, and C associate one or more interaction patterns 119 with a virtual scene 110 having a character C1, a virtual object 112, and a virtual object 114, or with another virtual scene similar to the virtual scene 110 in which one virtual object is flying and another virtual object is about to land on a virtual ground. For example, one or more of the servers A, B, and C generate identifiers of one or more interaction patterns 119, and establish a mapping, such as a one-to-one correspondence or link, between the identifiers of the one or more interaction patterns 119 and the identifiers of the virtual scene 110. The mapping is stored in one or more memory devices of one or more servers A, B, and C for access by the artificial intelligence model AI1A for training.
[0044] In one embodiment, the HMD 106 communicates with the computer network 102 via a wireless network interface controller (WNIC) and the computing device 104 of the HMD 106 need not communicate with the computer network 102 .
[0045] In an embodiment, the HMD or computing device described herein communicates with one or more of servers A, B, and C via a computer network 102 using a fifth generation (5G) network protocol. Like early second generation (2G), third generation (3G), and fourth generation (4G) mobile networks, a 5G network is a digital cellular network in which the service area covered by the provider is divided into a mosaic of small geographic areas called cells. Analog signals representing sound and images are digitized in the computing device or HMD by conversion by an analog-to-digital converter in the computing device or HMD, and transmitted as a bit stream to one or more of servers A, B, and C via a computer network 102. All 5G wireless devices (including computers or HMDs) in the cell have transceivers that communicate with local antenna arrays and low-power automatic transceivers in the cell via radio waves through frequency channels, which are allocated by low-power automatic transceivers from a common frequency pool reused in geographically separated cells. Local antennas are connected to the telephone network and computer network 102 via high-bandwidth optical fiber or wireless backhaul connections. When the user crosses from one cell to another, the HMD or computing device is automatically and seamlessly switched to the antenna in the new cell. One advantage is that 5G networks achieve much higher data rates than previous cellular networks, achieving up to 10Gbit / s and 100 times faster than 4G Long Term Evolution (LTE) cellular technology.
[0046] In an embodiment, a computing device 104, such as a smartphone, is part of the HMD 106. For example, a display device of the computing device 104 is used as a display device of the HMD 106.
[0047] In one embodiment, instead of HMD 106, the game is displayed on computing device 104 or a television coupled to computing device 104 via a wireless or wired connection.
[0048] In an embodiment, instead of a handheld controller, one or more glove controllers or one or more ring controllers or no controller is used. For example, a glove controller is worn on the user's hand, and a ring controller is worn on the user's finger. When the controller is not in use, the user makes a gesture to one or more of his / her body parts, and the gesture is captured by an image capture device such as a camera. Examples of cameras include depth cameras, video cameras, and digital cameras. The image capture device is placed in the same real-world environment where the user is located, such as a room or warehouse or building or house. The camera is coupled to a computing device via a wired or wireless connection to transmit input data including gesture data for identifying gestures to servers A, B, and C via the computing device and computer network 102. In an embodiment where a computing device is not used, the camera includes a network interface controller such as a network interface card (NIC) or a wireless network interface card to communicate with servers A, B, and C.
[0049] In one embodiment, the HMD includes one or more cameras that capture gestures made by the user's hands to output gesture data.
[0050] In one embodiment, the operations described herein as being performed by one or more of servers A, B, and C are performed by one or more processors within one or more of the servers.
[0051] In an embodiment, all artificial intelligence models described herein, such as artificial intelligence models AI1A, AI2, and AI3, are executed by one or more of servers A, B, and C. For example, each server is a node of an artificial intelligence model. As another example, two or more servers form a node of an artificial intelligence model. The connection between any two servers is a connection between any two nodes of the artificial intelligence model. In one embodiment, the artificial intelligence described herein is a combination of one or more of servers A, B, and C and computer operations performed by one or more of servers A, B, and C. In an embodiment, the artificial intelligence models described herein learn from one or more interaction patterns, and the learned operations of the artificial intelligence models are applied by one or more of servers A, B, and C to achieve results.
[0052] It should be noted that all operations described herein with reference to the virtual scene 110 are equally applicable to multiple virtual scenes displayed on the HMD 106 .
[0053] Figure 1B1 is a diagram for illustrating an implementation scheme of training of an artificial intelligence model AI1A. One or more of the servers A, B, and C analyze the input data 116 to identify functions associated with the input data 116, such as f1, f2, f3 to fn. For example, the input data 116 is analyzed to determine that user A selects a button marked with X of the handheld controller 108 or user A moves a joystick in an upward direction, or user A slides his / her finger on the touch screen of the handheld controller 108, or user A makes a gesture. Examples of functions associated with the input data 116 include the selection of a button of the handheld controller 108 operated by user A or the movement of a finger on the screen or the directional or rotational movement of the joystick. For further explanation, examples of functions associated with the input data 116 include the selection of a button on the handheld controller 108, the movement of the joystick of the handheld controller 108 in one direction, a pointing gesture made by user A, and a shooting gesture made by user A, etc.
[0054] Each function f1 to function fn associated with the input data 116 is a different function or a different gesture performed by user A. For example, function f1 is a selection of a button labeled “O” on the handheld controller 108, and function f2 is a selection of another button labeled “X” on the handheld controller 108. As another example, function f1 is a pointing gesture of the index finger of the left hand of user A, and function f2 is a shooting gesture of the index and middle fingers of the left hand of user A.
[0055] Based on the functions associated with the input data 116 and the virtual scene 110, one or more of the servers A, B, and C determine the features of the virtual scene 110, such as fe1, fe2 to fen, and classify the features to output classifiers, such as Cl1, Cl2, Cl3 to Cln. An example of a feature of the virtual scene 110 is a character C1 that is moving and shooting. Another example of a feature of the virtual scene 110 is a virtual object 112 that is flying in the virtual air with a virtual parachute. Yet another example of a feature of the virtual scene 110 is a virtual object 114 holding a virtual gun. Examples of classifiers include functions or movements or operations or combinations thereof performed by the character C1 based on the operation of the handheld controller 108 or based on one or more gestures made by the user A. For example, examples of classifiers include the character C1 shooting the virtual object 112 or opening a treasure chest of the game or landing on a virtual building of the game or shooting a virtual plane in the game. To further illustrate, an example of the classifier Cl2 is that the character C1 moves toward the virtual object 112. An example of the classifier Cl3 is that the character C1 shoots the virtual object 112. An example of classifier Cl4 is that character Cl does not shoot virtual object 114, and an example of classifier Cln is that virtual object 114 shoots virtual object 114 after shooting virtual object 112. Each classifier identifies a movement or operation performed by character Cl when appearing in virtual scene 110. Each classifier Cl1 to Cln corresponds to a different function or movement or combination thereof performed by character C1 in virtual scene 110. For example, in virtual scene 110, classifier Cl1 is a shooting function and classifier Cl2 is a jumping function.
[0056] The classifier is provided to the artificial intelligence model AI1A as an AI input by one or more of the servers A, B, and C to train the artificial intelligence model AI1A. For example, the processor 118 identifies one or more interaction patterns 119 within the classifier of the virtual scene 110. By way of example, after determining that the character C1 shoots the virtual object 112 instead of the virtual object 114 when the character C1 is placed in the virtual scene 110 in which the virtual object 112 flies toward the character C1 and the virtual object 114 will shoot the character C1 according to the one or more interaction patterns 119, the one or more of the servers A, B, and C train the AI model AI1A to determine that when the character C1 faces the same situation or a similar situation in another execution instance of the game program, the character C1 will most likely first shoot or try to shoot the flying virtual object instead of shooting another virtual object on the ground. An example of a similar situation is a situation in which a virtual object is flying toward the character C1 and another virtual object is on the ground ready to shoot the character C1. Another example of a similar situation is a situation in which a predetermined number (e.g., a majority) of virtual objects are performing the same functions as those performed by virtual objects 112 and 114 in virtual scene 110. As another illustration, processor 118 trains AI model AI1A to determine that when character C1 is presented with a game instance in which character C1 is faced with shooting a virtual plane that is flying toward character C1 or a virtual weapon on the ground that will shoot character C1, character C1 will likely shoot the virtual plane that is flying toward character C1. As yet another illustration, processor 118 trains the neural network of AI model AI1A to determine that given an input in which a virtual object is flying toward character C1 and an input in which another virtual object will shoot character C1, the output will likely be that character C1 will first shoot the virtual object that is flying toward character C1 before shooting the other virtual object. As another illustration, one or more of servers A, B, and C train AI model AI1A by using a classifier to determine that given a different or new virtual scene in which no virtual objects are flying or attempting to shoot at character C1, character C1 will not shoot at any of the virtual objects, but will dance in front of them or exchange virtual weapons with them. An example of a different or new virtual scene is one in which a predetermined number (e.g., a majority) of virtual objects are performing functions different from those performed in the virtual scene 110. For example, the virtual objects in the new or different virtual scene are collecting wood or dancing and have no virtual weapons pointed at the character C1.
[0057] The identified one or more interaction patterns 119 are applied as AI input to the AI model AI1A by one or more of the servers A, B, and C. For example, the AI model AI1A is a set of computer operations executed by the processor 118 or by one or more of the servers A, B, and C. The set of computer operations is not written or coded by a human user, but is learned by the AI model AI1A from a virtual scene or from other AI models or from operations performed by a user via a handheld controller or gestures or from a game or a combination thereof.
[0058] Figure 2 is a diagram of an embodiment of a virtual scene 202 for illustrating training of an artificial intelligence model AI1A by an artificial intelligence model AI2. The virtual scene 202 is generated in a similar manner in which the virtual scene 110 is generated by one or more of the servers A, B, and C during game play. For example, an image frame for displaying the virtual scene 110 is generated by one or more of the servers A, B, and C and is sent to the HMD 106 via the computer network 102 and the computing device 104 to display the virtual scene 202 on the HMD 106. However, the artificial intelligence model AI1A does not need to display the virtual scene 202 or generate image frames about the virtual scene 202 to learn from the artificial intelligence model AI2.
[0059] Artificial intelligence model AI1A requests permission from artificial intelligence model AI2 to train itself based on artificial intelligence model AI2. For example, processor 118 executes artificial intelligence model AI1A to generate a request for permission and sends the request to artificial intelligence model AI2 via user account 2. Upon receiving the request for permission via user account 2, one or more of servers A, B, and C determine whether to grant the request. For example, user B uses a handheld controller to send data to one or more of servers A, B, and C, indicating that artificial intelligence model AI2 is not granted access rights to other users, or is granted access rights to a selected user group, or is granted access rights to a private user group, or is granted access rights to all users requesting access, or is granted access rights to all users regardless of whether the user requests access to artificial intelligence model AI2. The data regarding the indication of access to the artificial intelligence model is associated with user account 2, for example, linked to or mapped to the user account. Artificial intelligence model AI2 is associated with user account 2 and is created by user B in a manner similar to the manner in which user A created artificial intelligence model AI1A.
[0060] When it is determined that the request is granted, one or more additional patterns 204 or additional classifiers of the artificial intelligence model AI2 are sent from one or more of the servers A, B, and C executing the artificial intelligence model AI2 to one or more of the servers A, B, and C executing the artificial intelligence model AI1A. The one or more additional patterns 204 used to train the artificial intelligence model AI2 are interactive patterns and are created by one or more of the servers A, B, and C in a manner similar to the one or more interactive patterns 119 created by one or more of the servers A, B, and C and other interactive patterns of the artificial intelligence model AI1A. The one or more additional patterns 204 are applied by one or more of the servers A, B, and C to train the artificial intelligence model AI2.
[0061] Upon receiving one or more additional patterns 204, one or more of servers A, B, and C provide the one or more additional patterns 204 as AI input to the artificial intelligence model AI1A to train the artificial intelligence model AI1A based on the one or more additional patterns 204. The artificial intelligence model AI1A learns from the one or more additional patterns 204. For example, instead of controlling the character C1 to shoot the virtual object 112 that is flying towards the character C1, the artificial intelligence model AI1A learns to control the character C1 to open the virtual object 206, such as a virtual box or a virtual container, after the virtual object 206 lands on the virtual ground. The virtual object 206 includes virtual weapons such as guns and bullets, as well as virtual medicines and bandages. The character C2 controlled by the artificial intelligence AI2 assigned to the user account 2 also applies one or more additional patterns 204 to open the virtual object 206. As shown in the figure, the virtual object 206 is a box attached to a balloon. The character C2 when controlled by the artificial intelligence model AI2 is an NPC.
[0062] In one embodiment, the artificial intelligence model AI2 has additional types of training described herein, such as by self-training, or training from other artificial intelligence models, or training from new virtual scenarios.
[0063] In an embodiment, some characters in the game are controlled by users, and the remaining characters in the game are NPCs controlled by corresponding artificial intelligence models.
[0064] Figure 3-11 is a diagram for illustrating an embodiment of a virtual scene 110 in which an artificial intelligence model AI1A is self-trained. For example, regardless of whether user A logs into user account 1, artificial intelligence model AI1A learns from one or more other modes 302 as interaction modes to improve the skill level associated with user account 1. By way of example, when user A logs out of user account 1, artificial intelligence model AI1A logs into user account 1 and requests processor 118 to execute a game program. When executing the game program, artificial intelligence model AI1A determines that the skill level of the game, such as the game score or the game level or the number of virtual coins, will increase when character C1 is placed in a virtual scene 110 and character C1 first shoots virtual object 114 before shooting virtual object 112. One or more other modes 302 indicate that when a virtual scene 110 in which virtual object 112 is flying toward character C1 and virtual object 114 is about to shoot character C1 is presented to character C1, character C1 should first shoot virtual object 114 before shooting virtual object 112 to improve the skill level associated with user account 1. The skill level is an improvement over another skill level associated with user account 1 and is an example of an AI output of artificial intelligence model AI1A. The other skill level corresponds to training artificial intelligence model AI1A by applying one or more interaction patterns 119, such as relative to Figure 1A-2 and Figure 1B As shown, the artificial intelligence model AI1A trains itself by applying one or more other patterns 302 as AI inputs, which are inputs to the AI model AI1A.
[0065] As another illustration, when user A logs into user account 1 and virtual scene 110 is displayed on the display device of HMD 106, user A controls handheld controller 108 to shoot virtual object 112 first, instead of shooting virtual object 114. Artificial intelligence model AI1A applies machine learning to determine that when character C1 shoots virtual object 114 before shooting virtual object 112 to learn from one or more other patterns 302, the skill level associated with user account 1 increases.
[0066] Figure 3-2 3 is a diagram for illustrating an embodiment in which artificial intelligence model AI1A performs analysis to determine that applying one or more other patterns 302 as AI inputs produces better results or outcomes than applying one or more interaction patterns 119 as AI inputs. When artificial intelligence model AI1A is trained to apply one or more interaction patterns 119, multiple outputs O1, O2 to On are generated during execution of a game program by one or more of servers A, B, and C. Examples of each of the outputs O1, O2 to On include points accumulated during execution of the game program, virtual character kills accumulated during execution of the game program, and the health level of character C1.
[0067] Similarly, when the artificial intelligence model AI1A is trained to apply one or more other modes 302, multiple outputs O11, O12 to O11n are generated during the execution of the game program by one or more of the servers A, B, and C. Examples of each output O11, O12 to O11n include points accumulated during the execution of the game program, the number of virtual character kills accumulated during the execution of the game program, and the health level of the character C1. The artificial intelligence model AI1A learns by applying one or more other modes 302 during the execution of the game program to achieve the outputs O11 to O11n, and determining that the skill level corresponding to the outputs O11 to O11n is greater than the skill level corresponding to the outputs O1 to On. When determining that the skill level corresponding to the outputs O11 to O11n is greater than the skill level corresponding to the outputs O1 to On, the artificial intelligence model AI1A determines to apply one or more other modes 302 instead of one or more interaction modes 119.
[0068] During the execution of the additional instance of the game program, the artificial intelligence model AI1A applies one or more other modes 302 instead of applying the interaction mode 119. For example, during the execution of the additional instance of the game program, when a virtual scene in which a virtual character will shoot the character C1 and another virtual character will land in front of the character C1 is displayed on the HMD 106, the artificial intelligence model AI1A controls the character C1 to first shoot the character that will shoot the character C1 and then shoot the virtual character that will land.
[0069] In one embodiment, the artificial intelligence model AI1A requests permission from user A before applying one or more interaction modes described herein. For example, during the display of the virtual scene 110, one or more of the servers A, B, and C generate an image frame including a request for permission, and apply a network communication protocol to package the image frame to generate one or more data packets, and send the data packets to the computing device 104 via the computer network 102. The computing device 104 unpacks the data packets to obtain the image frame using the network communication protocol, and sends the image frame to the HMD 106 via a wired or wireless connection to display the request for permission. User A uses the handheld controller 108 to indicate whether to grant or deny the request. Upon receiving an affirmative indication of granting the request, the computing device 104 packages the affirmative indication to generate one or more data packets, which are sent by the computer network 102 to one or more servers A, B, and C. One or more servers A, B, and C apply the network communication protocol to the data packets to obtain the affirmative indication and send the affirmative indication to the artificial intelligence model AI1A. Upon receiving the affirmative indication, the artificial intelligence model AI1A applies one or more interaction modes.
[0070] On the other hand, upon receiving a negative indication of rejecting the request, the computing device 104 packages the negative indication to generate one or more data packets, which are sent by the computer network 102 to one or more servers A, B, and C. The one or more servers A, B, and C apply the network communication protocol to the data packets to obtain the negative indication and send the negative indication to the artificial intelligence model AI1A. Upon receiving the negative indication, the artificial intelligence model AI1A does not apply one or more interaction modes.
[0071] Figure 4 4 is a diagram for illustrating an embodiment of a new virtual scene 400 for training an artificial intelligence model AI1A. The new virtual scene 400 is generated when one or more of servers A, B, and C execute a game program to generate one or more image frames and apply a network communication protocol to package the image frames to generate one or more data packets. As an example, the artificial intelligence model AI1A requests one or more of servers A, B, and C to execute a game program to generate one or more image frames to display the new virtual scene 400. The data packets are sent to the computing device 104 via the computer network 102 by one or more of servers A, B, and C. The computing device 104 extracts the image frames from the data packets and sends the image frames to the HMD 106 to display the virtual scene 400 using the network communication protocol. The virtual scene 400 includes a character C1, a virtual object 112, and another virtual object 402, but does not include a virtual object 114. The virtual object 402 is an airplane, and the virtual object 404 sits in it and shoots at the character C1. The virtual object 404 uses the virtual gun of the virtual object 402 to shoot at the character C1. The virtual scene 400 is not presented to the user A during the game play. For example, the user A has not yet reached a certain level during the execution of the game program, and the level includes the virtual objects 402 and 404.
[0072] The artificial intelligence model AI1A, which has learned from any interaction mode described herein, such as one or more interaction modes 119, one or more additional modes 204, or one or more other modes 302, or a combination thereof, applies its learned operation to control the character C1 to first shoot at the virtual object 402 or virtual object 404, rather than shooting the virtual object 112. For example, the artificial intelligence model AI1A determines that by first shooting at one or more of the virtual objects 402 and 404, the skill level associated with the user account 1 is improved compared to the skill level achieved by first shooting the virtual object 112. The improved skill level is an example of the reaction data 406. For example, the improved skill level includes an amount of virtual coins corresponding to the user account 1, a virtual score corresponding to the user account 1, or a combination thereof.
[0073] Based on the reaction data 406, the artificial intelligence model AI1A determines or learns to follow one or more additional interaction patterns 408 to help achieve a higher skill level. Examples of the one or more additional interaction patterns 408 include first shooting at the virtual object 402 or the virtual object 404, and then shooting at the virtual object 112. Upon determining so, the artificial intelligence model AI1A trains itself to apply the one or more additional interaction patterns 408 during the next or subsequent instance of executing the game program. For example, when faced with an instance of game program execution in which a flying virtual vehicle is approaching the character C1 while the virtual character is about to land on the virtual ground, the artificial intelligence model AI1A controls the character C1 to first shoot at the flying virtual vehicle, and then shoot at the virtual character that is now on the virtual ground.
[0074] When a new virtual scene 400 is presented to the artificial intelligence model AI1A, the artificial intelligence model AI1A uses a method similar to that described above. Figure 3-2 The artificial intelligence model AI1A trains itself in the manner described. For example, when presented with a new virtual scene 400, the artificial intelligence model AI1A determines whether shooting down the virtual object 402 or the virtual object 404 before shooting the virtual object 112 improves the game level, such as increasing the virtual points or game score in the game. The improvement in game level is higher than the amount of improvement in game level when the character C1 first shoots the virtual object 112 before shooting the virtual object 402 or 404. When determining that this is the case, the artificial intelligence model AI1A learns to first shoot the flying virtual airplane before shooting the flying virtual character attached to the parachute. On the other hand, when determining that the improvement in game level is lower than the amount of improvement in game level when the character C1 first shoots the virtual object 112 (compared to shooting the virtual object 402 or 404), the artificial intelligence model AI1A learns to first shoot the flying virtual character attached to the parachute instead of shooting the flying virtual airplane.
[0075] Figure 5A is a diagram for illustrating an embodiment in which artificial intelligence model AI1A can apply any skill level ranging from 1 to 5 during a match of a game. As an example, all training of artificial intelligence model AI1A described herein is performed to train artificial intelligence model AI1A to compete with artificial intelligence model AI3 in a game. In the match, one or more virtual objects or virtual characters of the game compete to achieve victory in the game, a predetermined number of kills against other virtual characters in the game, a predetermined number of virtual points in the game, or survival, or a combination thereof. All skill levels 1 to 5 are stored in a data file, which is stored in one or more memory devices of one or more of servers A, B, and C. An example of skill level 1 is the skill level of user A before training artificial intelligence model AI1A, such as Figure 1A-2 and Figure 1BAs shown in , and an example of skill level 2 is the skill level after user A trains the artificial intelligence model AI1A. An example of skill level 2 is the skill level before the artificial intelligence model AI1A is trained by the artificial intelligence model AI2, as shown in Figure 2 As shown in , and an example of skill level 3 is the skill level of artificial intelligence model AI1A after being trained by artificial intelligence model AI2. Moreover, an example of skill level 3 is the skill level of artificial intelligence model AI1A before self-training, such as Figure 3-1 , and an example of skill level 4 is the skill level of the artificial intelligence model AI1A after self-training. An example of skill level 4 is Figure 4 The new scenario 400 shown in FIG. 4 is used for the skill level before training the artificial intelligence model AI1A, and the example of skill level 5 is the skill level after the new scenario 400 is used to train the artificial intelligence model AI1A. One or more of servers A, B, and C assign skill levels 1 to 5 to, for example, map to or link to, the artificial intelligence model AI1A.
[0076] Skill level 2 is greater than skill level 1. In addition, skill level 3 is greater than skill level 2, skill level 4 is greater than skill level 3, and skill level 5 is greater than skill level 4. For example, skill level 1 is a low skill level, skill level 2 is a medium skill level, skill level 3 is a high skill level, skill level 4 is an excellent skill level, and skill level 5 is an optimal skill level. The artificial intelligence model AI1A accesses any one of skill levels 1 to 5 from the data file to apply during execution of the game program. The skill level of the artificial intelligence model AI1A increases with time t.
[0077] In one embodiment, Figure 5A The skill level shown in is the skill level of artificial intelligence model AI1A, and is also the skill level associated with user account 1.
[0078] In an embodiment, artificial intelligence model AI1A competes with artificial intelligence model AI3, which controls character C3.
[0079] In one embodiment, user account 3 and artificial intelligence model AI3 are assigned to user C instead of user B.
[0080] Figure 5B5 is a diagram of an embodiment of a virtual scene 508 in which a character C1 competes with a character C3 during the execution of a game program. The character C3 controlled by the artificial intelligence AI3 assigned to the user account 3 applies one or more interaction modes similar to the interaction modes described herein to compete with the character C3. The character C3 when controlled by the artificial intelligence model AI3 is an NPC. User C logs in to his / her user account 3 to access the virtual scene 508. The virtual scene 508 is displayed on the HMD 106 and the HMD 510 to provide a shared virtual environment. User C wears the HMD 510 on his or her head in a similar manner to the way that the user A wears the HMD 106 on his or her head. In the virtual scene 508, the user C controls the character C3 by using the handheld controller 512, or the artificial intelligence model AI3 controls the character C3, and the user A controls the character C1 by using the handheld controller 108, or the artificial intelligence model AI1A controls the character C1. The characters C1 and C3 compete or confront each other during the execution of the game program to obtain multiple virtual rewards in the game, such as the number of virtual coins or virtual points or the number of kills or the game level.
[0081] User C selects a skill level similar to the skill level 3 applied by character C3 or artificial intelligence model AI3 via the handheld controller 512. For example, user C selects the skill level of character C3 by selecting a button on the handheld controller 512 during the match. Data indicating the selection is sent to the computing device 514 via a wired or wireless connection between the handheld controller 512 and the computing device 514. The computing device 514 applies a network communication protocol to package the selection data to generate one or more data packets, and sends the data packets to one or more servers A, B, and C via the computer network 102. One or more of the servers A, B, and C receive the data packets and apply the network communication protocol to the data packets to obtain the selection data, and analyze the selection data to determine the skill level that user C wishes to apply to character C3, and the artificial intelligence model AI3 selects one or more interaction modes corresponding to the skill level selected by user C to be applied during the match. One or more of the servers A, B, and C apply the artificial intelligence model AI3 to further apply the one or more interaction modes corresponding to the skill level selected by user C. For example, when character C3 is in Figure 2 When in the virtual scene 202 , character C3 will access virtual object 206 instead of shooting at virtual object 112 .
[0082] Artificial intelligence model AI1A sends a request to artificial intelligence model AI3 to determine the skill level of character C3. For example, one or more of servers A, B, and C that apply or execute artificial intelligence model AI1A send a request with the identification of user account 3, the identification of character C3, and the identification of the game session executed by the game program to one or more of servers A, B, and C that apply or execute artificial intelligence model AI3. Artificial intelligence model AI3 executed by one or more of servers A, B, and C receives the identification of user account 3, character C3, and game session through a request to determine that the request corresponds to user account 3, character C3, and game session and is used to identify the skill level of character C3. Artificial intelligence model AI3 accesses a database stored in one or more memory devices of one or more servers A, B, and C to determine whether user account 3 has the right to provide the skill level of character C3 to artificial intelligence model AI1A. For example, user C uses handheld controller 512 to provide permission to all artificial intelligence models or one or more specific artificial intelligence models to access the skill level of character C3. The permission is sent from handheld controller 512 to computing device 514 via a wired or wireless connection. The computing device 514 applies a network communication protocol to package the license generating one or more data packets, and sends the one or more data packets to one or more servers A, B and C via the computer network 102. The one or more servers A, B, C associate the license with the artificial intelligence model AI3 or the user account 3, for example, establishing a link or a one-to-one correspondence or mapping between the license and the artificial intelligence model AI3 or the user account 3.
[0083] Upon determining that artificial intelligence model AI1A is allowed to access the skill level of character C3, artificial intelligence model AI3 provides permission to artificial intelligence model AI1A. Upon receiving the permission from artificial intelligence model AI3, artificial intelligence model AI1A determines to apply skill level 3 to character C1 during the match. Skill level 3 is similar or substantially the same as the skill level of character C3. As an example, the skill levels are substantially the same or similar when they are within a predetermined range from each other. By way of example, skill level 2.5 is within a predetermined range from skill level 2, and skill level 3.4 is within a predetermined range from skill level 3. Artificial intelligence model AI1A accesses a mode corresponding to skill level 3 of character C3, such as one or more additional modes 204. Artificial intelligence model AI1A applies the mode corresponding to skill level 3 to character C1 during the match within the game.
[0084] In one embodiment, user C selects a skill level of character C3 by gestures during the game. Data indicating the gestures are captured by a camera placed in the real-world environment where user C is located and sent to computing device 514 via a wired or wireless connection between the camera and computing device 514. Computing device 514 applies a network communication protocol to package the gesture data to generate one or more data packets, and sends the data packets to one or more servers A, B, and C via computer network 102. One or more of servers A, B, and C receive the data packets and apply the network communication protocol to the data packets to obtain the gesture data, and analyze the gesture data to determine the skill level that user C wishes to apply to character C3, and artificial intelligence model AI3 selects one or more interaction modes corresponding to the skill level selected by user C to be applied during the game.
[0085] In an embodiment, each of the artificial intelligence models AI1A and AI3 collects output data during a match, such as information including game scores or virtual points, and determines, based on the output data, a pattern that will help train the artificial intelligence model to win the match. For example, during a match, the data received by the artificial intelligence model AI1A is that the character C3 controlled by the artificial intelligence model AI3 jumps when being shot in most cases. The artificial intelligence model AI1A determines from the data the interaction pattern in which the artificial intelligence model AI3 controls the character C3 to jump. The artificial intelligence model AI1A learns that by controlling the character C1 to jump when the character C3 jumps, the character C3 can be easily killed. During the next match, the artificial intelligence model AI1A applies its learned operations to control the character C1 to jump and shoot at the character C3 when the character C3 jumps.
[0086] Figure 5C 5 is an embodiment of a virtual scene 508 for illustrating that users A and B watch a match between characters C1 and C3 without controlling characters C1 and C3. For example, during the match, artificial intelligence model AI1A controls character C1, and artificial intelligence model AI3 controls character C3. For example, during the match, artificial intelligence model AI1A applies one or more interaction modes 119, or one or more additional modes 204, or one or more other modes 302, or one or more additional interaction modes 408, or a combination thereof to control character C1. Similarly, during the match, artificial intelligence model AI3 applies one or more interaction modes corresponding to user account 3 and artificial intelligence model AI3 to control character C3.
[0087] User A does not control character C1 via handheld controller 106 or by using gestures, and user C does not control character C3 via handheld controller 512 or by using gestures. For example, no input data is sent from handheld controller 106 to one or more of servers A, B, and C via computing device 104 and computer network 102 to control the movement or action performed by character C1, such as shooting or exploring or retrieving or obtaining or searching. Moreover, no input data is sent from handheld controller 512 to one or more of servers A, B, and C via computing device 514 and computer network 102 to control the movement or action performed by character C3. Users A and C passively watch the game via their corresponding HMDs 106 and 510 without controlling the corresponding characters C1 and C3. Characters C1 and C3 are controlled by corresponding artificial intelligence models AI1A and AI3 without receiving input data. When users do not use handheld controllers or do not make gestures, no input data is generated.
[0088] Figure 6 is a schematic diagram of an embodiment of a system 600, showing a notification 510 displayed on a display device of an HMD 602 to indicate to user C that user A cannot play the game, but that artificial intelligence model AI1A can play the game with user C. User C selects one or more buttons on a handheld controller 512 to generate input data, the input data including a request and identification of a user account 3 to be sent to user A via user account 1 to play the game. The input data is sent from the handheld controller 512 to a computing device 514 via a wired or wireless connection. The computing device 514 applies a network communication protocol to the input data to generate one or more data packets with the input data, and sends the data packets to user account 1 via the computer network 102, the user account having user account information stored in one or more memory devices of one or more of servers A, B, and C.
[0089] When the user account 1 receives the request, the user A logs out of the user account 1 and no longer plays the game. For example, the user A logs out of the user account 1 by selecting a logout button displayed on the display device of the HMD 106 using the handheld controller 108. When the logout button is selected, input data indicating the selection of the logout button is generated by the handheld controller 108 and sent from the handheld controller 108 to the computing device 104 via a wired or wireless connection. The computing device 104 packages the input data to generate one or more data packets and sends the data packets to one or more of the servers A, B, and C through the computer network 102 to indicate to one or more of the servers A, B, and C that the user A has logged out of the user account 1. As another example, the user A logs out of the user account by selecting a power off button on the computing device 104.
[0090] One or more of the servers A, B, and C generate a response to the request received from the user account 3 to instruct the user A to log out of the user account 1, and the artificial intelligence model AI1A corresponding to (e.g., linked to or mapped to) the user account 1 can play the game. One or more of the servers A, B, and C apply the network communication protocol to the response to generate one or more data packets and send the data packets to the computing device 514 via the computer network 102. The computing device 514 applies the network communication protocol to the data packets to obtain a response from the data packets and sends data for displaying the response to the HMD 510 via a wired or wireless connection.
[0091] HMD 510 displays the response as a notification 610 to indicate to user C that user A cannot play the game, and that artificial intelligence model AI1A can play the game instead. Notification 610 also includes a question to user C whether user C wants artificial intelligence model AI1A to play the game on behalf of user A. User C selects one or more buttons on handheld controller 512 to provide answers to the questions to generate input data, which is sent from handheld controller 512 to computing device 514 via a wired or wireless connection. Computing device 514 applies a network communication protocol to package the input data including the answer to generate one or more data packets and sends the data packets to user account 1 stored in one or more of servers A, B, and C via computer network 102. One or more of servers A, B, and C apply the network communication protocol to the data packets to obtain data including the answer, and send the answer to artificial intelligence model AI1A.
[0092] Upon receiving the answer, artificial intelligence model AI1A plays a game with user C. For example, one or more servers A, B, and C trained based on one or more interaction patterns 119, one or more additional patterns 204, or one or more other patterns 302, or one or more additional interaction patterns 408, or a combination thereof, apply the methods they learned from the training to play a game with user C.
[0093] Figure 7is a diagram for illustrating an embodiment of selecting an artificial intelligence model AI1A from a plurality of artificial intelligence models AI1A, AI2A, AI3A, all of which correspond to a user account 1. For example, the artificial intelligence model AI2A is trained based on one or more interaction patterns to control another character C11 during the execution of a game program, and the artificial intelligence model AI3A is trained based on one or more interaction patterns to control another character C12 during the execution of the game program. As another example, the artificial intelligence model AI1A controls the character C1 with a skill level 2, the artificial intelligence model AI2A controls the character C1 with a skill level 3 or 4, and the artificial intelligence model AI3A controls the character C1 with a skill level 5. The artificial intelligence models AI2A and AI3A are generated in a manner similar to that of the artificial intelligence model AI1A and are executed by one or more of the servers A, B, and C.
[0094] One or more servers A, B, and C generate one or more image frames including data for displaying the virtual scene 702. One or more of the servers A, B, and C apply a network communication protocol to the image frames to generate one or more data packets and send the data packets to the computing device 104 via the computer network 102. The computing device 104 applies the network communication protocol to the data packets to obtain image frames, and sends the image frames to the HMD 106 via a wired or wireless connection to display the virtual scene 702 on a display device of the HMD 106.
[0095] While seeing the virtual scene 702 during the execution of the game program, user A uses the handheld controller 108 to select one or more buttons to select the artificial intelligence model AI1A to play the game. Input data including the selection is sent from the handheld controller 108 to the computing device 104 via a wired or wireless connection. The computing device 104 applies a network communication protocol to package the selection to generate one or more data packets and sends the data packets to one or more of the servers A, B, and C via the computer network 102.
[0096] One or more of the servers A, B, and C apply the network communication protocol to the data packets to obtain the selection and determine to apply the artificial intelligence model AI1A to play the game. Similarly, the user A selects other artificial intelligence models AI2A and AI3A via the handheld controller 108. When the artificial intelligence model AI1A is applied, the character C1 is controlled by the artificial intelligence model AI1A during the execution of the game program.
[0097] In an embodiment, one of the artificial intelligence models AI1A, AI2A, and AI3A is selected by user A by making a gesture, which is captured by a camera in a real-world environment to generate gesture data. The gesture data is sent from the camera to computing device 104 via a wired or wireless connection between the camera and computing device 104. Computing device 104 generates one or more data packets including the gesture data and sends the data packets to one or more of servers A, B, and C via computer network 102.
[0098] Fig. 8A 8 is a diagram of an embodiment of a system 800 for illustrating the capture of gestures made by user A during execution of a game program to allow artificial intelligence model AI1A to apply gestures to character C1. System 800 includes HMD 106, handheld controller 108, camera 802, computing device 104, computer network 102, and servers A, B, and C.
[0099] The camera 802 is coupled to the computing device via a wired or wireless connection. During the game, user A makes one or more gestures. For example, after killing the virtual character in the game, the user 106 raises his / her right hand in the air and shouts "Yes! I win". The camera 802 records the one or more gestures made by the user A during the execution of the game program to generate gesture data 804, which is an example of input data, and the camera sends the gesture data 804 to the computing device 104 via a wired or wireless connection. The gesture data 804 includes audio data and video data.
[0100] The computing device 104 applies the network communication protocol to the gesture data 804 to generate one or more data packets, and sends the data packets to one or more of the servers A, B, and C executing the game program via the computer network 102. One or more of the servers A, B, and C apply the network communication protocol to obtain the gesture data 804 from the data packet, and apply the gesture data to train the artificial intelligence model AI1A. For example, one or more of the servers A, B, and C recognize the pattern 808 from the gesture data 804 and integrate (e.g., add) the pattern 808 into its method of learning from one or more interaction patterns 119, one or more additional patterns 204, one or more other patterns 302, and / or one or more additional interaction patterns 408 to train the artificial intelligence model AI1A. For example, one or more of the servers A, B, and C train the artificial intelligence model AI1A to move the right hand or left hand of the character C1 in the air and to say the words "Yes! I win" or "I win!" or "Yeah!" or "Very good!" after killing a virtual character in the game, or after shooting at and destroying a flying virtual vehicle in the game, or after winning virtual points in the game, or after increasing the health level during the execution of the game program. As another example, one or more of the servers A, B, and C train the artificial intelligence model AI1A to control the character C1 to dance after killing or winning virtual points in the game, or after increasing the health level in the game, and to control the character C1's mouth to say one or more words.
[0101] Figure 8B820 is a diagram of an embodiment of a virtual scene 820 displayed on the HMD 106 worn by user A to show that the character C1 performs actions similar to those of user A during game play. As illustrated in the virtual scene 820, during the execution of the game, after reaching a game level or virtual points or virtual coins or health level, the character C1 raises his right hand and outputs a sound indicating "I win!" For example, one or more of servers A, B, and C determine that during the execution of the game, the character C1 has won virtual points or reached a game level or improved its health level. When determining so, one or more of servers A, B, and C apply artificial intelligence model AI1A to generate one or more image frames and audio frames that are similar to the actions performed by user A after winning, such as killing or winning points or achieving a game level or health level. The image frames and audio frames are packaged by one or more of servers A, B, and C by applying a network communication protocol to generate one or more data packets. One or more of servers A, B, and C send data packets with image frames and audio frames to computing device 104 via computer network 102. The computing device 104 uses the network communication protocol to obtain the image frame and the audio frame from the data packet, and sends the image frame and the audio frame to the HMD 106 via a wired or wireless connection. The display device of the HMD 106 displays the image frame to display a virtual scene 820, and the virtual scene includes the character C1 raising his right hand to celebrate victory. In addition, the audio device of the HMD 106 includes one or more audio amplifiers coupled to one or more audio speakers, and the audio device processes the audio frame to output the sound emitted by the character C1.
[0102] In an embodiment, any of the interaction modes described herein is used to train the AI model described herein, or to help the AI model learn to generate a learned method. The AI model applies its learned method to output a decision, such as an AI output, and the user cannot control the AI model when applying the learned method to output the decision. For example, applying the decision to a new virtual scene.
[0103] Although the embodiments described herein are described with reference to virtual scenes, in one embodiment, the embodiments are also applicable to augmented reality (AR) scenes. For example, character C1 is controlled by artificial intelligence model AI1A in the AR scene displayed on HMD 106, and character C3 is controlled by artificial intelligence model AI3 in the AR scene displayed on HMD 510. Data including a portion of the AR scene displayed on the HMD is captured by a camera in the same real-world environment where the user wearing the HMD is located. The portion of the AR scene is a portion of the real-world environment in front of the user. The data is sent from the camera to the computing device via a wired or wireless connection. The computing device applies a network communication protocol to package the data to generate one or more data packets, and sends the data packets to one or more of servers A, B, and C via computer network 102. One or more of servers A, B, and C apply artificial intelligence model AI1A to generate one or more image frames to overlay character C1 on the data captured by the camera coupled to the computing device 104. Similarly, one or more of servers A, B, and C apply artificial intelligence model AI3 to generate one or more image frames to overlay character C3 on the data captured by the camera coupled to the computing device 514. The image frames are packaged by one or more of the servers A, B, and C, and are sent by the computer network 102 to the corresponding computing devices 104 and 514. The computing device 104 obtains the image frames from the data packets using a network communication protocol and sends the image frames to the HMD 106 to display the AR scene on the HMD 106. The AR scene displayed on the HMD 106 includes a portion of the real-world environment where the user A is located and a character C1 overlaid on the data of the real-world environment. Similarly, the computing device 514 obtains the image frames from the data packets using a network communication protocol and sends the image frames to the HMD 512 to display the AR scene on the HMD 512. The AR scene displayed on the HMD 512 includes a portion of the real-world environment where the user C is located and a character C3 overlaid on the data of the real-world environment.
[0104] It should be noted that in various embodiments, one or more features of some embodiments described herein are combined with one or more features of one or more of the remaining embodiments described herein.
[0105] The embodiments described in this disclosure may be practiced with various computer system configurations including handheld devices, microprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframe computers, etc. In one embodiment, the embodiments described in this disclosure are practiced in a distributed computing environment where tasks are performed by remote processing devices over wired or wireless network links.
[0106] In view of the above embodiments, it should be understood that, in one embodiment, the embodiments described in the present disclosure adopt various computer-implemented operations involving data stored in a computer system. These operations are those operations that require physical manipulation of physical quantities. Any operation described herein that forms a part of the embodiments described in the present disclosure is a useful machine operation. Some embodiments described in the present disclosure also relate to devices or equipment for performing these operations. The equipment is specially constructed for the desired purpose, or the equipment is a general-purpose computer selectively activated or configured by a computer program stored in a computer. Specifically, in one embodiment, various general-purpose machines are used together with computer programs written according to the teachings of this article, or it may be more convenient to construct more specialized equipment to perform the desired operations.
[0107] In an embodiment, some embodiments described in the present disclosure are embodied as computer-readable codes on a computer-readable medium. A computer-readable medium is any data storage device that stores data, which is then read by a computer system. Examples of computer-readable media include hard disk drives, network-attached storage devices (NAS), read-only memories (ROMs), random access memories (RAMs), compact disk ROMs (CD-ROMs), recordable CDs (CD-Rs), rewritable CDs (CD-RWs), magnetic tapes, optical data storage devices, non-optical data storage devices, etc. As an example, a computer-readable medium includes a computer-readable tangible medium distributed on a network-coupled computer system, so that computer-readable codes are stored and executed in a distributed manner.
[0108] Furthermore, although some of the above-described embodiments are described with respect to a gaming environment, in some embodiments, other environments are used instead of gaming, such as a video conferencing environment or the like.
[0109] Although the method operations are described in a particular order, it should be understood that other housekeeping operations may be performed between the operations, or the operations may be adjusted so that they occur at slightly different times, or the operations may be distributed in a system that allows processing operations to occur at various intervals associated with the processing as long as the processing of the superimposed operations is performed in the desired manner.
[0110] Although the foregoing embodiments described in the present disclosure have been described in some detail for the purpose of clear understanding, it is apparent that certain changes and modifications may be made within the scope of the appended claims. Therefore, the embodiments of the present invention should be considered illustrative rather than restrictive, and the embodiments are not limited to the details given herein, but may be modified within the scope and equivalents of the appended claims.
Claims
1. A method for training a character in a game, the method comprising: facilitating display of one or more scenes of the game, wherein the one or more scenes include the characters and virtual objects; receiving input data for controlling the character by a user to interact with the virtual object; analyzing the input data to identify interaction patterns of the character in the one or more scenarios, wherein the interaction patterns define inputs to train an artificial intelligence (AI) model associated with a user account of the user; accessing the game by the AI model without receiving user input from the user, wherein the game is accessed by the AI model to control the character to interact with a new scene of the game; as well as Interactions between the character controlled by the AI model and the new scene are tracked to perform additional training of the AI model.
2. The method of claim 1, wherein the additional training of the AI model is performed through interactions caused by the character when automatically controlled using decisions made using the AI model.
3. The method of claim 2, wherein the decisions made using the AI model do not include control from the user.
4. The method of claim 1, wherein the input data is received via a computer network, wherein the analyzing the input data comprises: identifying features associated with the input data, wherein the features are associated with the character and the virtual object in the one or more scenes; classifying the features to output classifiers, wherein each of the classifiers is associated with a corresponding function performed by the role; The classifier is provided as input to train the AI model.
5. The method of claim 1, further comprising: Request permission from another user account to access another AI model; Requesting additional interaction modes for training the other AI model; The additional interaction pattern is applied to train the AI model.
6. The method of claim 1, further comprising: analyzing output obtained by applying the interaction pattern to the AI model; analyzing additional outputs by applying other interaction modes to the AI model; determining whether the additional output exceeds the output; In response to determining that the additional output exceeds the output, training the AI model based on the other interaction mode; and Determine to apply the AI model trained based on the other interaction mode to additional instances of the one or more virtual scenes.
7. The method of claim 1, further comprising: providing the new scene to the character so that the AI model can be trained from the new scene, wherein the new scene includes virtual objects that are not present in the one or more scenes, or excludes one or more of the virtual objects that are present in the one or more scenes, or a combination thereof; When the character reacts to the new scene, receiving reaction data of the character controlled by the artificial intelligence model; The reaction data is applied by the AI model to perform the additional training, wherein the additional training is performed by identifying additional interaction patterns associated with the reaction data.
8. The method of claim 1, further comprising: assigning a skill level to the AI model prior to the training, assigning a skill level to the AI model after the training, assigning a skill level to the AI model prior to the additional training, and assigning a skill level to the AI model after the additional training; Request the skill level of another AI model; In a match between the AI model and the other AI model, one of the skill levels of the AI model corresponding to the skill level of the other AI model is applied.
9. The method of claim 8, wherein the character is not controlled by the user during the game but is controlled by the AI model, and other characters are controlled by the other AI model during the game.
10. The method of claim 1, further comprising: determining that a request has been received from another user to play the game with the user; In response to receiving the request, identifying that the user has logged out of the user account; Data is generated to show that the AI model can play the game with the other user on behalf of the user.
11. The method of claim 1, further comprising: receiving, during said display of said one or more scenes of said game, gesture data of said user and a recording of voice data of said user; The gesture data and the voice data are integrated with the input for training the AI model to enable the character to apply gestures and voice.
12. A server for training a role in a game, the server comprising: a processor configured to facilitate display of one or more scenes of the game, wherein the one or more scenes include the characters and virtual objects; wherein the processor is configured to receive input data for controlling the character by a user to interact with the virtual object; wherein the processor is configured to analyze the input data to identify interaction patterns of the character in the one or more scenarios, wherein the interaction patterns define inputs to train an artificial intelligence (AI) model associated with a user account of the user; wherein the processor is configured to provide the AI model with access to the game without receiving user input from the user, wherein the game is accessed by the AI model to control the character to interact with a new scene of the game, and wherein the processor is configured to track interactions between the character controlled by the AI model and the new scene to perform additional training of the AI model; as well as A memory device coupled to the processor, wherein the memory device is configured to store the AI model.
13. The server of claim 12, wherein in order to enable the character to interact with the new scene, the processor is configured to apply the AI model to the new scene.
14. The server of claim 12, wherein the input data is received via a computer network, wherein to analyze the input data, the processor is configured to: identifying features associated with the input data, wherein the features are associated with the character and the virtual object in the one or more scenes; classifying the features to output classifiers, wherein each of the classifiers is associated with a corresponding function performed by the role; The classifier is provided as input to train the AI model.
15. The server of claim 12, wherein the processor is configured to: Request permission from another user account to access another AI model; Requesting additional interaction modes for training the other AI model; The additional interaction pattern is applied to train the AI model.
16. The server of claim 12, wherein the processor is configured to: analyzing output obtained by applying the interaction pattern to the AI model; analyzing additional outputs by applying other interaction modes to the AI model; determining whether the additional output exceeds the output; In response to determining that the additional output exceeds the output, training the AI model based on the other interaction mode; and Determine to apply the AI model trained based on the other interaction mode to additional instances of the one or more virtual scenes.
17. The server of claim 12, wherein the processor is configured to: providing the new scene to the character so that the AI model can be trained from the new scene, wherein the new scene includes virtual objects that are not present in the one or more scenes, or excludes one or more of the virtual objects that are present in the one or more scenes, or a combination thereof; When the character reacts to the new scene, receiving reaction data of the character controlled by the artificial intelligence model; The reaction data is provided to the AI model to perform the additional training, wherein the additional training is performed by identifying additional interaction patterns associated with the reaction data.
18. The server of claim 12, wherein the processor is configured to: assigning a skill level to the AI model prior to the training, assigning a skill level to the AI model after the training, assigning a skill level to the AI model prior to the additional training, and assigning a skill level to the AI model after the additional training; Detect the skill level of another AI model; In a match between the AI model and the other AI model, one of the skill levels of the AI model corresponding to the skill level of the other AI model is applied.
19. The server of claim 18, wherein the character is not controlled by the user during the game but is controlled by the AI model, and other characters are controlled by the other AI model during the game.
20. The server of claim 12, wherein the processor is configured to: determining that a request has been received from another user to play the game with the user; In response to receiving the request, detecting that the user has logged out of the user account; Data is generated to show that the AI model can play the game with the other user on behalf of the user.
21. The server of claim 12, wherein the processor is configured to: receiving, during said display of said one or more scenes of said game, gesture data of said user and a recording of voice data of said user; The gesture data and the voice data are integrated with the input for training the AI model to enable the character to apply gestures and voice.
22. A computer readable medium containing program instructions, wherein execution of the program instructions by one or more processors of a computer system causes the one or more processors to perform the following operations: facilitating display of one or more scenes of a game, wherein the one or more scenes include characters and virtual objects; receiving input data for controlling the character by a user to interact with the virtual object; analyzing the input data to identify interaction patterns of the character in the one or more scenarios, wherein the interaction patterns define inputs to train an artificial intelligence (AI) model associated with a user account of the user; accessing the game by the AI model without receiving user input from a user, wherein the game is accessed by the AI model to control the character to interact with a new scene of the game; as well as Interactions between the character controlled by the AI model and the new scene are tracked to perform additional training of the AI model.
23. The computer-readable medium of claim 22, wherein the operation of enabling the character to interact with the new scene comprises applying the AI model to the new scene.
Citation Information
Cited By
External multi-channel communication modularization, routing, transmission, and access control in a database system
US12572672B2
External multi-channel communication modularization, routing, transmission, and access control in a database system
US12585800B2
External multi-channel communication modularization, routing, transmission, and access control in a database system
US12608492B2
External multi-channel communication modularization, routing, transmission, and access control in a database system
US20250260692A1
