Game processing method and device, equipment and storage medium

By sending a startup request to the cloud game server on the client and rendering the resource package locally off-screen, the problem of waiting time for platform games to start is solved, and users can quickly enter the game interface and improve user experience.

CN119455404APending Publication Date: 2025-02-18BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411545863.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-31
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

Due to the splitting of resource packages for games based on the platform, users need to wait for a long time when starting the game, which affects the user experience.

Method used

By sending a startup request to the cloud game server on the client, generating the cloud game running results, and downloading and rendering the resource package locally on the screen, and continuing to render locally after detecting the switching conditions, seamless switching between the cloud and local games is achieved.

Benefits of technology

It significantly reduces the waiting time for users, improves user experience, and reduces the user churn rate caused by excessive waiting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119455404A_ABST
    Figure CN119455404A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to a game processing method and device, equipment and a storage medium. The method comprises the following steps: in response to a game starting operation of a target game, sending a cloud game starting request to a cloud game server so as to trigger the cloud game server to run the target game and generate a cloud game running result; displaying a cloud game operation result; downloading the resource packet of the target game to a local storage space, and loading the resource packet from the local storage space for off-screen rendering; if the first switching condition is detected, determining target game progress data of the target game, and continuing to perform off-screen rendering based on the target game progress data to generate a local game operation result; and displaying the local game operation result to locally operate the target game, and sending a cloud game ending request to the cloud game server to trigger the cloud game server to end the target game. Therefore, the speed of entering the game interface by the user is accelerated while the game effect is basically undifferentiated, and the waiting time of the user is shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a game processing method, device, equipment and storage medium. Background Art

[0002] With the development of game-related technologies, some small games / light games have emerged that rely on certain platforms (such as social platforms, search platforms, video platforms, etc.). These games can be played on the platform without independent download and installation, and some social functions can be realized by relying on the platform functions during the game.

[0003] Currently, such platform-based games are restricted by platform rules and split game resource packages into the first package and subsequent packages. When a user starts a game on the platform, the user needs to wait for the first package of resources to be downloaded and loaded. After entering the game, the user needs to wait for the subsequent package of resources to be downloaded and loaded before they can officially experience the game. This causes users to wait for a long time, especially for large-scale games, the user's waiting time will be further extended, resulting in a poor user experience. Summary of the invention

[0004] In order to solve the above technical problems, the embodiments of the present disclosure provide a game processing method, device, equipment and storage medium.

[0005] In a first aspect, an embodiment of the present disclosure provides a game processing method, which is applied to a client, and the method includes:

[0006] In response to a game start operation of the target game, a cloud game start request is sent to the cloud game server; the cloud game start request is used to trigger the cloud game server to run the target game and generate a cloud game running result;

[0007] Display the cloud game running result fed back by the cloud game server;

[0008] Downloading the resource package of the target game to a local storage space, and loading the resource package from the local storage space for off-screen rendering;

[0009] If the first switching condition is detected, determining the target game progress data of the target game, and continuing the off-screen rendering based on the target game progress data to generate a local game running result;

[0010] The local game running result is displayed to continue running the target game locally, and a cloud game end request is sent to the cloud game server; the cloud game end request is used to trigger the cloud game server to end the target game.

[0011] In a second aspect, an embodiment of the present disclosure provides a game processing method, which is applied to a cloud game server, and the method includes:

[0012] In response to a cloud game start request sent by a client, run a target game and generate a cloud game run result; wherein the cloud game start request is generated by the client in response to a game start operation of the target game;

[0013] Sending the cloud game running result to the client; the cloud game running result is used to trigger the client to display the cloud game running result;

[0014] In response to a cloud game end request sent by the client, the target game is ended; wherein the cloud game end request is generated after the client downloads, loads and renders the resource package of the target game off-screen, detects the first switching condition and obtains the target game progress data to perform local operation of the target game.

[0015] In a third aspect, the present disclosure also provides a game processing device configured on a client, the device comprising:

[0016] A cloud game start request sending module, used to send a cloud game start request to a cloud game server in response to a game start operation of a target game; the cloud game start request is used to trigger the cloud game server to run the target game and generate a cloud game running result;

[0017] A cloud game running result display module, used to display the cloud game running result fed back by the cloud game server;

[0018] A resource download module, used to download the resource package of the target game to a local storage space, and load the resource package from the local storage space for off-screen rendering;

[0019] A local game running result generating module, configured to determine target game progress data of the target game if a first switching condition is detected, and continue to perform off-screen rendering based on the target game progress data to generate a local game running result;

[0020] The target game local running module is used to display the local game running results, to continue running the target game locally, and to send a cloud game end request to the cloud game server; the cloud game end request is used to trigger the cloud game server to end the target game.

[0021] In a fourth aspect, the present disclosure also provides a game processing device, which is configured at a cloud game server, and includes:

[0022] A cloud game running result generating module, used to respond to a cloud game starting request sent by a client, run a target game, and generate a cloud game running result; wherein the cloud game starting request is generated by the client in response to a game starting operation of the target game;

[0023] A cloud game running result sending module, used to send the cloud game running result to the client; the cloud game running result is used to trigger the client to display the cloud game running result;

[0024] The target game ending module is used to end the target game in response to the cloud game ending request sent by the client; wherein the cloud game ending request is generated after the client downloads, loads and renders the resource package of the target game off-screen, detects the first switching condition and obtains the target game progress data to perform local operation of the target game.

[0025] In a fifth aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:

[0026] processor;

[0027] A memory for storing executable instructions;

[0028] The processor is used to read executable instructions from the memory and execute the executable instructions to implement the game processing method described in any embodiment of the present disclosure.

[0029] In a sixth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the processor implements the game processing method described in any embodiment of the present disclosure.

