Cloud game running method, device, equipment and storage medium

By preloading the cloud instance pool that matches different resolution aspect ratios on the cloud, the problem of slow cloud game startup speed is solved, and fast startup is achieved and immersive full-screen gaming experience is provided.

CN115501579BActive Publication Date: 2025-07-25NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211124876.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-15
Publication Date
2025-07-25
Estimated Expiration
2042-09-15

AI Technical Summary

Technical Problem

In the cloud gaming scenario, users need to wait for the game to load in the cloud every time they start the cloud game, resulting in slow opening speed and unable to provide an immersive full-screen gaming experience. Especially because the resolutions of user devices vary greatly, it is difficult to achieve the complete matching of cloud instances and device resolutions.

Method used

The cloud instance pool is preloaded in the cloud, including multiple cloud instances that match the aspect ratio of different resolutions. When responding to the user's device's running request, it obtains its resolution information and obtains the target cloud instance from the instance pool to send a real-time game screen to ensure that the aspect ratio of the cloud instance matches the user's device.

Benefits of technology

It improves the startup speed of cloud games, and provides users with an immersive full-screen gaming experience, reducing waiting time and improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115501579B_ABST
    Figure CN115501579B_ABST
Patent Text Reader

Abstract

Embodiments of the present invention provide a cloud game operation method, apparatus, device, and storage medium. The method includes: preloading a cloud instance pool in the cloud, where the cloud instance pool includes multiple cloud instances that are pre-opened and match the aspect ratios of different resolutions; in response to a running request for a cloud game sent by a user device, obtaining the resolution information of the user device; according to the resolution information of the user device, obtaining a target cloud instance that has pre-opened the cloud game in the cloud instance pool; and sending the real-time game screen of the target cloud instance to the user device. By pre-allocating in the cloud instance pool in the cloud cloud instances that match the aspect ratio of the resolution of the user device, so that when responding to the running request for the cloud game sent by the user device, the real-time game screen of the pre-opened target cloud instance can be sent to the user device, thereby while ensuring an increase in the speed of entering the cloud game, an immersive full-screen game experience can be provided for users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of games, and in particular, to a method for running cloud games, a device for running cloud games, a corresponding electronic device, and a corresponding computer storage medium. Background Art

[0002] In the cloud game scenario, the game actually runs on a machine in the cloud, and what is presented on the user's local device is a real-time video image of the cloud game running. That is, each time a user experiences a cloud game, the user needs to wait for the game to be started and loaded in the cloud and then opened. Therefore, the speed of opening a cloud game becomes an important indicator affecting the game experience of cloud game users.

[0003] In order to shorten the time for opening a cloud game to improve the user's game experience, usually the machine in the cloud can be opened in advance for the user and the game can be entered. However, the method of running the game in the cloud in advance cannot provide the user with an immersive full-screen game experience. Summary of the Invention

[0004] In view of the above problems, embodiments of the present invention are proposed to provide a method for running cloud games, a device for running cloud games, a corresponding electronic device, and a corresponding computer storage medium that overcome the above problems or at least partially solve the above problems.

[0005] An embodiment of the present invention discloses a method for running cloud games, which is applied to the cloud. The cloud is communicatively connected to a user device. The method includes:

[0006] Preloading a cloud instance pool in the cloud, where the preloaded cloud instance pool includes a plurality of cloud instances that are opened in advance and match different aspect ratios of resolutions;

[0007] Responding to a running request for the cloud game sent by the user device, and obtaining resolution information of the user device;

[0008] Obtaining a target cloud instance for opening the cloud game in advance in the cloud instance pool according to the resolution information of the user device;

[0009] Sending a real-time game image of the target cloud instance to the user device.

[0010] An embodiment of the present invention further provides a method for running cloud games, which is applied to a user device. The user device is communicatively connected to the cloud. The method includes:

[0011] Generating a running request for the cloud game, and sending the running request for the cloud game to the cloud;

[0012] Receive the real-time game screen of the target cloud instance that the cloud sends to the user device in response to the operation request; the target cloud instance that is pre-opened is obtained from the cloud instance pool pre-loaded in the cloud based on the resolution information of the user device; wherein, the cloud instance pool includes cloud instances that are pre-opened and match the aspect ratios of different resolutions.

[0013] Present the real-time game screen of the target cloud instance.

[0014] An embodiment of the present invention also discloses a cloud game operation device, which is applied to the cloud. The cloud is communicatively connected to a user device. The device includes:

[0015] A cloud instance pool pre-loading module, configured to pre-load a cloud instance pool in the cloud. The pre-loaded cloud instance pool includes a plurality of pre-opened cloud instances that match the aspect ratios of different resolutions.

[0016] An operation request response module, configured to respond to an operation request for the cloud game sent by the user device and obtain the resolution information of the user device.

[0017] A target cloud instance obtaining module, configured to obtain a target cloud instance that pre-opens the cloud game from the cloud instance pool according to the resolution information of the user device.

[0018] A target cloud instance sending module, configured to send the real-time game screen of the target cloud instance to the user device.

[0019] An embodiment of the present invention also discloses a cloud game operation device, which is applied to a user device. The user device is communicatively connected to the cloud. The device includes:

[0020] An operation request generating module, configured to generate an operation request for the cloud game and send the operation request for the cloud game to the cloud.

[0021] A target cloud instance receiving module, configured to receive the real-time game screen of the target cloud instance that the cloud sends to the user device in response to the operation request; the target cloud instance that is pre-opened is obtained from the cloud instance pool pre-loaded in the cloud based on the resolution information of the user device; wherein, the cloud instance pool includes cloud instances that are pre-opened and match the aspect ratios of different resolutions.

[0022] A game screen presenting module, configured to present the real-time game screen of the target cloud instance.

[0023] An embodiment of the present invention also discloses an electronic device, including: a processor, a memory, and a computer program stored on the memory and capable of running on the processor, where when the computer program is executed by the processor, any one of the cloud game running methods is implemented.

[0024] An embodiment of the present invention also discloses a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, any one of the cloud game running methods is implemented.

[0025] The embodiments of the present invention have the following advantages:

