Cloud game implementation method, device, system, equipment and medium

文档序号:557457 发布日期:2021-05-18 浏览:8次 中文

阅读说明:本技术 一种云游戏的实现方法、装置、系统、设备及介质 (Cloud game implementation method, device, system, equipment and medium ) 是由 杨学强 陈胤颖 邓鑫 董尚勇 于 2021-02-23 设计创作,主要内容包括:本公开实施例涉及一种云游戏的实现方法、装置、设备及介质,其中该方法应用于云游戏服务器,包括:接收云游戏启动请求;基于各云游戏设备的监控数据确定目标云游戏设备,其中,云游戏设备的数量为至少两个;将目标云游戏设备的设备信息返回客户端异构SDK,以使客户端异构SDK基于设备信息启动云游戏启动请求对应的目标云游戏。采用上述技术方案,云游戏服务器可以对多个云游戏设备进行管理,通过监控多个云游戏设备的服务情况确定当前提供服务的云游戏设备,提高了云游戏设备所提供服务的稳定性,并且通过在业务客户端中配置统一标准的客户端异构SDK,可以对接不同的多个云游戏设备,降低了业务对接的复杂度。(The embodiment of the disclosure relates to a cloud game implementation method, a cloud game implementation device, equipment and a medium, wherein the method is applied to a cloud game server and comprises the following steps: receiving a cloud game starting request; determining target cloud game devices based on monitoring data of the cloud game devices, wherein the number of the cloud game devices is at least two; and 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 starting request based on the device information. By adopting the technical scheme, the cloud game server can manage a plurality of cloud game devices, the cloud game devices which provide services currently are determined by monitoring the service conditions of the cloud game devices, the stability of the services provided by the cloud game devices is improved, and different cloud game devices can be docked by configuring the client heterogeneous SDK with the unified standard in the service client, so that the service docking complexity is reduced.)

1. A cloud game implementation method is applied to a cloud game server and comprises the following steps:

receiving a cloud game starting request;

determining target cloud game devices based on monitoring data of the cloud game devices, wherein the number of the cloud game devices is at least two;

and 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 starting request based on the device information.

2. The method of claim 1, wherein determining a target cloud gaming device based on the monitored data for each cloud gaming device comprises:

carrying out weighted summation based on the weights of different data in the monitoring data, and determining a performance value corresponding to each cloud game device;

and sequencing the performance values of the cloud game devices in a descending order, and determining the cloud game device with the performance value ranked first as a target cloud game device.

3. The method of claim 1, further comprising:

and acquiring monitoring data sent by the client heterogeneous SDK and/or each cloud game device according to a set time interval.

4. The method of claim 1, wherein the monitoring data comprises at least one of a first frame success rate, a first frame latency, an operational latency, and a cloud resource remaining capacity.

5. The method of claim 1, further comprising:

responding to a secondary starting request of the target cloud game, and judging whether the target cloud game equipment meets a continued use condition;

and if the target cloud game equipment is determined not to meet the continued condition, determining new target cloud game equipment based on the monitoring data of each cloud game equipment, and returning the equipment information of the new target cloud game equipment to the client heterogeneous SDK.

6. The method of claim 5, wherein the determining that the target cloud gaming device does not satisfy the resume condition comprises:

and if the target cloud game equipment is determined to be out of order or the residual capacity of the cloud resources is zero, determining that the target cloud game equipment does not meet the continued use condition.

7. The method of claim 1, wherein after receiving the cloud game initiation request, further comprising:

and if the target cloud game equipment does not exist based on the monitoring data of the cloud game equipment, returning request failure information to the client heterogeneous SDK so that the client heterogeneous SDK displays a standby page.

8. The method of claim 1, further comprising:

receiving a cloud game management request, and synchronously executing cloud game management operation corresponding to the cloud game management request in each cloud game device, wherein the cloud game management operation comprises issuing operation and deleting operation aiming at different cloud games.

9. A cloud game implementation method is applied to a client heterogeneous SDK, and comprises the following steps:

receiving a cloud game starting request;

sending the cloud game starting request to a cloud game server, and receiving device information of target cloud game devices returned by the cloud game server;

starting a target cloud game corresponding to the cloud game starting request based on the equipment information;

the target cloud game device is determined for the cloud game server based on monitoring data of the cloud game devices, and the number of the cloud game devices is at least two.

10. The method of claim 9, wherein at least two client SDKs are pre-packaged in the client heterogeneous SDK, each client SDK corresponds to at least one cloud game device, and starting the target cloud game corresponding to the cloud game starting request based on the device information comprises:

and sending the cloud game starting request to the target cloud game equipment through a target client side SDK corresponding to the equipment information so as to start a target cloud game corresponding to the cloud game starting request.

11. A cloud game implementation method is applied to cloud game equipment and comprises the following steps:

receiving a cloud game starting request;

starting a target cloud game, and sending game running data of the target cloud game to the client heterogeneous SDK for displaying.

12. The method of claim 11, further comprising:

receiving a cloud game interaction request;

determining equipment information of the cloud game equipment through a pre-installed cloud heterogeneous SDK;

and sending the interaction data in the cloud game interaction request to the client heterogeneous SDK through a target cloud SDK corresponding to the device information in the cloud heterogeneous SDK, so that the client heterogeneous SDK calls a cooperation client to execute corresponding operation based on the interaction data.

13. The method of claim 12, wherein the client heterogeneous SDKs are pre-packaged with at least two client SDKs, each client SDK corresponding to at least one cloud gaming device, the cloud heterogeneous SDKs are pre-packaged with at least two cloud SDKs, each cloud SDK corresponding to at least one cloud gaming device, and the cloud gaming interaction request comprises at least one of a payment request, a download request, and a share request.

14. The utility model provides an apparatus for realizing cloud recreation which characterized in that sets up in cloud recreation server, includes:

the request receiving module is used for receiving a cloud game starting request;

the device determining module is used for determining target cloud game devices based on monitoring data of the cloud game devices, wherein the number of the cloud game devices is at least two;

and the device information returning module is used for returning the device information of the target cloud game device to the client heterogeneous SDK so as to enable the client heterogeneous SDK to start the target cloud game corresponding to the cloud game starting request based on the device information.

15. The device for realizing the cloud games is characterized by being arranged on a client heterogeneous SDK and comprising:

the starting triggering module is used for receiving a cloud game starting request;

the request sending module is used for sending the cloud game starting request to a cloud game server and receiving device information of the target cloud game device returned by the cloud game server;

the starting module is used for starting a target cloud game corresponding to the cloud game starting request based on the equipment information;

the target cloud game device is determined for the cloud game server based on monitoring data of the cloud game devices, and the number of the cloud game devices is at least two.

16. The utility model provides an apparatus for realizing cloud recreation which characterized in that sets up in cloud gaming device, includes:

the starting request module is used for receiving a cloud game starting request;

and the data display module is used for starting the target cloud game and sending the game running data of the target cloud game to the client heterogeneous SDK for display.

17. An implementation system of cloud game, comprising a client heterogeneous SDK, a cloud game server and a cloud game device, wherein the cloud game server is communicatively connected to the client heterogeneous SDK and the cloud game device respectively, and is configured to execute the implementation method of cloud game according to any one of claims 1 to 8, the client heterogeneous SDK is configured to execute the implementation method of cloud game according to any one of claims 9 to 10, and the number of the cloud game devices is at least two and is configured to execute the implementation method of cloud game according to any one of claims 11 to 13.