[0030] In a seventh aspect, an embodiment of the present disclosure further provides a computer program product, which is used to execute the game processing method described in any embodiment of the present disclosure.

[0031] In the game processing method, apparatus, device and storage medium of the disclosed embodiments, the client can respond to the game start operation of the target game and send a cloud game start request to the cloud game server to trigger the cloud game server to run the target game and generate a cloud game running result; the client displays the cloud game running result fed back by the cloud game server; during the cloud game running, the resource package of the target game is downloaded to the local storage space, and the resource package is loaded from the local storage space for off-screen rendering; the client determines the target game progress data of the target game after detecting the first switching condition, and continues to perform off-screen rendering based on the target game progress data to generate a local game running result; the client displays the local game running result The target game can be continued to run locally, and a cloud game end request is sent to the cloud game server to trigger the cloud game server to end the target game; after the client starts the target game locally, with the help of cloud gaming, users can enter the game interface more quickly for game experience, which greatly reduces the user waiting time and improves the user experience, thereby reducing the user churn rate caused by long game waiting time; and during the operation of cloud games, game resources are downloaded, loaded and rendered off-screen for local game implementation, so that cloud games and local games can be switched seamlessly, which speeds up the game entry speed while ensuring that the game entry effect and game content experience are basically the same, thereby improving the game experience.

[0032] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of the present disclosure are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.

[0034] Figure 1 A schematic diagram comparing the processing effects of a game processing method provided by an embodiment of the present disclosure;

[0035] Figure 2 A schematic diagram of interactive data flow of a game processing method provided by an embodiment of the present disclosure;

[0036] Figure 3 A flowchart of a game processing method provided by an embodiment of the present disclosure;

[0037] Figure 4 A schematic diagram of the relationship between the first view and the second view during the running of a game provided by an embodiment of the present disclosure;

[0038] Figure 5 A schematic diagram of the relationship between the first view and the second view during a game switching process provided by an embodiment of the present disclosure;

[0039] Figure 6 A flowchart of another game processing method provided by an embodiment of the present disclosure;

[0040] Figure 7 A schematic diagram of the structure of a game processing device provided by an embodiment of the present disclosure;

[0041] Figure 8 A schematic diagram of the structure of another game processing device provided by an embodiment of the present disclosure;

[0042] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0043] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0044] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0045] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0046] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0047] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0048] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0049] In the related art, platform-based games are restricted by platform rules and will split the game's resource package into the first package resource and the subsequent package resource. Figure 1 When the user starts the target game through the client corresponding to the platform, the client will first download and load the first package of resources, and render it to present the game startup interface to the user. During this process, the user may need to wait for about 10 seconds. Then, the client displays the relevant game screen, continues to download and load the necessary subsequent package resources, and renders them to officially enter the game experience interface. During this process, the user may need to wait for about 30 seconds. In this way, the user may need to wait a total of about 40 seconds before officially experiencing the game content. For larger games, the total waiting time may be longer. This will result in a poor user experience and may also cause some users to lose due to long waiting times.

[0050] Based on the above situation, the embodiment of the present disclosure provides a game processing solution, so that in the scenario of processing games relying on the platform, when the user starts the target game through the client, the cloud game server is accessed to run the target game through the cloud game mode, so that the user can experience the game content first; at the same time, the client locally executes the download, loading and off-screen rendering of the first package of resources and subsequent packages of resources of the target game, and seamlessly switches from the cloud game to the local game when the local resources are processed to the target game progress, so that the user continues to experience the game content in the local game mode, thereby ensuring the experience effect of the game content and shortening the waiting time for the user to play the game.

[0051] Continue to see Figure 1 Using the technical solution provided by the embodiment of the present disclosure, after the user starts the target game through the client, he only needs to wait for about 4 seconds to see the game startup interface, and then wait for 1 to 3 seconds to officially experience the game content of the target game running in the cloud game mode until switching to the local game mode. The user continues to play the game formally. The total waiting time of the process is 5 to 7 seconds. Even for large-scale games, it can quickly enter the game with the help of the capabilities of the cloud game server, greatly shortening the user's waiting time and improving the user experience.

[0052] See also Figure 2In the embodiment of the present disclosure, the system implementing the above-mentioned game processing technical solution may at least include the client of the platform on which the game relies, the server corresponding to the platform (referred to as the target server) and the cloud game server. The interactive data flow of the system implementing the above-mentioned game processing technical solution is as follows:

[0053] S201. The client sends a cloud game start request to the cloud game server in response to a game start operation of the target game.

[0054] S202. The cloud game server starts the target game in response to the cloud game start request, and sends a request to obtain historical game data to the target server.

[0055] S203: The target server responds to the historical game data acquisition request and feeds back the historical game data.

[0056] S204: The cloud game server runs the target game based on the historical game data, generates a cloud game running result, and during the running of the target game, synchronously stores the generated game progress data to the target server.

[0057] S205. The client displays the cloud game running results fed back by the cloud game server.

[0058] S206. While displaying the results of the cloud game operation, the client downloads the resource package of the target game to the local storage space, and loads the resource package from the local storage space for off-screen rendering.

[0059] S207. The client responds to the interactive operation corresponding to the target function and sends the interactive event information corresponding to the interactive operation to the cloud game server.

[0060] S208. The cloud game server generates and feeds back function interface call information based on the interaction event information.

[0061] S209: The client sends a function interface call request to the target server based on the function interface call information.

[0062] S210: The target server executes the target function based on the interaction event information, generates and feeds back the function execution result.

[0063] S211. The client sends the function execution result to the cloud game server.

[0064] S212. The cloud game server generates and feeds back cloud game interaction results based on the function execution results.

[0065] S213. The client displays the cloud game interaction result.