[0026] In an embodiment of the present invention, the proposed cloud game running method involves the communication process between the cloud and the user device. The cloud instance pool can be pre-loaded in the cloud. The pre-loaded cloud instance pool includes multiple cloud instances that are pre-opened and match the aspect ratios of different resolutions. At this time, in response to the running request for the cloud game sent by the user device, the resolution information of the user device can be obtained, and the target cloud instance can be obtained from the cloud instance pool according to the obtained resolution information of the user device, and the real-time game screen of the obtained target cloud instance can be sent to the user device, so that the user device can present the real-time game screen of the target cloud instance. By pre-allocating in the pre-loaded cloud instance pool in the cloud cloud instances that match the aspect ratio of the resolution of the user device, so that when responding to the running request for the cloud game sent by the user device, the real-time game screen of the pre-opened target cloud instance can be sent to the user device, thereby ensuring to improve the speed of entering the cloud game while being able to provide the user with an immersive full-screen game experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 is a flowchart of the steps of an embodiment of a cloud game running method of the present invention;

[0028] Figure 2 is a schematic diagram of a cloud instance matching the aspect ratio of the resolution provided by an embodiment of the present invention;

[0029] Figure 3 is a flowchart of the steps of another embodiment of a cloud game running method of the present invention;

[0030] Figure 4 is a schematic diagram of scaling a game screen provided by an embodiment of the present invention;

[0031] Figure 5 is a schematic diagram of an application scenario of cloud game running provided by an embodiment of the present invention;

[0032] Figure 6 is a block diagram of the structure of an embodiment of a cloud game running device of the present invention;

[0033] Figure 7 It is a structural block diagram of another embodiment of the cloud game running device of the present invention. Specific embodiments

[0034] To make the above objects, features, and advantages of the present invention more obvious and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0035] In the cloud game scenario, the user's game runs in the cloud, and the speed of opening the cloud game becomes an important indicator affecting the game experience of cloud game users. The reason affecting the opening speed of cloud games is mainly that the user needs to wait for the game to start in the cloud every time they play the cloud game before they can experience it. Specifically, every time the user opens the cloud game, the screen resolution of the user's local device will be transmitted to the server, and then a cloud instance with a matching resolution will be allocated in the cloud to open the cloud game, so that the user can experience the cloud game from a full-screen perspective on the local device.

[0036] In order to shorten the time to open the cloud game and improve the user's game experience, in the related art, the method of running the game in the cloud in advance is adopted. To enter the game in advance, it is necessary to open the instance of the cloud game on the cloud in advance. At this time, the resolution of the user's local device cannot be known. In order to ensure that the entire picture can be seen, there will be black borders when the real-time video picture of the user's local device is presented, and an immersive full-screen game experience cannot be provided for the user.

[0037] Then, in order to open the cloud machine for the user in advance and enter the game, that is, while improving the speed of entering the cloud game, an immersive full-screen game experience can also be provided for the user. It is necessary to allocate a cloud instance with a resolution matching the user's device for the user in advance. However, in fact, the device resolutions of the user's local devices vary greatly. If it is desired to achieve a perfect match between the resolution of the cloud instance and the resolution of the user's device in practical applications, the method of allocating a cloud instance matching the resolution of the user's local device for the user in advance is almost impossible to achieve.

[0038] One of the core ideas of the embodiments of the present invention is not to ensure that the resolution of the cloud instance is exactly the same as that of the user's local device, but to ensure that the aspect ratio of the resolution of the cloud instance is the same as that of the user's local device, so that the user's local device can obtain an immersive full-screen gaming experience. In order to ensure that the aspect ratio of the resolution of the cloud instance is the same as that of the user's local device, the embodiments of the present invention propose a solution to improve the speed of entering cloud games by pre-allocating a cloud instance that matches the aspect ratio of the resolution of the user's device. Specifically, the cloud pre-allocates a cloud instance that matches the aspect ratio of the resolution of the user's device in a pre-loaded cloud instance pool, so as to be able to send the real-time game screen of the pre-opened target cloud instance to the user's device when responding to the operation request for cloud games sent by the user's device, thereby ensuring to improve the speed of entering cloud games while being able to provide the user with an immersive full-screen gaming experience.

[0039] Referring to Figure 1 , a step flowchart of an embodiment of a cloud game operation method of the present invention is shown, which is applied to the cloud, and the cloud is communicatively connected to the user device. Specifically, it may include the following steps:

[0040] Step 101, pre-load a cloud instance pool in the cloud;

[0041] In an embodiment of the present invention, the acquisition of a cloud instance for running a cloud game can be realized by acquiring a pre-loaded cloud instance pool.

[0042] In the embodiments of the present invention, in order to improve the speed of entering cloud games while being able to provide the user with an immersive full-screen gaming experience, it can be realized by pre-allocating a cloud instance that matches the aspect ratio of the resolution of the user's device. Then, in order to realize the pre-matching of the aspect ratio of the device resolution, a cloud instance pool can be pre-loaded in the cloud. The pre-loaded cloud instance pool can refer to a cloud instance pool for pre-loading cloud games, which can include pre-opened cloud instances that match the aspect ratios of different resolutions.

[0043] Among them, the cloud game actually runs on the machine in the cloud. The cloud instances included in the cloud instance pool are usually virtual devices (such as mobile phones or PCs (Personal Computers, personal computers or personal computers), etc.) constructed for users at the server end by using cloud native technologies. The constructed cloud instances will occupy server resources, and they are usually constructed when the user actually needs to use them, such as when the user requests the cloud to run a cloud game. The cloud instance pool is a pre-created virtual device that the user will use. Based on the construction of the cloud instance pool, the waiting time of the user when actually requesting can be effectively reduced. Then, for the construction of the cloud instance pool, it is beneficial to improve the speed of entering cloud games.

[0044] In practical applications, before receiving a running request for cloud games sent by a user device, that is, before the user issues a request for a virtual device to be used, a cloud instance pool can be pre-constructed.

[0045] Specifically, the cloud instance pool includes cloud instances that are pre-opened and match the aspect ratios of different resolutions. Then, the cloud instance pool is constructed from several cloud instances with the aspect ratios of the allocated resolutions.

[0046] First, several cloud instances for running various cloud games can be constructed. At this time, the constructed cloud instances can refer to cloud instances for different cloud games, and there is no restriction on the game objects for which the cloud instances are constructed. That is, it is not restricted that all cloud instances are constructed for different cloud games. For example, assuming that the total number of constructed cloud instances is 90, the number of cloud instances constructed for game object A can be 23, and the number of cloud instances constructed for game object B can be 5.

