Cloud game switching method and device, equipment, storage medium and product

By caching the running data of the game to be switched in the cloud game and using reserved resources for seamless switching, the problem of long waiting time for cloud game switching is solved and the user experience is improved.

CN118526787APending Publication Date: 2024-08-23MIGU INTERACTIVE ENTERTAINMENT CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410589030.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-13
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

When switching existing cloud games, you need to wait for the current game to exit and reload, resulting in a long waiting time and affecting the user experience.

Method used

During the running of the current game, the game to be switched is determined and its running data is cached. When responding to the game switching instruction, the matching data in the cache is loaded for loading, and reserved resources are used for seamless switching.

Benefits of technology

It shortens the game switching time, improves user experience, reduces waiting time, and reduces the probability of user churn.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118526787A
    Figure CN118526787A
Patent Text Reader

Abstract

The invention discloses a cloud game switching method and device, equipment, a storage medium and a product, and the method comprises the steps: determining a to-be-switched game which is not operated during the operation period of a current game, and carrying out the loading and caching of operation data of the to-be-switched game; according to the game switching method and the game switching device, the corresponding operation data can be found from the pre-cached game resources for direct calling during subsequent game switching, so that loading of a new game can be completed, waiting for quit of the current game and reloading of another game are not needed, time consumed by game switching is shortened, and game experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cloud game switching technology, and more specifically, to a cloud game switching method, device, equipment, storage medium and product. Background Art

[0002] Currently, to switch between cloud games, users need to exit the current game, then select another game in the game lobby to start loading, and then enter the other game after the game is loaded. When users switch games, they need to wait for the current game to exit and for another game to load, which takes a long time and affects the user's gaming experience. Summary of the invention

[0003] Based on this, the present invention provides a cloud game switching method, device, equipment, storage medium and product to solve the defect in the prior art that the long waiting time consumed for game switching leads to poor user experience.

[0004] To achieve the above object, an embodiment of the present invention provides a cloud game switching method, comprising:

[0005] During the running of the current game, determining the game to be switched that is not running;

[0006] Cache the running data of the game to be switched into a preset cache space;

[0007] In response to the game switching instruction, determining a target switching game;

[0008] The running data matching the target switching game in the cache space is called to complete the loading of the target switching game.

[0009] As an improvement of the above solution, the operation data includes shared information of all games and general information of the game to be switched, wherein the general information refers to resource information required for multiple levels of the game to be switched.

[0010] As an improvement to the above solution, the game to be switched is determined in the following manner:

[0011] Obtaining a first game attribute value of the candidate game; wherein the first game attribute value includes at least one of an application store download attribute, network social influence data, online user attribute, game type attribute, game time attribute, and search attribute;

[0012] When the user running the current game is a new user, comprehensively evaluating the first running probability of the candidate game according to the first game attribute value; wherein the first game attribute value is positively correlated with the first running probability;

[0013] Based on the preset first switching weight of the candidate game, the first switching probability of the candidate game is calculated according to the first running probability; wherein the first switching probability is positively correlated with the first switching weight and the first running probability respectively;

[0014] When the user running the current game is a new user, at least one candidate game with the highest first switching probability is screened out as the game to be switched.

[0015] As an improvement to the above solution, the game to be switched is determined in the following manner:

[0016] Obtaining a first game attribute value of the candidate game; wherein the first game attribute value includes at least one of an application store download attribute, network social influence data, online user attribute, game type attribute, game time attribute, and search attribute;

[0017] When the user running the current game is not a new user, obtaining a second game attribute value of the candidate game; wherein the second game attribute value includes at least one of a game record attribute, an interactive communication feedback attribute, and a consumption purchase behavior attribute of the user;

[0018] Comprehensively evaluating the second running probability of the candidate game according to the first game attribute value and the second game attribute value; wherein the second running probability is positively correlated with the first game attribute value and the second game attribute value respectively;

[0019] Based on the preset second switching weight of the alternative game, the second switching probability of the alternative game is calculated according to the second running probability; wherein the second switching probability is positively correlated with the second switching weight and the second running probability respectively;

[0020] When the user running the current game is not a new user, at least one candidate game with the highest second switching probability is screened out as the game to be switched.

[0021] As an improvement of the above solution, the running data includes shared information of all games; calling the running data matching the target switching game in the cache space to complete the loading of the target switching game includes:

[0022] When the game to be switched does not include the target switching game, calling the shared information to load the target switching game, and using the reserved resources to load the target switching game; wherein the resources of the cloud server running the current game are divided into occupied resources and reserved resources, the occupied resources are used to run the current game, and are used to load part of the resources of the game to be switched;

[0023] While using the reserved resources to load the target switching game, releasing the occupied resources;

[0024] The target switching game is loaded using the released occupied resources.