[0066] S214: If the client detects the first switching condition, it determines the target game progress data of the target game, and continues to perform off-screen rendering based on the target game progress data to generate a local game running result.

[0067] S215. The client displays the local game running result to continue running the target game locally, and sends a cloud game end request to the cloud game server.

[0068] S216. The cloud game server ends the target game in response to the cloud game end request.

[0069] For explanations of the terms and steps in the above steps, please refer to the detailed description of the relevant parts in the subsequent embodiments.

[0070] Figure 3 A flowchart of a game processing method provided by an embodiment of the present disclosure is shown. The game processing method applied to the client can be executed by a game processing device configured on the client, and the device can be implemented by software and / or hardware. The device can be integrated in an electronic device with network access capability, certain computing and processing capabilities, and display capabilities, such as a client device corresponding to the platform. The electronic device can include, but is not limited to, smart home devices such as smart phones, personal digital assistants (PDAs), tablet computers (Tablet Personal Computers, Tablet PCs), laptops, desktop computers, or smart TVs.

[0071] like Figure 3 As shown, the game processing method applied to the client may include the following steps:

[0072] S310. In response to a game start operation of a target game, a cloud game start request is sent to a cloud game server. The cloud game start request is used to trigger the cloud game server to run the target game and generate a cloud game running result.

[0073] The target game is a light game / small game that runs on the platform. The cloud game server is a server that runs the game remotely, in which the complete resource package of the target game (also called the full resource package) is installed to support the running and rendering of the cloud game.

[0074] Specifically, the user can perform an interactive operation (i.e., a game start operation) to start the target game he wants to play through the client. After the client detects the game start operation, it generates a cloud game start request based on the game identifier of the target game. Then, the cloud game start request is sent to the cloud game server.

[0075] After receiving the cloud game start request, the cloud game server can parse the game ID. Then, it obtains the full resource package corresponding to the game ID, loads the full resource package for game rendering, starts the target game in the cloud, and continues to run the target game to obtain the rendering result corresponding to the game start process, that is, the cloud game running result. Afterwards, the cloud game server sends the cloud game running result back to the client.

[0076] S320: Display the cloud game running result fed back by the cloud game server.

[0077] Specifically, the client receives and displays the cloud game running results. In this way, by displaying the cloud game running results continuously fed back by the cloud game server in real time, the client can quickly present the game startup interface and game running content to the user, so that the user can quickly experience the game content without having to wait for a long time.

[0078] In some embodiments, S320 includes: rendering and displaying the cloud game running result in a first view.

[0079] The first view is a view created after the target game is run. Since the first view is the first view created in the target game, it is the view closest to the display screen, and the rendering result in it can be directly presented to the user through the screen.

[0080] Specifically, after the electronic device receives the cloud game running result sent by the server, it can create a first view locally, render the cloud game running result therein, and display the rendered cloud game running result.

[0081] S330: Download the resource package of the target game to the local storage space, and load the resource package from the local storage space for off-screen rendering.

[0082] Specifically, the above steps can allow users to quickly experience the game content of the target game through cloud gaming. However, the cost of cloud gaming is higher than that of local games and is not suitable for long-term operation. Therefore, while displaying the cloud game running results, the client can download the resource package of the target game locally. In order to enable the user to switch between the subsequent cloud and local games without perception, the downloaded resource package can be pre-loaded and rendered to obtain the corresponding local game running results. In order not to affect the user's gaming experience during this process, the loading results can be rendered off-screen to generate the local game running results of the client (i.e., the local game running results).

[0083] The above-mentioned off-screen rendering is the process of opening up another buffer zone outside the current display screen for graphics rendering, which does not affect the rendering and display of the cloud game running results. Therefore, in this process, the client will continue to display the cloud game running results, while the local game running results will not be displayed.

[0084] In addition, during the above process, the client can first load and render a part of the resource package off-screen to start the game locally. Then, the client can continue to load and render another part of the resource package off-screen to enter the target game locally. The resource package here can be a combination of the first package resource and the subsequent package resource, or it can be a full package resource, as long as it meets the package size specified by the supporting platform.

[0085] In some embodiments, the off-screen rendering process in S330 may specifically include: creating a second view, and adjusting the hierarchical relationship between the first view and the second view so that the first view continues to be displayed on the screen; calling a focus acquisition function through the second view so that the second view obtains focus; loading the resource package from the local storage space, and rendering the loaded resource package in the second view to generate the local game running result.

[0086] The second view is another view created after running the target game, which is different from the first view.

[0087] Specifically, after the electronic device downloads the resource package of the target game locally, it can load the resource package from the local storage space into the local memory or cache. In addition, the electronic device can create a second view. Because the second view is created after the first view, it will automatically acquire the focus and be displayed on the screen. Therefore, after creating the second view, the electronic device can modify the view hierarchy of the second view and the view hierarchy of the first view so that the first view is still displayed at the front of the screen, while the second view is hidden under the first view and blocked. At the same time, in order to enable the second view to still render in response to the loaded resource package, the electronic device can call the focus acquisition function of the second view so that the second view can still acquire the view focus. Then, the electronic device parses the loaded resource package in the second view and performs a rendering process on it to generate a local game running result.

[0088] At this time, see Figure 4 , the first view that renders and displays the cloud game running results is in a user-visible state at the front of the screen so that the user can continue to experience the cloud game, while the second view that renders the local game running results is in a user-invisible state away from the screen so that the target game can continue to be loaded and rendered in the local background.

[0089] S340: If the first switching condition is detected, determine the target game progress data of the target game, and continue to perform off-screen rendering based on the target game progress data to generate a local game running result.