[0047] Among them, the cloud games to be pre-run can be determined according to the popularity of each game, so that subsequently, the determined cloud games can be pre-run through several cloud instances based on the aspect ratio of the allocated resolution. Specifically, the cloud game objects for which the cloud instances are pre-constructed can be selected and determined according to the popularity of the games. The popularity can be realized by counting the games selected and run by user devices logged in to the cloud game platform. Moreover, the number of cloud instances pre-constructed for a certain cloud game can also be determined proportionally according to the popularity of the game, so as to pre-open the relevant games for users in the pre-loaded cloud instances, further improving the speed of cloud games on the user device when the user plays popular games, and achieving the smooth experience of truly realizing the quick opening of cloud games.

[0048] It should be noted that the statistics on the games selected and run by user devices logged in to the cloud game platform are obtained with the knowledge and permission of the users logged in to the cloud game platform for the game information they select and run. Moreover, for the total number of constructed cloud instances, the cloud game objects for which the cloud instances are constructed, and the number of cloud instances constructed for different cloud game objects, they can be mainly set based on actual needs within the tolerance range of server resources. In this regard, the embodiments of the present invention do not impose any restrictions.

[0049] After constructing a number of cloud instances that make up the cloud instance pool, the aspect ratio of the resolution can be obtained, and then the aspect ratio of the resolution can be assigned to the constructed number of cloud instances, so that the number of cloud instances can run cloud games in advance based on the assigned aspect ratio of the resolution. In this way, the number of cloud instances that run cloud games in advance based on the assigned aspect ratio of the resolution can be used as the cloud instance pool to complete the construction of the cloud instance pool, that is, the number of cloud instances that run cloud games in advance based on the assigned aspect ratio of the resolution pre-loads the cloud instance pool.

[0050] In practical applications, when a number of cloud instances run cloud games in advance based on the assigned aspect ratio of the resolution, it can be specifically manifested as when the constructed cloud instances run cloud games, they run the corresponding cloud games according to the assigned aspect ratio of the resolution.

[0051] Among them, for the method of obtaining the aspect ratio of the resolution for allocation, it can be mainly achieved by statistically analyzing the resolution information of the user devices logging in to the cloud game platform, and then analyzing the distribution of the aspect ratio of the resolution of the user devices using the statistically obtained resolution information. It should be noted that the statistics of the resolution information of the user devices logging in to the cloud game platform are obtained with the knowledge and permission of the users logging in to the cloud game platform.

[0052] The statistically obtained resolution information refers to the width information and height information of the screens of the user devices. At this time, the ratio of the statistically obtained width information and height information of the user devices can be analyzed, that is, the distribution of the aspect ratio of the resolution can be obtained. In practical applications, its distribution can be reflected based on the ratio of users. For example, as shown in Table 1 below. It should be noted that the distribution can be reflected not only based on the ratio of users, but also based on the division methods of the proportion level and the quantity level. The embodiments of the present invention do not limit this.

[0053] Aspect ratio of screen resolution Proportion of logged-in users 16:9 45% 18:9 30% Others 25%

[0054] Table 1

[0055] After obtaining the distribution of the aspect ratio of the resolution of the statistically obtained user devices, the aspect ratio of the resolution can be assigned to the constructed number of cloud instances based on the distribution of the aspect ratio of the resolution. Exemplarily, when assigning the aspect ratio of the resolution to the constructed number of cloud instances, some cloud instances can be assigned in advance as the cloud instance pool. According to the distribution shown in Table 1, for example, 75 cloud instances are assigned in advance, among which 45 are assigned the aspect ratio of the resolution of 16:9, and 30 are assigned the aspect ratio of the resolution of 18:9.

[0056] In a specific implementation, the embodiments of the present invention do not guarantee that the resolution of the cloud instance is exactly the same as that of the user's local device. Instead, by ensuring that the aspect ratio of the resolution of the cloud instance is the same as that of the user's local device, when allocating a specific resolution to the cloud instances in the cloud instance pool, it is only necessary to ensure that the aspect ratios of the allocated resolutions are the same. For example, among 45 cloud instances with an aspect ratio of the allocated resolution of 16:9, there may be a cloud instance with a resolution of 1920x1080, or there may be a cloud instance with a resolution of 1280x720; similarly, for example, among 30 cloud instances with an aspect ratio of the allocated resolution of 18:9, there may also be a cloud instance with a resolution of 2160x1080, and there may also be a cloud instance with a resolution of 1296x648.

[0057] Step 102: In response to a running request for a cloud game sent by the user device, obtain the resolution information of the user device.

[0058] The cloud game actually runs on the cloud. The cloud game running method proposed by the embodiments of the present invention involves the communication process between the cloud and the user device. During the running of the cloud game, the cloud can receive a running request for the cloud game sent by the user device. The running request is mainly used to request the cloud to run the requested cloud game, and the actual execution entity for running the game on the cloud is the cloud instance. The cloud involves obtaining the screen resolution presented by the game screen during the running of the cloud game.

[0059] In an embodiment of the present invention, the acquisition of the screen resolution presented by the game screen can be achieved by obtaining the resolution of the user device. Among them, during the process of running the corresponding cloud game in response to the running request for the cloud game, the obtained resolution can be the aspect ratio of the resolution of the user's local device. The embodiments of the present invention do not guarantee that the resolution of the cloud instance is exactly the same as that of the user's local device. Instead, by ensuring that the aspect ratio of the resolution of the cloud instance is the same as that of the user's local device, so that when allocating a specific resolution to the cloud instances in the cloud instance pool subsequently, it is only necessary to ensure that the aspect ratios of the allocated resolutions are the same.

[0060] Step 103: According to the resolution information of the user device, obtain a target cloud instance that has already opened the cloud game in the cloud instance pool.

[0061] The process of running cloud games on the cloud involves obtaining the screen resolution of the running game screen and obtaining the cloud instance used to run the cloud game. The screen resolution of the game screen is obtained by obtaining the resolution of the user device, and the cloud instance is obtained by obtaining it from the cloud instance pool. After successfully obtaining the resolution of the user device and the cloud instance pool, the cloud can obtain the target cloud instance for presenting the game screen on the user device in the cloud instance pool according to the resolution information of the user device.