[0025] As an improvement to the above solution, the reserved resources are determined in the following manner:

[0026] During the running of the current game, detecting the CPU occupancy rate of the cloud server running the current game and the CPU utilization rate of the partial resources loading the game to be switched;

[0027] The resource ratio is calculated according to the computing power of the cloud server running the current game and the operating parameters; wherein the resource ratio is positively correlated with the computing power of the cloud server, and negatively correlated with the CPU occupancy rate and the CPU utilization rate;

[0028] The reserved resources of the cloud server are determined according to the resource ratio.

[0029] To achieve the above purpose, an embodiment of the present invention further provides a cloud game switching device, comprising:

[0030] A module for determining a game to be switched, used to determine a game to be switched that is not running during the running of the current game;

[0031] A resource cache module, used for caching the running data of the game to be switched into a preset cache space;

[0032] A switching information acquisition module, used to determine a target switching game in response to a game switching instruction;

[0033] The game loading module is used to call the running data matching the target switching game in the cache space to complete the loading of the target switching game.

[0034] To achieve the above objectives, an embodiment of the present invention also provides a cloud game switching device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, it implements the cloud game switching method described in any of the above embodiments.

[0035] To achieve the above objectives, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the cloud game switching method as described in any of the above embodiments.

[0036] To achieve the above objectives, an embodiment of the present invention further provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the cloud game switching method as described in any of the above embodiments.

[0037] Compared with the prior art, the cloud game switching method, device, equipment, storage medium and product disclosed in the embodiments of the present invention determine the unrunning game to be switched during the running of the current game, and load and cache the running data of the game to be switched, so that when the game is switched later, the corresponding running data can be found from the pre-cached game resources for direct call to complete the loading of the new game, without waiting for the current game to exit and reload another game, thereby shortening the time consumed for game switching and improving the user's gaming experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the implementation mode will be briefly introduced below. Obviously, the drawings described below are only some implementation modes of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0039] Figure 1 This is a schematic diagram of a prompt screen for exiting game A provided by an embodiment of the present invention;

[0040] Figure 2 This is a schematic diagram of a loading game X screen provided by an embodiment of the present invention;

[0041] Figure 3 It is a flowchart of a cloud game switching method provided by an embodiment of the present invention;

[0042] Figure 4 This is a schematic diagram of a game switching selection screen provided by an embodiment of the present invention;

[0043] Figure 5 This is a schematic diagram of a cloud game running screen provided by an embodiment of the present invention;

[0044] Figure 6 This is a schematic diagram of a screen showing a switching and pulling-up mode in seconds provided by an embodiment of the present invention;

[0045] Figure 7 This is a schematic diagram of a user-side game switching screen provided by an embodiment of the present invention;

[0046] Figure 8 It is a structural schematic diagram of a cloud game switching device provided by an embodiment of the present invention;

[0047] Fig. 9It is a structural diagram of a cloud game switching device provided by one embodiment of the present invention. DETAILED DESCRIPTION

[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0049] In the related art, the current cloud game switching solution is, assuming that the current game is game A, and the game to be switched is game X, such as Figure 1 As shown in the figure, a pop-up window prompts the user whether to confirm to exit the current game. After the user clicks OK, the termination operation of game A is executed. After the execution is completed, the user returns to the cloud game lobby. Figure 2 As shown, game X is loaded, and the user can enter game X after the progress bar reaches 100%. The existing switching solution requires the user to spend time waiting for the termination of game A and the loading of game X, which not only affects the user's immersive gaming experience, but also causes the user to give up the game due to the long time, resulting in user loss.

[0050] Based on this, an embodiment of the present invention provides a cloud game switching method, see Figure 3 The flowchart of the cloud game switching method shown in FIG. Specifically, the cloud game switching method includes steps S11 to S14:

[0051] S11. During the running of the current game, determine the non-running game to be switched.

[0052] It is understandable that the game that the user is most likely to switch to when switching games can be determined based on the user's historical game records and / or the popularity of each game. The number of games to be switched can be one or more, and the specific number is set according to actual conditions.

[0053] S12: Cache the running data of the game to be switched into a preset cache space.

[0054] Specifically, before the user triggers the game switching instruction, the running data of some games need to be pre-cached, wherein the game that needs data caching is the game to be switched. It can be understood that the running data contains the data required to load the game to be switched, and the game to be switched is a game that the user has a high probability of switching to after calculation.

[0055] S13, in response to the game switching instruction, determining a target game to switch;