[0090] Among them, the first switching condition is a pre-set trigger condition on the client side for switching from a cloud game to a local game. For example, the first switching condition may be that all local game resources on the client side have been loaded, or that all local game resources on the client side have been rendered off-screen. Exemplarily, the first switching condition may be that off-screen rendering of resources for a custom game scene / level has been completed. This can be compatible with some games that include a custom startup interface after the basic startup interface is started, avoiding the process of waiting for the custom startup interface to be loaded and rendered after the game is switched back to the local game. Instead, the game is switched back to the local game at least after the target game is fully started, thereby further improving the game switching effect.

[0091] The target game progress data is the relevant data generated during the game operation process at the time of game switching and the period before the game switching. Exemplarily, the target game progress data may be the game progress data that is not stored in the client until the time of game switching. For example, if a part of the game progress data has been stored in the client, then the target game progress data is the game progress data except for the stored game progress data until the time of game switching. The game progress data may be stored in the target server or in the cloud game server.

[0092] Specifically, the client follows the above steps, on the one hand, continuously displays the cloud game running results for users to play the target game, and on the other hand, downloads, loads and processes off-screen rendering of local game resources. During this process, the client can monitor whether the first switching condition is met. If the first switching condition is not detected, continue the above process. If the first switching condition is detected, it means that the local game is ready and has the conditions to switch back to the local game. At this point, the client can first obtain the target game progress data of the target game. Then, according to the target game progress data, the game progress continues to be processed and rendered off-screen, and the local game running results corresponding to the target game progress data are generated. In this way, the local game progress can be kept consistent with the game progress in the cloud game server, avoiding the problem of game progress differences caused by game switching.

[0093] It should be noted that before detecting the first switching condition, the client may also periodically obtain the game progress data generated by the cloud gaming server, so that the client can periodically perform off-screen rendering locally to obtain the corresponding local game running results.

[0094] In some embodiments, S340 includes: if a first switching condition is detected, sending a cloud game switching request to the cloud game server; the cloud game switching request is used to trigger the cloud game server to store the game progress data generated during the operation of the target game when the second switching condition is detected; if a data storage completion message is detected from the cloud game server, the target game progress data is obtained.

[0095] Among them, the second switching condition is a pre-set trigger condition of the cloud game server for switching from a cloud game to a local game. For example, the second switching condition may be receiving a cloud game switching request sent by the client, or it may be a certain game progress, etc. Exemplarily, the second switching condition is that the game progress of a preset level of the target game reaches a preset progress. The preset level may be the game level in progress when the cloud game switching request sent by the client is received, or it may be a pre-set specific game level. The preset progress is the game progress of a preset level, which is used to determine whether the preset level has ended.

[0096] Specifically, when the client detects the first switching condition, it first sends a cloud game switching request to the cloud game server to synchronize the game progress data of the target game to ensure that the local game progress is consistent with the cloud game progress.

[0097] After receiving the cloud game switching request, the cloud game server can detect whether the second switching condition is met. If not, it can be considered that the target game progress at this time cannot well ensure the experience effect after the game switching, and the target game continues to run in cloud gaming mode. If it is reached, it is believed that the game progress at this time can achieve seamless switching of the cloud game to the local game. At this time, the cloud game server can store the game progress data generated during the operation of the target game. For example, the cloud game server may communicate with the client again to determine the game progress data currently stored in the client, and then store the game progress data that is not in the client. For another example, the cloud game server can directly store all the game progress data. When the game progress data is stored, the cloud game server may send a data storage completion message to the client.

[0098] When the client receives the data storage completion message, it sends a data acquisition request to the server that stores the data (which can be the target server or the cloud game server) based on the game progress data stored in the client to obtain the target game progress data.

[0099] By setting and detecting the second switching condition, the consistency of the game progress at both ends when the game is switched can be further improved, thereby further improving the game running effect.

[0100] In some embodiments, the game progress data is stored in the target server corresponding to the client. That is, when the cloud game server detects the second switching condition, it synchronizes the game progress data generated by it to the target server. Figure 2 As described in S204, in this embodiment, the cloud gaming server can synchronize the game progress data generated by it to the target server in real time or periodically.

[0101] Based on the above embodiment, if a data storage completion message is detected from the cloud gaming server, the target game progress data is obtained, including: if a data storage completion message is detected, a data synchronization request is sent to the target server; the data synchronization request is used to trigger the target server to determine the incremental game progress data relative to the game progress data stored in the client, and determine the incremental game progress data as the target game progress data; receive the target game progress data fed back by the target server.

[0102] Specifically, since the game progress data is stored in the target server, the client can send a data synchronization request to the target server based on the information of the game progress data stored in the client when detecting the data storage completion message. The target server determines the incremental game progress data based on the information of the game progress data stored in the client, and determines the incremental game progress data as the target game progress data and sends it to the client. In this way, the client can obtain the target game progress data.

[0103] By synchronizing the game progress data to the target server and then synchronizing it to the client from the target server, the amount of communication data between the client and the cloud gaming server can be reduced to a certain extent, and the game progress data can be efficiently transmitted by relying on the communication channel between the client and the target server, thereby further improving the efficiency of game operation and switching.

[0104] S350, display the local game running results to continue running the target game locally, and send a cloud game end request to the cloud game server; the cloud game end request is used to trigger the cloud game server to end the target game.

[0105] Specifically, the client can display the local game running results corresponding to the above target game progress data. Because all local game resources have been processed, the client can continue to run the target game locally in the subsequent process. At the same time, the client can send a cloud game end request to the cloud game server according to the game identifier of the target game. After the cloud game server receives the cloud game end request, it stops the operation of the target game corresponding to the game identifier. At this point, the seamless switching between cloud games and local games is completed.

[0106] In some embodiments, the view processing process of switching to the local game in S350 is: hiding the first view to display the local game running result of the second view, and continuing to run the target game locally.