[0062] The acquired cloud instance pool includes pre-opened cloud instances that match aspect ratios of different resolutions. At this time, the acquired target cloud instance matches the resolution information of the user device and matches the cloud game object requested to run by the user device. The cloud instance of the corresponding cloud game is opened in advance in the cloud instance pool, so that after the user issues a request for the virtual device that needs to be used, the cloud instance of the pre-opened cloud game can be immediately obtained, effectively reducing the user's waiting time when the actual request is needed, thereby improving the speed of the user's device to play cloud games when the user is playing popular games, and truly realizing the enjoyable experience of quickly opening cloud games.

[0063] Specifically, with regard to the method for acquiring the target cloud instance, the resolution information of the user device acquired refers to the width and height information of the screen of the user device. Although the cloud instance pool pre-loaded in the cloud allocates the aspect ratio of the resolution to the cloud instance for opening the cloud game in advance, the cloud instances in the cloud instance pool actually need to run according to the specific resolution information when opening the cloud game in advance. At this time, the specific resolution information of the target cloud instance acquired during operation only needs to be consistent with the aspect ratio of the resolution of the user device. For example, Figure 2 As shown, assuming that the resolution information of the user device is 1280x720 and the aspect ratio of the resolution is 16:9, the obtained target cloud instance can be a cloud instance with the same aspect ratio of 16:9, such as a cloud instance with a resolution of 1920x1080.

[0064] In actual applications, when obtaining a target cloud instance, several cloud instances matching the aspect ratios of various resolutions can be obtained from the cloud instance pool, and then a target cloud instance matching the resolution information of the user device can be determined from the several cloud instances. When determining a target cloud instance matching the resolution information of the user device, it can be mainly achieved by calculating the aspect ratio of the resolution information of the user device and obtaining a target cloud instance having the same aspect ratio as the resolution information from several cloud instances, which can be expressed as determining a cloud instance having the same aspect ratio as the user device corresponding to the cloud game running in accordance with the corresponding request.

[0065] Step 104: Send the real-time game screen of the target cloud instance to the user device.

[0066] In response to the operation request for cloud gaming sent by the user device, after obtaining the target cloud instance that has pre-opened the cloud game from the cloud instance pool based on the resolution information of the user device, the cloud can send the real-time game screen of the target cloud instance that has pre-opened the cloud game to the user device, so that the user device can present the real-time game screen of the target cloud instance. Since the target cloud instance transmitted to the user device is the cloud instance that has pre-opened the cloud game, at this time, the user device can effectively reduce the waiting time of the user when the actual request is needed based on the obtained cloud instance that has pre-opened the cloud game, thereby improving the speed of the user device to play cloud games when the user plays popular games, and achieving the smooth experience of truly realizing the quick opening of cloud games.

[0067] In practical applications, the embodiments of the present invention do not guarantee that the resolution of the cloud instance is exactly the same as the resolution of the user's local device. Instead, by ensuring that the aspect ratio of the resolution of the cloud instance is the same as the resolution of the user's local device, and the cloud instances in the cloud instance pool actually need to run according to specific resolution information when pre-opening the cloud game, the resolution information used when the target cloud instance obtained by the user device runs the game may be different from the resolution information of the user device itself, but the aspect ratio of the resolution of the obtained target cloud instance is the same as the aspect ratio of the user device. At this time, after the user device obtains the target cloud instance, it can perform corresponding scaling presentation of the real-time game screen of the target cloud instance on the user device to match the resolution of the user device, so that the user's local device can obtain an immersive full-screen game experience.

[0068] In the embodiments of the present invention, the proposed cloud game operation method involves the communication process between the cloud and the user device. The cloud instance pool can be pre-loaded in the cloud. The pre-loaded cloud instance pool includes multiple cloud instances that have been pre-opened and match different aspect ratios of resolutions. At this time, in response to the operation request for cloud gaming sent by the user device, the resolution information of the user device can be obtained, the target cloud instance can be obtained from the cloud instance pool according to the obtained resolution information of the user device, and the real-time game screen of the obtained target cloud instance can be sent to the user device, so that the user device can present the real-time game screen of the target cloud instance. By pre-allocating in the pre-loaded cloud instance pool in the cloud cloud instances that match the aspect ratio of the resolution of the user device, so that when responding to the operation request for cloud gaming sent by the user device, the real-time game screen of the pre-opened target cloud instance can be sent to the user device, thereby ensuring the improvement of the speed of entering the cloud game while being able to provide the user with an immersive full-screen game experience.

[0069] Refer toFigure 3 , which shows a flowchart of steps of another embodiment of the cloud game running method of the present invention, applied to a user device. The user device is communicatively connected to the cloud, and specifically may include the following steps:

[0070] Step 301, generate a running request for the cloud game and send the running request for the cloud game to the cloud;

[0071] The cloud game actually runs on the cloud. The cloud game running method proposed in the embodiments of the present invention involves the communication process between the cloud and the user device. During the running process of the cloud game, the user device can generate a running request for the cloud game and send the running request for the cloud game to the cloud to request the cloud to run the requested cloud game.

[0072] Step 302, receive the real-time game screen of the target cloud instance that the cloud sends to the user device in response to the running request to pre-open the cloud game;

[0073] After receiving the running request for the cloud game sent by the user device, the cloud can respond to the running request for the cloud game sent by the user device, obtain the target cloud instance that pre-opens the cloud game from the cloud instance pool pre-loaded by the user for the user device, so as to provide the user device with the real-time game screen of the target cloud instance that has pre-opened the cloud game, in order to reduce the waiting time of the user when the actual request is needed, thereby improving the speed of the user device to run the cloud game when the user plays popular games, and achieving the smooth experience of truly quickly opening the cloud game.

[0074] In practical applications, the way for the cloud to obtain the pre-opened target cloud instance is mainly realized by obtaining it in the pre-loaded cloud instance pool based on the resolution information of the user device. Among them, the cloud instance pool may refer to the cloud instance pool used to pre-load the cloud game, which may include cloud instances pre-opened and matching the aspect ratios of different resolutions, so as to ensure that while improving the speed of entering the cloud game, it can also provide the user with an immersive full-screen game experience by pre-assigning cloud instances matching the aspect ratio of the user device resolution.

[0075] Specifically, the timing for the cloud to pre-load the cloud instance pool can be before receiving the running request for the cloud game sent by the user device, that is, it is constructed before the user issues a request for the virtual device that needs to be used. Since the cloud instance pool includes cloud instances pre-opened and matching the aspect ratios of different resolutions, when constructing the cloud instance pool, it can be constructed by several cloud instances with the aspect ratios of the assigned resolutions.