[0056] Specifically, the game switching instruction is triggered by the user to indicate that the user wishes to switch from the current game to the target switching game. The specific triggering method may be that the user triggers through a mouse, keyboard, touch screen or voice, such as Figure 4 As shown, the user can trigger the game switching command by clicking the target game switch on the touch screen. Figure 4 In the example, three alternative games are shown, including Game X, Game Y and Game Z. It is understood that the types and numbers of the alternative games are not limited to the above specific limitations. The target switching game information is determined by responding to the game switching instruction triggered by the user. The target switching game information may be an identification number or a game name of the target switching game. The target switching game information is used to indicate the target switching game, and its specific form is not limited here.

[0057] S14: calling the running data in the cache space that matches the target switching game to complete the loading of the target switching game.

[0058] Specifically, in the actual switching, the game to be switched may include the target switching game, or may not include the target switching game, which is not limited here. The target switching game is determined by responding to the game switching instruction, the data of the target switching game is found from the cache space, and the data is directly called to complete the loading of the target switching game. It is understandable that if the cache space stores all the resources required to load the target switching game, it is only necessary to call the running data in the cache space to complete the loading of the target switching game. Preferably, the cache space only caches part of the data of some games. Therefore, when the cache space stores part of the data required to load the target switching game, other data needs to be loaded, and then the loading of the target switching game is completed in combination with the running data in the called cache space.

[0059] Compared with the prior art, the method disclosed in the embodiment of the present invention, first, determines the game to be switched that is not running during the running of the current game, and then loads and caches the running data of the game to be switched, so that when the game is switched later, the corresponding data can be found from the pre-cached running data for direct call to complete the loading of the new game, without waiting for the current game to exit and reload another game, thereby shortening the time consumed for game switching and improving the user's gaming experience.

[0060] In one implementation, the running data includes shared information of all games and general information of the game to be switched, wherein the general information refers to resource information required for multiple levels of the game to be switched.

[0061] Specifically, the running data includes shared information of all games and general information of the game to be switched. When the game to be switched includes a target switching game, the general information of the target switching game is also included in the running data in the cache space.

[0062] Exemplarily, the running data may include shared information of all games. For example, after a user runs game A, the shared information between the user's games is determined. Figure 5 The leftmost floating window displays Figure 6 ,choose Figure 6 Pull up the "Switch in seconds" option in the mask Figure 4 A pop-up window appears, and you can switch to Game X in Game A. This shared information is used to be called directly by Game X when the user switches from Game A to Game X, and no reloading is required, which reduces the switching time of Game X. Shared information is information required by all games, such as user registration information, common game rights, etc. Features that belong to game characteristics, such as game duration, game equipment, etc. are not shared information. After the shared information is determined, it will be cached for calling when the game is switched. Exemplarily, the running data can also include shared information of the game to be switched. If the game to be switched is Game B, then the general information of Game B will be determined. This resource is for Game B, but some resources are required for all levels, such as the user's level in Game B, the user's equipment in Game B, etc. Only the general information is loaded here, and personalized resources for each level are not pre-loaded. It can be understood that compared with the cloud game switching solution without data caching, this implementation can speed up game switching and improve user experience. At the same time, considering the increase in the amount of data in cloud games, in order to avoid excessive occupation of cache resource space, only part of the running data is cached to ensure smooth operation of the game.

[0063] In one implementation, the game to be switched is determined in the following manner:

[0064] Obtaining a first game attribute value of the candidate game; wherein the first game attribute value includes at least one of an application store download attribute, network social influence data, online user attribute, game type attribute, game time attribute, and search attribute;

[0065] When the user running the current game is a new user, comprehensively evaluating the first running probability of the candidate game according to the first game attribute value; wherein the first game attribute value is positively correlated with the first running probability;

[0066] Based on the preset first switching weight of the candidate game, the first switching probability of the candidate game is calculated according to the first running probability; wherein the first switching probability is positively correlated with the first switching weight and the first running probability respectively;

[0067] When the user running the current game is a new user, at least one candidate game with the highest first switching probability is screened out as the game to be switched.

[0068] In one implementation, the game to be switched is determined in the following manner:

[0069] Obtaining a first game attribute value of the candidate game; wherein the first game attribute value includes at least one of an application store download attribute, network social influence data, online user attribute, game type attribute, game time attribute, and search attribute;

[0070] When the user running the current game is not a new user, obtaining a second game attribute value of the candidate game; wherein the second game attribute value includes at least one of a game record attribute, an interactive communication feedback attribute, and a consumption purchase behavior attribute of the user;

[0071] Comprehensively evaluating the second running probability of the candidate game according to the first game attribute value and the second game attribute value; wherein the second running probability is positively correlated with the first game attribute value and the second game attribute value respectively;

[0072] Based on the preset second switching weight of the alternative game, the second switching probability of the alternative game is calculated according to the second running probability; wherein the second switching probability is positively correlated with the second switching weight and the second running probability respectively;

[0073] When the user running the current game is not a new user, at least one candidate game with the highest second switching probability is screened out as the game to be switched.