18. The cloud gaming system of claim 17, wherein the cloud gaming device is configured with a cloud heterogeneous SDK, the cloud heterogeneous SDK configured to communicate with the client heterogeneous SDK.

19. An electronic device, characterized in that the electronic device comprises:

a processor;

a memory for storing the processor-executable instructions;

the processor is configured to read the executable instructions from the memory and execute the instructions to implement the cloud game implementation method of any one of claims 1 to 13.

20. A computer-readable storage medium, wherein the storage medium stores a computer program for executing the method of implementing the cloud game according to any one of claims 1 to 13.

Technical Field

The present disclosure relates to the field of cloud games, and in particular, to a method, an apparatus, a system, a device, and a medium for implementing a cloud game.

Background

With the development of cloud computing technology, cloud games have gained more and more attention as online games based on cloud computing technology.

The essence of the cloud game is that a cloud device or a simulator independently runs the game, pictures in the running process are transmitted to a user client in a video and/or audio data form, namely the game is played on demand, and the game and the user client run on two different devices. At present, the service provided by the cloud game equipment has the problems of low stability and high service docking complexity.

Disclosure of Invention

In order to solve the technical problems described above or at least partially solve the technical problems, the present disclosure provides a method, an apparatus, a system, a device, and a medium for implementing a cloud game.

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:

receiving a cloud game starting request;

determining target cloud game devices based on monitoring data of the cloud game devices, wherein the number of the cloud game devices is at least two;

and 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 starting request based on the device information.

In a second aspect, an embodiment of the present disclosure further provides an implementation method of a cloud game, which is applied to a client heterogeneous SDK, and the method includes:

receiving a cloud game starting request;

sending the cloud game starting request to a cloud game server, and receiving device information of target cloud game devices returned by the cloud game server;

starting a target cloud game corresponding to the cloud game starting request based on the equipment information;

the target cloud game device is determined for the cloud game server based on monitoring data of the cloud game devices, and the number of the cloud game devices is at least two.

In a third aspect, an embodiment of the present disclosure further provides an implementation method of a cloud game, which is applied to a cloud game device, and the method includes:

receiving a cloud game starting request;

starting a target cloud game, and sending game running data of the target cloud game to the client heterogeneous SDK for displaying. .

In a fourth aspect, an embodiment of the present disclosure further provides an apparatus for implementing a cloud game, where the apparatus is disposed in a cloud game server, and includes:

the request receiving module is used for receiving a cloud game starting request;

the device determining module is used for determining target cloud game devices based on monitoring data of the cloud game devices, wherein the number of the cloud game devices is at least two;

and the device information returning module is used for returning the device information of the target cloud game device to the client heterogeneous SDK so as to enable the client heterogeneous SDK to start the target cloud game corresponding to the cloud game starting request based on the device information.

In a fifth aspect, an embodiment of the present disclosure further provides an apparatus for implementing a cloud game, where the apparatus is disposed in a client heterogeneous SDK, and includes:

the starting triggering module is used for receiving a cloud game starting request;

the request sending module is used for sending the cloud game starting request to a cloud game server and receiving device information of the target cloud game device returned by the cloud game server;

the starting module is used for starting a target cloud game corresponding to the cloud game starting request based on the equipment information;

the target cloud game device is determined for the cloud game server based on monitoring data of the cloud game devices, and the number of the cloud game devices is at least two.

In a sixth aspect, an embodiment of the present disclosure further provides an apparatus for implementing a cloud game, where the apparatus is disposed in a cloud game device, and includes:

the starting request module is used for receiving a cloud game starting request;

and the data display module is used for starting the target cloud game and sending the game running data of the target cloud game to the client heterogeneous SDK for display.

In a seventh aspect, an embodiment of the present disclosure further provides an implementation system of a cloud game, including a client heterogeneous SDK, a cloud game server and a cloud game device, where the cloud game server is in communication connection with the client heterogeneous SDK and the cloud game device, respectively, and is configured to execute the implementation method of the cloud game according to the first aspect, the client heterogeneous SDK is configured to execute the implementation method of the cloud game according to the second aspect, and the number of the cloud game devices is at least two, and the cloud game device is configured to execute the implementation method of the cloud game according to the third aspect.

In an eighth aspect, an embodiment of the present disclosure further provides an electronic device, where the electronic device includes: a processor; a memory for storing the processor-executable instructions; the processor is used for reading the executable instructions from the memory and executing the instructions to realize the implementation method of the cloud game provided by the embodiment of the disclosure.

In a ninth aspect, the present disclosure also provides a computer-readable storage medium, where the storage medium stores a computer program, and the computer program is used to execute the implementation method of the cloud game provided by the present disclosure.

Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages: according to the implementation scheme of the cloud game provided by the embodiment of the disclosure, a cloud game server receives a cloud game starting request; determining target cloud game devices based on monitoring data of the cloud game devices, wherein the number of the cloud game devices is at least two; and 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 starting request based on the device information. By adopting the technical scheme, the cloud game server can manage a plurality of cloud game devices, the cloud game devices which provide services currently are determined by monitoring the service conditions of the cloud game devices, the stability of the services provided by the cloud game devices is improved, and different cloud game devices can be docked by configuring the client heterogeneous SDK with the unified standard in the service client, so that the service docking complexity is reduced.

Drawings

The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.

Fig. 1 is a schematic diagram of a cloud game provided in an embodiment of the present disclosure;

fig. 2 is a schematic flowchart of an implementation method of a cloud game according to an embodiment of the present disclosure;

fig. 3 is a schematic flow chart of another cloud game implementation method provided in the embodiment of the present disclosure;

fig. 4 is a schematic flowchart of a method for implementing a cloud game according to an embodiment of the present disclosure;

fig. 5 is a schematic diagram of an implementation of a cloud game provided in an embodiment of the present disclosure;

fig. 6 is a schematic diagram of another implementation of a cloud game provided in the embodiments of the present disclosure;

fig. 7 is a schematic structural diagram of an implementation system of a cloud game provided in an embodiment of the present disclosure;

fig. 8 is a schematic structural diagram of an implementation apparatus of a cloud game provided in an embodiment of the present disclosure;

fig. 9 is a schematic structural diagram of another cloud game implementation apparatus provided in the embodiment of the present disclosure;

fig. 10 is a schematic structural diagram of another cloud game implementation apparatus provided in an embodiment of the present disclosure;

fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.

Detailed Description

Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.

It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.

The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "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". Relevant definitions for other terms will be given in the following description.

It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.

It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.

The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.

The essence of the cloud game is that a cloud device or a simulator independently runs the game, and pictures in the running process are transmitted to a user client in the form of video and/or audio data. For example, fig. 1 is a schematic diagram of a cloud game provided in an embodiment of the present disclosure, a game client may transmit a user operation to a cloud device through an instruction, the cloud device may translate the instruction and execute a cloud game, perform video rendering and encoding on a game screen after execution and transmit the game screen to the game client, the game client may perform video transcoding to display the game screen to a user in a video form, and the user may directly see the game screen after the user operation, for example, when the user clicks a shooting button, the user may see a bullet flying out to hit a target; the cloud game mode can enable a user to experience the complete game without downloading, and special adaptation is not needed, namely the user can play the game on demand.