[0076] In the process of constructing the cloud instance pool, the aspect ratio of the resolution can be obtained, and by allocating the aspect ratio of the resolution to the constructed cloud instances, the cloud instances can run the cloud game in advance based on the allocated aspect ratio of the resolution. Among them, the cloud instances used to construct the cloud instance pool may refer to cloud instances for different cloud games, and the game objects constructed for the cloud instances are not limited, that is, all cloud instances are not limited to different cloud games.

[0077] Since the embodiment of the present invention does not ensure that the resolution of the cloud instance is completely consistent with the resolution of the user's local device, but ensures that the resolution aspect ratio of the cloud instance is consistent with the resolution of the user's local device, when allocating specific resolutions to the cloud instances in the cloud instance pool, it is only necessary to ensure that the allocated resolution aspect ratio is consistent.

[0078] Then, when obtaining a target cloud instance for opening a cloud game in advance from a preloaded cloud instance pool based on the resolution information of the user device, several cloud instances matching aspect ratios of different resolutions can be obtained from the cloud instance pool, and then a target cloud instance matching the resolution information of the user device is determined from the several cloud instances. When determining a target cloud instance matching the resolution information of the user device, it can be mainly achieved by calculating the aspect ratio of the resolution information of the user device and obtaining a target cloud instance having the same aspect ratio as the resolution information from several cloud instances, which can be expressed as determining a cloud instance having the same aspect ratio as the user device that corresponds to the cloud game being run in accordance with the corresponding request.

[0079] Step 303: present the real-time game screen of the target cloud instance.

[0080] The cloud responds to the running request for the cloud game sent by the user device. After obtaining the target cloud instance for opening the cloud game in advance from the cloud instance pool based on the resolution information of the user device, the cloud can send the real-time game screen of the target cloud instance to the user device. At this time, after receiving the target cloud instance sent by the cloud, the user device can present the real-time game screen of the target cloud instance for opening the cloud game in advance on the user device.

[0081] In an embodiment of the present invention, since the real-time game screen of the target cloud instance received by the user device is the real-time screen of the cloud instance that opens the cloud game in advance, the user device can effectively reduce the user's waiting time when the user actually requests it based on the acquired cloud instance that opens the cloud game in advance, thereby improving the speed at which the user device performs cloud gaming when playing popular games, and truly achieving a smooth experience of quickly opening cloud games.

[0082] In practical applications, the embodiments of the present invention do not guarantee that the resolution of the cloud instance is exactly the same as that of the user's local device. Instead, by ensuring that the aspect ratio of the resolution of the cloud instance is the same as that of the user's local device, and the cloud instances in the cloud instance pool actually need to run according to specific resolution information when the cloud game is opened in advance, the resolution information used when the game runs on the target cloud instance obtained by the user device may be different from the resolution information of the user device itself. However, the aspect ratio of the resolution of the obtained target cloud instance is the same as that of the user device. At this time, after the user device obtains the target cloud instance, it can perform corresponding scaling presentation of the game screen of the target cloud instance on the user device to match the resolution of the user device, so that the user's local device can obtain an immersive full-screen game experience.

[0083] Specifically, after the real-time game screen of the target cloud instance is transmitted to the user device, the user device can obtain the resolution information of the game screen, determine the scaling ratio between the resolution information of the game screen and the resolution information of the user device, and then scale the game screen based on the scaling ratio to present the scaled game screen. Among them, the scaling presentation performed by the user device is mainly an equal-proportion scaling of the width information and height information of the game screen.

[0084] In specific implementation, the specific scaling operation of the scaling of the screen according to the scaling ratio can be determined based on the value of the scaling ratio. When the scaling ratio is greater than the preset value (usually 1), it can be manifested that the game screen on the cloud needs to be enlarged currently; when the scaling ratio is less than the preset value (usually 1), it can be manifested that the game screen on the cloud needs to be reduced currently; when the scaling ratio is equal to the preset value (usually 1), it means that the resolution information of the current cloud screen matches the resolution of the user device, and no scaling operation needs to be performed on the cloud screen.

[0085] Exemplarily, although the aspect ratio of the resolution is allocated to the cloud instances that open the cloud game in advance in the cloud instance pool pre-loaded in the cloud, the cloud instances in the cloud instance pool actually need to run according to specific resolution information when the cloud game is opened in advance. At this time, the specific resolution information followed by the obtained target cloud instance during operation only needs to be the same as the aspect ratio of the resolution of the user device. For example, Figure 2 as shown, assuming that the resolution information of the user device is 1280x720 and the aspect ratio of its resolution is 16:9, then the obtained target cloud instance can be a cloud instance with the same aspect ratio of 16:9, such as a cloud instance with a resolution of 1920x1080.

[0086] Then, in one example, assume that the user device receives a cloud instance with a resolution of 1920x1080, and the resolution information of the user device is 1280x720. For the screen presentation of the user device, as Figure 4 shown, it is necessary to scale down the cloud screen to 1280x720, and the scaling ratio is 1280 divided by 1920, approximately equal to 0.666667; in another example, assume that the resolution of the game screen of the game running on the cloud instance is 1280x720, and the resolution of the user device is 1920x1080. For the screen presentation of the user device, it is necessary to scale up the cloud screen to 1920x1080. Then the scaling ratio at this time is 1920 divided by 1080, approximately 1.777778, to match the resolution of the user device, so that the user's local device can obtain an immersive full-screen game experience.

[0087] In the embodiment of the present invention, the cloud pre-allocates a cloud instance in the cloud instance pool in advance that matches the aspect ratio of the resolution of the user device, so as to be able to send the real-time game screen of the target cloud instance that has been pre-opened to the user device when responding to the running request for cloud games sent by the user device, thereby ensuring the improvement of the speed of entering cloud games while being able to provide the user with an immersive full-screen game experience.

[0088] Referring to Figure 5 , it shows a schematic diagram of the application scenario of cloud game operation provided by the embodiment of the present invention. The cloud game actually runs on the cloud. The cloud game operation method proposed by the embodiment of the present invention involves the communication process between the user device 510 and the cloud 511.

[0089] Before the cloud game runs, the cloud 511 can pre-load the cloud instance pool. The pre-loaded cloud instance pool includes multiple pre-opened cloud instances that match the aspect ratios of different resolutions.