[0074] Specifically, the type of the user running the current game is first judged to determine whether the user is a new user or a non-new user, and then the switching probability of each candidate game is calculated for the corresponding user type, and the game with the highest switching probability is used as the game to be switched.

[0075] It is worth noting that the candidate games can be games that the user has played before, games that meet the user's gaming habits, popular games, or all games. The candidate games include all games that the user may switch to. The game to be switched can be selected based on the calculation of the matching degree between the user and the game.

[0076] Exemplarily, the method of determining the game to be switched by using the matching degree between the user and the game is as follows:

[0077] 1. Determine the type of user

[0078] The switching probability is determined based on the closeness between the user and the alternative games, and the closeness is determined based on user behavior. The more user behavior data there is, the more accurate the assessment of the closeness will be. Therefore, users will be classified into new users and non-new users. Different users will use different switching probability assessment parameters, which ensures an accurate assessment of the current user's alternative game switching probability, thereby ensuring seamless switching when switching games.

[0079] When determining the type of user, the user's registration information can be obtained from the cached shared information, and the user's historical behavior records such as game records, interactive communication feedback, and consumer purchase behavior can be queried based on the registration information. If the above behaviors do not exist, the user is judged to be a new user, otherwise the user is judged to be a non-new user.

[0080] 2. Determine the switching probability of each alternative game based on the user type

[0081] (1) For new users, the implementation process of this step is as follows:

[0082] 1) Get the game attribute values ​​for each candidate game

[0083] If the set of candidate games is (A1, A2, A3, ...), any of the candidate games A i For example, for A i The game attributes include: app store download attributes, network social influence data, online user attributes, game type attributes, game time attributes and search attributes.

[0084] in,

[0085] App store download attributes, use A i Description of the number of downloads in the app store, that is, the app store download attribute value A i The number of downloads from the app store.

[0086] Network social influence data, using A i The total number of times the user is involved in social activities on the cloud gaming platform, such as the number of times the user is mentioned in a chat room. This is the social influence data on the network. A i The total number of times the user was engaged in all social functions.

[0087] Online user attributes, using A i Description of the total number of players in the game, that is, the attribute value of online users A i The total number of players.

[0088] Game type attributes, use A i Description of the total number of game players of the type, such as Ai For puzzle games, then A i Game Type attribute value The total number of players of all puzzle games.

[0089] Game time attribute, use the new user to play A within the preset time period i The total number of games. For example, if the preset time period is 10 minutes (this is a preset value and can be set to other values), then the game time attribute value For all new users, play A within 10 minutes of logging in i The total number of games.

[0090] Search attribute, A appears when searching for games on the cloud gaming platform with the current new user i The total number of games. Although new users do not have game records, interactive feedback, or consumer purchase behavior, they may have search behavior. The search attribute value here is That is, the new user's search behavior involves A i The total number of games played. If a new user has no search behavior, this value is 0.

[0091] 2) Calculate A based on the game attribute value i The probability of running

[0092] Wherein, j is the game attribute value identifier of the new user.

[0093] 3) According to A i The probability of running Calculate A i The switching probability

[0094] in, For pre-set game A i The weight of the current behavior for switching, that is, its importance, For pre-set game A i The weight of the current behavior for future behavior, i.e., its importance. Different games can set this value separately or the same value. The weight setting is based on experience or big data analysis, so I won’t describe it in detail here.

[0095] Whether it is set individually or in a unified manner, it needs to meet

[0096] If the setting is unified, The optimal values ​​are 0.4 and 0.8 respectively.

[0097] (2) For non-new users, the implementation process of this step is as follows:

[0098] 1) Get the game attribute values ​​for each candidate game

[0099] In addition to the same six attribute values ​​as new users (app store download attributes, network social influence data, online user attributes, game type attributes, game time attributes, and search attributes), the game attribute values ​​here will also increase attribute values ​​that characterize user characteristics, namely, increase user game record attributes, interactive communication feedback attributes, and consumer purchase behavior attributes.

[0100] for The calculation method of is the same as that of the new user mentioned above and will not be repeated here.

[0101] User game record properties, run A with the current non-new user i Description of the total number of games, that is, the attribute value of the user's game record Run A for the current non-new user i The total number of games.

[0102] Interactive communication feedback attribute, using the current non-new user involved in the communication i The total number of games described, for example, the current non-new users in the chat room talked about A i , so the interactive communication feedback attribute value Involve A in all communication channels for current non-new users i The total quantity.

[0103] Consumption purchase behavior attributes, using the current non-new user in A i The total number of times a non-new user spends money in the game. i Each time you purchase equipment in the game, the total number of times is increased by 1, so the consumption purchase behavior attribute value For the current non-new user in A i The total number of all purchases in the game.

[0104] 2. Calculate A based on the game attribute value i The probability of running

