A cloud gaming implementation method, device, system, equipment and medium
Monitoring and managing multiple devices through the cloud game server solves the problems of cloud game device service stability and business docking complexity, achieves the stability and flexibility of cloud gaming devices, and reduces the complexity of business docking and reconnection. input cost.
Patent Information
- Application Number
- CN202110204835.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-23
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-02-23
AI Technical Summary
The service stability provided by cloud gaming equipment is low and the business connection complexity is high. Especially when a single provider service fails or stops cooperation, there is a lack of alternatives and high-cost business reconnection issues.
Monitor multiple cloud gaming devices through the cloud game server, determine the target device and return device information to the client heterogeneous SDK, realizing multi-device management and unified interfaces, and reducing the complexity of business docking.
It improves the stability and flexibility of cloud gaming device services, automatically switches to alternative devices, and reduces business docking complexity and reconnection costs.
Smart Images

Figure CN112807678B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of cloud gaming technology, and in particular to a method, device, system, equipment and medium for implementing cloud gaming. Background Art
[0002] With the development of cloud computing technology, cloud gaming, as an online game based on cloud computing technology, has received more and more attention.
[0003] The essence of cloud gaming is that cloud devices or simulators run games independently, and transmit the running screen to the user client in the form of video and / or audio data. Click and play, the game and the user client run on two different devices. Currently, the services provided by cloud gaming devices have problems such as low stability and high complexity of business docking. Summary of the invention
[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a method, device, system, equipment and medium for implementing cloud gaming.
[0005] In a first aspect, an embodiment of the present disclosure provides a method for implementing a cloud game, which is applied to a cloud game server, and the method includes:
[0006] Receive a cloud game start request;
[0007] Determining a target cloud gaming device based on monitoring data of each cloud gaming device, wherein the number of the cloud gaming devices is at least two;
[0008] The device information of the target cloud gaming device is returned to the client heterogeneous SDK, so that the client heterogeneous SDK starts the target cloud game corresponding to the cloud gaming start request based on the device information.
[0009] In a second aspect, the embodiments of the present disclosure further provide a method for implementing cloud gaming, which is applied to a client heterogeneous SDK, and the method includes:
[0010] Receive a cloud game start request;
[0011] Sending the cloud game start request to the cloud game server, and receiving device information of the target cloud game device returned by the cloud game server;
[0012] Starting the target cloud game corresponding to the cloud game start request based on the device information;
[0013] Among them, the target cloud gaming device is determined by the cloud gaming server based on monitoring data of each cloud gaming device, and the number of the cloud gaming devices is at least two.
[0014] In a third aspect, the embodiments of the present disclosure further provide a method for implementing a cloud game, which is applied to a cloud game device, and the method includes:
[0015] Receive a cloud game start request;
[0016] Start the target cloud game, and send the game running data of the target cloud game to the client heterogeneous SDK for display.
[0017] In a fourth aspect, an embodiment of the present disclosure further provides a cloud game implementation device, the device being arranged in a cloud game server, comprising:
[0018] A request receiving module, used to receive a cloud game start request;
[0019] A device determination module, configured to determine a target cloud gaming device based on monitoring data of each cloud gaming device, wherein the number of the cloud gaming devices is at least two;
[0020] The device information returning module is used to return the device information of the target cloud game device to the client heterogeneous SDK, so that the client heterogeneous SDK starts the target cloud game corresponding to the cloud game start request based on the device information.
[0021] In a fifth aspect, the embodiments of the present disclosure further provide a cloud gaming implementation device, which is arranged in a client heterogeneous SDK and includes:
[0022] Start trigger module, used to receive cloud game start request;
[0023] A request sending module, used to send the cloud game start request to the cloud game server, and receive the device information of the target cloud game device returned by the cloud game server;
[0024] A starting module, used to start the target cloud game corresponding to the cloud game start request based on the device information;
[0025] Among them, the target cloud gaming device is determined by the cloud gaming server based on monitoring data of each cloud gaming device, and the number of the cloud gaming devices is at least two.
[0026] In a sixth aspect, an embodiment of the present disclosure further provides a device for implementing a cloud game, wherein the device is provided in a cloud game device, and includes:
[0027] A start request module, used to receive a cloud game start request;
[0028] The data display module is used to start the target cloud game and send the game running data of the target cloud game to the client heterogeneous SDK for display.
[0029] In the seventh aspect, the embodiments of the present disclosure also provide a cloud gaming implementation system, comprising a client heterogeneous SDK, a cloud gaming server and a cloud gaming device, wherein the cloud gaming server is respectively communicated with the client heterogeneous SDK and the cloud gaming device, and is used to execute the cloud gaming implementation method described in the first aspect above, the client heterogeneous SDK is used to execute the cloud gaming implementation method described in the second aspect, and the number of the cloud gaming devices is at least two, and is used to execute the cloud gaming implementation method described in the third aspect.
[0030] In an eighth aspect, an embodiment of the present disclosure further provides an electronic device, comprising: a processor; a memory for storing executable instructions of the processor; the processor is used to read the executable instructions from the memory and execute the instructions to implement a method for implementing a cloud game as provided in an embodiment of the present disclosure.
[0031] In a ninth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute a method for implementing a cloud game as provided in an embodiment of the present disclosure.
[0032] The technical solution provided by the embodiments of the present disclosure has the following advantages over the prior art: In the implementation scheme of cloud gaming provided by the embodiments of the present disclosure, the cloud gaming server receives a cloud gaming startup request; determines the target cloud gaming device based on the monitoring data of each cloud gaming device, wherein the number of cloud gaming devices is at least two; and returns the device information of the target cloud gaming device to the client heterogeneous SDK, so that the client heterogeneous SDK starts the target cloud game corresponding to the cloud gaming startup request based on the device information. With the above technical solution, the cloud gaming server can manage multiple cloud gaming devices, determine the cloud gaming device currently providing services by monitoring the service status of multiple cloud gaming devices, thereby improving the stability of the services provided by the cloud gaming devices, and can connect to multiple different cloud gaming devices by configuring a unified standard client heterogeneous SDK in the business client, thereby reducing the complexity of business connection. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0034] Figure 1 A schematic diagram of a cloud game provided in an embodiment of the present disclosure;
[0035] Figure 2 A flowchart of a method for implementing a cloud game provided in an embodiment of the present disclosure;
[0036] Figure 3 A flowchart of another method for implementing a cloud game provided in an embodiment of the present disclosure;
[0037] Figure 4 A flowchart of another method for implementing a cloud game provided in an embodiment of the present disclosure;
[0038] Figure 5 A schematic diagram of implementing a cloud game provided in an embodiment of the present disclosure;
[0039] Figure 6 A schematic diagram of another implementation of a cloud game provided in an embodiment of the present disclosure;
[0040] Figure 7 A schematic diagram of the structure of a cloud gaming implementation system provided by an embodiment of the present disclosure;
[0041] Figure 8 A schematic diagram of the structure of a cloud gaming implementation device provided in an embodiment of the present disclosure;
[0042] Fig. 9 A schematic diagram of the structure of another cloud gaming implementation device provided in an embodiment of the present disclosure;
[0043] Fig.10 A schematic diagram of the structure of another cloud gaming implementation device provided in an embodiment of the present disclosure;
[0044] Fig.11 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0045] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0046] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0047] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0048] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0049] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0050] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0051] The essence of cloud gaming is that cloud devices or simulators run games independently, and transmit the running images to the user client in the form of video and / or audio data. Figure 1 A schematic diagram of a cloud game provided in an embodiment of the present disclosure, the game client can transmit the user operation to the cloud device through instructions, the cloud device can translate the instructions and run the cloud game, render and encode the game screen after running and send it to the game client, the game client can perform video transcoding to display the game screen to the user in the form of a video, the user can directly see the game screen after the operation, for example, the user clicks the shooting button, then the bullet can be seen flying out and hitting the target; the cloud game method allows users to experience the complete game without downloading, and does not require special adaptation, just click and play.
[0052] At present, if a cloud gaming device is only provided by a single provider, there are the following risks: low service stability. If a technical failure occurs in the service, the service will be unavailable and there will be no backup plan; if the cooperation with the provider is stopped due to some disputes or the expiration of the contract, the business will be suspended for a period of time; replacing a new provider requires reconnecting the business, which is too costly. If a cloud gaming device is provided with services by multiple providers, the business client needs to connect to the client SDKs of multiple different providers, and the services of different providers are not unified. The business client needs to perform management operations such as listing and / or removing cloud games on cloud gaming devices of different providers, and the complexity of business connection is relatively high. In order to solve the above technical problems, the embodiments of the present disclosure provide a method for implementing cloud gaming.
[0053] Figure 2 The present invention provides a flowchart of a method for implementing a cloud game, which can be executed by a cloud game implementation device, wherein the device can be implemented by software and / or hardware, and can generally be integrated in an electronic device. Figure 2 As shown, the method is applied to a cloud gaming server, comprising:
[0054] Step 101: Receive a cloud game start request.
[0055] In the disclosed embodiment, the cloud game server is a background for managing and monitoring cloud game devices of multiple providers, and can provide a unified service application interface. The cloud game device is a device for installing and running a cloud game client, providing technical and service support for the operation of the cloud game client, and the cloud game client is a game application deployed in the cloud. The cloud game start request can be a request for starting a target cloud game, that is, a request for requesting a cloud game device.
[0056] The client heterogeneous SDK can be a software development kit (SDK) installed in the business client and running based on the business client. It runs by calling the resources of the business client and is used to use cloud computing technology to interact with cloud gaming devices to realize the operation of corresponding cloud games.
[0057] Specifically, the cloud game server can receive a cloud game start request sent by the client heterogeneous SDK configured in the business client through the above service application interface. The business client can be any client in the terminal device. The embodiment of the present disclosure does not limit the specific business of the business client. For example, the business client can be a video client, a news client, a live broadcast client, etc.
[0058] Step 102: Determine a target cloud gaming device based on monitoring data of each cloud gaming device, wherein the number of cloud gaming devices is at least two.
[0059] Among them, monitoring data refers to data used to characterize the service performance and quality of cloud gaming devices. The monitoring data may include multiple types of data, without limitation.
[0060] In the disclosed embodiment, the cloud gaming implementation method may further include: obtaining monitoring data sent by the client heterogeneous SDK and / or each cloud gaming device at a set time interval. Optionally, the monitoring data includes at least one of the first frame success rate, the first frame delay, the operation delay, and the remaining capacity of the cloud resources.
[0061] The above-mentioned set time interval can be set according to actual conditions, for example, the set time interval can be set to 10 minutes. In the embodiment of the present disclosure, the cloud game server can obtain the monitoring data for each cloud game device sent by the client heterogeneous SDK, which may specifically include at least one of the first frame success rate, first frame delay and operation delay, etc. The above-mentioned first frame success rate refers to the probability of successfully displaying the first frame of the game screen of the cloud game, the first frame delay refers to the delay time of the first frame of the game screen of the cloud game, and the operation delay refers to the delay time from the user operation to the game feedback to the user in the cloud game. The cloud game server can also obtain the monitoring data sent by each cloud game device, which may specifically include the remaining capacity of cloud resources. Cloud resources refer to device resources or server resources in the cloud. The remaining capacity of cloud resources refers to the number of unused devices in the cloud and the unused memory capacity of the devices.
[0062] The monitoring data in the disclosed embodiment may include not only data reported by the cloud gaming device itself, but also data reported by the client heterogeneous SDK in the business client. The monitoring data is more comprehensive, making the subsequent determination of the target cloud gaming device based on the monitoring data more accurate.
[0063] Specifically, the target cloud gaming device is determined based on the monitoring data of each cloud gaming device, including: performing weighted summation based on the weights of different data in the monitoring data to determine the performance value corresponding to each cloud gaming device; sorting the performance values of each cloud gaming device in order from large to small, and determining the cloud gaming device with the first ranked performance value as the target cloud gaming device. The cloud gaming server can obtain the monitoring data of each cloud gaming device. Since the monitoring data may include multiple types of data, corresponding weights can be set for different data. The cloud gaming server can perform weighted summation of the monitoring data based on preset weights to determine the performance value of each cloud gaming device. After that, the cloud gaming server can sort the performance values of each cloud gaming device from large to small, and determine the cloud gaming device with the highest ranking as the target cloud gaming device currently providing services. The weights of the above different data can be set according to actual conditions.
[0064] Step 103: Return the device information of the target cloud gaming device to the client heterogeneous SDK, so that the client heterogeneous SDK starts the target cloud game corresponding to the cloud gaming start request based on the device information.
[0065] Among them, the client heterogeneous SDK is installed in the business client. The client heterogeneous SDK can be understood as a heterogeneous client SDK. Heterogeneity refers to the integration of multiple different architectures, abstracting their commonalities, packaging their differences, and providing a unified interface to the outside. At least two client SDKs are pre-packaged in the client heterogeneous SDK, and each client SDK corresponds to at least one cloud gaming device. In the disclosed embodiment, each client SDK corresponds to a unique cloud gaming device provider. A cloud gaming device provider can provide multiple cloud gaming devices. There can be multiple cloud gaming devices. Each provider can provide a client SDK with its own interface design to the business client to connect to the multiple cloud gaming devices it provides. The client heterogeneous SDK can encapsulate a fused interface layer based on the interface design of the client SDKs of multiple providers, unify the interface and parameters to the outside, and the specific parameters are carried by the business client, which can shield the differences between different providers.
[0066] After the cloud gaming server determines the target cloud gaming device, it can return the device information of the target cloud gaming device to the client heterogeneous SDK, so that the client heterogeneous SDK can directly interact with the corresponding target cloud gaming device based on the target client SDK corresponding to the device information, and start the target cloud game corresponding to the cloud gaming start request, that is, send a cloud gaming start request to the target cloud gaming device and receive game running data to realize the operation of the target cloud game.
[0067] The implementation scheme of cloud gaming provided by the disclosed embodiment is as follows: a cloud gaming server receives a cloud gaming startup request; determines a target cloud gaming device based on monitoring data of each cloud gaming device, wherein the number of cloud gaming devices is at least two; and returns device information of the target cloud gaming device to the client heterogeneous SDK, so that the client heterogeneous SDK starts the target cloud game corresponding to the cloud gaming startup request based on the device information. With the above technical scheme, the cloud gaming server can manage multiple cloud gaming devices, determine the cloud gaming device currently providing services by monitoring the service status of multiple cloud gaming devices, thereby improving the stability of services provided by cloud gaming devices, and can connect to multiple different cloud gaming devices by configuring a unified standard client heterogeneous SDK in the business client, thereby reducing the complexity of business connection.
[0068] In some embodiments, the cloud game implementation method may further include: in response to a secondary start request for a target cloud game, determining whether the target cloud game device meets the renewal condition; if it is determined that the target cloud game device does not meet the renewal condition, then determining a new target cloud game device based on monitoring data of each cloud game device, and returning the device information of the new target cloud game device to the client heterogeneous SDK. Optionally, determining that the target cloud game device does not meet the renewal condition includes: if it is determined that the target cloud game device fails or the remaining capacity of the cloud resources is zero, then determining that the target cloud game device does not meet the renewal condition.
[0069] After the cloud gaming server determines the target cloud gaming device, it receives a secondary startup request from the user for the target cloud gaming. If the target cloud gaming device that previously provided services fails or the remaining capacity of cloud resources is zero, it can be determined that the target cloud gaming device does not meet the renewal conditions, that is, the target cloud gaming device needs to be switched. The corresponding performance values are determined based on the monitoring data of other cloud gaming devices except the target cloud gaming device that needs to be switched, and the cloud gaming device with the highest performance value ranking is determined as the new target cloud gaming device, and the device information of the new target cloud gaming device is returned to the client heterogeneous SDK, so that the client heterogeneous SDK can interact with the new target cloud gaming device and re-start the target cloud game. Optionally, the new target cloud gaming device and the previous target cloud gaming device can come from the same provider or from different providers, which is determined based on actual conditions.
[0070] When a problem occurs with the cloud gaming device providing the service or the provider stops cooperating and can no longer provide the service, the cloud gaming server can automatically determine a new cloud gaming device providing the service without the need for modification of the business client. This can resolve the usage risk when there is only a single provider and improve the stability and flexibility of the services provided by the cloud gaming device.
[0071] In some embodiments, after receiving the cloud game start request, it may also include: if it is determined based on the monitoring data of each cloud game device that the target cloud game device does not exist, then a request failure message is returned to the client heterogeneous SDK, so that the client heterogeneous SDK displays a backup page.
[0072] If the cloud gaming server determines that the remaining capacity of the cloud resources is zero, or that all cloud gaming devices have failed, it can be determined that there is currently no target cloud gaming device that can provide services, and a request failure message can be sent to the client heterogeneous SDK. The client heterogeneous SDK can send the request failure message to the business client, so that the business client obtains the address of the backup page, and accesses the address to display the backup page. The above backup page can be a pre-set page related to the target cloud game, for example, the backup page can be a download landing page, an experience landing page, or a normal advertising landing page. Exemplarily, the backup page can be a normal advertising landing page. For cloud gaming advertising, when the business client receives the request failure message, it can be determined that the cloud gaming experience is currently unavailable, and the address of the normal advertising landing page can be obtained from the advertising server, and the normal advertising landing page can be displayed.
[0073] The advantage of the above settings is that when the cloud gaming server determines that there is currently no cloud gaming device that can provide the service, it can return information to the client heterogeneous SDK, and then display a backup page to the user. By setting up a downgrade preparation plan when the service is unavailable, the user experience is improved by avoiding the poor experience caused by waiting for cloud gaming.
[0074] In some embodiments, the implementation method of cloud gaming may further include: receiving a cloud gaming management request, and synchronously executing a cloud gaming management operation corresponding to the cloud gaming management request in each cloud gaming device, wherein the cloud gaming management operation includes a publishing operation and a deletion operation for different cloud gaming. The cloud gaming management request may include a cloud gaming publishing request and a cloud gaming deletion request. The cloud gaming publishing request is used to request the publishing operation of different cloud gaming devices. The publishing operation may include operations such as installation and registration. After the publishing, the cloud gaming is supported to run. The cloud gaming deletion request is used to request the deletion operation of different cloud gaming devices. The deletion operation may include operations such as uninstallation and logout. After the deletion, the cloud gaming is not supported to run.
[0075] The cloud game server can receive cloud game management requests sent by business clients, and through unified cloud game management operations, it can manage the publishing or deletion of different cloud games in each cloud game device. The advantage of this setting is that the cloud game server can provide unified management services. For business clients, when performing operations such as putting cloud games on the shelves and / or removing them on the cloud game server, the cloud game server can synchronize the relevant operations to the cloud game devices of different providers, communicate data with different providers, and provide unified services.
[0076] Figure 3This is a flow chart of another method for implementing a cloud game provided by an embodiment of the present disclosure. The method can be executed by a cloud game implementation device, wherein the device can be implemented by software and / or hardware and can generally be integrated in an electronic device. Figure 3 As shown, the method is applied to the client heterogeneous SDK, including:
[0077] Step 201: Receive a cloud game start request.
[0078] The cloud game start request is a request for starting a target cloud game in a cloud game device and then experiencing the cloud game. The cloud game client is a cloud game program installed and running in the cloud game device.
[0079] In the disclosed embodiment, when a user wants to experience a cloud game in a business client, the cloud game entrance can be triggered. After the business client detects the cloud game start trigger operation, the client heterogeneous SDK can be started and a cloud game start request can be sent to the client heterogeneous SDK. The client heterogeneous SDK receives the cloud game start request. The cloud game entrance can be a virtual button or recommended information pre-set in the business client, and is not limited to specific ones. For example, the cloud game entrance can be a recommended video, recommended picture or recommended text of the cloud game in the business client, or a virtual button on a page in the business client.
[0080] Step 202: Send a cloud game start request to the cloud game server, and receive device information of the target cloud game device returned by the cloud game server.
[0081] Among them, the target cloud gaming device is determined by the cloud gaming server based on the monitoring data of each cloud gaming device. The number of cloud gaming devices is at least two. At least two client SDKs are pre-packaged in the client heterogeneous SDK, and each client SDK corresponds to at least one cloud gaming device.
[0082] After receiving the cloud game start request, the client heterogeneous SDK can send the cloud game start request to the cloud game server. After receiving the cloud game start request, the cloud game server can determine the target cloud game device based on the monitoring data of each cloud game device, and return the device information of the target cloud game device to the client heterogeneous SDK. The client heterogeneous SDK can receive the device information of the target cloud game device returned by the cloud game server.
[0083] Step 203: Start the target cloud game corresponding to the cloud game start request based on the device information.
[0084] Specifically, starting a target cloud game corresponding to a cloud game start request based on device information may include: sending a cloud game start request to a target cloud game device through a target client SDK corresponding to the device information to start the target cloud game corresponding to the cloud game start request.
[0085] Among them, the client heterogeneous SDK is installed in the business client. The client heterogeneous SDK can be understood as a heterogeneous client SDK. Heterogeneity refers to the integration of multiple different architectures, abstracting their commonalities, packaging their differences, and providing a unified interface to the outside world. The client heterogeneous SDK can encapsulate a fused interface layer based on the interface design of the client SDKs of multiple providers, unify the interface and parameters to the outside world, and the specific parameters are carried by the business client, which can shield the differences between different providers.
[0086] After the client heterogeneous SDK receives the device information, it can first determine the target client SDK corresponding to the device information. The target client SDK is the client SDK corresponding to the target cloud gaming device. Subsequently, the target client SDK sends a cloud gaming start request to the target cloud gaming device, so that the target cloud gaming device starts the target cloud game corresponding to the cloud gaming start request.
[0087] In the disclosed embodiment, the cloud game implementation method may further include: receiving and displaying game operation data sent by the target cloud game device, wherein the game operation data includes game audio and / or game video. After the target cloud game device starts the target cloud game, the cloud game event may be executed to obtain the game operation data and the game operation data may be sent down. The client heterogeneous SDK may receive and display the game operation data through the target client SDK to implement the operation of the target cloud game.
[0088] The implementation scheme of cloud gaming provided by the disclosed embodiment is that the client heterogeneous SDK receives a cloud gaming start request, sends the cloud gaming start request to the cloud gaming server, receives the device information of the target cloud gaming device returned by the cloud gaming server, and starts the target cloud gaming corresponding to the cloud gaming start request based on the device information. With the above technical scheme, since the target cloud gaming device is determined by the cloud gaming server by monitoring the service conditions of multiple cloud gaming devices, the stability of the services provided by the cloud gaming devices is improved, and by configuring a unified standard client heterogeneous SDK in the business client, multiple different cloud gaming devices can be connected, reducing the complexity of business connection.
[0089] Figure 4 The present invention provides a flowchart of another method for implementing a cloud game, which can be executed by a cloud game implementation device, wherein the device can be implemented by software and / or hardware, and can generally be integrated in an electronic device. Figure 4As shown, the method is applied to a cloud gaming device, comprising:
[0090] Step 301: Receive a cloud game start request.
[0091] The cloud gaming device in the disclosed embodiment is the target cloud gaming device currently providing services, the target cloud gaming device is determined by the cloud gaming server based on the monitoring data of each cloud gaming device, and the number of cloud gaming devices is at least two. The cloud gaming start request is a request for starting the target cloud gaming in the cloud gaming device and then experiencing the cloud gaming.
[0092] Specifically, the target cloud gaming device may receive a cloud gaming startup request sent by the client heterogeneous SDK through the target client SDK, and the target client SDK corresponds to the target cloud gaming device.
[0093] Step 302: Start the target cloud game, and send the game running data of the target cloud game to the client heterogeneous SDK for display.
[0094] Among them, at least two client SDKs are pre-packaged in the client heterogeneous SDK, and each client SDK corresponds to at least one cloud gaming device. After the target cloud gaming device receives the cloud gaming start request, it can run the cloud gaming client of the target cloud gaming to execute the cloud gaming event, render and encode the running game data after running, and send it to the target client SDK corresponding to the target cloud gaming device. The target client SDK can perform video transcoding to display the game running data to the user.
[0095] For example, Figure 5 A schematic diagram of a cloud game implementation provided by an embodiment of the present disclosure is shown in the figure. The cloud game advertising scenario of a business client is taken as an example. Figure 5As shown, client heterogeneous SDKs are configured in both business client A and business client B. Taking the cloud gaming device A of provider A and the cloud gaming device B of provider B in the figure as examples, the client heterogeneous SDKs include the client SDKA corresponding to cloud gaming device A and the client SDKKB corresponding to cloud gaming device B. The specific process may include: the advertiser places a cloud game advertisement in the business client A, the business client A can put the cloud game on the cloud game server, and the cloud game can be automatically put on the platforms of the two providers and then automatically deployed to the two cloud game devices; the business client A can display the cloud game advertisement in the recommendation flow, and when the user clicks on the cloud game advertisement, the business client A can trigger the client heterogeneous SDK to send an https request to the cloud game server to apply for the cloud game device; the cloud game server determines the target cloud game device based on the monitoring data of each cloud game device, and returns the result of the application in the response packet of the https interface; if the remaining capacity of the cloud game device A is sufficient, the cloud game device A determines that the service is currently provided; the client heterogeneous SDK can open the cloud game advertisement page based on the client SDKA, connect to the cloud game, and enter the cloud game trial interface; during the user's trial, the client SDKA can send data such as operation delay and network delay to the cloud game server.
[0096] When the remaining capacity of cloud gaming device A is insufficient and cloud gaming device B still has remaining capacity, the target cloud gaming device can be switched to cloud gaming device B. The client heterogeneous SDK interacts with cloud gaming device B based on the client SDKKB, and the cloud gaming experience is performed according to the above steps. When both cloud gaming device A and cloud gaming device B have no remaining capacity, the cloud gaming server can return a request failure message to the client heterogeneous SDK, and then the business client A can receive the request failure message and display the normal ad landing page corresponding to the cloud gaming ad.
[0097] In some embodiments, the implementation method of cloud gaming may also include: receiving a cloud gaming interaction request; determining device information of the cloud gaming device through a pre-installed cloud heterogeneous SDK; sending the interaction data in the cloud gaming interaction request to the client heterogeneous SDK through the target cloud SDK corresponding to the device information in the cloud heterogeneous SDK, so that the client heterogeneous SDK calls the cooperative client to perform corresponding operations based on the interaction data.
[0098] Among them, the cloud game interaction request refers to an interaction request that does not need to be executed by the cloud game device, and the cloud game interaction request includes at least one of a payment request, a download request, and a sharing request. Exemplarily, the cloud game interaction request is a download request as an example for explanation. The download request requires downloading a certain application on the user-oriented terminal device, and does not need to be downloaded in the cloud game device. Therefore, the cloud game device can send the download address and other related interaction data to the client heterogeneous SDK based on the download request, so that the client heterogeneous SDK downloads the corresponding application in the terminal device.
[0099] The cloud heterogeneous SDK can be an SDK installed in the cloud game client in the cloud gaming device. Similar to the client heterogeneous SDK in the above-mentioned business client, the cloud heterogeneous SDK can be a heterogeneous cloud SDK, which is used to establish a data channel between the client heterogeneous SDK and the cloud gaming client, and can realize data forwarding. The cloud heterogeneous SDK pre-packages at least two cloud SDKs, and each cloud SDK corresponds to at least one cloud gaming device. In the disclosed embodiment, each cloud SDK corresponds to a unique cloud gaming device provider. A cloud gaming device provider can provide multiple cloud gaming devices. There can be multiple cloud gaming devices. Each provider can provide a cloud SDK with its own interface design. The cloud heterogeneous SDK can encapsulate a fused interface layer based on the interface design of the cloud SDKs of multiple providers, and unify the interface and parameters to the outside world. All cloud gaming clients can install the cloud heterogeneous SDK after the above-mentioned heterogeneity, and there is no need to separately access the cloud SDKs with specific different interface standards of different providers.
[0100] Specifically, after the target cloud gaming device receives the cloud gaming interaction request, it can determine the device information of the target cloud gaming device according to the environmental parameters of the cloud gaming device through the pre-installed cloud heterogeneous SDK, and then determine the target cloud SDK based on the device information; the target cloud SDK then sends the interaction data in the cloud gaming interaction request to the client heterogeneous SDK, so that the client heterogeneous SDK calls other cooperative clients in the terminal device to perform corresponding operations based on the interaction data.
[0101] Exemplarily, when the cloud game interaction request is a sharing request, the sharing request includes interaction data such as shared content. The cloud game device can send interaction data such as shared content to the client heterogeneous SDK based on the target cloud SDK in the cloud game client. The client heterogeneous SDK can call other clients with sharing functions in the terminal device to perform sharing operations on interaction data such as shared content.
[0102] The above-mentioned heterogeneity of the cloud SDK in the cloud game client running in the cloud game device makes it possible for game developers to only install a unified cloud SDK in the cloud game client, without having to install the cloud SDK of the provider of each cloud game device. After the cloud game server determines the cloud game device providing the service, the cloud game device can use the corresponding cloud SDK to interact with the heterogeneous client SDK in the business client to implement some operations that do not require the cloud game device to run.
[0103] For example, Figure 6 This is a schematic diagram of another implementation of cloud gaming provided by the disclosed embodiment. Taking the cloud gaming experience scenario as an example, in the figure, in order to satisfy the deep experience of cloud gaming, game C is connected to a heterogeneous cloud heterogeneous SDK. The cloud heterogeneous SDK has built-in cloud SDKs of provider A and provider B, which are connected to cloud gaming device A of provider A and cloud gaming device B of provider B respectively to support operations such as login and payment. Business client A provides a game entrance for cloud gaming experience in the game center. When the user clicks on the game entrance, business client A can trigger the client heterogeneous SDK to send an https request to the cloud gaming server to apply for a cloud gaming device; if the cloud gaming server determines that the current provider B provides services and allocates them to cloud gaming device B; the client heterogeneous SDK can start the cloud gaming client based on the client SDK A; the cloud heterogeneous SDK in the cloud gaming client determines that it is cloud gaming device B, then starts the cloud SDK B corresponding to gaming device B; if Figure 6 As shown, two-way communication can be achieved between the cloud SDKKB and the client SDKKB; if a user purchases game props in the cloud game, the cloud game client B can send the order information to the client SDKKB through the cloud SDK to place an order, call up the client with payment function in the terminal device to complete the payment, and the prop purchase is completed.
[0104] The implementation scheme of cloud gaming provided by the disclosed embodiment is that the cloud gaming device receives a cloud gaming startup request, starts the target cloud gaming, and sends the game running data of the target cloud gaming to the client heterogeneous SDK for display. With the above technical scheme, since the cloud gaming device is determined by the cloud gaming server by monitoring the service conditions of multiple cloud gaming devices, the stability of the services provided by the cloud gaming device is improved, and by configuring a unified standard client heterogeneous SDK in the business client and a unified standard cloud heterogeneous SDK in the cloud, both the business client and the cloud gaming can quickly connect to multiple cloud gaming devices, reducing the complexity of business connection.
[0105] Figure 7 A schematic diagram of a cloud gaming implementation system provided by an embodiment of the present disclosure is shown in FIG. Figure 7As shown, the cloud game implementation system may include a client heterogeneous SDK 11, a cloud game server 20, and a cloud game device 30. The cloud game server 20 is respectively connected to the client heterogeneous SDK 11 and the cloud game device 30 for executing the above Figure 2 The corresponding cloud game implementation method, the client heterogeneous SDK is used to execute the above Figure 3 In the corresponding cloud gaming implementation method, the number of cloud gaming devices is at least two, which are used to execute the above Figure 4 The corresponding cloud gaming implementation method.
[0106] like Figure 7 As shown, the client heterogeneous SDK 11 is installed in the business client 10 , the cloud game client 40 is installed in the cloud game device 30 , the cloud game client 40 is configured with a cloud heterogeneous SDK 41 , and the cloud heterogeneous SDK 41 is used to communicate with the client heterogeneous SDK 11 .
[0107] The client heterogeneous SDK11 encapsulates a fused interface layer based on the interface design of the client SDKs of multiple providers, unifies the interface and parameters to the outside, and the specific parameters are carried by the business to shield the differences; and the client heterogeneous SDK11 reports the performance monitoring data of the cloud gaming devices 30 of multiple providers to a unified monitoring platform for monitoring performance and abnormal situations, and can also compare key indicators.
[0108] The cloud heterogeneous SDK41 encapsulates a fused interface layer based on the interface designs of the SDKs of multiple providers, unifying the interfaces and parameters to the outside world; it determines on which provider's cloud gaming device the game is running through the environmental parameters of the cloud gaming device, which is used to decide which cloud SDK to run; the cloud gaming client can access the heterogeneous cloud heterogeneous SDK41, without having to access different provider's SDKs separately.
[0109] The cloud game server 20 can provide a unified service application interface. The client heterogeneous SDK11 applies for services from the cloud game server 20. The cloud game server 20 decides which cloud game device of which provider to allocate based on resource usage, service availability and other data. The cloud game server 20 can also serve as a cloud game monitoring background. The provider provides a service quality monitoring interface. The monitoring center aggregates these data to provide a basis for unified services. The provider provides resource monitoring interfaces such as the remaining capacity and device usage of cloud game devices to provide a basis for unified services. The client heterogeneous SDK11 reports client performance quality data, which is monitored in real time by the monitoring center. The cloud game server 20 can also serve as a unified management platform for cloud games and cooperate deeply with providers. The providers provide resource scheduling interfaces and provide game management capabilities on the unified management platform. One operation on the unified management platform is automatically synchronized to the platforms of each provider.
[0110] In addition, the cloud game server 20 can also identify the business client 10 and issue the corresponding business identifier so that different business clients can use different cloud game devices 30. Taking provider A as an example, provider A has a business identifier (bid) for each docked business client, which is used to identify the identity of the access party, and make different configurations for the business identifier, such as pooling, and pre-starting the game into a resource pool to improve the startup speed. When one business client advertising scene does not require pooling, and the scene of another business client requires pooling, this cannot be done if the two business clients have the same business identifier. The cloud game server 20 can identify the business client and issue different business identifiers, and the two business clients will use different cloud game devices 30 without the need for business client modification. When it is already online, it can be flexibly adjusted online. The above heterogeneity is more flexible, and the docking parameters are issued by the cloud game server 20, and the docking parameters do not require changes to the business client 10.
[0111] In the disclosed embodiments, a downgrade preparation plan can be provided when cloud services are unavailable. For example, in the scenario of an advertisement landing page, when no cloud gaming device is available, the page is downgraded to a normal advertisement landing page.
[0112] In the disclosed embodiment, the client SDKs and cloud SDKs of different providers are heterogeneously encapsulated to obtain a unified client heterogeneous SDK and cloud heterogeneous SDK, thereby reducing the complexity of business docking; moreover, the cloud game server can monitor the service quality of cloud game devices of different providers, and each time a cloud game device is requested, the cloud game server decides which provider's service to use; the cloud game server can also perform unified integrated management of the listing and / or delisting of cloud games from different providers.
[0113] The cloud game implementation system provided by the embodiment of the present disclosure has the following beneficial effects through the cooperation between various modules: the present disclosure can solve the risk of a single provider, and the client heterogeneous SDK provided to the business client is heterogeneous after encapsulation. For the business client, it does not know which provider's service is used; when a technical failure occurs in the service of one of the providers, all service requests can be switched to the service of another provider, and the service stability is guaranteed; after stopping cooperation with a provider, the business does not need to be modified, and the service request can be switched to another one. The subsequent client heterogeneous SDK update will remove the provider that stopped cooperation, and the business interface will not change; the new provider is unaware of the business client, and the business interface will not change after the client heterogeneous SDK is updated. The present disclosure can compare the service quality of multiple providers, and the cloud game server can obtain the same indicator data of different providers. While monitoring the key indicators, it can compare the indicators of different providers, so as to find high-quality providers. The present disclosure can provide a unified service, integrating services from different providers together. For businesses, some operations such as game listing and / or delisting can be performed on a unified platform. The unified service platform will synchronize related operations to different providers, exchange data with different providers, and provide unified services.
[0114] Figure 8 This is a schematic diagram of a cloud gaming implementation device provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can generally be integrated into an electronic device. Figure 8 As shown, the device is set in a cloud game server and includes:
[0115] A request receiving module 401 is used to receive a cloud game start request;
[0116] A device determination module 402, configured to determine a target cloud gaming device based on monitoring data of each cloud gaming device, wherein the number of the cloud gaming devices is at least two;
[0117] The device information returning module 403 is used to return the device information of the target cloud game device to the client heterogeneous SDK, so that the client heterogeneous SDK starts the target cloud game corresponding to the cloud game start request based on the device information.
[0118] Optionally, the device determination module 402 is specifically configured to:
[0119] Performing weighted summation based on the weights of different data in the monitoring data to determine the performance value corresponding to each of the cloud gaming devices;
[0120] The performance values of the cloud gaming devices are sorted in descending order, and the cloud gaming device with the first performance value is determined as the target cloud gaming device.
[0121] Optionally, the device further includes a monitoring data acquisition module, which is used to:
[0122] Acquire the monitoring data sent by the client heterogeneous SDK and / or each of the cloud gaming devices at set time intervals.
[0123] Optionally, the monitoring data includes at least one of first frame success rate, first frame delay, operation delay and remaining capacity of cloud resources.
[0124] Optionally, the apparatus further includes a device switching module, configured to:
[0125] In response to the secondary start request for the target cloud game, determining whether the target cloud game device meets the renewal condition;
[0126] If it is determined that the target cloud gaming device does not satisfy the renewal condition, a new target cloud gaming device is determined based on the monitoring data of each of the cloud gaming devices, and the device information of the new target cloud gaming device is returned to the client heterogeneous SDK.
[0127] Optionally, the device switching module is specifically used to:
[0128] If it is determined that the target cloud gaming device fails or the remaining capacity of cloud resources is zero, it is determined that the target cloud gaming device does not meet the renewal condition.
[0129] Optionally, the device further includes a backup module, which is used for, after receiving the cloud game start request,
[0130] If it is determined based on the monitoring data of each cloud gaming device that the target cloud gaming device does not exist, a request failure message is returned to the client heterogeneous SDK so that the client heterogeneous SDK displays a backup page.
[0131] Optionally, the device further includes a cloud game management module, which is used to:
[0132] A cloud game management request is received, and a cloud game management operation corresponding to the cloud game management request is synchronously executed in each of the cloud game devices, wherein the cloud game management operation includes a publishing operation and a deleting operation for different cloud games.
[0133] The cloud game implementation device provided in the embodiments of the present disclosure can execute the steps executed by the cloud game server in the cloud game implementation method provided in any embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method.
[0134] Fig. 9This is a schematic diagram of the structure of another cloud gaming implementation device provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can generally be integrated into an electronic device. Fig. 9 As shown, the device is set in the client heterogeneous SDK, including:
[0135] Start trigger module 501, used to receive a cloud game start request;
[0136] The request sending module 502 is used to send the cloud game start request to the cloud game server and receive the device information of the target cloud game device returned by the cloud game server;
[0137] A starting module 503 is used to start the target cloud game corresponding to the cloud game start request based on the device information;
[0138] Among them, the target cloud gaming device is determined by the cloud gaming server based on monitoring data of each cloud gaming device, and the number of the cloud gaming devices is at least two.
[0139] Optionally, at least two client SDKs are pre-packaged in the client heterogeneous SDK, each of which corresponds to at least one of the cloud gaming devices, and the startup module 503 is specifically used for:
[0140] The cloud game start request is sent to the target cloud game device through the target client SDK corresponding to the device information to start the target cloud game corresponding to the cloud game start request.
[0141] The cloud game implementation device provided in the embodiments of the present disclosure can execute the steps executed by the client heterogeneous SDK in the cloud game implementation method provided in any embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method.
[0142] Fig.10 This is a schematic diagram of the structure of another cloud gaming implementation device provided by the embodiment of the present disclosure. The device can be implemented by software and / or hardware and can generally be integrated into an electronic device. Fig. 9 As shown, the device is set in a cloud gaming device, including:
[0143] The start request module 601 is used to receive a cloud game start request;
[0144] The data display module 602 is used to start the target cloud game and send the game running data of the target cloud game to the client heterogeneous SDK for display.
[0145] Optionally, the device further includes an interaction module, configured to:
[0146] Receive cloud game interaction requests;
[0147] Determine the device information of the cloud gaming device through the pre-installed cloud heterogeneous SDK;
[0148] The interaction data in the cloud game interaction request is sent to the client heterogeneous SDK through the target cloud SDK corresponding to the device information in the cloud heterogeneous SDK, so that the client heterogeneous SDK calls the cooperative client to perform corresponding operations based on the interaction data.
[0149] Optionally, the client heterogeneous SDK pre-packages at least two client SDKs, each of which corresponds to at least one of the cloud gaming devices; the cloud heterogeneous SDK pre-packages at least two cloud SDKs, each of which corresponds to at least one of the cloud gaming devices; and the cloud gaming interaction request includes at least one of a payment request, a download request, and a sharing request.
[0150] The cloud game implementation device provided in the embodiments of the present disclosure can execute the steps executed by the cloud game device in the cloud game implementation method provided in any embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method.
[0151] Fig.11 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Fig.11 , which shows a schematic diagram of the structure of an electronic device 700 suitable for implementing the embodiment of the present disclosure. The electronic device 700 in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.11 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0152] like Fig.11 As shown, the electronic device 700 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0153] Typically, the following devices may be connected to the I / O interface 705: an input device 706 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 707 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 708 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 709. The communication device 709 may allow the electronic device 700 to communicate with other devices wirelessly or by wire to exchange data. Although Fig.11 The electronic device 700 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0154] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 709, or installed from the storage device 708, or installed from the ROM 702. When the computer program is executed by the processing device 701, the above-mentioned functions defined in the implementation method of the cloud game of the embodiment of the present disclosure are executed.
[0155] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0156] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0157] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0158] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: receives a cloud game start request; determines the target cloud game device based on the monitoring data of each cloud game device, wherein the number of the cloud game devices is at least two; returns the device information of the target cloud game device to the client heterogeneous SDK, so that the client heterogeneous SDK starts the target cloud game corresponding to the cloud game start request based on the device information.
[0159] Alternatively, the computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device: receives a cloud game start request; sends the cloud game start request to a cloud game server, and receives device information of a target cloud game device returned by the cloud game server; starts the target cloud game corresponding to the cloud game start request based on the device information; wherein the target cloud game device is determined by the cloud game server based on monitoring data of each cloud game device, and the number of the cloud game devices is at least two.
[0160] Alternatively, the computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: receives a cloud game start request; starts a target cloud game, and sends the game running data of the target cloud game to the client heterogeneous SDK for display.
[0161] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0162] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0163] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
[0164] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0165] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0166] In a first aspect, according to one or more embodiments of the present disclosure, the present disclosure provides a method for implementing a cloud game, which is applied to a cloud game server, comprising:
[0167] Receive a cloud game start request;
[0168] Determining a target cloud gaming device based on monitoring data of each cloud gaming device, wherein the number of the cloud gaming devices is at least two;
[0169] The device information of the target cloud gaming device is returned to the client heterogeneous SDK, so that the client heterogeneous SDK starts the target cloud game corresponding to the cloud gaming start request based on the device information.
[0170] According to one or more embodiments of the present disclosure, in the cloud gaming implementation method provided by the present disclosure, the step of determining a target cloud gaming device based on monitoring data of each cloud gaming device includes:
[0171] Performing weighted summation based on the weights of different data in the monitoring data to determine the performance value corresponding to each of the cloud gaming devices;
[0172] The performance values of the cloud gaming devices are sorted in descending order, and the cloud gaming device with the first performance value is determined as the target cloud gaming device.
[0173] According to one or more embodiments of the present disclosure, the cloud gaming implementation method provided by the present disclosure further includes:
[0174] Acquire the monitoring data sent by the client heterogeneous SDK and / or each of the cloud gaming devices at set time intervals.
[0175] According to one or more embodiments of the present disclosure, in the implementation method of cloud gaming provided by the present disclosure, the monitoring data includes at least one of the first frame success rate, the first frame delay, the operation delay and the remaining capacity of cloud resources.
[0176] According to one or more embodiments of the present disclosure, the cloud gaming implementation method provided by the present disclosure further includes:
[0177] In response to the secondary start request for the target cloud game, determining whether the target cloud game device meets the renewal condition;
[0178] If it is determined that the target cloud gaming device does not satisfy the renewal condition, a new target cloud gaming device is determined based on the monitoring data of each of the cloud gaming devices, and the device information of the new target cloud gaming device is returned to the client heterogeneous SDK.
[0179] According to one or more embodiments of the present disclosure, in the cloud gaming implementation method provided by the present disclosure, the determining that the target cloud gaming device does not meet the renewal condition includes:
[0180] If it is determined that the target cloud gaming device fails or the remaining capacity of cloud resources is zero, it is determined that the target cloud gaming device does not meet the renewal condition.
[0181] According to one or more embodiments of the present disclosure, in the cloud game implementation method provided by the present disclosure, after receiving the cloud game start request, it also includes:
[0182] If it is determined based on the monitoring data of each cloud gaming device that the target cloud gaming device does not exist, a request failure message is returned to the client heterogeneous SDK so that the client heterogeneous SDK displays a backup page.
[0183] According to one or more embodiments of the present disclosure, the cloud gaming implementation method provided by the present disclosure further includes:
[0184] A cloud game management request is received, and a cloud game management operation corresponding to the cloud game management request is synchronously executed in each of the cloud game devices, wherein the cloud game management operation includes a publishing operation and a deleting operation for different cloud games.
[0185] In a second aspect, according to one or more embodiments of the present disclosure, the present disclosure provides a method for implementing a cloud game, which is applied to a client heterogeneous SDK, including:
[0186] Receive a cloud game start request;
[0187] Sending the cloud game start request to the cloud game server, and receiving device information of the target cloud game device returned by the cloud game server;
[0188] Starting the target cloud game corresponding to the cloud game start request based on the device information;
[0189] Among them, the target cloud gaming device is determined by the cloud gaming server based on monitoring data of each cloud gaming device, and the number of the cloud gaming devices is at least two.
[0190] According to one or more embodiments of the present disclosure, in the implementation method of cloud games provided by the present disclosure, at least two client SDKs are pre-packaged in the client heterogeneous SDK, each of the client SDKs corresponds to at least one of the cloud game devices, and the target cloud game corresponding to the cloud game start request is started based on the device information, including:
[0191] The cloud game start request is sent to the target cloud game device through the target client SDK corresponding to the device information to start the target cloud game corresponding to the cloud game start request.
[0192] In a third aspect, according to one or more embodiments of the present disclosure, the present disclosure provides a method for implementing a cloud game, which is applied to a cloud game device, including:
[0193] Receive a cloud game start request;
[0194] Start the target cloud game, and send the game running data of the target cloud game to the client heterogeneous SDK for display.
[0195] According to one or more embodiments of the present disclosure, the cloud gaming implementation method provided by the present disclosure further includes:
[0196] Receive cloud game interaction requests;
[0197] Determine the device information of the cloud gaming device through the pre-installed cloud heterogeneous SDK;
[0198] The interaction data in the cloud game interaction request is sent to the client heterogeneous SDK through the target cloud SDK corresponding to the device information in the cloud heterogeneous SDK, so that the client heterogeneous SDK calls the cooperative client to perform corresponding operations based on the interaction data.
[0199] According to one or more embodiments of the present disclosure, in the implementation method of cloud gaming provided by the present disclosure, at least two client SDKs are pre-packaged in the client heterogeneous SDK, each of the client SDK corresponds to at least one of the cloud gaming devices, and the cloud heterogeneous SDK pre-packages at least two cloud SDKs, each of the cloud SDK corresponds to at least one of the cloud gaming devices, and the cloud gaming interaction request includes at least one of a payment request, a download request, and a sharing request.
[0200] In a fourth aspect, according to one or more embodiments of the present disclosure, the present disclosure provides a cloud game implementation device, which is arranged in a cloud game server, including:
[0201] A request receiving module, used to receive a cloud game start request;
[0202] A device determination module, configured to determine a target cloud gaming device based on monitoring data of each cloud gaming device, wherein the number of the cloud gaming devices is at least two;
[0203] The device information returning module is used to return the device information of the target cloud game device to the client heterogeneous SDK, so that the client heterogeneous SDK starts the target cloud game corresponding to the cloud game start request based on the device information.
[0204] According to one or more embodiments of the present disclosure, in the cloud gaming implementation apparatus provided by the present disclosure, the device determination module is specifically used to:
[0205] Performing weighted summation based on the weights of different data in the monitoring data to determine the performance value corresponding to each of the cloud gaming devices;
[0206] The performance values of the cloud gaming devices are sorted in descending order, and the cloud gaming device with the first performance value is determined as the target cloud gaming device.
[0207] According to one or more embodiments of the present disclosure, in the cloud game implementation device provided by the present disclosure, the device further includes a monitoring data acquisition module for:
[0208] Acquire the monitoring data sent by the client heterogeneous SDK and / or each of the cloud gaming devices at set time intervals.
[0209] According to one or more embodiments of the present disclosure, in the cloud gaming implementation device provided by the present disclosure, the monitoring data includes at least one of the first frame success rate, the first frame delay, the operation delay and the remaining capacity of the cloud resources.
[0210] According to one or more embodiments of the present disclosure, in the cloud gaming implementation device provided by the present disclosure, the device further includes a device switching module, which is used to:
[0211] In response to the secondary start request for the target cloud game, determining whether the target cloud game device meets the renewal condition;
[0212] If it is determined that the target cloud gaming device does not satisfy the renewal condition, a new target cloud gaming device is determined based on the monitoring data of each of the cloud gaming devices, and the device information of the new target cloud gaming device is returned to the client heterogeneous SDK.
[0213] According to one or more embodiments of the present disclosure, in the cloud gaming implementation apparatus provided by the present disclosure, the device switching module is specifically used to:
[0214] If it is determined that the target cloud gaming device fails or the remaining capacity of cloud resources is zero, it is determined that the target cloud gaming device does not meet the renewal condition.
[0215] According to one or more embodiments of the present disclosure, in the cloud game implementation device provided by the present disclosure, the device further includes a backup module for, after receiving the cloud game startup request,
[0216] If it is determined based on the monitoring data of each cloud gaming device that the target cloud gaming device does not exist, a request failure message is returned to the client heterogeneous SDK so that the client heterogeneous SDK displays a backup page.
[0217] According to one or more embodiments of the present disclosure, in the cloud game implementation device provided by the present disclosure, the device also includes a cloud game management module, which is used to:
[0218] A cloud game management request is received, and a cloud game management operation corresponding to the cloud game management request is synchronously executed in each of the cloud game devices, wherein the cloud game management operation includes a publishing operation and a deleting operation for different cloud games.
[0219] In a fifth aspect, according to one or more embodiments of the present disclosure, the present disclosure provides a cloud game implementation device, which is arranged in a heterogeneous SDK arranged in a client, including:
[0220] Start trigger module, used to receive cloud game start request;
[0221] A request sending module, used to send the cloud game start request to the cloud game server, and receive the device information of the target cloud game device returned by the cloud game server;
[0222] A starting module, used to start the target cloud game corresponding to the cloud game start request based on the device information;
[0223] Among them, the target cloud gaming device is determined by the cloud gaming server based on monitoring data of each cloud gaming device, and the number of the cloud gaming devices is at least two.
[0224] According to one or more embodiments of the present disclosure, in the cloud game implementation device provided by the present disclosure, at least two client SDKs are pre-packaged in the client heterogeneous SDK, each of the client SDKs corresponds to at least one of the cloud game devices, and the startup module 503 is specifically used to:
[0225] The cloud game start request is sent to the target cloud game device through the target client SDK corresponding to the device information to start the target cloud game corresponding to the cloud game start request.
[0226] In a sixth aspect, according to one or more embodiments of the present disclosure, the present disclosure provides a cloud game implementation device, which is arranged in a cloud game device, including:
[0227] A start request module, used to receive a cloud game start request;
[0228] The data display module is used to start the target cloud game and send the game running data of the target cloud game to the client heterogeneous SDK for display.
[0229] According to one or more embodiments of the present disclosure, in the cloud game implementation device provided by the present disclosure, the device further includes an interaction module for:
[0230] Receive cloud game interaction requests;
[0231] Determine the device information of the cloud gaming device through the pre-installed cloud heterogeneous SDK;
[0232] The interaction data in the cloud game interaction request is sent to the client heterogeneous SDK through the target cloud SDK corresponding to the device information in the cloud heterogeneous SDK, so that the client heterogeneous SDK calls the cooperative client to perform corresponding operations based on the interaction data.
[0233] According to one or more embodiments of the present disclosure, in the cloud gaming implementation device provided by the present disclosure, at least two client SDKs are pre-packaged in the client heterogeneous SDK, each of the client SDKs corresponds to at least one of the cloud gaming devices, and at least two cloud heterogeneous SDKs are pre-packaged in the cloud SDK, each of the cloud SDKs corresponds to at least one of the cloud gaming devices, and the cloud gaming interaction request includes at least one of a payment request, a download request, and a sharing request.
[0234] In the seventh aspect, according to one or more embodiments of the present disclosure, the present disclosure provides a cloud gaming implementation system, comprising a client heterogeneous SDK, a cloud gaming server and a cloud gaming device, wherein the cloud gaming server is respectively communicated with the client heterogeneous SDK and the cloud gaming device, for executing the cloud gaming implementation method described in the first aspect above, the client heterogeneous SDK is used to execute the cloud gaming implementation method described in the second aspect, and the number of the cloud gaming devices is at least two, for executing the cloud gaming implementation method described in the third aspect.
[0235] According to one or more embodiments of the present disclosure, in the cloud game implementation system provided by the present disclosure, a cloud game device is configured with a cloud heterogeneous SDK, and the cloud heterogeneous SDK is used to communicate with the client heterogeneous SDK.
[0236] According to one or more embodiments of the present disclosure, the present disclosure provides an electronic device, including:
[0237] one or more processors;
[0238] A memory for storing one or more programs;
[0239] When the one or more programs are executed by the one or more processors, the one or more processors implement any of the cloud gaming implementation methods provided in the present disclosure.
[0240] According to one or more embodiments of the present disclosure, the present disclosure provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any method for implementing a cloud game as provided in the present disclosure.
[0241] The embodiments of the present disclosure also provide a computer program product, including a computer program / instruction, which, when executed by a processor, implements any method for implementing a cloud game as provided in the present disclosure.
[0242] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0243] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0244] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A method for implementing cloud gaming, characterized in that: Applied to cloud gaming servers, including: Receive a cloud game start request; Determining a target cloud gaming device based on monitoring data of each cloud gaming device, wherein the number of the cloud gaming devices is at least two; Returning the device information of the target cloud game device to the client heterogeneous SDK, so that the client heterogeneous SDK starts the target cloud game corresponding to the cloud game start request based on the device information; The determining of the target cloud gaming device based on the monitoring data of each cloud gaming device includes: Performing weighted summation based on the weights of different data in the monitoring data to determine the performance value corresponding to each of the cloud gaming devices; The performance values of the cloud gaming devices are sorted in descending order, and the cloud gaming device with the first performance value is determined as the target cloud gaming device.
2. The method according to claim 1, characterized in that Also includes: Acquire the monitoring data sent by the client heterogeneous SDK and / or each of the cloud gaming devices at set time intervals.
3. The method according to claim 1, characterized in that The monitoring data includes at least one of first frame success rate, first frame delay, operation delay and remaining capacity of cloud resources.
4. The method according to claim 1, characterized in that: Also includes: In response to the secondary start request for the target cloud game, determining whether the target cloud game device meets the renewal condition; If it is determined that the target cloud gaming device does not satisfy the renewal condition, a new target cloud gaming device is determined based on the monitoring data of each of the cloud gaming devices, and the device information of the new target cloud gaming device is returned to the client heterogeneous SDK.
5. The method according to claim 4, characterized in that The determining that the target cloud gaming device does not meet the renewal condition includes: If it is determined that the target cloud gaming device fails or the remaining capacity of cloud resources is zero, it is determined that the target cloud gaming device does not meet the renewal condition.
6. The method according to claim 1, characterized in that After receiving the cloud game start request, the method further includes: If it is determined based on the monitoring data of each cloud gaming device that the target cloud gaming device does not exist, a request failure message is returned to the client heterogeneous SDK so that the client heterogeneous SDK displays a backup page.
7. The method according to claim 1, characterized in that Also includes: A cloud game management request is received, and a cloud game management operation corresponding to the cloud game management request is synchronously executed in each of the cloud game devices, wherein the cloud game management operation includes a publishing operation and a deleting operation for different cloud games.
8. A method for implementing cloud gaming, characterized in that: Applied to heterogeneous client SDKs, including: Receive a cloud game start request; Sending the cloud game start request to the cloud game server, and receiving device information of the target cloud game device returned by the cloud game server; Starting the target cloud game corresponding to the cloud game start request based on the device information; The target cloud gaming device is determined by the cloud gaming server based on monitoring data of each cloud gaming device, and the number of the cloud gaming devices is at least two; The cloud gaming server determines the performance value corresponding to each of the cloud gaming devices by performing weighted summation based on the weights of different data in the monitoring data; sorts the performance values of each of the cloud gaming devices in order from large to small, and determines the cloud gaming device with the first performance value as the target cloud gaming device.
9. The method according to claim 8, characterized in that At least two client SDKs are pre-packaged in the client heterogeneous SDK, each of which corresponds to at least one of the cloud gaming devices, and the target cloud game corresponding to the cloud gaming start request is started based on the device information, including: The cloud game start request is sent to the target cloud game device through the target client SDK corresponding to the device information to start the target cloud game corresponding to the cloud game start request.
10. A method for implementing cloud gaming, characterized in that: Applied to target cloud gaming devices, including: Receive a cloud game start request; Start the target cloud game, and send the game running data of the target cloud game to the client heterogeneous SDK for display; The target cloud gaming device is determined by the cloud gaming server based on monitoring data of each cloud gaming device, and the number of the cloud gaming devices is at least two; The cloud gaming server determines the performance value corresponding to each of the cloud gaming devices by performing weighted summation based on the weights of different data in the monitoring data; sorts the performance values of each of the cloud gaming devices in order from large to small, and determines the cloud gaming device with the first performance value as the target cloud gaming device.
11. The method according to claim 10, characterized in that Also includes: Receive cloud game interaction requests; Determine the device information of the cloud gaming device through the pre-installed cloud heterogeneous SDK; The interaction data in the cloud game interaction request is sent to the client heterogeneous SDK through the target cloud SDK corresponding to the device information in the cloud heterogeneous SDK, so that the client heterogeneous SDK calls the cooperative client to perform corresponding operations based on the interaction data.
12. The method according to claim 11, characterized in that The client heterogeneous SDK pre-packages at least two client SDKs, each of which corresponds to at least one of the cloud gaming devices. The cloud heterogeneous SDK pre-packages at least two cloud SDKs, each of which corresponds to at least one of the cloud gaming devices. The cloud gaming interaction request includes at least one of a payment request, a download request, and a sharing request.
13. A cloud gaming implementation device, characterized in that: Set up on the cloud gaming server, including: A request receiving module, used to receive a cloud game start request; A device determination module, configured to determine a target cloud gaming device based on monitoring data of each cloud gaming device, wherein the number of the cloud gaming devices is at least two; A device information returning module, used to return the device information of the target cloud game device to the client heterogeneous SDK, so that the client heterogeneous SDK starts the target cloud game corresponding to the cloud game start request based on the device information; The device determination module is specifically used to: perform weighted summation based on the weights of different data in the monitoring data to determine the performance value corresponding to each of the cloud gaming devices; sort the performance values of each of the cloud gaming devices in order from large to small, and determine the cloud gaming device with the first performance value as the target cloud gaming device.
14. A cloud gaming implementation device, characterized in that: Set up on the client heterogeneous SDK, including: Start trigger module, used to receive cloud game start request; A request sending module, used to send the cloud game start request to the cloud game server, and receive the device information of the target cloud game device returned by the cloud game server; A starting module, used to start the target cloud game corresponding to the cloud game start request based on the device information; The target cloud gaming device is determined by the cloud gaming server based on monitoring data of each cloud gaming device, and the number of the cloud gaming devices is at least two; The cloud gaming server determines the performance value corresponding to each of the cloud gaming devices by performing weighted summation based on the weights of different data in the monitoring data; sorts the performance values of each of the cloud gaming devices in order from large to small, and determines the cloud gaming device with the first performance value as the target cloud gaming device.
15. A cloud gaming implementation device, characterized in that: Set up on the target cloud gaming device, including: A start request module, used to receive a cloud game start request; A data display module is used to start the target cloud game and send the game running data of the target cloud game to the client heterogeneous SDK for display; Among them, the target cloud gaming device is determined by the cloud gaming server based on monitoring data of each cloud gaming device, and the number of the cloud gaming devices is at least two; the cloud gaming server determines the performance value corresponding to each of the cloud gaming devices by weighted summation based on the weights of different data in the monitoring data; the performance values of each of the cloud gaming devices are sorted in order from large to small, and the cloud gaming device with the first ranked performance value is determined as the target cloud gaming device.
16. A cloud gaming implementation system, characterized in that: It includes a client heterogeneous SDK, a cloud game server and a cloud game device. The cloud game server is communicated with the client heterogeneous SDK and the cloud game device respectively, and is used to execute the cloud game implementation method described in any one of claims 1-8 above. The client heterogeneous SDK is used to execute the cloud game implementation method described in any one of claims 9-10. The number of the cloud game devices is at least two, which are used to execute the cloud game implementation method described in any one of claims 11-13.
17. The cloud gaming implementation system according to claim 16, characterized in that: The cloud gaming device is configured with a cloud heterogeneous SDK, and the cloud heterogeneous SDK is used to communicate with the client heterogeneous SDK.
18. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the cloud gaming implementation method described in any one of claims 1-12 above.
19. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the cloud game implementation method described in any one of claims 1-12 above.
Citation Information
Patent Citations
Cloud game implementation method, cloud game implementation device, storage medium and electronic equipment
CN112354176A