Currently, cloud gaming devices, if served by only a single provider, present the following risks: the service stability is low, if the service has technical failure, the service is unavailable, and no backup scheme exists; if the provider stops working with the service because of some disputes or contract expiration, the service will pause for a period of time; the replacement of the new provider requires service re-access, which is too costly. If the cloud game equipment is provided with services by a plurality of providers, the service client needs to be connected with client SDKs of a plurality of different providers in a butt joint mode, the services of different providers are not uniform, the service client needs to perform management operations such as putting on and/or putting off a cloud game on the cloud game equipment of different providers, and the service butt joint complexity is high. In order to solve the technical problem, the embodiment of the present disclosure provides a method for implementing a cloud game.

Fig. 2 is a flowchart illustrating an implementation method of a cloud game according to an embodiment of the present disclosure, where the implementation method may be executed by an implementation apparatus of the cloud game, where the implementation apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 2, the method is applied to a cloud game server, and includes:

step 101, receiving a cloud game starting request.

In the embodiment of the disclosure, the cloud game server is a background for managing and monitoring the cloud game devices of a plurality of providers, and can provide a uniform service application interface. The cloud game device is a device for installing and operating a cloud game client, provides technical and service support for the operation of the cloud game client, and the cloud game client is a game application program deployed at the cloud end. The cloud game initiation request may be a request for initiating a target cloud game, i.e., including a request for a cloud game device.

The client heterogeneous SDK may be installed in a service client, run by calling resources of the service client based on a Software Development Kit (SDK) run by the service client, and is configured to interact with a cloud game device by using a cloud computing technology to implement running of a corresponding cloud game.

Specifically, the cloud game server may receive, through the service application interface, a cloud game start request sent by a client heterogeneous SDK configured in the service client. The service client may be any one of the client terminals in the terminal device, and the embodiment of the present disclosure does not limit the specific service of the service client, for example, the service client may be a video client, a news client, a live broadcast client, and the like.

Step 102, determining target cloud game devices based on monitoring data of the cloud game devices, wherein the number of the cloud game devices is at least two.

The monitoring data refers to data for representing service performance and quality of the cloud game device, and the monitoring data may include various data, and is not limited specifically.

In the embodiment of the present disclosure, the method for implementing the cloud game may further include: and acquiring monitoring data sent by the client heterogeneous SDK and/or each cloud game device according to a set time interval. Optionally, the monitoring data includes at least one of a first frame success rate, a first frame delay, an operation delay, and a cloud resource remaining capacity.

The set time interval may be set according to actual conditions, for example, the set time interval may be set to 10 minutes. In the embodiment of the disclosure, the cloud game server may obtain monitoring data, which is sent by the heterogeneous SDK of the client and is specific to each cloud game device, where the monitoring data specifically includes at least one of a first frame success rate, a first frame delay, an operation delay, and the like, the first frame success rate refers to a probability that a first frame game picture of a cloud game is successfully displayed, the first frame delay refers to a delay time of the first frame game picture of the cloud game, and the operation delay refers to a delay time fed back to a user from a user operation to a game in the cloud game. The cloud game server may also obtain monitoring data sent by each cloud game device, and specifically may include cloud resource remaining capacity, where the cloud resource refers to a device resource at the cloud end or a server resource, and the cloud resource remaining capacity refers to the number of unused devices in the cloud end and the unused memory capacity of the devices.

The monitoring data in the embodiment of the disclosure may include not only data reported by the cloud game device itself, but also data reported by the client heterogeneous SDK in the service client, so that the monitoring data is more comprehensive, and the target cloud game device determined based on the monitoring data is more accurate in the following.

Specifically, determining a target cloud game device based on monitoring data of each cloud game device includes: carrying out weighted summation based on the weights of different data in the monitoring data, and determining the performance value corresponding to each cloud game device; and sequencing the performance values of the cloud game devices in a descending order, and determining the cloud game device with the performance value ranked first as a target cloud game device. The cloud game server can obtain monitoring data of each cloud game device, the monitoring data can include various data, corresponding weights can be set for different data, the cloud game server can perform weighted summation on the monitoring data based on preset weights to determine performance values of each cloud game device, then the cloud game server can sequence the performance values of each cloud game device from large to small, and the cloud game device with the highest sequence is determined as the target cloud game device which provides service currently. The weights of the different data can be set according to actual conditions.

And 103, 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 starting request based on the device information.

The client side heterogeneous SDK is installed in the service client side, can be understood as heterogeneous of the client side SDK, and the heterogeneous refers to fusion of various different architectures, abstracting generality of the architecture, packaging differences of the architecture, and providing a uniform interface for the outside. The client heterogeneous SDK is pre-packaged with at least two client SDKs, and each client SDK corresponds to at least one cloud game device. In the embodiment of the disclosure, each client SDK corresponds to a unique provider of the cloud game device, the provider of one cloud game device can provide multiple cloud game devices, the providers of the cloud game devices can be multiple, each provider can provide a client SDK with its own interface design to a service client to interface with multiple cloud game devices provided by itself, and the heterogeneous SDKs of the clients can package a fused interface layer according to the interface designs of the client SDKs of multiple providers, so as to unify interfaces and parameters externally, and specific parameters are carried by the service client, so that differences of different providers can be shielded.

After the cloud game server determines the target cloud game device, the cloud game server may return device information of the target cloud game device to the client heterogeneous SDK, so that the client heterogeneous SDK may directly interact with the corresponding target cloud game device based on the target client SDK corresponding to the device information, start a target cloud game corresponding to the cloud game start request, that is, send a cloud game start request to the target cloud game device and receive game running data, so as to implement running of the target cloud game.

According to the implementation scheme of the cloud game provided by the embodiment of the disclosure, a cloud game server receives a cloud game starting request; determining target cloud game devices based on monitoring data of the cloud game devices, wherein the number of the cloud game devices is at least two; and 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 starting request based on the device information. By adopting the technical scheme, the cloud game server can manage a plurality of cloud game devices, the cloud game devices which provide services currently are determined by monitoring the service conditions of the cloud game devices, the stability of the services provided by the cloud game devices is improved, and different cloud game devices can be docked by configuring the client heterogeneous SDK with the unified standard in the service client, so that the service docking complexity is reduced.

In some embodiments, the implementation method of the cloud game may further include: responding to a secondary starting request of the target cloud game, and judging whether the target cloud game equipment meets a continued use condition; and if the target cloud game equipment is determined not to meet the continuous use condition, determining new target cloud game equipment based on the monitoring data of the cloud game equipment, and returning the equipment information of the new target cloud game equipment to the client heterogeneous SDK. Optionally, determining that the target cloud game device does not satisfy the continuous use condition includes: and if the target cloud game equipment is determined to be out of order or the residual capacity of the cloud resources is zero, determining that the target cloud game equipment does not meet the continuous use condition.

After the cloud game server determines the target cloud game device, a secondary starting request of a user for the target cloud game is received, and if the target cloud game device which provides the service fails or the residual capacity of cloud resources is zero, the cloud game server can determine that the target cloud game device does not meet a continued use condition, namely, the target cloud game device needs to be switched. And determining corresponding performance values based on monitoring data of other cloud game devices except the target cloud game device needing to be switched, determining the cloud game device with the highest performance value sequence as a new target cloud game device, and returning the device information of the new target cloud game device to the client heterogeneous SDK so as to enable the client heterogeneous SDK to interact with the new target cloud game device and start the target cloud game for the second time. Optionally, the new target cloud game device and the previous target cloud game device may be from the same provider or from different providers, and the determination is specifically performed according to actual conditions.