[0105] Wherein, k is the game attribute value identifier of a non-new user.

[0106] 3. According to A i The probability of running Calculate A i The switching probability

[0107] in, For pre-set game A i The weight of the current behavior for switching, that is, its importance, For pre-set game A i The weight of current behavior on future behavior, that is, its importance. For pre-set game A i The weight of the current behavior on the current user's switching behavior, that is, the degree of influence. Different games can be set separately or set to the same value. The setting here is based on experience or big data analysis. The process of determining the specific value is an existing process and will not be described in detail here.

[0108] Whether it is set individually or in a unified manner, it needs to meet

[0109] If the setting is unified, The optimal values ​​are 0.34, 0.5 and 0.75 respectively.

[0110] 4. According to the switching probability of each alternative game, select the most likely switching game (the game to be switched), and preliminarily load the most likely switching game.

[0111] Sort the switching probabilities from large to small, and select one or more candidate games with the highest ranking as the most likely switching games. The number of most likely switching games is also preset, such as selecting 2 most likely switching games.

[0112] In this embodiment, for new users, the attributes of each alternative game are directly used to calculate the switching probability. For non-new users, the switching probability of each alternative game is calculated in combination with the attributes of the alternative game and the user's historical behavior. The game to be switched is selected based on the switching probability finally calculated, so as to accurately pre-store game resources, shorten the time consumed for game switching, improve user experience, and reduce the probability of user churn.

[0113] In one implementation, the running data includes shared information of all games; calling the running data matching the target switching game in the cache space to complete loading of the target switching game includes:

[0114] When the game to be switched does not include the target switching game, calling the shared information to load the target switching game, and using the reserved resources to load the target switching game; wherein the resources of the cloud server running the current game are divided into occupied resources and reserved resources, the occupied resources are used to run the current game, and are used to load part of the resources of the game to be switched;

[0115] While using the reserved resources to load the target switching game, releasing the occupied resources;

[0116] The target switching game is loaded using the released occupied resources.

[0117] It is understandable that when the game to be switched does not include the target switching game, the running data cached in the cache space only has shared information at most, and no general information of the target switching game. When the game to be switched includes the target switching game, it is also possible that the cache space only has shared information at most, and no general information of the target switching game (at this time, the general information of the target switching game has not yet started to be loaded, but the game switching instruction has been received).

[0118] Specifically, assuming that the current game is game A and the target switching game is game Y, after determining the target switching game information, the current status of the target switching game X may be in two states, one of which is that it has been preliminarily loaded before and the other is that it has not been preliminarily loaded and belongs to the unloaded state.

[0119] 1. For the first type of preliminarily loaded situation, the implementation process of this step is:

[0120] Pause the running of Game A and save the current data of Game A. At the same time, feed back the initial loading content (resources about Game Y in the cache space) to the user to achieve seamless switching of Game Y, and continue to load Game Y based on the initial loading.

[0121] When the user switches, he / she will immediately get the common loading interface of Game Y. At the same time, the personalized part of Game Y is already loading. Therefore, when the user operates based on the current common loading interface, the subsequent interface can be fed back in time, thus achieving seamless switching.

[0122] 2. For the second case, that is, the case of no loading, the implementation process of this step is:

[0123] (1) Use reserved resources to load game Y

[0124] In the second case, since game Y is not loaded, in order to increase the loading rate of game Y, reserved resources (i.e., the current idle resources) will be used. ) starts loading game Y.

[0125] When loading, not all content is loaded, but the content in the cache is loaded first. Since there is no delay caused by data transmission, and the resources used are also the exclusive resources reserved by the third part, the resources are sufficient, so this part can be loaded instantly, and the user is fed back after loading, realizing seamless switching. After loading public resources (shared information), the general information for game Y is loaded, and then other personalized resources of game Y are loaded.

[0126] (2) While loading game Y with reserved resources, turn off the resources currently occupied by all other games

[0127] This includes game A, that is, pausing the running of game A and saving the current data of game A. It also includes the previously initially loaded game (the game to be switched), which has no save action and can directly end the game process.

[0128] (3) All released resources are added to the loading of game Y to increase the loading speed of game Y.

[0129] (4) After the loading of game Y is completed, the game switching method is re-executed to prepare for seamless switching from game Y to other games.

[0130] The method senses on the user side such as Figure 7 As shown in the figure, the user gradually previews the first static frame of the cloud server initialization rendering, and the toast prompts "Switching to another game for you..." At the same time, the cloud server needs to load non-shared information in addition to transmitting shared information to show the user the dynamic game screen.

[0131] In this embodiment, when the game to be switched does not include the target switching game, the game switching time is shortened by utilizing the shared information in the cache and using reserved resources to load other information of the target switching game, and using other resources to assist in loading the information of the target switching game.