[0107] Specifically, see Figure 5 , when the target game finishes running the current level 1, the game switch is executed. Then, after the user clicks the interactive control of "Next Level 2", the electronic device switches the cloud game to the local game. At this time, the electronic device can hide the first view (such as deleting the first view, or setting the first view to an invisible attribute, etc.) to end the display of the cloud game running results. In this way, the second view will become the view closest to the display screen and automatically obtain the view focus and be displayed, so that the user can continue to experience the target game in the second view without perception, completing the game switching process on the local side.

[0108] The game processing method applied to the client provided by the above-mentioned embodiments of the present disclosure can respond to the game start operation of the target game, send a cloud game start request to the cloud game server, so as to trigger the cloud game server to run the target game and generate a cloud game running result; the client displays the cloud game running result fed back by the cloud game server; during the cloud game running, the resource package of the target game is downloaded to the local storage space, and the resource package is loaded from the local storage space for off-screen rendering; after detecting the first switching condition, the client determines the target game progress data of the target game, and continues to perform off-screen rendering based on the target game progress data to generate a local game running result; the client displays the local game running result , to continue running the target game locally, and send a cloud game end request to the cloud game server to trigger the cloud game server to end the target game; after the client starts the target game locally, with the help of cloud gaming, users can enter the game interface more quickly for game experience, greatly reducing the user waiting time and improving the user experience, thereby reducing the user churn rate caused by long game waiting time; and, during the operation of cloud games, download, load and render game resources off-screen for local game implementation, so that cloud games and local games can be switched seamlessly, while accelerating the game entry speed, ensuring that the game entry effect and the experience of the game content are basically the same, thereby improving the game experience.

[0109] In some embodiments, after S320, the game processing method further includes: Figure 2 The process of S207 to S212 shown in the figure can be specifically implemented as the following steps A to D:

[0110] Step A: In response to the interactive operation corresponding to the target function, the interactive event information corresponding to the interactive operation is sent to the cloud game server; the interactive event information is used to trigger the cloud game server to generate and feedback function interface call information.

[0111] The target function is not a game function, but a function of the platform on which the game relies. For example, the target function can be a social function or a search function provided by the client. Interaction event information is information used to describe the interaction event generated by the interaction operation, such as information about the interaction operation and its operation object. Function interface call information is information that represents the function interface to be called, such as the identifier of the function interface.

[0112] Specifically, if it is a local game, when the user performs an interactive operation corresponding to the target function on the target game, the client can detect the interactive operation, and then call the functional interface corresponding to the target function in response to the interactive operation to access the target server to implement the target function. However, in the process of running the target game in a cloud game mode, the client will send the interactive event information generated by the interactive operation to the cloud game server. The cloud game server does not have the ability to directly call the functional interface corresponding to the target function in the target server. Therefore, the cloud game server generates functional interface call information based on the interactive event information and feeds it back to the client.

[0113] Step B: Send a function interface call request to the target server corresponding to the client based on the function interface call information; the function interface call request is used to trigger the target server to execute the target function based on the interaction event information, generate and feedback the function execution result.

[0114] Specifically, the client calls the functional interface corresponding to the target function according to the functional interface calling information, so as to send a calling request of the functional interface to the target server.

[0115] The target server responds to the function interface call request, executes the target function according to the interaction event information carried in the request, generates the function execution result, and feeds it back to the client.

[0116] Step C: Send the function execution result to the cloud game server; the function execution result is used to trigger the cloud game server to generate and feedback the cloud game interaction result.

[0117] Specifically, because the target game is running on the cloud game server, the client needs to send the function execution result to the cloud game server. The cloud game server renders and generates the cloud game interaction result according to the function execution result, and feeds it back to the client.

[0118] Step D: Display the cloud game interaction results.

[0119] Specifically, the client displays the cloud game interaction results as a result of the above-mentioned interactive operations.

[0120] In this embodiment, the process of information interaction with the server executed in the target game is implemented by the software development kit integrated in the client. Based on this, in the embodiment of the present disclosure, the functional framework of interaction with the server involved in the above embodiments can be added to the software development kit. In this way, the software development kit can provide the above information interaction function, and it can judge whether the current operating environment is a cloud environment or a client local environment. In this way, game developers do not need secondary development. They only need to install the full resource package of the target game to the cloud game server, and the target game is connected to the above software development kit, so that the cloud game of the target game of the embodiment of the present disclosure can realize the platform capabilities of the client.

[0121] Figure 6 A flowchart of another game processing method provided by an embodiment of the present disclosure is shown. The game processing method applied to a cloud game server can be executed by a game processing device configured on the cloud game server, which can be implemented by software and / or hardware, and can be integrated in an electronic device corresponding to the cloud game server, such as a super notebook computer, a desktop computer, a server or a server cluster.

[0122] like Figure 6 As shown, the game processing method applied to the cloud game server may include the following steps:

[0123] S610. In response to a cloud game start request sent by the client, run the target game and generate a cloud game run result; wherein the cloud game start request is generated by the client in response to a game start operation of the target game.

[0124] In some embodiments, S610 includes: responding to a cloud game start request, loading a full resource package of a target game for rendering, so as to run the target game and generate a cloud game running result.

[0125] Specifically, a detailed explanation of the process may refer to the description of the above S310 and its related embodiments.

[0126] S620: Send the cloud game running result to the client; the cloud game running result is used to trigger the client to display the cloud game running result.

[0127] Specifically, for a detailed explanation of this step, please refer to the description of the above S320 and its related embodiments.