When the cloud game equipment for providing the service has a problem or the provider stops cooperating and can not provide the service any more, the cloud game server can automatically determine new cloud game equipment for providing the service without modifying a service client, so that the use risk of only a single provider can be solved, and the stability and the flexibility of the service provided by the cloud game equipment are improved.

In some embodiments, after receiving the cloud game start request, the method may further include: and if the target cloud game equipment does not exist based on the monitoring data of the cloud game equipment, returning request failure information to the client heterogeneous SDK so that the client heterogeneous SDK displays a standby page.

If the cloud game server determines that the residual capacity of cloud resources is zero or all the cloud game devices are in failure, it can be determined that no target cloud game device capable of providing service exists at present, request failure information can be sent to the client heterogeneous SDK, and the client heterogeneous SDK can send the request failure information to the service client, so that the service client can obtain the address of the standby page and access the address to display the standby page. The standby page may be a preset page related to the target cloud game, for example, the standby page may be a download landing page, an experience landing page, or a general advertisement landing page. For example, the standby page may be a common advertisement landing page, and for a cloud game advertisement, after the service client receives the request failure information, it may be determined that the cloud game experience cannot be performed currently, and an address of the common advertisement landing page may be obtained from the advertisement server, and the common advertisement landing page is displayed.

The advantage of above-mentioned setting lies in, when cloud game server confirms that there is not the cloud game equipment that can provide the service at present, can return information and give the heterogeneous SDK of client, and then can show spare page and give the user, through the setting of the preliminary scheme of degrading when this service is unavailable, avoids the user to wait for the experience effect that cloud game caused always poorly, has improved user's experience effect.

In some embodiments, the implementation method of the cloud game may further include: receiving cloud game management requests, and synchronously executing cloud game management operations corresponding to the cloud game management requests in each cloud game device, wherein the cloud game management operations comprise issuing operations and deleting operations aiming at different cloud games. The cloud game management request may include a cloud game release request for requesting a release operation of a different cloud game in the cloud game device, and a cloud game deletion request for supporting an operation of installing and registering the cloud game. The cloud game deletion request is used for requesting the cloud game device to perform deletion operations of different cloud games, the deletion operations can include unloading, logout and other operations, and the cloud game does not support operation after deletion.

The cloud game server can receive the cloud game management request sent by the service client, and can manage the issuing or deleting operation of different cloud games in each cloud game device through unified cloud game management operation. The cloud game server can provide uniform management service, for the business client, the cloud game server can perform operations such as putting on and/or putting off a cloud game, and the cloud game server can synchronize related operations to cloud game equipment of different providers and perform data intercommunication with the different providers to provide uniform service.

Fig. 3 is a flowchart illustrating another cloud game implementation method provided in an embodiment of the present disclosure, where the method may be executed by a cloud game implementation apparatus, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 3, the method is applied to a client heterogeneous SDK, and includes:

step 201, receiving a cloud game starting request.

The cloud game starting request is a request for starting a target cloud game in the cloud game device and further experiencing the cloud game. The cloud game client is a cloud game program installed and running in the cloud game device.

In the embodiment of the disclosure, when a user wants to experience a cloud game in a service client, an entry of the cloud game may be triggered, after the service client detects a cloud game start triggering operation, a client heterogeneous SDK may be started, and a cloud game start request is sent to the client heterogeneous SDK, which receives the cloud game start request. The entry of the cloud game may be a virtual key or recommendation information preset in the service client, and is not limited specifically, for example, the entry of the cloud game may be a video recommendation, a picture recommendation, or a text recommendation of the cloud game in the service client, or may also be a virtual key on a certain page in the service client.

Step 202, the cloud game starting request is sent to the cloud game server, and the device information of the target cloud game device returned by the cloud game server is received.

The target cloud game device is determined for the cloud game server based on monitoring data of the cloud game devices, the number of the cloud game devices is at least two, at least two client side SDKs are packaged in the client side heterogeneous SDKs in advance, and each client side SDK corresponds to at least one cloud game device.

After receiving the cloud game starting request, the client heterogeneous SDK can send the cloud game starting request to the cloud game server, and the cloud game server can determine a target cloud game device based on monitoring data of each cloud game device and return device information of the target cloud game device to the client heterogeneous SDK after receiving the cloud game starting request. The client heterogeneous SDK may receive device information of the target cloud game device returned by the cloud game server.

And step 203, starting the target cloud game corresponding to the cloud game starting request based on the device information.

Specifically, starting the target cloud game corresponding to the cloud game starting request based on the device information may include: and sending a cloud game starting request to the target cloud game equipment through the target client SDK corresponding to the equipment information so as to start the target cloud game corresponding to the cloud game starting request.

The client side heterogeneous SDK is installed in the service client side, can be understood as heterogeneous of the client side SDK, and the heterogeneous refers to fusion of various different architectures, abstracting generality of the architecture, packaging differences of the architecture, and providing a uniform interface for the outside. The client heterogeneous SDK can package a fused interface layer according to the interface design of the client SDKs of a plurality of providers, and the interfaces and parameters are unified outwards, wherein the specific parameters are carried by the service client, so that the difference of different providers can be shielded.

After the client heterogeneous SDK receives the device information, a target client SDK corresponding to the device information can be determined, the target client SDK is a client SDK corresponding to the target cloud game device, and then the target client SDK sends a cloud game starting request to the target cloud game device, so that the target cloud game device starts a target cloud game corresponding to the cloud game starting request.

In the embodiment of the present disclosure, the method for implementing the cloud game may further include: and receiving and displaying game running data sent by the target cloud game device, wherein the game running data comprises game audio and/or game video. After the target cloud game equipment starts the target cloud game, cloud game events can be executed to obtain game running data and the game running data is issued, and the client heterogeneous SDK can receive and display the game running data through the target client SDK so as to realize running of the target cloud game.

According to the implementation scheme of the cloud game, the client heterogeneous SDK receives the cloud game starting request, sends the cloud game starting request to the cloud game server, receives the device information of the target cloud game device returned by the cloud game server, and starts the target cloud game corresponding to the cloud game starting request based on the device information. By adopting the technical scheme, the target cloud game device is determined by monitoring the service conditions of the plurality of cloud game devices for the cloud game server, so that the stability of the service provided by the cloud game device is improved, and the different cloud game devices can be docked by configuring the client heterogeneous SDK with the unified standard in the service client, so that the service docking complexity is reduced.

Fig. 4 is a flowchart illustrating a further implementation method of a cloud game according to an embodiment of the present disclosure, where the method may be implemented by an implementation apparatus of the cloud game, where the implementation apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 4, the method is applied to a cloud game device, and includes:

step 301, receiving a cloud game starting request.

The cloud game device in the embodiment of the disclosure is a target cloud game device which currently provides a service, the target cloud game device is determined for 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. The cloud game starting request is a request for starting a target cloud game in the cloud game device and further experiencing the cloud game.

Specifically, the target cloud game device may receive a cloud game start request sent by the client heterogeneous SDK through the target client SDK, where the target client SDK corresponds to the target cloud game device.