[0132] In one implementation, the reserved resources are determined by:

[0133] During the running of the current game, detecting the CPU occupancy rate of the cloud server running the current game and the CPU utilization rate of the partial resources loading the game to be switched;

[0134] The resource ratio is calculated according to the computing power of the cloud server running the current game and the operating parameters; wherein the resource ratio is positively correlated with the computing power of the cloud server, and negatively correlated with the CPU occupancy rate and the CPU utilization rate;

[0135] The reserved resources of the cloud server are determined according to the resource ratio.

[0136] For example, when a user runs game A, the running status of game A is monitored, and the resource ratio of the reserved resources used to adjust the reserved resources is dynamically determined according to the running status.

[0137] The resources of the cloud server are divided into three parts. The first part is used to run game A, the second part is used to switch from game A to game X, and the third part is reserved resources for handling abnormal events.

[0138] The process of determining reserved resources is as follows:

[0139] 1. Monitor the running status of game A while the user is running it

[0140] The monitoring here can be real-time monitoring or periodic monitoring. The monitoring period can be a fixed period or a variable period. When game A is just running, the period is longer. As the game running time increases, the possibility of users changing games also increases, and the period will become shorter accordingly.

[0141] In addition, the operation status includes parameters such as the number of concurrent tasks S, response time T, and CPU occupancy EC that characterize resource utilization.

[0142] 2. Calculate the resource ratio of reserved resources

[0143]

[0144] Among them, M is the number of tasks executed per unit time, which can represent the computing power of the cloud server, T is the average response time, and EC is usually expressed in decimal form (0≤EC≤1). is the number of tasks completed per unit time, To predict the loading CPU utilization (ie, the second part is used to implement resource information for switching from game A to game X).

[0145] 3. All resources in the cloud server The CPU processing capacity is used as reserved resources.

[0146] It is worth noting that the resources of the cloud server are divided into three parts. The first part of resources and the second part of resources are occupied resources. The first part of resources is used to run game A, the second part of resources is used to switch from game A to game X, and the third part of resources is reserved for handling abnormal events. Among all the resources, except for the resources used by game A, the current idle resources are only the second part of resources and the third part of resources. ) Initial loading is most likely to switch games. The third part of resources (i.e. idle resources) ) is not used for game loading.

[0147] In one embodiment, the cache information of the current game is retained during the recycling operation time after the target switching game is switched, and if a game switch back instruction is received during the recycling operation time after the target switching game is switched, the cache information of the current game is obtained to complete the loading of the current game. After the recycling operation time after the target switching game is switched, the cache information of the current game is cleared. The recycling operation time is positively correlated with the switching probability of the current game, and the calculation method of the switching probability of the current game is similar to the calculation method of the switching probability of the alternative game.

[0148] For example, after the user switches to cloud game Y, the cloud server sets the recycling operation time of game A to T1 minutes. Before the T1 countdown ends, the data and game status are temporarily stored in the server.

[0149] Among them, T1 is obtained based on the switching probability of game A. The calculation scheme of this value is the same as that in the above switching probability. Similar, that is When R 游戏A <0.6, it is best to set T1<5 (unit: minutes); when R 游戏A When >0.6, it is best to set 5<T1<15 (unit: minute); within the flexible time of 0 to T1 minutes, the user chooses to switch back to A, and the gradual transition does not require reloading; when the flexible time exceeds 1 minute, the temporary files and cached data generated by the game instance are automatically recycled and cleaned up.

[0150] Compared with the prior art, this implementation adjusts the reserved resources according to the running status of the current game, and then determines the switching probability of each candidate game according to the type of user and the behavior of each user on the cloud gaming platform for each candidate game. According to the switching probability of each candidate game, the most likely switching game is selected, and the most likely switching game is preliminarily loaded. Finally, after obtaining the target switching game determined by the user, the current game is seamlessly switched to the target switching game according to the preliminary loading situation and the reserved resource situation, so that users can seamlessly switch different game applications on the same device, so that users have a good gaming experience. In addition, the game's keep alive time is determined according to the switching probability of the game before switching, so that the effective recycling of game resources is achieved.

[0151] See also Figure 8 , an embodiment of the present invention further provides a cloud game switching device, comprising:

[0152] The to-be-switched game determination module 21 is used to determine the to-be-switched game that is not running during the running of the current game; wherein the to-be-switched game refers to the game that is most likely to be switched;

[0153] The resource cache module 22 is used to cache the running data of the game to be switched into a preset cache space;

[0154] A switching information acquisition module 23, for determining a target switching game in response to a game switching instruction;

[0155] The game loading module 24 is used to call the running data matching the target switching game in the cache space to complete the loading of the target switching game.