[0128] In some embodiments, after S620, the game processing method also includes: responding to a cloud game switching request sent by the client, determining whether a second switching condition is detected; wherein the cloud game switching request is generated by the client when the first switching condition is detected; if so, storing the game progress data generated during the operation of the target game, and generating a data storage completion message after the data storage is completed; sending the data storage completion message to the client; the data storage completion message is used to trigger the client to obtain the target game progress data for off-screen rendering, generate and display the local game operation results, so as to continue running the target game locally.

[0129] Specifically, a detailed explanation of the process may refer to the description of the above S360 and its related embodiments.

[0130] In some embodiments, determining whether the second switching condition is detected includes: determining whether the target game progress of the target game reaches a preset progress of a preset level; if so, the second switching condition is detected; if not, the second switching condition is not detected.

[0131] Specifically, a detailed explanation of the process may refer to the description of the above S360 and its related embodiments.

[0132] S630. In response to a cloud game end request sent by the client, end the target game; wherein the cloud game end request is generated after the client downloads, loads and renders the resource package of the target game off-screen, detects the first switching condition and obtains the target game progress data to perform local operation of the target game.

[0133] Specifically, the detailed explanation of this step can refer to the description of the above S330 to S350 and related embodiments.

[0134] In some embodiments, before S630, the game processing method also includes: generating and feeding back function interface call information in response to interaction event information sent by the client; wherein the interaction event information is generated by the client in response to the interaction operation corresponding to the target function; the function interface call information is used to trigger the client to send a function interface call request to the target server; the function interface call request is used to trigger the target server to execute the target function based on the interaction event information, generate a function execution result, and send the function execution result to the cloud game server through the client; generate a cloud game interaction result based on the function execution result, and send the cloud game interaction result to the client for display.

[0135] Specifically, a detailed explanation of the process can be found in the description of the above steps A to D and their related embodiments.

[0136] The game processing method applied to the cloud game server provided by the above-mentioned embodiments of the present disclosure can respond to the cloud game start request sent by the client, run the target game, and generate the cloud game running result; wherein the cloud game start request is generated by the client in response to the game start operation of the target game; the cloud game running result is sent to the client; the cloud game running result is used to trigger the client to display the cloud game running result; in response to the cloud game end request sent by the client, the target game is ended; wherein the cloud game end request is generated after the client downloads, loads and renders the resource package of the target game off-screen, and detects the first switching condition to obtain the target game progress data to perform local operation of the target game; after the client locally starts the target game, with the help of the cloud game method, the user enters the game interface more quickly to experience the game, greatly reduces the user waiting time, improves the user experience, and thus reduces the user churn rate caused by long waiting for the game; and, during the operation of the cloud game, downloads, loads and renders the game resources off-screen to implement the local game, so that the cloud game and the local game are seamlessly switched, while accelerating the game entry speed, ensuring that the game entry effect and the experience of the game content are basically the same, thereby improving the game experience effect.

[0137] Figure 7 FIG. 1 is a schematic diagram showing the structure of a game processing device provided by an embodiment of the present disclosure. The game processing device configured on the client and the game processing method applied to the client in the above-mentioned embodiments belong to the same inventive concept. For details not described in detail in the embodiment of the game processing device, reference can be made to the above-mentioned embodiments of the game processing method applied to the client. Figure 7 As shown, the game processing device 700 may include:

[0138] The cloud game start request sending module 710 is used to send a cloud game start request to the cloud game server in response to the game start operation of the target game; the cloud game start request is used to trigger the cloud game server to run the target game and generate a cloud game running result;

[0139] The cloud game running result display module 720 is used to display the cloud game running result fed back by the cloud game server;

[0140] Resource download module 730, used to download the resource package of the target game to the local storage space, and load the resource package from the local storage space for off-screen rendering;

[0141] The local game running result generating module 740 is used to determine the target game progress data of the target game if the first switching condition is detected, and continue to perform off-screen rendering based on the target game progress data to generate the local game running result;

[0142] The target game local running module 750 is used to display the local game running results, to continue running the target game locally, and to send a cloud game end request to the cloud game server; the cloud game end request is used to trigger the cloud game server to end the target game.

[0143] In some embodiments, the local game running result generation module 740 includes:

[0144] A cloud game switching request sending submodule, used to send a cloud game switching request to the cloud game server if a first switching condition is detected; the cloud game switching request is used to trigger the cloud game server to store game progress data generated during the operation of the target game when a second switching condition is detected;

[0145] The target game progress data acquisition submodule is used to acquire the target game progress data if a data storage completion message fed back by the cloud game server is detected;

[0146] The local game running result generation submodule is used to continue off-screen rendering based on the target game progress data to generate the local game running result.

[0147] In some embodiments, the game progress data is stored in a target server corresponding to the client;

[0148] Accordingly, the target game progress data acquisition submodule is specifically used for:

[0149] If a data storage completion message is detected, a data synchronization request is sent to the target server; the data synchronization request is used to trigger the target server to determine the incremental game progress data relative to the game progress data stored in the client, and determine the incremental game progress data as the target game progress data;

[0150] Receive the target game progress data fed back by the target server.

[0151] In some embodiments, the second switching condition is that the game progress of a preset level of the target game reaches a preset progress.

[0152] In some embodiments, the game processing device 700 further includes an interaction processing module of a target function, which is used to:

[0153] After displaying the cloud game running results fed back by the cloud game server, in response to the interactive operation corresponding to the target function, the interactive event information corresponding to the interactive operation is sent to the cloud game server; the interactive event information is used to trigger the cloud game server to generate and feed back the function interface call information;

[0154] Send a function interface call request to the target server corresponding to the client based on the function interface call information; the function interface call request is used to trigger the target server to execute the target function based on the interaction event information, generate and feedback the function execution result;

[0155] Send the function execution result to the cloud game server; the function execution result is used to trigger the cloud game server to generate and feedback the cloud game interaction result;