Step 302, starting the target cloud game, and sending the game running data of the target cloud game to the client heterogeneous SDK for displaying.

The client heterogeneous SDKs are packaged with at least two client SDKs in advance, and each client SDK corresponds to at least one cloud game device. After the target cloud game equipment receives the cloud game starting request, the cloud game client capable of running the target cloud game executes a cloud game event, video rendering and coding are carried out on running game running data, the running game running data are sent to the target client SDK corresponding to the target cloud game equipment, and the target client SDK can carry out video transcoding to display the game running data to a user.

For example, fig. 5 is a schematic diagram of an implementation of a cloud game provided by an embodiment of the present disclosure, where a cloud game advertisement scene of a service client is taken as an example, as shown in fig. 5, a client heterogeneous SDK is configured in both a service client a and a service client B, a cloud game device a of a provider a and a cloud game device B of a provider B in the figure are taken as examples, and the client heterogeneous SDKs include a client SDKA corresponding to the cloud game device a and a client SDKB corresponding to the cloud game device B. The specific process can comprise the following steps: an advertiser puts cloud game advertisements in a service client A, the service client A can mount a cloud game on a cloud game server, and the cloud game can be automatically deployed in two cloud game devices after being automatically mounted on platforms of two providers; the service client A can display the cloud game advertisement in the recommendation stream, and when a user clicks the cloud game advertisement, the service 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 target cloud game equipment based on the monitoring data of the cloud game equipment and returns an application result in a return 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 a cloud game advertisement page based on the client SDKA, connect with a cloud game and enter a cloud game trial playing interface; the client SDKA can send data such as operation delay and network delay to the cloud game server in the trial playing process of the user.

When the residual capacity of the cloud game device A is insufficient and the cloud game device B has residual capacity, the target cloud game device can be switched to be the cloud game device B, the client heterogeneous SDK interacts with the cloud game device B based on the client SDKB, and cloud game experience is conducted according to the steps. When the cloud game device A and the cloud game device B both have no residual capacity, the cloud game server can return request failure information to the client heterogeneous SDK, and the service client A can receive the request failure information and display the common advertisement landing page corresponding to the cloud game advertisement.

In some embodiments, the implementation method of the cloud game may further include: receiving a cloud game interaction request; determining equipment information of the cloud game equipment through a pre-installed cloud heterogeneous SDK; and sending the interaction data in the cloud game 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 cooperation client to execute corresponding operation based on the interaction data.

The cloud game interaction request refers to an interaction request which is not required to be executed by the cloud game device, and comprises at least one of a payment request, a download request, a sharing request and the like. For example, a cloud game interaction request is taken as a download request, where the download request is to download a certain application program in a user-oriented terminal device, and does not need to be downloaded in the cloud game device, so that the cloud game device can send relevant interaction data such as a download address to the client heterogeneous SDK based on the download request, so that the client heterogeneous SDK downloads the corresponding application program in the terminal device.

The cloud heterogeneous SDK can be an SDK in a cloud game client installed in the cloud game device, and is similar to the client heterogeneous SDK in the service client. The cloud heterogeneous SDK encapsulates at least two cloud SDKs in advance, and each cloud SDK corresponds to at least one cloud game device. In the embodiment of the disclosure, each cloud terminal SDK corresponds to a unique provider of the cloud game device, the provider of one cloud game device can provide a plurality of cloud game devices, the providers of the cloud game devices can be multiple, each provider can provide the cloud terminal SDK with its own interface design, and the heterogeneous SDKs in the cloud terminal can package a fused interface layer according to the interface design of the cloud terminal SDKs of the multiple providers, so as to unify interfaces and parameters externally. The cloud game client side is provided with the heterogeneous cloud SDKs, and the cloud game client side does not need to be independently accessed to the cloud SDKs of different providers with different interface standards.

Specifically, after the target cloud game device receives the cloud game interaction request, the device information of the target cloud game device can be determined according to the environment parameters of the cloud game device through a pre-installed cloud heterogeneous SDK, and then the target cloud SDK is determined based on the device information; and then the target cloud SDK sends the interaction data in the cloud game interaction request to the client heterogeneous SDK, so that the client heterogeneous SDK calls other cooperative clients in the terminal equipment to execute corresponding operations based on the interaction data.

Illustratively, 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 the interaction data such as the shared content to the client heterogeneous SDK based on the target cloud SDK in the cloud game client, and the client heterogeneous SDK can call other clients with a sharing function in the terminal device to perform sharing operation on the interaction data such as the shared content.

By the heterogeneous cloud SDK in the cloud game client running in the cloud game device, for game developers, only the uniform cloud SDK needs to be installed in the cloud game client, the cloud SDK of the provider of each cloud game device does not need to be installed, and after the cloud game server determines the cloud game devices providing services, the cloud game devices can perform data interaction with the client heterogeneous SDK in the service client by adopting the corresponding cloud SDK, so that partial operation without running of the cloud game devices is realized.

For example, fig. 6 is a schematic view of another cloud game implementation provided in the embodiment of the present disclosure, in the figure, a cloud game experience scene is taken as an example, and a game C accesses a heterogeneous cloud heterogeneous SDK in order to meet deep experience of the cloud game, where the cloud heterogeneous SDK is provided with cloud SDKs of a provider a and a provider B, and is respectively docked with a cloud game device a of the provider a and a cloud game device B of the provider B to support operations such as login and payment. The service client A provides a game entrance for cloud game experience in a game center, and when a user clicks the game entrance, the service client A can trigger the client heterogeneous SDK to send an https request to a cloud game server to apply for cloud game equipment; if the cloud game server determines that the current provider B provides the service, the cloud game server is distributed to the cloud game device B; the client heterogeneous SDK can start a cloud game client based on the client SDKA; if the cloud heterogeneous SDK in the cloud game client judges that the cloud heterogeneous SDK is the cloud game device B, starting a cloud SDKB corresponding to the game device B; as shown in fig. 6, the cloud SDKB and the client SDKB can communicate with each other in two directions; if the user purchases the game prop in the cloud game, the cloud game client B can send order information to the client SDKB through the cloud SDK for ordering, the client with the payment function in the terminal equipment is started to complete payment, and the prop purchase is completed.

According to the implementation scheme of the cloud game, the cloud game equipment receives the cloud game starting request, starts the target cloud game, and sends the game running data of the target cloud game to the client heterogeneous SDK for displaying. By adopting the technical scheme, the cloud game equipment is determined by monitoring the service conditions of the cloud game servers, so that the stability of the service provided by the cloud game equipment is improved, and the service client and the cloud game can be quickly connected with the cloud game equipment by configuring the client heterogeneous SDK with the unified standard in the service client and configuring the cloud heterogeneous SDK with the unified standard in the cloud, so that the service client and the cloud game can be quickly connected with the cloud game equipment, and the service connection complexity is reduced.

Fig. 7 is a schematic structural diagram of an implementation system of a cloud game provided in an embodiment of the present disclosure, and as shown in fig. 7, the implementation system of the cloud game may include a client heterogeneous SDK11, a cloud game server 20, and a cloud game device 30, where the cloud game server 20 is in communication connection with the client heterogeneous SDK11 and the cloud game device 30, respectively, and is configured to execute the implementation method of the cloud game corresponding to fig. 2, the client heterogeneous SDK is configured to execute the implementation method of the cloud game corresponding to fig. 3, and the number of the cloud game devices is at least two, and is configured to execute the implementation method of the cloud game corresponding to fig. 4.