[0156] In one implementation, the running data includes shared information of all games and general information of the game to be switched, wherein the general information refers to resource information required for multiple levels of the game to be switched.

[0157] In one embodiment, a game screening module is further included, which is used to:

[0158] Obtaining a first game attribute value of the candidate game; wherein the first game attribute value includes at least one of an application store download attribute, network social influence data, online user attribute, game type attribute, game time attribute, and search attribute;

[0159] When the user running the current game is a new user, comprehensively evaluating the first running probability of the candidate game according to the first game attribute value; wherein the first game attribute value is positively correlated with the first running probability;

[0160] Based on the preset first switching weight of the candidate game, the first switching probability of the candidate game is calculated according to the first running probability; wherein the first switching probability is positively correlated with the first switching weight and the first running probability respectively;

[0161] When the user running the current game is a new user, at least one candidate game with the highest first switching probability is screened out as the game to be switched.

[0162] In one embodiment, the game screening module is further used to:

[0163] Obtaining a first game attribute value of the candidate game; wherein the first game attribute value includes at least one of an application store download attribute, network social influence data, online user attribute, game type attribute, game time attribute, and search attribute;

[0164] When the user running the current game is not a new user, obtaining a second game attribute value of the candidate game; wherein the second game attribute value includes at least one of a game record attribute, an interactive communication feedback attribute, and a consumption purchase behavior attribute of the user;

[0165] Comprehensively evaluating the second running probability of the candidate game according to the first game attribute value and the second game attribute value; wherein the second running probability is positively correlated with the first game attribute value and the second game attribute value respectively;

[0166] Based on the preset second switching weight of the alternative game, the second switching probability of the alternative game is calculated according to the second running probability; wherein the second switching probability is positively correlated with the second switching weight and the second running probability respectively;

[0167] When the user running the current game is not a new user, at least one candidate game with the highest second switching probability is screened out as the game to be switched.

[0168] In one embodiment, the operation data includes shared information of all games; the game loading module is further used to:

[0169] When the game to be switched does not include the target switching game, calling the shared information to load the target switching game, and using the reserved resources to load the target switching game; wherein the resources of the cloud server running the current game are divided into occupied resources and reserved resources, the occupied resources are used to run the current game, and are used to load part of the resources of the game to be switched;

[0170] While using the reserved resources to load the target switching game, releasing the occupied resources;

[0171] The target switching game is loaded using the released occupied resources.

[0172] In one embodiment, a resource partitioning module is further included, which is used to:

[0173] During the running of the current game, detecting the CPU occupancy rate of the cloud server running the current game and the CPU utilization rate of the partial resources loading the game to be switched;

[0174] The resource ratio is calculated according to the computing power of the cloud server running the current game and the operating parameters; wherein the resource ratio is positively correlated with the computing power of the cloud server, and negatively correlated with the CPU occupancy rate and the CPU utilization rate;

[0175] The reserved resources of the cloud server are determined according to the resource ratio.

[0176] It is worth noting that the working principle of the device provided in the above embodiment can refer to the working process of the method provided in any of the above embodiments, which will not be described in detail here.

[0177] Compared with the prior art, the device provided by the embodiment of the present invention first determines the game to be switched that is not running during the running of the current game, and then loads and caches some resources of the game to be switched, so that when the game is switched later, the corresponding resources can be found from the pre-cached game resources for direct call to complete the loading of the new game, without waiting for the current game to exit and reload another game, thereby shortening the time consumed for game switching and improving the user's gaming experience.

[0178] See also Fig. 9 The embodiment of the present invention further provides a cloud game switching device, including a processor 31, a memory 32, and a computer program stored in the memory 32 and configured to be executed by the processor 31. When the processor 31 executes the computer program, the steps in the above-mentioned cloud game switching method embodiment are implemented, for example Figure 1 S11 to S12 in the above description; or, the processor 31 implements the functions of the modules in the above-mentioned device embodiments when executing the computer program.

[0179] Exemplarily, the computer program may be divided into one or more modules, which are stored in the memory 32 and executed by the processor 31 to complete the present invention. The one or more modules may be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program in the cloud game switching device. For example, the computer program may be divided into multiple modules, and the specific functions of each module are as follows:

[0180] The to-be-switched game determination module 21 is used to determine the to-be-switched game that is not running during the running of the current game;

[0181] The resource cache module 22 is used to cache the running data of the game to be switched into a preset cache space;

[0182] A switching information acquisition module 23, for determining a target switching game in response to a game switching instruction;

[0183] The game loading module 24 is used to call the running data matching the target switching game in the cache space to complete the loading of the target switching game.

[0184] The specific working process of each module can refer to the working process of the cloud game switching device described in the above embodiment, which will not be repeated here.