[0156] Displays the cloud game interaction results.

[0157] Figure 8 The schematic diagram of the structure of another game processing device provided by the embodiment of the present disclosure is shown. The game processing device configured on the cloud game server and the game processing method applied to the cloud game server in the above embodiments belong to the same inventive concept. For details not described in detail in the embodiment of the game processing device, reference can be made to the above embodiments of the game processing method applied to the cloud game server. Figure 8 As shown, the game processing device 800 may include:

[0158] The cloud game running result generating module 810 is used to respond to the cloud game starting request sent by the client, run the target game, and generate the cloud game running result; wherein the cloud game starting request is generated by the client in response to the game starting operation of the target game;

[0159] The cloud game running result sending module 820 is used to send the cloud game running result to the client; the cloud game running result is used to trigger the client to display the cloud game running result;

[0160] The target game ending module 830 is used to end the target game in response to the cloud game ending request sent by the client; wherein the cloud game ending request is generated after the client downloads, loads and renders the resource package of the target game off-screen, and detects the first switching condition to obtain the target game progress data and perform local operation of the target game.

[0161] In some embodiments, the cloud game running result generation module 810 is specifically used to:

[0162] In response to a cloud game start request, the full resource package of the target game is loaded for rendering to run the target game and generate a cloud game running result.

[0163] In some embodiments, the game processing device 800 further includes:

[0164] A second switching condition detection module, used to determine whether a second switching condition is detected in response to a cloud game switching request sent by the client before ending the target game in response to a cloud game ending request sent by the client; wherein the cloud game switching request is generated by the client when the first switching condition is detected;

[0165] A game progress data storage module, for storing the game progress data generated during the running process of the target game, and generating a data storage completion message after the data storage is completed;

[0166] The data storage completion message sending module is used to send the data storage completion message to the client; the data storage completion message is used to trigger the client to obtain the target game progress data for off-screen rendering, generate and display the local game running results, so as to continue running the target game locally.

[0167] In some embodiments, the second switching condition detection module is specifically used to:

[0168] Determine whether the target game progress of the target game reaches the preset progress of the preset level;

[0169] If yes, a second switching condition is detected;

[0170] If not, the second switching condition is not detected.

[0171] In some embodiments, the game processing device 800 further includes an interaction processing module of a target function, which is used to:

[0172] In response to the cloud game end request sent by the client and before ending the target game, generate and feedback function interface call information in response to the interactive event information sent by the client; wherein the interactive event information is generated by the client in response to the interactive operation corresponding to the target function; the function interface call information is used to trigger the client to send a function interface call request to the target server; the function interface call request is used to trigger the target server to execute the target function based on the interactive event information, generate a function execution result, and send the function execution result to the cloud game server through the client;

[0173] Generate cloud game interaction results based on the function execution results, and send the cloud game interaction results to the client for display.

[0174] The game processing device provided in the embodiment of the present invention can execute the game processing method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0175] It is worth noting that in the embodiment of the above-mentioned game processing device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this disclosure.

[0176] The disclosed embodiment also provides an electronic device, which may include a processor and a memory, wherein the memory may be used to store executable instructions. The processor may be used to read the executable instructions from the memory and execute the executable instructions to implement the game processing method in the above embodiment.

[0177] Fig. 9 A schematic structural diagram of an electronic device provided by an embodiment of the present disclosure is shown.

[0178] like Fig. 9 As shown, the electronic device 900 may include a processing device 901 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage device 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the electronic device 900 are also stored. The processing device 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output interface (I / O interface) 905 is also connected to the bus 904.

[0179] Typically, the following devices may be connected to the I / O interface 905: an input device 906 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 907 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 908 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 909. The communication device 909 may allow the electronic device 900 to communicate with other devices wirelessly or by wire to exchange data.

[0180] It should be noted that Fig. 9 The electronic device 900 shown is only an example and should not limit the functions and scope of use of the embodiments of the present disclosure. Fig. 9 The electronic device 900 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0181] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transient computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 909, or installed from a storage device 908, or installed from a ROM 902. When the computer program is executed by the processing device 901, the above-mentioned functions defined in the game processing method of any embodiment of the present disclosure are executed.

[0182] The embodiments of the present disclosure further provide a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the processor implements the game processing method in any embodiment of the present disclosure.

[0183] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0184] In some embodiments, the client and server may communicate using any target known or future developed network protocol such as HTTP, and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any target known or future developed network.

[0185] The computer-readable medium may be included in the electronic device, or may exist independently without being installed in the electronic device.

[0186] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the game processing method described in any embodiment of the present disclosure.

[0187] In embodiments of the present disclosure, computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including but not limited to object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as a separate software package, partially on a user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0188] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the equipment, method and computer program product according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0189] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0190] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0191] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0192] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0193] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A game processing method, characterized in that: Applied to the client, including: In response to a game start operation of the target game, a cloud game start request is sent to the cloud game server; the cloud game start request is used to trigger the cloud game server to run the target game and generate a cloud game running result; Display the cloud game running result fed back by the cloud game server; Downloading the resource package of the target game to a local storage space, and loading the resource package from the local storage space for off-screen rendering; If the first switching condition is detected, determining the target game progress data of the target game, and continuing the off-screen rendering based on the target game progress data to generate a local game running result; The local game running result is displayed to continue running the target game locally, and a cloud game end request is sent to the cloud game server; the cloud game end request is used to trigger the cloud game server to end the target game.

2. The method according to claim 1, characterized in that The displaying of the cloud game running result fed back by the cloud game server includes: Rendering and displaying the cloud game running result in the first view; The loading of the resource package from the local storage space for off-screen rendering includes: Creating a second view, and adjusting the hierarchical relationship between the first view and the second view so that the first view is continuously displayed on the screen; Calling a focus acquisition function through the second view so that the second view acquires focus; The resource package is loaded from the local storage space, and the loaded resource package is rendered in the second view to generate the local game running result.

