Crowdsourced cloud gaming using peer-to-peer streaming
Establishing a peer-to-peer network in the cloud game system through WebRTC technology realizes efficient streaming transmission and real-time interaction of multi-player online games, solves the problems of high resource consumption and difficult real-time control in the existing technology, and provides low-cost multi-player online games. Player gaming experience.
Patent Information
- Application Number
- CN201980085623.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-11-05
- Filing Date
- 2019-09-11
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2039-09-11
AI Technical Summary
Existing cloud gaming systems require additional resources and high server costs when providing multi-player online gaming experiences, and are difficult to achieve real-time crowdsourced game play process control, especially in games that require real-time control.
Use WebRTC technology to establish a peer-to-peer network, stream video games through the primary client device to secondary client devices, and aggregate user input on the primary client device and transmit to the cloud game console to achieve peer-to-peer connections and real-time Interactive game play.
It realizes efficient streaming of multi-player online games, reduces the resource burden of cloud game services, supports real-time crowdsourced game play process control, and does not require additional cloud server resources.
Smart Images

Figure CN113226500B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to systems and methods for crowdsourced cloud gaming, and more particularly to the establishment of peer-to-peer video streaming to enable decentralized gaming mediated by a primary client device of a cloud video game. Background Art
[0002] Description of Related Technology
[0003] One area of technology that is currently developing rapidly is the field of cloud gaming. Users are able to access many games on a cloud gaming site through a network (such as the Internet) and start interacting / playing games. To select a playable game, the user accesses his / her account on the cloud gaming site and launches one of the multiple games available for the user account. The video generated from the cloud video game is transmitted to the client device. An example of a cloud gaming system is Now cloud gaming service.
[0004] It is against this background that embodiments of the present disclosure are presented. Summary of the invention
[0005] Implementations of the present disclosure provide methods and systems for providing crowdsourced cloud gaming using peer-to-peer streaming.
[0006] According to an implementation of the present disclosure, WebRTC, a streaming technology that can be built into a browser, can be used to allow peer-to-peer operation of video streams (including video image data and audio data). The host can broadcast the video to another user, and the user can share the video with another user, and so on. WebRTC has a variety of methods to effectively implement video distribution. According to an implementation of the present disclosure, such streaming can be applied to video game streams received through a browser. There may be multiple devices connected to the initial streamer of the video game, which is connected to the cloud gaming console that streams the video. Therefore, their video streams are cloned to other users, so these viewers can view and listen to the game stream of the initial user.
[0007] One advantage of WebRTC is that it is very robust to video degradation. With some streaming services, if you are not near one of their servers, the connection and video quality can degrade due to latency. But with WebRTC P2P networks, because a given user device can connect to another device that is closer to a data center, and because P2P connections are direct and avoid multiple hops as much as possible, video sharing is dynamically downsampled and provides wider network coverage.
[0008] In addition, a socket backup may be provided to the initial user so that input from the audience can be received and used to (at least partially) control the game play process. In some implementations, the user's input is collectively counted and applied to the video game. The audience can issue input commands through their corresponding controllers, and these input commands can be aggregated on the host user's machine or upstream of the game console. All input commands are fed to the game console in the cloud through the main user's machine backup. In this way, it is possible to have a large-scale multi-player online game experience without bringing additional resource burden to the cloud game provider. In addition, real-time viewing and input control from various users may be provided. Although there may be many users, the game console can treat them as a single player because their collective input is sent through an appropriate channel. For example, in some implementations, all users can participate in controlling the same role as the main user. From the perspective of the cloud game server, it is seamless because the collective input is displayed as a single client and the session does not change. Therefore, the crowdsourcing game play functionality is transparent to the data center hosting system.
[0009] Attempts to crowdsource games have been previously implemented on slow-playing video games (e.g., turn-based games), such as having users comment on what to do next, then tallying the votes, and then issuing the most popular commands. However, such a setup does not enable crowdsourced game play that effectively requires real-time control. In contrast to previous attempts to crowdsource games, implementations according to the present disclosure enable real-time crowdsourced game play control without the need for additional cloud server resources.
[0010] It should be appreciated that implementations of the present disclosure enable a collaborative gaming experience where others can join a gaming session, take over for a minute, provide assistance, and the like.
[0011] Broadly speaking, some implementations of the present disclosure are attracted to gaming clients within modern web browsers. Such browser clients can be built using WebRTC technology, a widely supported technology that functions similarly on all major browsers. WebRTC differs from TCP transport in that no error checking or packet guarantees are performed. Similar to UDP transport, WebRTC has little / no overhead in sending / receiving packets and is therefore very fast.
[0012] Implementations of the present disclosure may use WebRTC to create a peer-to-peer connection, which is a direct connection between two clients. Peer-to-peer connections allow the connection to avoid multiple hops and affect latency. Connection initialization may be performed using a Session Description Protocol (SDP). SDP is used to create a communication contract between two devices and supports several options for controlling buffering, key frame definitions, fallback ports, protocols, and the like.
[0013] In some implementations, a method is provided, comprising: executing a session of a cloud video game by a cloud gaming console, the session being configured to generate a gameplay video; streaming the gameplay video from the cloud gaming console over a network to a primary user device, the primary user device being configured to render the gameplay video to a primary display; wherein the primary user device is configured to stream the gameplay video to one or more secondary user devices over a peer-to-peer network, each of the secondary user devices being configured to render the gameplay video to one or more secondary displays, respectively; wherein the primary user device is configured to process primary input generated from an interactive gameplay associated with the primary user device and secondary input generated from an interactive gameplay associated with the one or more secondary user devices to generate an aggregate input; receiving the aggregate input from the primary user device over the network by the cloud gaming console; wherein executing the session of the cloud video game includes applying the aggregate input to update a game state of the cloud video game that is processed to generate the gameplay video.
[0014] In some implementations, the method enables substantially real-time interactive gameplay of a session of a cloud video game simultaneously through a primary user device and one or more secondary user devices.
[0015] In some implementations, the cloud gaming machine does not communicate with one or more secondary user devices.
[0016] In some implementations, a session of a cloud video game is defined as a single-player session of the cloud video game.
[0017] In some implementations, the primary user device is configured to instantiate a socket through which to receive secondary input from one or more secondary user devices.
[0018] In some implementations, at least one of the secondary user devices is configured to execute a browser application that renders the gameplay video received over the peer-to-peer network.
[0019] In some implementations, streaming the gameplay video to the one or more secondary user devices over the peer-to-peer network includes accessing a WebRTC application programming interface (API) to instantiate the peer-to-peer network.
[0020] In some implementations, processing the primary input and the secondary input to generate the aggregate input includes combining the primary input and the secondary input into a single input stream.
[0021] In some implementations, processing the primary input and the secondary input to generate the aggregate input includes determining a popular input based on the primary input and the secondary input.
[0022] In some implementations, processing the primary input and the secondary input to generate the aggregate input includes: for a given input type and a current time interval, determining a single input command based on the primary input and the secondary input having the given input type and occurring during the current time interval.
[0023] In some implementations, a non-transitory computer-readable medium having program instructions embodied thereon is provided, the program instructions being configured to, when executed by at least one server computer, cause the at least one server computer to perform a method comprising the following method operations: executing a session of a cloud video game by a cloud gaming console, the session being configured to generate a gameplay video; streaming the gameplay video from the cloud gaming console over a network to a primary user device, the primary user device being configured to render the gameplay video to a primary display; wherein the primary user device is configured to stream the gameplay video to one or more secondary user devices over a peer-to-peer network, each of the secondary user devices being configured to render the gameplay video to one or more secondary displays, respectively; wherein the primary user device is configured to process primary input generated from an interactive gameplay associated with the primary user device and secondary input generated from an interactive gameplay associated with the one or more secondary user devices to generate an aggregate input; receiving the aggregate input from the primary user device over the network by the cloud gaming console; wherein executing the session of the cloud video game includes applying the aggregate input to update a game state of the cloud video game that is processed to generate the gameplay video.
[0024] In some implementations, a system is provided, comprising: a cloud gaming console configured to execute a session of a cloud video game, the session configured to generate a gameplay video; the cloud gaming console configured to stream the gameplay video from the cloud gaming console to a primary user device over a network, the primary user device configured to render the gameplay video to a primary display; wherein the primary user device is configured to stream the gameplay video to one or more secondary user devices over a peer-to-peer network, each of the secondary user devices being configured to render the gameplay video to one or more secondary displays, respectively; wherein the primary user device is configured to process primary input generated from an interactive gameplay associated with the primary user device and secondary input generated from an interactive gameplay associated with the one or more secondary user devices to generate an aggregate input; the aggregate input from the primary user device is received by the cloud gaming console over the network; wherein executing the session of the cloud video game includes applying the aggregate input to update a game state of the cloud video game that is processed to generate the gameplay video.
[0025] Other aspects and advantages of the present disclosure will become apparent from the following detailed description, taken in conjunction with the accompanying drawings, illustrating by way of example the principles of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The present disclosure and further advantages thereof may be best understood by referring to the following description taken in conjunction with the accompanying drawings.
[0027] Figure 1A A simplified block diagram of an exemplary system for preloading game content onto a cloud gaming server is shown according to an embodiment of the present disclosure.
[0028] Figure 1B is a flow diagram conceptually illustrating various operations performed for streaming a cloud video game to a client device in accordance with an implementation of the present disclosure.
[0029] Figure 2 A system for providing cloud video games to multiple users over a network according to implementations of the present disclosure is conceptually illustrated.
[0030] Figure 3 Components of a primary user device 220 and a secondary user device 228 are conceptually illustrated in accordance with implementations of the present disclosure.
[0031] Figure 4A A system is conceptually illustrated in accordance with implementations of the present disclosure in which aggregation of inputs is processed at a primary client device.
[0032] Figure 4BA system is conceptually illustrated in which aggregation of inputs is processed at a gaming machine in accordance with implementations of the present disclosure.
[0033] Figure 4C A system according to an implementation of the present disclosure is conceptually illustrated, wherein input aggregations are processed at an aggregation server.
[0034] Figure 5A , Figure 5B and Figure 5C Conceptually illustrates the transfer of control of a video game session between users in accordance with implementations of the present disclosure.
[0035] Fig. 6A An interface 600 for accessing the game play process of an online user of a cloud gaming system according to an implementation of the present disclosure is shown.
[0036] Figure 6B An interface 610 for providing access to viewing and / or participating in the gameplay of a user session in a cloud gaming system is shown in accordance with an implementation of the present disclosure.
[0037] Figure 7 An exemplary information service provider architecture for delivering information content and services to users who are geographically dispersed and connected via a network in accordance with implementations of the present disclosure is shown.
[0038] Figure 8 Exemplary components of a computing device for controlling content presented to a user according to implementations of the present disclosure are shown.
[0039] Fig. 9 is a block diagram of a gaming system 900 according to an implementation of the present disclosure. DETAILED DESCRIPTION
[0040] In the following description, many specific details are set forth in order to provide a thorough understanding of the present disclosure. However, it will be apparent to those skilled in the art that the present disclosure may be practiced without some or all of these specific details. In other cases, well-known process steps are not described in detail in order to avoid making the present disclosure unclear.
[0041] An example of a cloud gaming system is Now cloud gaming service. Currently, in such systems, the client device can be a game console, such as 4 game console, or it could be another device such as a personal computer.
[0042] In existing cloud gaming systems (e.g. Now, there is a cloud gaming machine (e.g., a cloud console device) in a data center, and the server is on the main client device (e.g., 4 game console or personal computer) and the cloud gaming machine. The best data center can be selected from which to stream the cloud video game, such as a data center that is expected to provide suitable performance in terms of latency, streaming bit rate, available cloud computing resources, server load balancing, etc. The streaming is then performed directly between the cloud gaming machine and the primary client device, ideally providing a fast connection, thereby allowing sufficient performance to provide a satisfactory cloud gaming experience for the primary user.
[0043] However, when other remote secondary users wish to watch the primary user's gaming session, a challenge is presented as to how to provide the video stream of the primary client device to other remote users. One option is to stream from the same data center, and possibly even from the same gaming console, to secondary client devices respectively associated with the secondary users. However, doing so places an additional burden on the resources of the data center and the network connection of the data center, thereby reducing resource availability and connection bandwidth for other devices and sessions. In addition, while the data center may be optimized for the primary client device, it may not provide good performance for one or more of the secondary client devices. For example, the secondary client device may be significantly farther from the data center than the primary client device, and the secondary client device may have poor connection speeds and reduced streaming performance.
[0044] In view of this, according to the implementation of the present disclosure, a system is provided, in which a peer-to-peer network is established between a primary client device and a secondary client device, and streaming of a game play process video (of a cloud game session of the primary client device) is performed through the peer-to-peer network. In this way, the secondary client device does not need to establish a streaming connection with a server of a cloud game service, and thus the cloud game service does not need to bear the high server costs associated with processing such streaming connections.
[0045] In some implementations, peer-to-peer streaming is implemented using WebRTC technology. In some implementations, the primary client device implements a streaming server and can be configured to publish in UDP for optimal streaming performance. Traditionally, browsers use TCP / IP, which is a serial process so that if packets are lost, the connection is broken. However, UDP allows packets to be dropped without disrupting the connection, which is advantageous for streaming video.
[0046] Additionally, in some implementations, a socket or data channel is provided through which user input generated by the secondary client device is transmitted to the primary client device. Such user input, along with the user input of the primary client device, can be aggregated at the primary client device and transmitted from the primary client device to the cloud gaming service. In this way, a secondary user can not only watch a session of a cloud video game of a primary user, but can also participate in the game. The cloud gaming machine does not need to communicate with the secondary client device, but the secondary user can still participate in a session of a cloud video game of the primary user.
[0047] Thus, implementations according to the present disclosure provide a primary client that utilizes peer-to-peer technology (e.g., using the WebRTC protocol) to enable multiple secondary clients to view the primary client's gameplay video without placing additional pressure on the cloud gaming service's system resources. In addition, secondary users are able to participate in the primary user's gaming session through input that is aggregated at the primary client device and then transmitted to the cloud video game.
[0048] Therefore, implementations according to the present disclosure provide a solution to the problem of enabling satisfactory streaming of the gameplay of a video game for multiple users without placing additional resource burden on the cloud gaming service provider.
[0049] Broadly speaking, in order to implement cloud gaming, when a user request for a game title is received, several operations are performed by one or more servers in a data center associated with the cloud gaming site. When the cloud gaming site receives a user request, the data center hosting the game associated with the selected game title is identified, and the request is sent to the identified data center to instantiate the game for the selected game title. In response to the request, the server at the data center identifies the game code, loads the identified game code, and initializes files associated with the game code to prepare to present the game content to the user. The game data associated with the game may include general game data and user-specific game data. Therefore, the initialization file may include identifying, loading, and initializing general game data and user-specific game data. Initializing general game data may include initializing a graphics engine, installing graphics data, initializing sound files, installing original images, and the like. Initializing user-specific data may include locating, transmitting, and installing user data, user history, game history, and the like.
[0050] When loading and initializing universal game data, a "startup" screen can be provided to render at the client device. A kind of startup screen can be designed to provide a representative image of the game being loaded, so as to allow the user to preview the type of the game being loaded. Once the universal game data is loaded, some initial content can be rendered, and a selection / navigation screen can be presented for user selection and customization. The user selection input provided at the selection / navigation screen can include game level selection, one or more game icon selections, game mode selection, game rewards, other user-related data that may need to upload other game content. In some embodiments, game content is made available for viewing and interaction by streaming game content from the game cloud system to the user's computing device. In some implementations, after loading user-specific data, game content can be used for playing games.
[0051] Figure 1A An exemplary system for loading game files for games available through a cloud gaming site is shown. The system includes a plurality of client devices 100, which are communicatively connected to a cloud gaming site 104 via a network 102 (such as the Internet). When a request to access a cloud gaming site 104 is received from a client device 100, the cloud gaming site 104 accesses user account information 106 stored in a user data storage area 108 to identify the user associated with the client device initiating the request. In some embodiments, the cloud gaming site may also verify the identified user to determine all games that the user is authorized to view / play. After user account identification / verification, the cloud gaming site accesses a game name data storage area 110 to identify the game name available at the game cloud site for the user account initiating the request. The game name data storage area 110 then interacts with a game database 112 to obtain the game names of all games available for the cloud gaming site. When a new game is launched, the game database 112 will be updated with a game code, and the game name information of the newly launched game will be provided to the game name data storage area 110. When a request is initiated, the client device initiating the request may or may not be registered with the cloud gaming site. If the user of the client device initiating the request is not a registered user, the cloud gaming site may identify the user as a new user and select a game name suitable for the new user (e.g., a default set of game names). The identified game name is returned to the client device for presentation on display screen 100-a, such as Figure 1A shown.
[0052] Detect user interaction on one of the game names rendered on the client device, and send a signal to the cloud gaming site. The signal includes the game name information where the user interaction is detected and the user interaction registered at the game name. In response to the signal received from the client device, the cloud gaming site actively determines the data center hosting the game, and sends a signal to the identified data center to load the game associated with the game name where the user interaction is detected. In some embodiments, there may be more than one data center hosting the game. In such embodiments, the cloud gaming site can determine the geographic location of the client device that initiated the request, and identify the data center that is geographically close to the client device, and signal the data center to preload the game. The user's geographic location can be determined using a global positioning system (GPS) mechanism within the client device, the IP address of the client, the ping information of the client, etc. Of course, the aforementioned manner of detecting the user's geographic location can be exemplary, and other types of mechanisms or tools can be used to determine the user's geographic location. Identifying a data center close to the client device can minimize the delay during the user's interaction with the game. In some embodiments, the identified data center may not have the bandwidth / capacity required for hosting the game or may be overused. In these embodiments, the cloud gaming site can identify a second data center that is geographically close to the client device. Loading a game involves loading the game code and executing an instance of the game.
[0053] In response to receiving a signal from a cloud gaming site, the identified data center may select a server at the data center to instantiate a game on the server. The server is selected based on available hardware / software capabilities and game requirements. The server may include multiple game consoles, and the server may determine which of the multiple game consoles to use to load the game. The game console may be similar to a stand-alone game console, or may be a rack server or a blade server. The blade server may then include multiple server blades, each of which has the circuitry required to instantiate a single dedicated application (such as a game). Of course, the above-mentioned game consoles are exemplary and should not be considered restrictive. Other types of game consoles (including game stations, etc.) and other forms of blade servers may also be used to host the identified games.
[0054] Once the game console is identified, the generic game-related code for the game is loaded onto the game console, and a signal is returned to the client device via the cloud gaming site over the network identifying the game console that instantiated the game. Thus, the loaded game is available to the user.
[0055] Figure 1B1 is a flowchart conceptually illustrating various operations performed for streaming a cloud video game to a client device according to an implementation of the present disclosure. The gaming system 118 executes the video game and generates raw (uncompressed) video 120 and audio 122. The video 120 and audio 122 are captured and encoded for streaming purposes, as indicated by reference numeral 124 in the illustrated figure. Encoding can provide compression of the video and audio streams to reduce bandwidth usage and optimize the gaming experience. Examples of encoding formats include H.265 / MPEG-H, H.264 / MPEG-4, H.263 / MPEG-4, H.262 / MPEG-2, WMV, VP6 / 7 / 8 / 9, etc.
[0056] The encoded audio 126 and the encoded video 128 are further packaged into network packets, as shown by reference numeral 132, for the purpose of transmission over a network (such as the Internet). The network packet encoding process can also employ a data encryption process to provide enhanced data security. In the illustrated implementation, as shown by reference numeral 140, audio packets 134 and video packets 136 are generated for transmission over a network.
[0057] Gaming system 118 additionally generates haptic feedback data 130 , which is also packaged as network packets for network transmission. In the illustrated implementation, haptic feedback packets 138 are generated for transmission over the network, as further indicated at reference numeral 140 .
[0058] The above-mentioned operations of generating raw video and audio and tactile feedback data, encoding video and audio, and packaging the encoded audio / video and tactile feedback data for transmission are performed on one or more servers that jointly define the cloud gaming service / system. As shown in reference numeral 140, audio, video, and tactile feedback packets are transmitted over a network (such as and / or including the Internet). As shown in reference numeral 142, audio packets 134, video packets 136, and tactile feedback packets 138 are decoded / reorganized by the client device to define encoded audio 146, encoded video 148, and tactile feedback data 150 at the client device. If the data has been encrypted, the network packet will also be decrypted. Then, as shown in reference numeral 144, the encoded audio 146 and the encoded video 148 are decoded by the client device to generate client-side raw audio and video data for rendering on a display device 152. The tactile feedback data 150 can be processed / transmitted to produce a tactile feedback effect at a controller device 156 or other interface device that can render a tactile effect. One example of a haptic effect is vibration or rumbling of the controller device 156 .
[0059] It should be understood that the video game responds to user input and therefore can perform a program flow similar to the process described above for transmission and processing of user input, but in the opposite direction from the client device to the server. As shown, user operation of the controller device 156 can generate input data 158. The input data 158 is packaged at the client device for transmission to the cloud gaming system over the network. The input data packets 160 are unpacked and reassembled by the cloud gaming server to define input data 162 on the server side. The input data 162 is fed to the gaming system 118, which processes the input data 162 to update the game state of the video game.
[0060] During the transmission of audio packets 134, video packets 136, and haptic feedback packets 138 (reference numeral 140), data transmission over the network may be monitored to ensure quality of service for cloud game streaming. For example, network conditions, including both upstream and downstream network bandwidth, may be monitored as indicated by reference numeral 164, and game streaming may be adjusted in response to changes in available bandwidth. That is, encoding and decoding of network packets may be controlled based on current network conditions, as shown by reference numeral 166.
[0061] Figure 2 A system for providing cloud video games to multiple users over a network according to an implementation of the present disclosure is conceptually illustrated. In the illustrated implementation, a cloud video game is executed by a gaming console 202, thereby defining a video game session 204. The gaming console 202 may be located in a data center 200 along with other gaming consoles capable of executing sessions of cloud video games for various client devices. It should be understood that in various implementations, the gaming console 202 may be a gaming console, hardware equivalent to a gaming console (e.g., blade gaming console hardware), a server computer / blade, a virtual machine executing on hardware resources, or any other hardware configuration capable of providing a suitable execution environment for a cloud video game.
[0062] In the illustrated implementation, a video game session 204 is defined for a primary user 226. Thus, the video game session 204 is streamed to a primary user device 220 associated with the primary user 226 via a network 218 (which may include the Internet). More specifically, the video game session 204 instantiates and maintains a game state that is updated based on received input commands. The gaming machine 202 renders video frames and audio based on the game state, thereby defining a video stream 221 (including both motion image data and audio data) that is transmitted to the primary user device 220 via the network 218. As used in this disclosure, and unless otherwise indicated in this disclosure or otherwise apparent from this disclosure, video will refer to both motion image data and corresponding audio data. The primary user device 220 renders the video stream to a display 222 for viewing by the primary user 226. The primary user 226 can interact with the video game through operation of the controller device 224, which can be any device through which the primary user 226 can provide interactive input to the video game, such as a game controller, peripheral device, keyboard, mouse, touchpad, trackball, motion controller, camera, depth camera, microphone, etc.
[0063] It should be understood that the primary user device 220 can be any of a variety of types of devices, such as a game console, a personal computer, a laptop computer, a portable gaming device, a tablet computer, a cellular phone, or any other networked device capable of receiving the video stream 221 from the gaming console 202 and rendering it to a display 222. The display 222 can be any type of display capable of displaying video from a video game session, including, for example, but not limited to, a television, a monitor, a projector, a touch screen, a head mounted display (HMD), etc. In some implementations, the primary user device 220 and the display 222 can be integrated into the same form factor (e.g., a laptop computer, a tablet computer, a cellular phone, etc.). It should be understood that in some implementations, the controller device 224 can also be integrated into the same form factor. It should be understood that similar concepts as described with reference to devices associated with a primary user also apply to devices associated with a secondary user, as further described below.
[0064] In the above implementation, the gaming machine 202 streams the video stream 221 to the primary user device 220. In some implementations, the streaming server 206 is called to handle the streaming of the video stream 221 to the primary user device 220. The streaming server 206 can process the original video output by the gaming machine 202, such as by encoding the original video in a compressed format, transcoding the original video from one format / codec to another format / codec, adjusting the bit rate of the original video based on various considerations (e.g., network bandwidth, primary user device hardware capabilities, application / browser type of the primary user device, etc.) to generate the video stream 221. In some implementations, the streaming server 206 is located in the data center 200, while in other implementations, the streaming server 206 can be located in other locations, such as other data centers. In some implementations, the streaming server 206 is executed by the gaming machine 202.
[0065] According to an implementation of the present disclosure, a method is provided for enabling multiple secondary users to view and participate in a session of a primary user 226. In the illustrated implementation, secondary users 234, 242, 250, and 258 are shown as being associated with secondary user devices 228, 236, 244, and 252, respectively. The secondary user devices 228, 236, 244, and 252 are operably connected to displays 230, 238, 246, and 254 and controller devices 232, 240, 248, and 256, respectively.
[0066] According to an implementation of the present disclosure, the video rendered by the primary user device 220 is shared to the secondary user devices via peer-to-peer (P2P) sharing. That is, a peer-to-peer connection is established between the primary user device and the secondary user devices (via the network 218), thereby forming a P2P network through which the video is shared to all secondary user devices. It should be understood that the P2P sharing is substantially real-time, with minimal latency, so that the secondary users can simultaneously view the same video content of the video game session 204 that the primary user 226 is viewing with minimal lag. In this way, the secondary users are able to watch the primary user's game play in substantially real time.
[0067] In some implementations, P2P sharing is accomplished using WebRTC. For example, in some implementations, a peer connection is established using the RTCPeerConnection API and also according to the Session Description Protocol (SDP). Broadly speaking, this requires signaling to exchange media configuration information by exchanging offers and replies using SDP.
[0068] In addition, according to implementations of the present disclosure, functionality is provided that enables secondary users to participate in the gameplay of the primary user's video game session 204. For example, in some implementations, interactive input provided by the secondary user can be transmitted back to the primary user device 220, where the interactive input is aggregated or processed in conjunction with the primary user's input. The aggregated input of the primary user and the secondary user is then transmitted to the gaming machine 202 as an input stream 223. In the illustrated implementation, input from the secondary user can be generated by the secondary user's operation of their respective controller devices 232, 240, 248, and 256. Thus, for example, considering the viewing and gameplay experience of the secondary user 234, when the secondary user 234 views the shared gameplay video of the primary user 226 through the secondary user's display 230, the secondary user 234 can interact with the video by operating the controller device 232. This generates inputs, which are transmitted by the secondary user device 228 to the primary user device 220 (e.g., via a socket or other connection protocol configured to receive input at the primary user device 220). It should be understood that a similar experience is provided to other secondary users using their respective secondary user devices, displays, and controller devices.
[0069] In this way, the secondary user device provides secondary inputs to the primary user device 220, and the primary user device 220 can process these inputs together with the primary inputs provided by the interaction of the primary user 226 (through the operation of the controller device 224) to generate an aggregate input stream 223. It should be understood that in various implementations, the combined inputs of the primary user and the secondary user can be processed in different ways. In any case, in this way, the secondary user is able to participate in the game play process of the video game session 204 defined for the primary user 226. In addition, from the perspective of the game console 202, it only provides a session to a single client (i.e., the primary user device 220), and no additional cloud resources are required to enable the participation of the secondary user. The game console 202 (or the streaming server 206, when called) does not need to communicate with the secondary user device, but the secondary user is able to view the game play process and even participate in the game play process.
[0070] In some implementations, cloud video games and viewing / participation functionality are provided by cloud gaming services 208. Broadly speaking, cloud gaming services 208 provide access to playing cloud video games and access to watching other users' gaming processes. In the illustrated implementation, cloud gaming services 208 include a web server 200 that receives a request from a user device operated by a user of cloud gaming services 208 via a network 218 and responds to the request. In some implementations, web server 210 receives a request to access cloud gaming services 208 and responds to the request, such as by facilitating authorization of login credentials and providing access to an interface for cloud gaming services, in some implementations, when the user device that issued the request is accessing the cloud gaming service through a web browser, the interface may be in the form of one or more web pages. When providing such services, web server 210 may access user data storage 216, which may include various user-related data, such as login credentials, user game history, social graph information, achievements / trophies, game ownership, preferences / settings, and the like.
[0071] According to the illustrated implementation, the web server 210 may receive a request to access a cloud video game from a primary user device 220 and, in response to the request, assign the primary user device 220 to a gaming console 202 at the data center 200 and initiate a video game session 204 for the primary user 226 on the gaming console 202 .
[0072] In addition, the web server 210 may receive requests to access real-time game sessions from secondary user devices 228, 236, 244, and 252. In the illustrated implementation, the cloud gaming service 208 includes a real-time game monitor 212 that is configured to obtain updates from ongoing cloud gaming sessions and store the updates to a real-time game data store 214. For example, such updates may include data identifying active cloud gaming sessions, representative recent screenshots, information / statistics about such sessions (e.g., duration of active sessions, user IDs associated with sessions, number of players in a multi-player session, game-related statistics, etc.), chat logs, etc. In response to the aforementioned requests to access real-time game sessions, the web server 210 may access the real-time game data store 214 to obtain data about the real-time game sessions and provide the data to the requesting secondary user device.
[0073] Web server 210 may further receive requests from secondary user devices 228, 236, 244, and 252 to specifically view and possibly participate in video game session 204 of primary user 226. In response to such requests, web server 210 may transmit the request to primary user device 220 to initiate P2P sharing of the game play video, as previously described.
[0074] Figure 3 Components of a primary user device 220 and a secondary user device 228 according to an implementation of the present disclosure are conceptually illustrated. In the illustrated implementation, the primary user device 220 executes a cloud gaming application 302 that is configured to perform functionality to implement a shared game play process of a video game session 204 as described herein. As described above, the primary user device 220 can be any of a variety of network-enabled devices, such as a game console or a personal computer. Thus, in some implementations, the cloud gaming application 302 can be a dedicated or stand-alone application or an application (app) executed on an operating system environment of the primary user device 220. In other implementations, the cloud gaming application 302 can be a web application and / or define various functional modules in the context of a web browser application 300.
[0075] In the illustrated implementation, the cloud gaming application 302 includes a video stream handler 304 that receives the video stream 221 and renders it as a rendered gameplay video to a display 222 for viewing by a primary user 226. In some implementations, a video stream server 306 is executed at the primary user device 220 to facilitate P2P sharing of the gameplay video. It should be understood that the video stream server 306 can access a P2P library 318 through a P2P API 316 to provide P2P sharing functionality for the primary user device 220.
[0076] In some implementations where P2P sharing is performed using WebRTC, the video streaming server 306 may then be a WebRTC server configured to share / distribute the gameplay video over the P2P connection 324. In such implementations, the P2P API 316 is a WebRTC API, and the P2P library 318 is a WebRTC library.
[0077] As with the primary user device 220, the secondary user device 228 can be any of various types of networked devices. In the illustrated implementation, the secondary user device 228 includes a cloud gaming application 324, which can be a standalone application / app or defined by a web browser 332. The cloud gaming application 324 includes a video streaming client 336, which is configured to receive a game play video shared through a P2P connection 324. It should be understood that since the game play video is shared through a P2P network, the video streaming client 336 of the secondary user device 228 can receive a portion of the game play video from other secondary user devices that are also part of the P2P network and have received and shared a portion of the game play video through the P2P network. In addition, the video streaming client 336 can also share a portion of the game play video to other secondary user devices in the P2P network. The video streaming client 336 can access the P2P library 342 through the P2P API 340, and in some implementations, the P2P library can be a WebRTC library and a WebRTC API.
[0078] In some implementations, the cloud gaming application 302 is configured to set up a socket 330 through which input from various secondary user devices is received. The socket 330 can be defined by a socket library 322, which is accessed by a socket API 320. In some implementations, the socket 330 is defined using a socket.IO library and API.
[0079] In the illustrated implementation, the cloud gaming application 334 also includes a local input handler 338 that is configured to receive and transmit secondary input generated by the secondary user 234's interaction with the gameplay video rendered to the display 230 by the video streaming client 336 of the secondary user device 228. For example, such secondary input may be generated by the secondary user 234 through operation of the controller device 232. The local input handler 338 transmits the input to the primary user device 220 via the socket 330.
[0080] The peer input handler 310 at the primary user device 220 is configured to receive incoming secondary input from the secondary user device 228 (as well as from other secondary user devices). The cloud gaming application 302 of the primary user device 220 also includes a local input handler 308 that is configured to receive primary input generated by the primary user 226's interaction with the gameplay video of the video game session 204 rendered from the primary user device 220 to the display 222. Such primary input may be generated by operation of the controller device 224.
[0081] In the illustrated implementation, the cloud gaming application 302 of the primary user device 220 also includes an input aggregator 312, which is configured to aggregate and process primary inputs (of the primary user) and secondary inputs (of the secondary user). As discussed in further detail below, various ways of aggregating and processing primary and secondary inputs are envisioned. The primary and secondary inputs are processed to define an aggregate input stream 223, which is transmitted to the game console 202 and applied to the video game session 204 to drive the execution of the session and update the game state of the video game. In this way, a combination of inputs from the primary user 226 and the secondary user is used to play cloud video games. It should be understood that this is done in the context of defining a video game session 204 for the primary user 226 but not necessarily for the secondary user. However, the secondary user is able to view the same game play video in real time, and also interactively participate in affecting the game play process and results of the video game.
[0082] It should be appreciated that in various implementations, processing of the aggregate of inputs may be performed by various entities. Figure 4A A system according to an implementation of the present disclosure is conceptually illustrated, wherein the aggregation of inputs is processed at the primary client device. In the illustrated implementation, the primary user device 220 receives a gameplay video from the gaming machine 202, and distributes the gameplay video to the secondary user device 228 via P2P sharing. Secondary inputs from the secondary user device 228 are transmitted back to the primary user device 220 (e.g., via a socket at the primary user device 220). Thus, in the illustrated implementation, the aggregation of the secondary inputs and the primary inputs occurs at the primary user device 220. After the inputs are aggregated and processed by the primary user device 220, the resulting combined inputs are transmitted to the gaming machine 202.
[0083] Figure 4B A system according to an implementation of the present disclosure is conceptually illustrated, wherein the aggregation of inputs is processed at the gaming machine. In the illustrated implementation, the primary user device 220 receives a gameplay video from the gaming machine 202, and distributes the gameplay video to the secondary user device 228 via P2P sharing. The secondary inputs from the secondary user device 228 are transmitted back to the gaming machine 202. In addition, the primary inputs from the primary user device 220 are also transmitted to the gaming machine 202. Thus, in the illustrated implementation, the aggregation of the secondary inputs and the primary inputs occurs at the gaming machine 202.
[0084] Figure 4CA system according to an implementation of the present disclosure is conceptually illustrated, wherein the aggregation of inputs is processed at an aggregation server. In the illustrated implementation, the primary user device 220 receives a game play video from the gaming machine 202, and distributes the game play video to the secondary user device 228 via P2P sharing. The secondary input from the secondary user device 228 is transmitted to the aggregation server 400. The primary input from the primary user device 220 is also transmitted to the aggregation server 400. Therefore, in the illustrated implementation, the aggregation of the secondary input and the primary input occurs at the aggregation server 400. After the aggregation server 400 aggregates and processes the input, the resulting combined input is transmitted to the gaming machine 202.
[0085] It should be understood that in various implementations, primary inputs and secondary inputs can be combined in many different ways to be applied to a video game session. For example, in some implementations, primary inputs and secondary inputs are aggregated together according to their timing and provided directly to the video game session. That is, all inputs are provided to the video game session without further processing, so that every input provided by each user (primary and secondary) is provided to the video game session.
[0086] In some implementations, primary and secondary inputs are aggregated at periodic intervals, and at each interval a single input (or a subset of inputs) is selected and transmitted to the video game session. For example, in some implementations, the most popular inputs or the inputs that occur in the highest number or frequency are selected at each interval and transmitted to the video game session. In some implementations, more than one input is selected, such as a group of the most popular inputs. It should be understood that the specific length of the periodic intervals can vary in various implementations, for example, ranging from approximately a few milliseconds to a few tenths of a second to a few seconds, by way of example and not limitation.
[0087] In some implementations, there can be different categories or types of inputs to a video game. Non-limiting examples include directional inputs (e.g., up, down, forward, backward, left, left, etc.), movement type inputs (e.g., run, jump, pan, crouch, accelerate, brake, etc.), weapon control inputs (e.g., shoot, reload, change weapons, etc.), virtual device control inputs, etc. In some implementations, the most popular input or set of inputs is selected and applied at each interval.
[0088] In some implementations, thresholds for inputs or input types may be applied. For example, a given input may be selected for a given time interval, or a given input may only be considered for selection if it has been selected a minimum number of times, or has been selected by a minimum percentage of the total number of users (e.g., based on popularity as described above).
[0089] Additionally, in some implementations, the specific length of the periodic interval may be different for different input types / categories.
[0090] In some implementations, the inputs may be weighted to determine the priority of one or more users. For example, in some implementations, the inputs of a primary user are weighted higher than the inputs of a secondary user. In this way, the inputs of a primary user have a greater impact on the inputs applied to the video game, while the inputs of a secondary user are still relevant. In some implementations, the specific weights to be applied may be configured by the primary user, so that the primary user can set the weights of the users according to his / her preferences.
[0091] In some implementations, control can be divided between different groups of users. In some implementations, such division of control can be configured by the primary user through their primary user device. For example, one group of secondary users can be assigned to control a particular gameplay function (e.g., movement of a character), while another group of secondary users can be assigned to control another gameplay function (e.g., weapon / attack controls, such as weapon firing and selection).
[0092] In some implementations, predefined templates may be made available for selection by the primary user that define how primary and secondary inputs will be combined to play the video game This is useful in providing the primary user with certain default options to choose from.
[0093] Figure 5A , Figure 5B and Figure 5C Conceptually illustrates the transfer of control of a video game session between users according to an implementation of the present disclosure. In the illustrated implementation, Figure 5A In FIG. 5 , the game play video of the video game is streamed from the gaming machine 202 to the primary user device 220. The game play video is also P2P shared to the secondary user devices 228, 236, and 500. Figure 5A As shown, while all primary and secondary users are able to view the gameplay video in substantially real time, only the primary user can control the gameplay by providing input to the video game session via primary user device 220. Secondary users 228, 236, and 500 are viewing the primary user's gameplay video but are not participating in controlling the gameplay.
[0094] However, according to implementations of the present disclosure, a primary user may pass control of the game play process to one of the secondary users. In some implementations, the primary user may provide control to the secondary user, or in some implementations, one or more secondary users may "call next" and / or request control of the game play process. It should be understood that in some implementations, the transfer of control is dependent on permission granted by the primary user 226 associated with the primary user device 220. In some implementations, the transfer of control may proceed according to a queue of secondary user devices, such that secondary users who are requesting control of the game play process are arranged in the queue in the order of their requests, and control is passed to each secondary user in turn according to their order.
[0095] exist Figure 5B In the illustrated implementation shown, control of the game play has been passed to the secondary user device 228. Thus, input from the secondary user device 228 is transmitted to the primary user device 220, which then forwards the input to the gaming machine 202 to be applied to the video game session to drive the execution of the game state. In this mode of game play, even if the session is defined for the primary user 226 of the primary user device 220, the secondary user 234 providing input through the secondary user device 228 (e.g., operating the controller device 232) can also control the game play. It should be understood that the primary user device 220 and the secondary user devices 236 and 500 are viewing the game play, but are not actively controlling it.
[0096] exist Figure 5C In the illustrated implementation shown, control of the game play has been passed to the secondary user device 236. Thus, input from the secondary user device 236 is transmitted to the primary user device 220, which then forwards the input to the gaming machine 202 to be applied to the video game session to drive the execution of the game state. In this mode of game play, even if the session is defined for the primary user 226 of the primary user device 220, the secondary user 242 providing input through the secondary user device 236 (e.g., operating the controller device 240) can also control the game play. It should be understood that the primary user device 220 and the secondary user devices 228 and 500 are viewing the game play, but are not actively controlling it.
[0097] Fig. 6AAn interface 600 for accessing the game play process of online users of a cloud gaming system according to an implementation of the present disclosure is shown. In the implementation shown, the interface 600 provides access to information related to the friends of the primary user on a social network. The social network can be a social network of a cloud gaming system, or another social network. As shown, various options are provided, such as a "search" feature to enable searching for a specific user; an "online" feature to view currently online friends; an "all" feature to view all friends of the primary user; an "in game session" feature 602 to view friends currently participating in an active game session; a "met players" feature to view the IDs of players encountered by the user in other scenarios (e.g., during a multiplayer game play process of a video game); a "friend request" feature to view requests to / from the primary user to become friends on a social network; and a "blocked" feature to view users who are blocked from communicating or interacting with the primary user on a social network.
[0098] As shown in the illustrated implementation, the "In Game Session" feature 602 has been selected from the interface 600, thereby displaying a list of the user's friends who are currently participating in the active game play session on the right side of the interface. Such a list of friends can be in the form of a series of profile entries (such as entry 604), and can also include relevant information, such as the friend's user ID, profile picture, the name of the specific video game they are playing, the duration of their game play, their current level, etc. In addition, a "Join Session" feature 606 is provided, wherein selection of feature 606 enables the primary user to request to watch or join the game play of the video game session. Thus, as shown in the illustrated implementation, the current primary user can request to join the session of user "Johnny123" as a spectator only or also as a participant. It should be understood that in either case, as described above, the streaming of the game play video occurs via P2P sharing. And if the current user is allowed to join as a participant, the current user's input is transmitted to the user device associated with user "Johnny123", for example, via a socket at the user device.
[0099] Figure 6B An interface 610 for providing access to viewing and / or participating in the game play of a user session in a cloud gaming system according to an implementation of the present disclosure is shown. In the illustrated implementation, the interface 610 is configured to provide access to viewing a real-time ongoing game session. For example, various icons 612, 614, and 616 indicate a video game session that is currently being played in real time and available for viewing. In some implementations, a real-time video feed of the game session is provided to the user of the system by selecting an icon. It should be understood that, as described above, P2P sharing can be used to provide a real-time video feed.
[0100] Additionally, in some implementations, a user accessing a live video feed of a given gaming session may also request to join the gaming session as a participant. After the request is approved (which may be automatic in some cases or may require explicit approval by the session owner), the input from the user accessing the live video feed is provided back to the session owner's device and applied to the video gaming session being executed by the gaming console, as previously described.
[0101] In some implementations, a session owner can configure settings to determine whether another user is permitted to join their session gameplay as a participant (rather than just as a spectator). In some implementations, the option to join as a participant can be configured to be offered only to the session owner's friends on a social network (such as a social network associated with the cloud gaming system). In some implementations, game-related settings can be applied, such as only allowing players with a minimum experience level to join as participants.
[0102] In some implementations, a group chat session is provided during a crowdsourced game so that users can communicate with each other via voice / text chat.
[0103] Figure 7 An implementation scheme of an information service provider architecture is shown. An information service provider (ISP) 770 provides a large number of information services to users 782 that are geographically dispersed and connected via a network 786. An ISP may provide only one type of service, such as stock price updates, or may provide various types of services, such as broadcast media, news, sports, games, etc. In addition, the services provided by each ISP are dynamic, i.e., services may be added or removed at any point in time. Therefore, the ISP that provides a particular type of service to a particular individual may change over time. For example, when a user is in her hometown, the user may be provided services by an ISP close to the user, and when the user travels to a different city, the user may be provided services by a different ISP. The local ISP will transfer the required information and data to the new ISP, so that the user information "follows" the user to the new city, thereby making the data closer to the user and easier to access. In another implementation, a master-slave relationship may be established between a main ISP that manages information for the user and a server ISP that interfaces directly with the user under the control of the main ISP. In another implementation, data is transferred from one ISP to another ISP as the client moves around the world, so that the ISP that is in a position to better provide services to the user becomes the ISP that provides these services.
[0104] ISP 770 includes an application service provider (ASP) 772 that provides computer-based services to customers over a network. Software provided using the ASP model is sometimes referred to as on-demand software or software as a service (SaaS). A simple form of providing access to a specific application, such as customer relationship management, is to use a standard protocol, such as HTTP. The application software resides on the vendor's system and is accessed by the user through a web browser using HTML, through dedicated client software provided by the vendor, or through other remote interfaces, such as thin clients.
[0105] Services provided over a wide geographic area often use cloud computing. Cloud computing is a style of computing in which dynamically scalable and often virtualized resources are provided as a service over the Internet. Users do not need to be experts in the technical infrastructure that supports them in the "cloud." Cloud computing can be divided into different services, such as Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS). Cloud computing services typically provide common business applications accessed online from a web browser, while the software and data are stored on servers. Based on the way the Internet is depicted in computer network diagrams, the term cloud is used as a metaphor for the Internet (e.g., using servers, storage, and logic), and as an abstraction for the complex infrastructure that it hides.
[0106] In addition, ISP 770 includes a game processing server (GPS) 774, which is used by game clients to play single-player and multi-player video games. Most video games played on the Internet are run through a connection to a game server. Typically, games use a dedicated server application that collects data from players and distributes it to other players. This is more effective and efficient than a peer-to-peer arrangement, but it requires a separate server to host the server application. In another embodiment, GPS establishes communication between players, and the corresponding game playing devices of the players exchange information without relying on a centralized GPS.
[0107] Dedicated GPS are servers that run independently of the clients. Such servers are usually run on dedicated hardware located in a data center, thus providing more bandwidth and dedicated processing power. For most PC-based multiplayer games, dedicated servers are the preferred method of hosting game servers. Massively multiplayer online games run on dedicated servers, which are usually hosted by the software company that owns the game title, allowing them to control and update the content.
[0108] The broadcast processing server (BPS) 776 distributes the audio or video signal to the audience. Broadcasting to a very small audience is sometimes called narrowcasting. The final leg of broadcast distribution is how the signal reaches the listener or observer, and it may be transmitted from the air to an antenna and receiver like a radio or television station, or it may be transmitted through cable television or cable broadcasting (or "wireless cable") through a workstation or directly from the network. The Internet can also bring radio or television to receivers, especially through multicasting, which can share signals and bandwidth. Historically, broadcasting has been defined by geographic areas, such as national broadcasts or regional broadcasts. However, with the popularity of fast Internet, broadcasting is not limited by geographical conditions because content can reach almost any country in the world.
[0109] Storage Service Providers (SSPs) 778 provide computer storage space and related management services. SSPs also provide regular backup and archiving. By offering storage as a service, users can order more storage as needed. Another major advantage is that SSPs include backup services, and if a computer's hard drive fails, the user will not lose all of their data. In addition, multiple SSPs can have full or partial copies of a user's data, allowing the user to access the data in an efficient manner, regardless of where the user is located or the device used to access the data. For example, a user can access personal files on a home computer as well as on a mobile phone (when the user is on the move).
[0110] Communications providers 780 provide connectivity to users. One type of communications provider is an Internet Service Provider (ISP), which provides access to the Internet. An ISP connects its customers using data transmission technology suitable for delivering Internet Protocol datagrams, such as dial-up, DSL, cable modem, fiber optic, wireless, or dedicated high-speed interconnects. Communications providers may also provide messaging services, such as email, instant messaging, and SMS text messaging. Another type of communications provider is a Network Service Provider (NSP), which sells bandwidth or network access by providing direct backbone access to the Internet. Network service providers may include telecommunications companies, data carriers, wireless communications providers, Internet service providers, cable TV operators that provide high-speed Internet access, and the like.
[0111] Data exchange 788 interconnects several modules within ISP 770 and connects these modules to users 782 through network 786. Data exchange 788 can cover a small area where all modules of ISP 770 are in close proximity, or can cover a large geographic area when different modules are geographically dispersed. For example, data exchange 788 can include Fast Gigabit Ethernet (or faster Gigabit Ethernet) within a cabinet in a data center, or an intercontinental Virtual Area Network (VLAN).
[0112] The user 782 accesses the remote service using a client device 784, which includes at least a CPU, memory, display, and I / O. The client device may be a PC, mobile phone, netbook, tablet computer, gaming system, PDA, etc. In one embodiment, the ISP 770 identifies the type of device used by the client and adjusts the communication method used. In other cases, the client device uses a standard communication method (such as html) to access the ISP 770.
[0113] Embodiments of the present disclosure may be practiced with various computer system configurations including handheld devices, microprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframe computers, etc. The present disclosure may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a wired or wireless network.
[0114] In view of the above embodiments, it should be understood that the present disclosure can employ 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 present disclosure is a useful machine operation. The present disclosure also relates to a device or equipment for performing these operations. The device can be specially constructed for the desired purpose, or the device can be a general-purpose computer selectively activated or configured by a computer program stored in the computer. Specifically, various general-purpose machines can be 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.
[0115] The present disclosure may also be embodied as computer-readable code on a computer-readable medium. Alternatively, the computer-readable code may be downloaded from a server using the above-mentioned data exchange interconnection. A computer-readable medium is any data storage device that can store data, which can then be read by a computer system. Examples of computer-readable media include hard drives, network attached storage devices (NAS), read-only memories, random access memories, CD-ROMs, CD-Rs, CD-RWs, magnetic tapes, and other optical and non-optical data storage devices. The computer-readable medium may include a computer-readable tangible medium distributed on a network-coupled computer system so that the computer-readable code is stored and executed in a distributed manner.
[0116] 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.
[0117] Although the foregoing disclosure has been described in considerable detail for purposes of clarity of understanding, it will be apparent that certain changes and modifications may be practiced within the scope of the appended claims. Therefore, the present embodiments are to be considered illustrative rather than restrictive, and the disclosure is not to be limited to the details given herein, but may be modified within the scope and equivalents of the described embodiments.
[0118] Figure 8 A game console (such as a controller) that can be compatible with a controller for implementing a virtual character control system according to an embodiment of the present disclosure is schematically shown. Playstation The overall system architecture of the mobile entertainment device is provided. A system unit 800 is provided, wherein various peripheral devices can be connected to the system unit 800. In some implementations, the system unit 800 can be a computing server. The system unit 800 includes: a Cell processor 828; dynamic random access memory (XDRAM) unit 826; a reality synthesizer graphics unit 830 with a dedicated video random access memory (VRAM) unit 832; and an I / O bridge 834. The system unit 800 also includes a Blu-ray disc 840a that can be accessed through the I / O bridge 834. disk Optical disc reader 840 and removable slot-loading hard disk drive (HDD) 836. Optionally, system unit 800 also includes a device for reading compact flash cards, Memory Cards, etc. that can be accessed through I / O bridge 834. A memory card reader 838 for a memory card or the like.
[0119] The I / O bridge 834 is also connected to six Universal Serial Bus (USB) 2.0 ports 824; a Gigabit Ethernet port 822; an IEEE 802.11b / g wireless networking (Wi-Fi) port 820; and a Bluetooth port 824 capable of supporting up to seven Bluetooth connections. Wireless link port 818.
[0120] In operation, the I / O bridge 834 handles all wireless, USB, and Ethernet data, including data from one or more game controllers 802. For example, when a user is playing a game, the I / O bridge 834 receives data from the game controller 802 via a Bluetooth link and directs it to the Cell processor 828, which updates the current state of the game accordingly.
[0121] In addition to the game controller 802, the wireless, USB, and Ethernet ports provide connections for other peripheral devices such as: remote control 804; keyboard 806; mouse 808; portable entertainment device 810, such as a Sony Playstation Entertainment devices; video cameras, such as camera 812; and microphone headset 814. Thus, such peripheral devices may in principle be connected to the system unit 800 wirelessly; for example, the portable entertainment device 810 may communicate via a Wi-Fi ad hoc connection, while the microphone headset 814 may communicate via a Bluetooth link.
[0122] The provision of these interfaces means that the Playstation 3 device may also be compatible with other peripheral devices such as digital video recorders (DVRs), set-top boxes, digital cameras, portable media players, voice-over-IP phones, mobile phones, printers and scanners.
[0123] Additionally, a legacy memory card reader 816 may be connected to the system unit via USB port 824, thereby being able to read the memory card reader 816 provided by the system unit. or Playstation The type of memory card 848 used by the device.
[0124] In the present embodiment, the game controller 802 is operable to communicate wirelessly with the system unit 800 via a Bluetooth link. However, the game controller 802 may alternatively be connected to a USB port, thereby also providing a power source for charging the battery of the game controller 802. In addition to one or more analog joysticks and conventional control buttons, the game controller is also sensitive to six degrees of freedom of motion, which corresponds to translation and rotation in each axis. Thus, gestures and movements of the user of the game controller can be converted into inputs for the game in addition to or in lieu of conventional button or joystick commands. Optionally, other wirelessly enabled peripheral devices (such as a Playstation 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 67, 68, 79, 70, 71 TM portable device) can be used as a controller. TM In the case of a portable device, additional game or control information (e.g., control instructions or number of lives) may be provided on the screen of the device. Other alternative or supplemental control devices may also be used, such as a dance mat (not shown), a light gun (not shown), a steering wheel and pedals (not shown), or a custom controller, such as a single or several large buttons for a quick response quiz game (also not shown).
[0125] The remote control 804 is also operable to communicate wirelessly with the system unit 800 via a Bluetooth link. The remote control 804 includes a Blu-Ray TMControls for the operation of the disk BD-ROM reader 840 and navigation of the disk contents.
[0126] In addition to conventional pre-recorded and recordable CDs and so-called Super Audio CDs, Blu-Ray TM The disk BD-ROM reader 840 is operable to read CD-ROMs compatible with the Playstation and PlayStation 2 devices. The reader 840 is also operable to read DVD-ROMs compatible with the Playstation 2 and PlayStation 3 devices, in addition to conventional pre-recorded and recordable DVDs. The reader 840 is further operable to read BD-ROMs compatible with the Playstation 3 device, as well as conventional pre-recorded and recordable Blu-ray disks.
[0127] The system unit 800 is operable to supply audio and video generated or decoded by the Playstation 3 device via the reality synthesizer graphics unit 830 to a display and sound output device 842, such as a monitor or television having a display 844 and one or more speakers 846, via audio and video connectors. The audio connector 850 may include conventional analog and digital outputs, while the video connector 852 may variously include component video, S-video, composite video, and one or more High Definition Multimedia Interface (HDMI) outputs. Thus, the video output may be in a format such as PAL or NTSC, or in high definition at 720p, 1080i, or 1080p.
[0128] Audio processing (generation, decoding, etc.) is performed by the Cell processor 828. The operating system of the Playstation 3 device supports 5.1 surround sound, Theater Surround (DTS) and The disk decodes 7.1 surround sound.
[0129] In the present embodiment, the camera 812 includes a single charge coupled device (CCD), an LED indicator, and a hardware-based real-time data compression and encoding device so that the compressed video data can be transmitted in an appropriate format, such as based on the MPEG (Moving Picture Experts Group) standard within the image, for decoding by the system unit 800. The camera LED indicator is arranged to light up in response to appropriate control data from the system unit 800, for example to indicate unfavorable lighting conditions. The embodiment of the camera 812 can be connected to the system unit 800 in various ways via a USB, Bluetooth or Wi-Fi communication port. The embodiment of the camera can include one or more associated microphones and can also transmit audio data. In the embodiment of the camera, the CCD can have a resolution suitable for high-definition video capture. In use, the image captured by the camera can be, for example, incorporated into a game or interpreted as a game control input.
[0130] Typically, appropriate software, such as a device driver, should be provided for successful data communications with a peripheral device, such as a camera or remote control, via one of the communication ports of the system unit 800. Device driver technology is well known and will not be described in detail herein, except that those skilled in the art will appreciate that a device driver or similar software interface may be required in the present embodiment described.
[0131] Fig. 9 9 is a block diagram of a game system 900 according to an implementation of the present disclosure. The game system 900 is configured to provide a video stream to one or more clients 910 via a network 915. The game system 900 generally includes a video server system 920 and an optional game server 925. The video server system 920 is configured to provide a video stream to one or more clients 910 with a minimum quality of service. For example, the video server system 920 may receive a game command that changes the state of a video game or the visual angle within the video game, and provide an updated video stream reflecting this state change to the client 910 with a minimum lag time. The video server system 920 may be configured to provide a video stream in a variety of alternative video formats (including formats that have not yet been defined). In addition, the video stream may include video frames that are configured to be presented to the user at a variety of frame rates. Typical frame rates are 30 frames per second, 60 frames per second, and 920 frames per second. But higher or lower frame rates are included in alternative embodiments of the present disclosure.
[0132] Client 910 (referred to as 910A, 910B, etc. separately herein) can include head-mounted display, terminal, personal computer, game console, tablet computer, phone, set-top box, kiosk, wireless device, numeric keypad, independent device, handheld game playing device and / or the like.Usually, client 910 is configured to receive encoded video stream, decode the video stream, and present the resulting video to the user, such as a game player.The process of receiving encoded video stream and / or decoding the video stream generally includes storing each video frame in the receiving buffer of the client.The video stream can be presented to the user on a display integrated with client 910 or on a separate device such as a monitor or a television.Client 910 is optionally configured to support more than one game player.For example, a game console can be configured to support two, three, four or more simultaneous players.Each of these players can receive a separate video stream, or a single video stream can include a frame area specifically generated for each player, such as a frame area generated based on the perspective of each player.Client 910 is optionally geographically dispersed. The number of clients included in the gaming system 900 can vary greatly from one or two to thousands, tens of thousands, or more. As used herein, the term "game player" is used to refer to a person playing a game, and the term "game playing device" is used to refer to a device for playing a game. In some embodiments, a game playing device may refer to a plurality of computing devices that collaborate to deliver a gaming experience to a user. For example, a game console and an HMD may collaborate with a video server system 920 to deliver a game viewed through an HMD. In one embodiment, a game console receives a video stream from a video server system 920, and the game console forwards the video stream or an update to the video stream to the HMD for rendering.
[0133] Client 910 is configured to receive video stream via network 915. Network 915 can be any type of communication network, including telephone network, Internet, wireless network, power line network, local area network, wide area network, dedicated network and / or the like. In a typical embodiment, the video stream is transmitted via a standard protocol (such as TCP / IP or UDP / IP). Alternatively, the video stream is transmitted via a proprietary standard.
[0134] A typical example of a client 910 is a personal computer including a processor, non-volatile memory, a display, decoding logic, network communication capabilities, and input devices. The decoding logic may include hardware, firmware, and / or software stored on a computer-readable medium. Systems for decoding (and encoding) video streams are well known in the art and vary depending on the specific encoding scheme used.
[0135] Client 910 may but need not further include a system configured to modify the received video. For example, the client may be configured to perform further rendering, superimpose a video image on another video image, crop the video image, etc. For example, client 910 may be configured to receive various types of video frames, such as I frames, P frames, and B frames, and process these frames into images to display to the user. In some embodiments, members of client 910 are configured to perform other rendering, coloring, conversion to 3D, or similar operations on the video stream. Members of client 910 are optionally configured to receive more than one audio or video stream. For example, the input device of client 910 may include a one-handed game controller, a two-handed game controller, a gesture recognition system, a gaze recognition system, a voice recognition system, a keyboard, a joystick, a pointing device, a force feedback device, a motion and / or position sensing device, a mouse, a touch screen, a neural interface, a camera, an input device to be developed, and / or the like.
[0136] The video stream (and optional audio stream) received by the client 910 is generated and provided by the video server system 920. As further described elsewhere herein, the video stream includes video frames (and the audio stream includes audio frames). Video frames are configured (e.g., they include pixel information in an appropriate data structure) to make a meaningful contribution to the image displayed to the user. As used herein, the term "video frame" is used to refer to a frame that primarily includes information configured to contribute to (e.g., implement) the image shown to the user. Most of the teachings herein about "video frames" can also be applied to "audio frames."
[0137] Client 910 is usually configured to receive input from the user. These inputs may include game commands that are configured to change the state of the video game or otherwise affect the game play process. Game commands can be received using input devices and / or can be automatically generated by the computing instructions executed on client 910. The received game commands are transmitted to video server system 920 and / or game server 925 from client 910 via network 915. For example, in some embodiments, game commands are transmitted to game server 925 via video server system 920. In some embodiments, a separate copy of game commands is transmitted to game server 925 and video server system 920 from client 910. The transmission of game commands optionally depends on the identification of commands. Optionally, game commands are transmitted from client 910A by different routes or communication channels for providing audio or video streams to client 910A.
[0138] The game server 925 is optionally operated by an entity different from the video server system 920. For example, the game server 925 can be operated by the publisher of the multi-player game. In this example, the video server system 920 is optionally regarded as a client by the game server 925, and is optionally configured to be a prior art client that executes a prior art game engine from the perspective of the game server 925. The communication between the video server system 920 and the game server 925 is optionally carried out via the network 915. Therefore, the game server 925 can be a prior art multi-player game server that sends game state information to multiple clients, and one of the multiple clients is the game server system 920. The video server system 920 can be configured to communicate with multiple instances of the game server 925 at the same time. For example, the video server system 920 can be configured to provide multiple different video games to different users. Each of these different video games can be supported by different game servers 925 and / or published by different entities. In some embodiments, several geographically distributed instances of the video server system 920 are configured to provide game videos to multiple different users. Each of these instances of the video server system 920 can communicate with the same instance of the game server 925. Communications between the video server system 920 and one or more game servers 925 optionally occur via dedicated communication channels. For example, the video server system 920 can be connected to the game server 925 via a high-bandwidth channel that is dedicated to communications between these two systems.
[0139] The video server system 920 includes at least a video source 930, an I / O device 945, a processor 950, and a non-transitory storage device 955. The video server system 920 may include one computing device or be distributed among multiple computing devices. These computing devices are optionally connected via a communication system such as a local area network.
[0140] Video source 930 is configured to provide video stream, such as streaming video or a series of video frames forming dynamic pictures. In some embodiments, video source 930 includes video game engine and rendering logic. Video game engine is configured to receive game commands from players, and maintains a copy of video game state based on received commands. This game state includes the position of the object in the game environment, and generally includes a viewing angle. Game state may also include the properties, images, colors and / or textures of the object. Generally based on game rules and game commands such as moving, turning, attacking, setting focus, interacting, using to maintain game state. A part of the game engine is optionally arranged in game server 925. Game server 925 can maintain a copy of the state of the game based on game commands received from multiple players using geographically dispersed clients. In these cases, game state is provided to video source 930 by game server 925, wherein a copy of game state is stored and rendering is performed. Game server 925 can directly receive game commands from client 910 via network 915, and / or can receive game commands via video server system 920.
[0141] The video source 930 typically includes rendering logic, such as hardware, firmware, and / or software stored on a computer-readable medium such as a storage device 955. The rendering logic is configured to create video frames of a video stream based on the game state. All or part of the rendering logic is optionally disposed in a graphics processing unit (GPU). The rendering logic typically includes a processing stage configured to determine the three-dimensional spatial relationship between objects and / or apply appropriate textures, etc. based on the game state and viewpoint. The rendering logic produces raw video, which is then typically encoded before being transmitted to the client 910. For example, the raw video may be encoded according to the following: Adobe Acrobat®. Standard, .wav, H.265, H.264, H.263, On2, VP6, VC-1, WMA, Huffyuv, Lagarith, MPG-x, Xvid, FFmpeg, x264, VP6-8, realvideo, mp3, etc. The encoding process produces a video stream, which is optionally packaged for transmission to a decoder on a remote device. The video stream is characterized by a frame size and a frame rate. Typical frame sizes include 800×600, 1280×720 (e.g., 720p), 1024×768, but any other frame size can be used. The frame rate is the number of video frames per second. A video stream may include different types of video frames. For example, the H.264 standard includes "P" frames and "I" frames. I frames include information for refreshing all macroblocks / pixels on a display device, while P frames include information for refreshing a subset thereof. The data size of a P frame is typically smaller than an I frame. As used herein, the term "frame size" is intended to refer to the number of pixels within a frame. The term "frame data size" is used to refer to the number of bytes required to store a frame.
[0142] In an alternative embodiment, video source 930 includes a video recording device, such as a camera. The camera can be used to generate delayed video or real-time video, which can be included in the video stream of a computer game. The resulting video stream optionally includes both rendered images and images recorded using a static camera or a video camera. Video source 930 can also include a storage device that is configured to store previously recorded videos to be included in the video stream. Video source 930 can also include a motion or positioning sensing device configured to detect the motion or position of an object (e.g., a person), and logic configured to determine a game state or generate a video based on the motion and / or position detected.
[0143] Video source 930 is optionally configured to provide an overlay configured to be placed on other videos. For example, these overlays may include a command interface, login instructions, messages to gamers, images of other gamers, video feeds of other gamers (e.g., webcam videos). In embodiments of client 910A including a touch screen interface or gaze detection interface, the overlay may include a virtual keyboard, a joystick, a touchpad, and / or the like. In an example of an overlay, the player's voice is overlaid on an audio stream. Video source 930 optionally also includes one or more audio sources.
[0144] In the embodiment where the video server system 920 is configured to maintain the game state based on input from more than one player, each player can have a different perspective including the position and direction of viewing. The video source 930 is optionally configured to provide a separate video stream for each player based on the perspective of each player. In addition, the video source 930 can be configured to provide different frame sizes, frame data sizes and / or encodings to each of the clients 910. The video source 930 is optionally configured to provide 3D video.
[0145] I / O devices 945 are configured to enable the video server system 920 to send and / or receive information, such as video, commands, information requests, game status, gaze information, device motion, device location, user motion, client identity, player identity, game commands, security information, audio, and / or the like. I / O devices 945 typically include communication hardware such as a network card or modem. I / O devices 945 are configured to communicate with game servers 925, network 915, and / or clients 910.
[0146] Processor 950 is configured to execute logic, such as software, included within the various components of the video server system 920 discussed herein. For example, processor 950 can be programmed with software instructions to perform the functions of video source 930, game server 925, and / or client qualifier 960. Video server system 920 optionally includes more than one instance of processor 950. Processor 950 can also be programmed with software instructions to execute commands received by video server system 920, or coordinate the operation of the various elements of the game system 900 discussed herein. Processor 950 can include one or more hardware devices. Processor 950 is an electronic processor.
[0147] Storage device 955 includes non-temporary analog and / or digital storage devices. For example, storage device 955 may include an analog storage device configured to store video frames. Storage device 955 may include a computer-readable digital storage device, such as a hard drive, an optical drive, or a solid-state storage device. Storage device 915 is configured to store video frames, artificial frames, video streams including both video frames and artificial frames, audio frames, audio streams, etc. (for example, through an appropriate data structure or file system). Storage device 955 is optionally distributed between multiple devices. In some embodiments, storage device 955 is configured to store software components of video source 930 discussed elsewhere herein. These components can be stored in a format that is ready to supply at any time.
[0148] The video server system 920 optionally also includes a client qualifier 960. The client qualifier 960 is configured to remotely determine the capabilities of a client such as client 910A or 910B. These capabilities may include the capabilities of the client 910A itself and the capabilities of one or more communication channels between the client 910A and the video server system 920. For example, the client qualifier 960 may be configured to test a communication channel through the network 915.
[0149] The client qualifier 960 can manually or automatically determine (e.g., discover) the capabilities of the client 910A. Manual determination includes communicating with the user of the client 910A and asking the user to provide capabilities. For example, in some embodiments, the client qualifier 960 is configured to display images, text, and / or the like in the browser of the client 910A. In one embodiment, the client 910A is an HMD including a browser. In another embodiment, the client 910A is a game console with a browser, which can be displayed on the HMD. The displayed object requests the user to input information such as the operating system, processor, video decoder type, network connection type, display resolution, etc. of the client 910A. The information entered by the user is transmitted back to the client qualifier 960.
[0150] Automatic determination can occur, for example, by executing an agent on client 910A and / or by sending a test video to client 910A. The agent may include computing instructions embedded in a web page or installed as a post-add-on, such as a java script. The client qualifier 960 optionally provides an agent. In various embodiments, the agent can find out the processing power of client 910A, the decoding and display capabilities of client 910A, the latency reliability and bandwidth of the communication channel between client 910A and video server system 920, the display type of client 910A, the firewall present on client 910A, the hardware of client 910A, the software executed on client 910A, the registry entries within client 910A, and / or the like.
[0151] The client qualifier 960 includes hardware, firmware, and / or software stored on a computer-readable medium. The client qualifier 960 is optionally disposed on a computing device separate from one or more other elements of the video server system 920. For example, in some embodiments, the client qualifier 960 is configured to determine the characteristics of a communication channel between a client 910 and one or more instances of the video server system 920. In these embodiments, the information discovered by the client qualifier can be used to determine which instance of the video server system 920 is best suited to deliver streaming video to one of the clients 910.
[0152] Embodiments of the present disclosure may be practiced with various computer system configurations including handheld devices, microprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframe computers, etc. The present disclosure may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a wired or wireless network.
[0153] In view of the above embodiments, it should be understood that the present disclosure can employ 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 present disclosure is a useful machine operation. The present disclosure also relates to a device or equipment for performing these operations. The device can be specially constructed for the desired purpose, or the device can be a general-purpose computer selectively activated or configured by a computer program stored in the computer. Specifically, various general-purpose machines can be 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.
[0154] The present disclosure may also be embodied as computer-readable code on a computer-readable medium. A computer-readable medium is any data storage device that can store data, which can then be read by a computer system. Examples of computer-readable media include hard drives, network attached storage devices (NAS), read-only memories, random access memories, CD-ROMs, CD-Rs, CD-RWs, magnetic tapes, and other optical and non-optical data storage devices. The computer-readable medium may include a computer-readable tangible medium distributed on a network-coupled computer system so that the computer-readable code is stored and executed in a distributed manner.
[0155] 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.
[0156] Although the foregoing disclosure has been described in considerable detail for purposes of clear understanding, it is apparent that certain changes and modifications may be practiced within the scope of the appended claims. Therefore, the present embodiments are to be considered illustrative rather than restrictive, and the disclosure is not to be limited to the details given herein, but may be modified within the scope and equivalents of the disclosure.
Claims
1. A method for crowdsourcing cloud gaming, comprising: executing a session of a cloud video game by a cloud gaming machine, the session being configured to generate a video of the gameplay; Streaming the game play video from the cloud gaming machine to a primary user device over a network, the primary user device being configured to render the game play video to a primary display; wherein the primary user device is configured to stream the game play video to one or more secondary user devices via a peer-to-peer network, each of the secondary user devices being configured to render the game play video to one or more secondary displays, respectively; wherein the primary user device is configured to process primary input generated from an interactive game play associated with the primary user device and secondary input generated from interactive game play associated with the one or more secondary user devices to generate an aggregate input; receiving, by the cloud gaming machine, the aggregated input from the primary user device via the network; Wherein executing the session of the cloud video game includes applying the aggregated input to update a game state of the cloud video game that is processed to generate the gameplay video.
2. The method of claim 1, wherein the method enables substantially real-time interactive gameplay of the session of the cloud video game simultaneously through the primary user device and the one or more secondary user devices.
3. The method of claim 1, wherein the cloud gaming machine does not communicate with the one or more secondary user devices.
4. The method of claim 1, wherein the session of the cloud video game is defined as a single-player session of the cloud video game. 5 . The method of claim 1 , wherein the primary user device is configured to instantiate a socket through which the secondary input is received from the one or more secondary user devices.
6. The method of claim 1, wherein at least one of the secondary user devices is configured to execute a browser application that renders the gameplay video received via the peer-to-peer network.
7. The method of claim 1, wherein streaming the gameplay video to the one or more secondary user devices over the peer-to-peer network comprises accessing a WebRTC application programming interface (API) to enable instantiation of the peer-to-peer network.
8. The method of claim 1, wherein processing the primary input and the secondary input to generate the aggregate input comprises combining the primary input and the secondary input into a single input stream.
9. The method of claim 1, wherein processing the primary input and the secondary input to generate the aggregate input comprises determining a popular input based on the primary input and the secondary input.
10. The method of claim 1, wherein processing the primary input and the secondary input to generate the aggregate input comprises: For a given input type and a current time interval, a single input command is determined based on a primary input and a secondary input of the primary input and the secondary input that have the given input type and occur during the current time interval.
11. A non-transitory computer readable medium having program instructions embodied thereon, the program instructions being configured to, when executed by at least one server computer, cause the at least one server computer to perform a method comprising the following method operations: executing a session of a cloud video game by a cloud gaming machine, the session being configured to generate a video of the gameplay; Streaming the game play video from the cloud gaming machine to a primary user device over a network, the primary user device being configured to render the game play video to a primary display; wherein the primary user device is configured to stream the game play video to one or more secondary user devices via a peer-to-peer network, each of the secondary user devices being configured to render the game play video to one or more secondary displays, respectively; wherein the primary user device is configured to process primary input generated from an interactive game play associated with the primary user device and secondary input generated from interactive game play associated with the one or more secondary user devices to generate an aggregate input; receiving, by the cloud gaming machine, the aggregated input from the primary user device via the network; Wherein executing the session of the cloud video game includes applying the aggregated input to update a game state of the cloud video game that is processed to generate the gameplay video.
12. The non-transitory computer-readable medium of claim 11, wherein the method enables substantially real-time interactive gameplay of the session of the cloud video game simultaneously through the primary user device and the one or more secondary user devices.
13. The non-transitory computer-readable medium of claim 11, wherein the cloud gaming machine does not communicate with the one or more secondary user devices.
14. The non-transitory computer-readable medium of claim 11, wherein the session of the cloud video game is defined as a single-player session of the cloud video game.
15. The non-transitory computer-readable medium of claim 11, wherein the primary user device is configured to instantiate a socket through which the secondary input is received from the one or more secondary user devices.
16. The non-transitory computer-readable medium of claim 11, wherein at least one of the secondary user devices is configured to execute a browser application that renders the gameplay video received over the peer-to-peer network.
17. The non-transitory computer-readable medium of claim 11, wherein streaming the gameplay video to the one or more secondary user devices over the peer-to-peer network comprises accessing a WebRTC application programming interface (API) to enable instantiation of the peer-to-peer network.
18. The non-transitory computer-readable medium of claim 11, wherein processing the primary input and the secondary input to generate the aggregate input comprises combining the primary input and the secondary input into a single input stream.
19. The non-transitory computer-readable medium of claim 11, wherein processing the primary input and the secondary input to generate the aggregate input comprises determining a popular input based on the primary input and the secondary input.
20. The non-transitory computer-readable medium of claim 11, wherein processing the primary input and the secondary input to generate the aggregate input comprises: For a given input type and a current time interval, a single input command is determined based on a primary input and a secondary input of the primary input and the secondary input that have the given input type and occur during the current time interval.
21. A system for crowdsourcing cloud gaming, comprising: A cloud gaming machine configured to execute a session of a cloud video game, wherein the session is configured to generate a video of the game play process; The cloud gaming machine is configured to stream the game play video from the cloud gaming machine to a primary user device via a network, and the primary user device is configured to render the game play video to a primary display; wherein the primary user device is configured to stream the game play video to one or more secondary user devices via a peer-to-peer network, each of the secondary user devices being configured to render the game play video to one or more secondary displays, respectively; wherein the primary user device is configured to process primary input generated from an interactive game play associated with the primary user device and secondary input generated from interactive game play associated with the one or more secondary user devices to generate an aggregate input; receiving, by the cloud gaming machine, the aggregated input from the primary user device via the network; Wherein executing the session of the cloud video game includes applying the aggregated input to update a game state of the cloud video game that is processed to generate the gameplay video.
22. The system of claim 21, wherein substantially real-time interactive gameplay of the session of the cloud video game is simultaneously enabled by the primary user device and the one or more secondary user devices.
23. The system of claim 21, wherein the cloud gaming machine does not communicate with the one or more secondary user devices.
24. The system of claim 21, wherein the session of the cloud video game is defined as a single player session of the cloud video game.