As shown in fig. 7, the client heterogeneous SDK11 is installed in the service client 10, the cloud gaming client 40 is installed in the cloud gaming device 30, the cloud gaming client 40 is configured with a cloud heterogeneous SDK41, and the cloud heterogeneous SDK41 is used for communicating with the client heterogeneous SDK 11.

The client heterogeneous SDK11 encapsulates a fused interface layer according to the interface design of the client SDKs of a plurality of providers, and unifies the interfaces and parameters outwards, wherein the specific parameters are carried by services, and the differences are shielded; and the client heterogeneous SDK11 reports performance monitoring data of the cloud gaming devices 30 of multiple providers to a unified monitoring platform for monitoring performance and abnormal conditions, and may also compare key indicators.

The cloud heterogeneous SDK41 encapsulates a fused interface layer according to interface designs of SDKs of multiple providers, and unifies interfaces and parameters outwards; determining which cloud game equipment of a provider the game runs on according to the environmental parameters of the cloud game equipment, and determining which cloud end SDK the game runs on; the cloud game client can access the heterogeneous cloud heterogeneous SDK41, and does not need to access SDKs of different providers independently.

The cloud game server 20 may provide a uniform service application interface, the client heterogeneous SDK11 applies for a service from the cloud game server 20, and the cloud game server 20 determines which cloud game device of which provider is allocated according to some data such as resource usage and service availability. The cloud game server 20 can also be used as a cloud game monitoring background, a provider provides a service quality monitoring interface, and the monitoring center collects the data and provides a basis for unified service; a provider provides resource monitoring interfaces such as the residual capacity of the cloud game equipment and the equipment use condition, and provides a basis for unified service; and (3) monitoring the performance quality data of the client reported by the client heterogeneous SDK11 in real time by the monitoring center. The cloud game server 20 can also be used as a cloud game unified management platform to deeply cooperate with a provider, the provider provides a resource scheduling interface, and the unified management platform provides game management capability; and the operation is performed on the unified management platform once, and the operation is automatically synchronized to the platform of each provider.

In addition, the cloud game server 20 may further identify the service client 10 and issue a corresponding service identifier, so that different service clients may use different cloud game devices 30. Taking the provider a as an example, the provider a has a service identifier (bid) for each service client that is docked, and is used for identifying the identity of the access party, making different configurations, such as pooling, for the service identifiers, and placing game pre-start in a resource pool, thereby increasing the start speed. When the advertisement scene of one service client does not need to be pooled, the scene of the other service client needs to be pooled, and if the two service clients have the same service identifier, the pooling cannot be performed. The cloud game server 20 can identify the service clients and issue different service identifiers, and the two service clients can use different cloud game devices 30 without modification of the service clients, so that online flexible adjustment can be realized under the condition that the service clients are online. The heterogeneous is more flexible, the docking parameter is issued by the cloud game server 20, and the docking parameter is changed without changing the service client 10.

In the embodiment of the disclosure, a degradation preparation scheme when the cloud service is unavailable, such as a scene of advertisement landing pages, can be provided, and when no cloud game device is available, the degradation is performed to the common advertisement landing pages.

In the embodiment of the disclosure, the client side SDK and the cloud side SDK of different providers are subjected to heterogeneous packaging to obtain the uniform client side heterogeneous SDK and cloud side heterogeneous SDK, so that the complexity of service docking is reduced; the cloud game server can monitor the service quality of the cloud game devices of different providers, and the cloud game server determines which provider service is used each time the cloud game device is requested; the cloud game server can also carry out unified integrated management on the upper shelves and/or the lower shelves of the cloud games of different providers.

The cloud game implementation system provided by the embodiment of the disclosure has the following specific beneficial effects through the cooperation of the modules: the method and the system can solve the risk of a single provider, the client heterogeneous SDK provided for the service client is heterogeneous after being packaged, and the service client does not know which provider service is used; when technical failure occurs to the service of one provider, all service requests can be switched to the service of the other provider, and the service stability is guaranteed; after the cooperation between the client and one provider is stopped, the service does not need to be modified, the service request is switched to the other provider, the provider stopping the cooperation is removed after the heterogeneous SDK of the subsequent client is updated, and the service interface is not changed; the newly-added provider is not aware of the service client, and the service interface is not changed after the heterogeneous SDK of the client is updated. The cloud game server can compare the service quality of multiple providers, can acquire the same index data of different providers, can monitor key indexes and compare the indexes of different providers, and accordingly finds a high-quality provider. The method can provide uniform service, integrates the services of different providers together, and performs operations such as game shelving and/or shelving off on a uniform platform for business, and the uniform service platform can synchronize related operations to different providers and perform data intercommunication with the different providers to provide uniform service.

Fig. 8 is a schematic structural diagram of an apparatus for implementing a cloud game, which may be implemented by software and/or hardware and may be generally integrated in an electronic device according to an embodiment of the present disclosure. As shown in fig. 8, the apparatus is provided in a cloud game server, and includes:

a request receiving module 401, configured to receive a cloud game start request;

a device determining module 402, configured to determine target cloud game devices based on monitoring data of each cloud game device, where the number of cloud game devices is at least two;

the device information returning module 403 is configured 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.

Optionally, the device determining module 402 is specifically configured to:

carrying out weighted summation based on the weights of different data in the monitoring data, and determining a performance value corresponding to each cloud game device;

and sequencing the performance values of the cloud game devices in a descending order, and determining the cloud game device with the performance value ranked first as a target cloud game device.

Optionally, the apparatus further includes a monitoring data obtaining module, configured to:

and acquiring monitoring data sent by the client heterogeneous SDK and/or each cloud game device according to a set time interval.

Optionally, the monitoring data includes at least one of a first frame success rate, a first frame delay, an operation delay, and a cloud resource remaining capacity.

Optionally, the apparatus further includes a device switching module, configured to:

responding to a secondary starting request of the target cloud game, and judging whether the target cloud game equipment meets a continued use condition;

and if the target cloud game equipment is determined not to meet the continued condition, determining new target cloud game equipment based on the monitoring data of each cloud game equipment, and returning the equipment information of the new target cloud game equipment to the client heterogeneous SDK.

Optionally, the device switching module is specifically configured to:

and if the target cloud game equipment is determined to be out of order or the residual capacity of the cloud resources is zero, determining that the target cloud game equipment does not meet the continued use condition.

Optionally, the apparatus further comprises a standby module, configured to, after receiving the cloud game start request,

and if the target cloud game equipment does not exist based on the monitoring data of the cloud game equipment, returning request failure information to the client heterogeneous SDK so that the client heterogeneous SDK displays a standby page.

Optionally, the apparatus further includes a cloud game management module, configured to:

receiving a cloud game management request, and synchronously executing cloud game management operation corresponding to the cloud game management request in each cloud game device, wherein the cloud game management operation comprises issuing operation and deleting operation aiming at different cloud games.

The cloud game implementation device provided by the embodiment of the disclosure can execute the steps executed by the cloud game server in the cloud game implementation method provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.

Fig. 9 is a schematic structural diagram of another implementation apparatus for a cloud game provided in an embodiment of the present disclosure, where the implementation apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 9, the apparatus is configured to a client heterogeneous SDK, and includes:

a start triggering module 501, configured to receive a cloud game start request;

a request sending module 502, configured to send the cloud game start request to a cloud game server, and receive device information of a target cloud game device returned by the cloud game server;

a starting module 503, configured to start a target cloud game corresponding to the cloud game starting request based on the device information;

the target cloud game device is determined for the cloud game server based on monitoring data of the cloud game devices, and the number of the cloud game devices is at least two.

Optionally, at least two client SDKs are pre-packaged in the client heterogeneous SDK, each client SDK corresponds to at least one cloud game device, and the starting module 503 is specifically configured to:

and sending the cloud game starting request to the target cloud game equipment through a target client side SDK corresponding to the equipment information so as to start a target cloud game corresponding to the cloud game starting request.

The cloud game implementation device provided by the embodiment of the disclosure can execute the steps executed by the client heterogeneous SDK in the cloud game implementation method provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method.

Fig. 10 is a schematic structural diagram of another cloud game implementation apparatus provided in an embodiment of the present disclosure, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 9, the apparatus is provided in a cloud game device, and includes:

a start request module 601, configured to receive a cloud game start request;

the data display module 602 is configured to start a target cloud game, and send game running data of the target cloud game to the client heterogeneous SDK for display.

Optionally, the apparatus further includes an interaction module, configured to:

receiving a cloud game interaction request;

determining equipment information of the cloud game equipment through a pre-installed cloud heterogeneous SDK;

and sending the interaction data in the cloud game interaction request to the client heterogeneous SDK through a target cloud SDK corresponding to the device information in the cloud heterogeneous SDK, so that the client heterogeneous SDK calls a cooperation client to execute corresponding operation based on the interaction data.

Optionally, the client heterogeneous SDKs are pre-packaged with at least two client SDKs, each client SDK corresponds to at least one cloud game device, the cloud heterogeneous SDKs are pre-packaged with at least two cloud SDKs, each cloud SDK corresponds to at least one cloud game device, and the cloud game interaction request includes at least one of a payment request, a download request, and a sharing request.

The cloud game implementation device provided by the embodiment of the disclosure can execute the steps executed by the cloud game equipment in the cloud game implementation method provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method.

Fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. Referring now specifically to fig. 11, a schematic diagram of an electronic device 700 suitable for use in implementing embodiments of the present disclosure is shown. The electronic device 700 in the disclosed embodiment may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 11 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.

As shown in fig. 11, the electronic device 700 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 701 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage means 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the electronic apparatus 700 are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other by a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.

Generally, the following devices may be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 707 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 708 including, for example, magnetic tape, hard disk, etc.; and a communication device 709. The communication means 709 may allow the electronic device 700 to communicate wirelessly or by wire with other devices to exchange data. While fig. 11 illustrates an electronic device 700 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.

In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via the communication means 709, or may be installed from the storage means 708, or may be installed from the ROM 702. When executed by the processing device 701, the computer program performs the above-described functions defined in the cloud game implementation method of the embodiment of the present disclosure.

It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.

In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.

The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.

The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a cloud game starting request; determining target cloud game devices based on monitoring data of the cloud game devices, wherein the number of the cloud game devices is at least two; and 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 starting request based on the device information.

Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a cloud game starting request; sending the cloud game starting request to a cloud game server, and receiving device information of target cloud game devices returned by the cloud game server; starting a target cloud game corresponding to the cloud game starting request based on the equipment information; the target cloud game device is determined for the cloud game server based on monitoring data of the cloud game devices, and the number of the cloud game devices is at least two.

Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a cloud game starting request; starting a target cloud game, and sending game running data of the target cloud game to the client heterogeneous SDK for displaying.

Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of 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 the connection may be made to an external computer (for example, through the Internet using an Internet service provider).

The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.

The functions described herein above 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 a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.

In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The 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, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

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, applied to a cloud game server, including:

receiving a cloud game starting request;

determining target cloud game devices based on monitoring data of the cloud game devices, wherein the number of the cloud game devices is at least two;

and 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 starting request based on the device information.

According to one or more embodiments of the present disclosure, in a method for implementing a cloud game provided by the present disclosure, the determining a target cloud game device based on monitoring data of each cloud game device includes:

carrying out weighted summation based on the weights of different data in the monitoring data, and determining a performance value corresponding to each cloud game device;

and sequencing the performance values of the cloud game devices in a descending order, and determining the cloud game device with the performance value ranked first as a target cloud game device.

According to one or more embodiments of the present disclosure, in the implementation method of the cloud game provided by the present disclosure, the method further includes:

and acquiring monitoring data sent by the client heterogeneous SDK and/or each cloud game device according to a set time interval.

According to one or more embodiments of the present disclosure, in the cloud game implementation method provided by the present disclosure, the monitoring data includes at least one of a first frame success rate, a first frame delay, an operation delay, and a cloud resource remaining capacity.

According to one or more embodiments of the present disclosure, in the implementation method of the cloud game provided by the present disclosure, the method further includes:

responding to a secondary starting request of the target cloud game, and judging whether the target cloud game equipment meets a continued use condition;

and if the target cloud game equipment is determined not to meet the continued condition, determining new target cloud game equipment based on the monitoring data of each cloud game equipment, and returning the equipment information of the new target cloud game equipment to the client heterogeneous SDK.

According to one or more embodiments of the present disclosure, in a method for implementing a cloud game provided by the present disclosure, the determining that a target cloud game device does not satisfy the resume condition includes:

and if the target cloud game equipment is determined to be out of order or the residual capacity of the cloud resources is zero, determining that the target cloud game equipment does not meet the continued use condition.

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, the method further includes:

and if the target cloud game equipment does not exist based on the monitoring data of the cloud game equipment, returning request failure information to the client heterogeneous SDK so that the client heterogeneous SDK displays a standby page.

According to one or more embodiments of the present disclosure, in the implementation method of the cloud game provided by the present disclosure, the method further includes:

receiving a cloud game management request, and synchronously executing cloud game management operation corresponding to the cloud game management request in each cloud game device, wherein the cloud game management operation comprises issuing operation and deleting operation aiming at different cloud games.

In a second aspect, according to one or more embodiments of the present disclosure, the present disclosure provides an implementation method of a cloud game, applied to a client heterogeneous SDK, including:

receiving a cloud game starting request;

sending the cloud game starting request to a cloud game server, and receiving device information of target cloud game devices returned by the cloud game server;

starting a target cloud game corresponding to the cloud game starting request based on the equipment information;

the target cloud game device is determined for the cloud game server based on monitoring data of the cloud game devices, and the number of the cloud game devices is at least two.

According to one or more embodiments of the present disclosure, in the cloud game implementation method provided by the present disclosure, at least two client SDKs are pre-packaged in the client heterogeneous SDK, each client SDK corresponds to at least one cloud game device, and starting a target cloud game corresponding to the cloud game start request based on the device information includes:

and sending the cloud game starting request to the target cloud game equipment through a target client side SDK corresponding to the equipment information so as to start a target cloud game corresponding to the cloud game starting request.

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, applied to a cloud game device, including:

receiving a cloud game starting request;

starting a target cloud game, and sending game running data of the target cloud game to the client heterogeneous SDK for displaying.

According to one or more embodiments of the present disclosure, in the implementation method of the cloud game provided by the present disclosure, the method further includes:

receiving a cloud game interaction request;