3. The method according to claim 2, characterized in that The displaying of the local game running result to continue running the target game locally includes: The first view is hidden to display the local game running result of the second view, and the target game continues to run locally.

4. The method according to claim 1, characterized in that: If the first switching condition is detected, determining the target game progress data of the target game comprises: If the first switching condition is detected, a cloud game switching request is sent to the cloud game server; the cloud game switching request is used to trigger the cloud game server to store the game progress data generated during the running process of the target game when the second switching condition is detected; If a data storage completion message fed back by the cloud game server is detected, the target game progress data is obtained.

5. The method according to claim 4, characterized in that The game progress data is stored in the target server corresponding to the client; If the data storage completion message fed back by the cloud game server is detected, obtaining the target game progress data includes: If the data storage completion message is detected, a data synchronization request is sent to the target server; the data synchronization request is used to trigger the target server to determine the incremental game progress data relative to the game progress data stored in the client, and determine the incremental game progress data as the target game progress data; Receive the target game progress data fed back by the target server.

6. The method according to claim 1, characterized in that After displaying the cloud game running result fed back by the cloud game server, the method further includes: In response to the interactive operation corresponding to the target function, the interactive event information corresponding to the interactive operation is sent to the cloud game server; the interactive event information is used to trigger the cloud game server to generate and feedback function interface call information; Sending a function interface call request to the target server corresponding to the client based on the function interface call information; the function interface call request is used to trigger the target server to execute the target function based on the interaction event information, and generate and feedback the function execution result; Sending the function execution result to the cloud game server; the function execution result is used to trigger the cloud game server to generate and feedback the cloud game interaction result; The cloud game interaction result is displayed.

7. A game processing method, characterized in that: Applied to cloud gaming servers, including: In response to a cloud game start request sent by a client, run a target game and generate a cloud game run result; wherein the cloud game start request is generated by the client in response to a game start operation of the target game; Sending the cloud game running result to the client; the cloud game running result is used to trigger the client to display the cloud game running result; In response to a cloud game end request sent by the client, the target game is ended; wherein the cloud game end request is generated after the client downloads, loads and renders the resource package of the target game off-screen, detects the first switching condition and obtains the target game progress data to perform local operation of the target game.

8. The method according to claim 7, characterized in that The responding to the cloud game start request sent by the client, running the target game, and generating the cloud game running result includes: In response to the cloud game start request, the full resource package of the target game is loaded for rendering to run the target game and generate the cloud game running result.

9. The method according to claim 7, characterized in that: Before the target game is ended in response to the cloud game end request sent by the client, the method further includes: In response to the cloud game switching request sent by the client, determining whether a second switching condition is detected; wherein the cloud game switching request is generated by the client when the first switching condition is detected; If yes, then storing the game progress data generated during the running of the target game, and generating a data storage completion message after the data storage is completed; The data storage completion message is sent to the client; the data storage completion message is used to trigger the client to obtain the target game progress data for off-screen rendering, generate and display the local game running results, so as to continue running the target game locally.

10. The method according to claim 9, characterized in that The determining whether the second switching condition is detected includes: Determining whether the target game progress of the target game reaches a preset progress of a preset level; If yes, the second switching condition is detected; If not, the second switching condition is not detected.

11. The method according to claim 7, characterized in that Before the target game is ended in response to the cloud game end request sent by the client, the method further includes: In response to the interactive event information sent by the client, generate and feedback function interface call information; wherein the interactive event information is generated by the client in response to the interactive operation corresponding to the target function; the function interface call information is used to trigger the client to send a function interface call request to the target server; the function interface call request is used to trigger the target server to execute the target function based on the interactive event information, generate a function execution result, and send the function execution result to the cloud game server through the client; A cloud gaming interaction result is generated based on the function execution result, and the cloud gaming interaction result is sent to the client for display.

12. A game processing device, characterized in that: Configured on the client, including: A cloud game start request sending module, used to send a cloud game start request to a cloud game server in response to a game start operation of a target game; the cloud game start request is used to trigger the cloud game server to run the target game and generate a cloud game running result; A cloud game running result display module, used to display the cloud game running result fed back by the cloud game server; A resource download module, used to download the resource package of the target game to a local storage space, and load the resource package from the local storage space for off-screen rendering; A local game running result generating module, configured to determine target game progress data of the target game if a first switching condition is detected, and continue to perform off-screen rendering based on the target game progress data to generate a local game running result; The target game local running module is used to display the local game running results, to continue running the target game locally, and to send a cloud game end request to the cloud game server; the cloud game end request is used to trigger the cloud game server to end the target game.

13. A game processing device, characterized in that: Configured on the cloud gaming server, including: A cloud game running result generating module, used to respond to a cloud game starting request sent by a client, run a target game, and generate a cloud game running result; wherein the cloud game starting request is generated by the client in response to a game starting operation of the target game; A cloud game running result sending module, used to send the cloud game running result to the client; the cloud game running result is used to trigger the client to display the cloud game running result; The target game ending module is used to end the target game in response to the cloud game ending request sent by the client; wherein the cloud game ending request is generated after the client downloads, loads and renders the resource package of the target game off-screen, detects the first switching condition and obtains the target game progress data to perform local operation of the target game.

14. An electronic device, characterized in that: include: processor; A memory for storing executable instructions; The processor is used to read the executable instructions from the memory and execute the executable instructions to implement the game processing method described in any one of claims 1-11.

15. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the game processing method described in any one of claims 1 to 11.

Citation Information

Cited By

  • Information processing method and device in game, electronic equipment and storage medium

    CN119925910A