[0090] During the operation of the cloud game, the user device 510 can generate a running request for the cloud game and send the running request for the cloud game to the cloud 511 to request the cloud 511 to run the requested cloud game; after receiving the running request for the cloud game sent by the user device, the cloud 511 can respond to the running request for the cloud game sent by the user device 510, obtain the target cloud instance that has pre-opened the cloud game from the pre-loaded cloud instance pool for the user device 510, so as to provide the user device 510 with the real-time game screen of the target cloud instance that has pre-opened the cloud game, in order to reduce the waiting time of the user when the actual request is needed, thereby improving the speed of the user device 510 to play cloud games when playing popular games, and achieving the smooth experience of truly realizing the fast opening of cloud games.

[0091] Specifically, the way for the cloud end 511 to obtain the target cloud instance for pre-opening the cloud game is mainly achieved by obtaining in the cloud instance pool based on the resolution information of the user device 510. Among them, the cloud instance pool can refer to the cloud instance pool used for preloading the cloud game, which can include cloud instances that are pre-opened and match the aspect ratios of different resolutions, so as to ensure that while improving the speed of entering the cloud game, an immersive full-screen gaming experience can also be provided for users by pre-assigning a cloud instance that matches the aspect ratio of the user device resolution.

[0092] During the actual operation of the cloud game, the cloud end 511 can analyze the distribution of the aspect ratio of the resolution of the user device logged in to the cloud game platform, and then, based on the statistically obtained distribution of the aspect ratio of the resolution of the user device, pre-assign some cloud instances that match the aspect ratio of the screen resolution as the cloud instance pool, that is, pre-run in the cloud instance pool the cloud instances that match the aspect ratio of the screen resolution of the user device; and when the user enters the cloud game, that is, when the user device sends a running request for the cloud game to the cloud end, the cloud end can quickly find in the cloud instance pool a pre-opened cloud instance with an aspect ratio of the resolution that matches the resolution of the user device, and send the obtained cloud instance to the user device, so that the user device can present the game screen of the target cloud instance for pre-opening the cloud game. Since the target cloud instance transmitted to the user device is a cloud instance for pre-opening the cloud game, at this time, the user device can effectively reduce the waiting time of the user when the actual request is needed based on the obtained cloud instance for pre-opening the cloud game, thereby improving the speed of the user device for playing the cloud game when playing popular games and achieving the smooth experience of truly and quickly opening the cloud game.

[0093] Exemplarily, the embodiments of the present invention do not guarantee that the resolution of the cloud instance is exactly the same as the resolution of the user's local device, but by ensuring that the aspect ratio of the resolution of the cloud instance is the same as the resolution of the user's local device. Then, when allocating specific resolutions to the cloud instances in the cloud instance pool, it is only necessary to ensure that the allocated aspect ratios of the resolutions are the same. When constructing the cloud instance pool and allocating the aspect ratio of the resolution to the cloud instance, although the cloud instance actually needs to run according to the specific resolution information when pre-opening the cloud game, it is only necessary to ensure that the aspect ratio of the resolution of the cloud instance is the same as the aspect ratio of the user device. For example, if the resolution information of the user device is 1280x720, the resolution of the cloud instance can be 1920x1080, and the aspect ratios of the two resolutions are the same, both being 16:9.

[0094] The resolution information used by the target cloud instance when running the game obtained by the user device may be different from the resolution information of the user device itself. However, since the aspect ratio of the resolution of the target cloud instance obtained by the user device is the same as that of the user device, after the user device obtains the target cloud instance, it can perform corresponding zooming and rendering of the game screen of the target cloud instance on the user device to match the resolution of the user device, so that the user's local device can obtain an immersive full-screen game experience.

[0095] Among them, the zooming and rendering performed by the user device is mainly an equal-proportion zooming of the width information and height information of the game screen. The specific zooming operation for the real-time game screen according to the zoom ratio can be determined based on the value of the zoom ratio.

[0096] Specifically, when its zoom ratio is greater than the preset value (usually 1), it can be manifested as the need to perform a magnification operation on the real-time game screen of the cloud at present; when its zoom ratio is less than the preset value (usually 1), it can be manifested as the need to perform a reduction operation on the real-time game screen of the cloud at present; when its zoom ratio is equal to the preset value (usually 1), it means that the resolution information of the current cloud screen matches the resolution of the user device, and no zooming operation needs to be performed on the cloud screen. Exemplarily, assuming that the user device receives a cloud instance with a resolution of 1920x1080, and the resolution information of the user device is 1280x720, for the screen presentation of the user device, it is necessary to reduce the cloud screen to 1280x720, and its zoom ratio is 1280 divided by 1920, approximately equal to 0.666667, to match the resolution of the user device, so that the user's local device can obtain an immersive full-screen game experience.

[0097] In the embodiments of the present invention, it is not guaranteed that the resolution of the cloud instance is exactly the same as the resolution of the user's local device. Instead, by ensuring that the aspect ratio of the resolution of the cloud instance is the same as that of the user's local device, the user's local device can obtain an immersive full-screen game experience. To ensure that the aspect ratio of the resolution of the cloud instance is the same as that of the user's local device, the embodiments of the present invention propose a solution to improve the speed of entering cloud games by pre-allocating a cloud instance that matches the aspect ratio of the resolution of the user device. Specifically, the cloud pre-allocates a cloud instance that matches the aspect ratio of the resolution of the user device in the cloud instance pool, so as to be able to send the real-time game screen of the pre-opened target cloud instance to the user device when responding to the operation request for cloud games sent by the user device, thereby ensuring an immersive full-screen game experience for the user while improving the speed of entering cloud games.

[0098] It should be noted that, for method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should be aware that the embodiments of the present invention are not limited by the described action sequences, because according to the embodiments of the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily essential for the embodiments of the present invention.

[0099] Referring to Figure 6 , a structural block diagram of an embodiment of a cloud game running device according to the present invention is shown, which is applied to the cloud. The cloud is communicatively connected to a user device and may specifically include the following modules:

[0100] A cloud instance pool preloading module 601, configured to preload a cloud instance pool in the cloud, where the preloaded cloud instance pool includes a plurality of cloud instances that are pre-opened and match the aspect ratios of different resolutions;

[0101] A running request response module 602, configured to respond to a running request for a cloud game sent by a user device and obtain the resolution information of the user device;