determining equipment information of the cloud game equipment through a pre-installed cloud heterogeneous SDK;

and sending the interaction data in the cloud game interaction request to the client heterogeneous SDK through a target cloud SDK corresponding to the device information in the cloud heterogeneous SDK, so that the client heterogeneous SDK calls a cooperation client to execute corresponding operation based on the interaction data.

According to one or more embodiments of the present disclosure, in the cloud game implementation method provided by the present disclosure, at least two client SDKs are pre-packaged in the client heterogeneous SDKs, each client SDK corresponds to at least one cloud game device, the cloud heterogeneous SDKs are pre-packaged with at least two cloud SDKs, each cloud SDK corresponds to at least one cloud game device, and the cloud game interaction request includes at least one of a payment request, a download request, and a sharing request.

In a fourth aspect, according to one or more embodiments of the present disclosure, an apparatus for implementing a cloud game is provided, where the apparatus is disposed on a cloud game server, and includes:

the request receiving module is used for receiving a cloud game starting request;

the device determining module is used for determining target cloud game devices based on monitoring data of the cloud game devices, wherein the number of the cloud game devices is at least two;

and the device information returning module is used for returning the device information of the target cloud game device to the client heterogeneous SDK so as to enable the client heterogeneous SDK to start the target cloud game corresponding to the cloud game starting request based on the device information.

According to one or more embodiments of the present disclosure, in an apparatus for implementing a cloud game provided by the present disclosure, the device determination module is specifically configured to:

carrying out weighted summation based on the weights of different data in the monitoring data, and determining a performance value corresponding to each cloud game device;

and sequencing the performance values of the cloud game devices in a descending order, and determining the cloud game device with the performance value ranked first as a target cloud game device.

According to one or more embodiments of the present disclosure, in an implementation apparatus of a cloud game provided by the present disclosure, the apparatus further includes a monitoring data obtaining module, configured to:

and acquiring monitoring data sent by the client heterogeneous SDK and/or each cloud game device according to a set time interval.

According to one or more embodiments of the present disclosure, in an implementation apparatus of a cloud game provided by the present disclosure, the monitoring data includes at least one of a first frame success rate, a first frame delay, an operation delay, and a cloud resource remaining capacity.

According to one or more embodiments of the present disclosure, in an apparatus for implementing a cloud game provided by the present disclosure, the apparatus further includes a device switching module, configured to:

responding to a secondary starting request of the target cloud game, and judging whether the target cloud game equipment meets a continued use condition;

and if the target cloud game equipment is determined not to meet the continued condition, determining new target cloud game equipment based on the monitoring data of each cloud game equipment, and returning the equipment information of the new target cloud game equipment to the client heterogeneous SDK.

According to one or more embodiments of the present disclosure, in an apparatus for implementing a cloud game provided by the present disclosure, the device switching module is specifically configured to:

and if the target cloud game equipment is determined to be out of order or the residual capacity of the cloud resources is zero, determining that the target cloud game equipment does not meet the continued use condition.

According to one or more embodiments of the present disclosure, in an apparatus for implementing a cloud game provided by the present disclosure, the apparatus further includes a standby module, configured to, after receiving a cloud game start request,

and if the target cloud game equipment does not exist based on the monitoring data of the cloud game equipment, returning request failure information to the client heterogeneous SDK so that the client heterogeneous SDK displays a standby page.

According to one or more embodiments of the present disclosure, in an apparatus for implementing a cloud game provided by the present disclosure, the apparatus further includes a cloud game management module, configured to:

receiving a cloud game management request, and synchronously executing cloud game management operation corresponding to the cloud game management request in each cloud game device, wherein the cloud game management operation comprises issuing operation and deleting operation aiming at different cloud games.

In a fifth aspect, according to one or more embodiments of the present disclosure, an apparatus for implementing a cloud game is provided, where the apparatus is configured to be set in a client heterogeneous SDK, and includes:

the starting triggering module is used for receiving a cloud game starting request;

the request sending module is used for sending the cloud game starting request to a cloud game server and receiving device information of the target cloud game device returned by the cloud game server;

the starting module is used for starting a target cloud game corresponding to the cloud game starting request based on the equipment information;

the target cloud game device is determined for the cloud game server based on monitoring data of the cloud game devices, and the number of the cloud game devices is at least two.

According to one or more embodiments of the present disclosure, in an implementation apparatus of a cloud game provided by the present disclosure, at least two client SDKs are pre-packaged in the client heterogeneous SDKs, each client SDK corresponds to at least one cloud game device, and the starting module 503 is specifically configured to:

and sending the cloud game starting request to the target cloud game equipment through a target client side SDK corresponding to the equipment information so as to start a target cloud game corresponding to the cloud game starting request.

In a sixth aspect, according to one or more embodiments of the present disclosure, there is provided an apparatus for implementing a cloud game, provided in a cloud game device, including:

the starting request module is used for receiving a cloud game starting request;

and the data display module is used for starting the target cloud game and sending the game running data of the target cloud game to the client heterogeneous SDK for display.

According to one or more embodiments of the present disclosure, in an apparatus for implementing a cloud game provided by the present disclosure, the apparatus further includes an interaction module, configured to:

receiving a cloud game interaction request;

determining equipment information of the cloud game equipment through a pre-installed cloud heterogeneous SDK;

and sending the interaction data in the cloud game interaction request to the client heterogeneous SDK through a target cloud SDK corresponding to the device information in the cloud heterogeneous SDK, so that the client heterogeneous SDK calls a cooperation client to execute corresponding operation based on the interaction data.

According to one or more embodiments of the present disclosure, in an implementation apparatus of a cloud game provided by the present disclosure, at least two client SDKs are pre-packaged in the client heterogeneous SDKs, each client SDK corresponds to at least one cloud game device, the cloud heterogeneous SDKs are pre-packaged with at least two cloud SDKs, each cloud SDK corresponds to at least one cloud game device, and the cloud game interaction request includes at least one of a payment request, a download request, and a sharing request.

In a seventh aspect, according to one or more embodiments of the present disclosure, the present disclosure provides a cloud game implementation system, which includes a client heterogeneous SDK, a cloud game server and a cloud game device, where the cloud game server is respectively connected to the client heterogeneous SDK and the cloud game device in a communication manner, and is configured to execute the cloud game implementation method according to the first aspect, the client heterogeneous SDK is configured to execute the cloud game implementation method according to the second aspect, and the number of the cloud game devices is at least two, and the cloud game implementation method according to the third aspect is configured to be executed.

According to one or more embodiments of the present disclosure, in a system for implementing a cloud game provided by the present disclosure, a cloud heterogeneous SDK is configured in a cloud game device, and the cloud heterogeneous SDK is used for communicating with the client heterogeneous SDK.

In accordance with one or more embodiments of the present disclosure, there is provided an electronic device including:

one or more processors;

a memory for storing one or more programs;

when executed by the one or more processors, cause the one or more processors to implement a method for implementing a cloud game as any one of the methods provided by this disclosure.

According to one or more embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of implementing a cloud game as any one of the cloud games provided by the present disclosure.

Embodiments of the present disclosure also provide a computer program product, which includes a computer program/instruction, and when executed by a processor, the computer program/instruction implements any of the cloud game implementing methods provided in the present disclosure.

The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.

Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

29页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:游戏道具的使用方法、装置、设备及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类