[0185] The cloud game switching device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The cloud game switching device may include, but is not limited to, a processor 31 and a memory 32. Those skilled in the art may understand that the cloud game switching device may also include input and output devices, network access devices, buses, etc.

[0186] The processor 31 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor 31 is the control center of the cloud game switching device, and uses various interfaces and lines to connect various parts of the entire cloud game switching device.

[0187] The memory 32 can be used to store the computer program and / or module, and the processor 31 realizes various functions of the cloud game switching device by running or executing the computer program and / or module stored in the memory 32, and calling the data stored in the memory 32. The memory 32 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as an image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone, etc. In addition, the memory 32 may include a high-speed random access memory, and may also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart MediaCard, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0188] Among them, if the module integrated in the cloud game switching device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the process in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor 31, the steps of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc.

[0189] An embodiment of the present invention also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the cloud game switching method as described in any of the above embodiments.

[0190] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A cloud game switching method, It is characterized in that include: During the running of the current game, determining the game to be switched that is not running; Cache the running data of the game to be switched into a preset cache space; In response to the game switching instruction, determining a target switching game; The running data matching the target switching game in the cache space is called to complete the loading of the target switching game.

2. The cloud game switching method according to claim 1, It is characterized in that The operation data includes shared information of all games and general information of the game to be switched, wherein the general information refers to resource information required for multiple levels of the game to be switched.

3. The cloud game switching method according to claim 1, It is characterized in that The game to be switched is determined in the following manner: Obtaining a first game attribute value of the candidate game; wherein the first game attribute value includes at least one of an application store download attribute, network social influence data, online user attribute, game type attribute, game time attribute, and search attribute; When the user running the current game is a new user, comprehensively evaluating the first running probability of the candidate game according to the first game attribute value; wherein the first game attribute value is positively correlated with the first running probability; Based on the preset first switching weight of the candidate game, the first switching probability of the candidate game is calculated according to the first running probability; wherein the first switching probability is positively correlated with the first switching weight and the first running probability respectively; When the user running the current game is a new user, at least one candidate game with the highest first switching probability is screened out as the game to be switched.

4. The cloud game switching method according to claim 1, It is characterized in that The game to be switched is determined in the following manner: Obtaining a first game attribute value of the candidate game; wherein the first game attribute value includes at least one of an application store download attribute, network social influence data, online user attribute, game type attribute, game time attribute, and search attribute; When the user running the current game is not a new user, obtaining a second game attribute value of the candidate game; wherein the second game attribute value includes at least one of a game record attribute, an interactive communication feedback attribute, and a consumption purchase behavior attribute of the user; Comprehensively evaluating the second running probability of the candidate game according to the first game attribute value and the second game attribute value; wherein the second running probability is positively correlated with the first game attribute value and the second game attribute value respectively; Based on the preset second switching weight of the alternative game, the second switching probability of the alternative game is calculated according to the second running probability; wherein the second switching probability is positively correlated with the second switching weight and the second running probability respectively; When the user running the current game is not a new user, at least one candidate game with the highest second switching probability is screened out as the game to be switched.

5. The cloud game switching method according to claim 1, It is characterized in that The running data includes shared information of all games; the calling of the running data matching the target switching game in the cache space to complete the loading of the target switching game includes: When the game to be switched does not include the target switching game, calling the shared information to load the target switching game, and using the reserved resources to load the target switching game; wherein the resources of the cloud server running the current game are divided into occupied resources and reserved resources, the occupied resources are used to run the current game, and are used to load part of the resources of the game to be switched; While using the reserved resources to load the target switching game, releasing the occupied resources; The target switching game is loaded using the released occupied resources.

6. The cloud game switching method according to claim 5, It is characterized in that The reserved resources are determined in the following manner: During the running of the current game, detecting the CPU occupancy rate of the cloud server running the current game and the CPU utilization rate of the partial resources loading the game to be switched; The resource ratio is calculated according to the computing power of the cloud server running the current game and the operating parameters; wherein the resource ratio is positively correlated with the computing power of the cloud server, and negatively correlated with the CPU occupancy rate and the CPU utilization rate; The reserved resources of the cloud server are determined according to the resource ratio.

7. A cloud game switching device, It is characterized in that include: A module for determining a game to be switched, used to determine a game to be switched that is not running during the running of the current game; A resource cache module, used for caching the running data of the game to be switched into a preset cache space; A switching information acquisition module, used to determine a target switching game in response to a game switching instruction; The game loading module is used to call the running data matching the target switching game in the cache space to complete the loading of the target switching game.

8. A cloud game switching device, It is characterized in that It includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, it implements the cloud game switching method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the cloud game switching method as described in any one of claims 1 to 6.

10. A computer program product comprising a computer program / instructions, It is characterized in that When the computer program / instructions are executed by the processor, the cloud game switching method as described in any one of claims 1 to 6 is implemented.