[0102] A target cloud instance obtaining module 603, configured to obtain a target cloud instance for pre-opening the cloud game in the cloud instance pool according to the resolution information of the user device;

[0103] A target cloud instance sending module 604, configured to send a real-time game screen of the target cloud instance to the user device.

[0104] In an embodiment of the present invention, the target cloud instance obtaining module 603 may include the following sub-modules:

[0105] A cloud instance obtaining sub-module, configured to obtain a plurality of cloud instances that match the aspect ratios of different resolutions in the cloud instance pool;

[0106] A target cloud instance obtaining sub-module, configured to determine a target cloud instance that matches the resolution information of the user device from the plurality of cloud instances.

[0107] In an embodiment of the present invention, the target cloud instance obtaining sub-module may include the following units:

[0108] A target cloud instance obtaining unit, configured to calculate the aspect ratio of the resolution information of the user device and obtain a target cloud instance with the same aspect ratio as the resolution information from the plurality of cloud instances.

[0109] In an embodiment of the present invention, the cloud instance pool preloading module 601 may include the following sub-modules:

[0110] A cloud instance construction sub-module for constructing a number of cloud instances for running various cloud games;

[0111] A cloud game running sub-module for obtaining the aspect ratio of the resolution, allocating the aspect ratio of the resolution to the constructed number of cloud instances, and running the cloud games in advance by the number of cloud instances based on the allocated aspect ratio of the resolution;

[0112] A cloud instance pool preloading module for running in advance a number of cloud instances of cloud games based on the allocated aspect ratio of the resolution and preloading the cloud instance pool.

[0113] In an embodiment of the present invention, the cloud game running sub-module may include the following units:

[0114] A distribution situation statistics unit for statistically analyzing the resolution information of user devices logged in to the cloud game platform and analyzing the distribution situation of the aspect ratio of the resolution of user devices by using the statistically analyzed resolution information;

[0115] An aspect ratio allocation unit for allocating the aspect ratio of the resolution to the constructed number of cloud instances based on the distribution situation of the aspect ratio of the resolution.

[0116] In an embodiment of the present invention, the cloud game running sub-module may include the following units:

[0117] A cloud game determination unit for obtaining the popularity of each game and determining the cloud games to be run in advance according to the popularity of each game;

[0118] A cloud game running unit for running in advance the determined cloud games by a number of cloud instances based on the allocated aspect ratio of the resolution.

[0119] In an embodiment of the present invention, the proposed cloud game operation method involves the communication process between the cloud and the user device. The cloud instance pool can be pre-loaded in the cloud. The pre-loaded cloud instance pool includes multiple pre-opened cloud instances that match the aspect ratios of different resolutions. At this time, in response to the operation request for the cloud game sent by the user device, the resolution information of the user device can be obtained, and the target cloud instance can be obtained from the cloud instance pool according to the obtained resolution information of the user device, and the real-time game screen of the obtained target cloud instance can be sent to the user device so that the user device can present the real-time game screen of the target cloud instance. By pre-allocating in the pre-loaded cloud instance pool in the cloud a cloud instance that matches the aspect ratio of the resolution of the user device, so that when responding to the operation request for the cloud game sent by the user device, the real-time game screen of the target cloud instance with the cloud game pre-opened can be sent to the user device, thereby while ensuring to improve the speed of entering the cloud game, an immersive full-screen game experience can be provided for the user.

[0120] Referring to Figure 7 , a structural block diagram of an embodiment of a cloud game operation device according to the present invention is shown. It is applied to a user device, and the user device is communicatively connected to the cloud. Specifically, it may include the following modules:

[0121] An operation request generation module 701, configured to generate an operation request for a cloud game and send the operation request for the cloud game to the cloud;

[0122] A target cloud instance receiving module 702, configured to receive the real-time game screen of the target cloud instance with the cloud game pre-opened sent by the cloud in response to the operation request to the user device; the pre-opened target cloud instance is obtained by the cloud based on the resolution information of the user device in the pre-loaded cloud instance pool; wherein, the cloud instance pool includes pre-opened cloud instances that match the aspect ratios of different resolutions;

[0123] A game screen presentation module 703, configured to present the real-time game screen of the target cloud instance.

[0124] In an embodiment of the present invention, the game screen presentation module 703 may include the following sub-modules:

[0125] A scaling ratio determination sub-module, configured to obtain the resolution information of the real-time game screen after the real-time game screen of the target cloud instance is transmitted to the user device, and determine the scaling ratio between the resolution information of the real-time game screen and the resolution information of the user device;

[0126] A screen scaling sub-module, configured to scale the real-time game screen based on the scaling ratio and present the scaled real-time game screen.

[0127] In an embodiment of the present invention, the cloud pre-allocates a cloud instance in a pre-loaded cloud instance pool that matches the aspect ratio of the resolution of the user device in advance, so as to be able to send the real-time game screen of the pre-opened target cloud instance to the user device when responding to the operation request for cloud games sent by the user device, thereby ensuring to improve the speed of entering cloud games while being able to provide the user with an immersive full-screen game experience.

[0128] For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple. For the relevant parts, refer to the partial description of the method embodiment.

[0129] An embodiment of the present invention further provides an electronic device, including:

[0130] Including a processor, a memory, and a computer program stored on the memory and capable of running on the processor. When the computer program is executed by the processor, it implements each process of the above-mentioned cloud game operation method embodiment and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0131] An embodiment of the present invention further provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by the processor, it implements each process of the above-mentioned cloud game operation method embodiment and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0132] Each embodiment in this specification is described in a progressive manner. The key point of each embodiment is to illustrate the differences from other embodiments. For the same and similar parts among the embodiments, refer to each other.

[0133] Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a device, or a computer program product. Therefore, the embodiments of the present invention can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the embodiments of the present invention can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program codes.

[0134] Embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, and the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing terminal devices generate means for implementing the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 or multiple blocks.

[0135] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including instruction means that implement the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 or multiple blocks.

[0136] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device, such that a series of operation steps are executed on the computer or other programmable terminal device to generate a computer-implemented process, so that the instructions executed on the computer or other programmable terminal device provide steps for implementing the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 or multiple blocks.

[0137] Although the preferred embodiments of the embodiments of the present invention have been described, those skilled in the art can make additional changes and modifications to these embodiments once they know the basic creative concepts. Therefore, the appended claims are intended to be construed as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0138] Finally, it should also be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or terminal device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or elements inherent to such process, method, article or terminal device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or terminal device comprising the said element.

[0139] The above has introduced in detail a cloud game operation method, a cloud game operation device, a corresponding electronic device and a corresponding computer storage medium provided by the present invention. Specific examples are used in this article to elaborate on the principle and implementation of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of this specification should not be construed as a limitation to the present invention.

Claims

1. A cloud game running method, characterized in that, Applied to the cloud, the cloud is communicatively connected to the user device, and the method includes: Pre-load a cloud instance pool in the cloud, where the pre-loaded cloud instance pool includes a plurality of cloud instances that are pre-opened and match the aspect ratios of different resolutions; In response to a running request for the cloud game sent by the user device, obtain the resolution information of the user device; In the cloud instance pool, obtain several cloud instances that match the aspect ratios of different resolutions; Calculate the aspect ratio of the resolution information of the user device, and obtain a target cloud instance with the same aspect ratio as the resolution information of the user device from the several cloud instances; Send the real-time game screen of the target cloud instance to the user device.

2. The method according to claim 1, wherein The pre-loading of the cloud instance pool in the cloud includes: Construct several cloud instances for running each cloud game; Obtain the aspect ratio of the resolution, assign the aspect ratio of the resolution to the several constructed cloud instances, and advance-run the cloud game by the several cloud instances based on the assigned aspect ratio of the resolution; Based on the several cloud instances that advance-run the cloud game based on the assigned aspect ratio of the resolution, pre-load the cloud instance pool.

3. The method according to claim 2, characterized in that, The obtaining of the aspect ratio of the resolution and the assignment of the aspect ratio of the resolution to the several constructed cloud instances includes: Statistically analyze the resolution information of the user devices logged in to the cloud game platform, and analyze the distribution of the aspect ratios of the resolutions of the user devices using the statistically analyzed resolution information; Based on the distribution of the aspect ratios of the resolutions, assign the aspect ratios of the resolutions to the several constructed cloud instances.

4. The method according to claim 2 or 3, characterized in that, The advance-running of the cloud game by the several cloud instances based on the assigned aspect ratio of the resolution includes: Obtain the popularity of each game, and determine the cloud games to be advance-run according to the popularity of each game; Advance-run the determined cloud games by the several cloud instances based on the assigned aspect ratio of the resolution.

5. A cloud game running method, characterized in that, Applied to the user device, the user device is communicatively connected to the cloud, and the method includes: Generate a running request for the cloud game, and send the running request for the cloud game to the cloud; Receive the real-time game screen of the target cloud instance that advances the cloud game sent by the cloud in response to the running request; the pre-opened target cloud instance is obtained by the cloud from the cloud instance pool pre-loaded in the cloud based on the resolution information of the user device; where the cloud instance pool includes pre-opened cloud instances that match the aspect ratios of different resolutions; Present the real-time game screen of the target cloud instance; Among them, the obtaining of the pre-opened target cloud instance by the cloud from the cloud instance pool pre-loaded in the cloud based on the resolution information of the user device includes: In the cloud instance pool, obtain several cloud instances that match the aspect ratios of different resolutions; Calculate the aspect ratio of the resolution information of the user device, and obtain the target cloud instance with the same aspect ratio as the resolution information of the user device from the several cloud instances.

6. The method according to claim 5, characterized in that Presenting the real-time game screen of the target cloud instance, including: After the real-time game screen of the target cloud instance is transmitted to the user device, obtain the resolution information of the real-time game screen, and determine the scaling ratio between the resolution information of the real-time game screen and the resolution information of the user device; Scale the real-time game screen based on the scaling ratio, and present the scaled real-time game screen.

7. A cloud game running device, characterized in that, Applied to the cloud, the cloud is communicatively connected to the user device, and the device includes: A cloud instance pool preloading module, configured to preload a cloud instance pool in the cloud, where the preloaded cloud instance pool includes a plurality of pre-opened cloud instances that match the aspect ratios of different resolutions; A running request response module, configured to respond to a running request for the cloud game sent by the user device, and obtain the resolution information of the user device; A target cloud instance acquisition module, configured to obtain a target cloud instance for pre-opening the cloud game in the cloud instance pool according to the resolution information of the user device; A target cloud instance sending module, configured to send the real-time game screen of the target cloud instance to the user device; Wherein, the target cloud instance acquisition module includes the following sub-modules: A cloud instance acquisition sub-module, configured to obtain several cloud instances that match the aspect ratios of different resolutions in the cloud instance pool; A target cloud instance acquisition sub-module, configured to determine a target cloud instance that matches the resolution information of the user device from several cloud instances; The target cloud instance acquisition sub-module includes the following units: A target cloud instance acquisition unit, configured to calculate the aspect ratio of the resolution information of the user device, and obtain a target cloud instance with the same aspect ratio as the resolution information from several cloud instances.

8. A cloud game running device, characterized in that, Applied to the user device, the user device is communicatively connected to the cloud, and the device includes: A running request generation module, configured to generate a running request for the cloud game, and send the running request for the cloud game to the cloud; A target cloud instance receiving module, configured to receive the real-time game screen of the target cloud instance for pre-opening the cloud game sent by the cloud in response to the running request; the pre-opened target cloud instance is obtained by the cloud in the cloud instance pool preloaded in the cloud based on the resolution information of the user device; wherein, the cloud instance pool includes pre-opened cloud instances that match the aspect ratios of different resolutions; A game screen presentation module, configured to present the real-time game screen of the target cloud instance; Wherein, the pre-opened target cloud instance is obtained by the cloud in the cloud instance pool preloaded in the cloud based on the resolution information of the user device, including: In the cloud instance pool, obtain several cloud instances that match the aspect ratios of different resolutions; Calculate the aspect ratio of the resolution information of the user device, and obtain the target cloud instance with the same aspect ratio as the resolution information from several cloud instances.

9. An electronic device, characterized in that, Including: A processor, a memory, and a computer program stored on the memory and capable of running on the processor, where when the computer program is executed by the processor, it implements the cloud game running method according to any one of claims 1 to 4 or claims 5 to 6.

10. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, it implements the cloud game running method according to any one of claims 1 to 4 or claims 5 to 6.

Citation Information

Patent Citations

  • Preloading of virtual devices in anticipation of a connection request from a physical device

    US20220004413A1