Cloud game update method and apparatus, electronic device, medium, and program product
By automatically detecting and updating cloud game launch events, acquiring game screens and performing inspections, the problem of low efficiency in cloud game hot updates has been solved, achieving automated and efficient updates, and improving the quantity and timeliness of update processing.
Patent Information
- Application Number
- PCT/CN2025/087754
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-07-18
- Filing Date
- 2025-04-08
- Publication Date
- 2026-01-22
AI Technical Summary
The hot update method for cloud gaming is inefficient, and the number of manual updates is limited, making it impossible to respond to update requests in a timely manner.
By detecting the launch event of cloud games, obtaining the launch time, and determining whether the preset update inspection trigger conditions are met, the system automatically acquires game screens for inspection, determines update requirements based on the screen content, and automatically downloads and updates cloud game resources, thereby achieving automatic hot update inspection and hot update.
It improves the efficiency of cloud game updates, increases the number of updates processed, enables timely responses outside of human working hours, and solves the problem of low efficiency in manual hot-update methods.
Smart Images

Figure CN2025087754_22012026_PF_FP_ABST
Abstract
Description
Cloud gaming update methods, devices, electronic devices, media and program products
[0001] This application claims priority to Chinese Patent Application No. 202410969651.5, filed on July 18, 2024, the disclosure of which is incorporated herein by reference in its entirety. Technical Field
[0002] This disclosure relates to a cloud gaming update method, apparatus, electronic device, medium, and program product. Background Technology
[0003] Cloud gaming is an online gaming technology based on cloud computing. It enables gaming devices with relatively limited graphics processing and data processing capabilities to run high-quality games. In a cloud gaming scenario, the game runs on a cloud server, which renders the game scene as a multimedia data stream, which is then transmitted to the gaming device via the network. The gaming device can then play the multimedia data, receive player input commands, and send them to the cloud server.
[0004] Currently, hot updates allow gamers to experience the latest game content immediately upon launching a cloud game, without waiting for downloads. However, the traditional hot update method involves manually starting the game terminal device periodically and loading the cloud game. Once the update interface appears, the update is manually clicked. This method reduces the efficiency of cloud game updates, and the number of cloud game updates that can be processed manually per day is limited. Summary of the Invention
[0005] This disclosure provides a cloud gaming update method, apparatus, electronic device, medium, and program product, which can improve cloud gaming update efficiency and increase the number of cloud gaming update processes.
[0006] In a first aspect, embodiments of this disclosure provide a cloud gaming update method, including:
[0007] The launch event of the target cloud game is detected, and the launch time of the target cloud game is obtained;
[0008] If the target cloud game is determined to meet the preset update inspection triggering conditions based on the startup time, then the game screen of the target cloud game is obtained, and the update inspection result of the target cloud game is determined based on the game screen.
[0009] If the update inspection result meets the preset update conditions, then the target cloud game is updated according to the target resources of the target cloud game, wherein the target resources represent the cloud game resources being updated.
[0010] Secondly, this disclosure also provides a cloud gaming update device, which includes:
[0011] The time acquisition module is used to detect the launch event of the target cloud game and acquire the launch time of the target cloud game;
[0012] The update inspection module is used to obtain the game screen of the target cloud game and determine the update inspection result of the target cloud game based on the game screen if the target cloud game meets the preset update inspection triggering conditions based on the startup time.
[0013] The cloud gaming update module is used to update the target cloud game according to the target resources of the target cloud game if the update inspection result meets the preset update conditions, wherein the target resources represent the cloud game resources to be updated.
[0014] Thirdly, embodiments of this disclosure also provide an electronic device, the electronic device comprising:
[0015] One or more processors;
[0016] Storage device for storing one or more programs.
[0017] When the one or more programs are executed by the one or more processors, the one or more processors implement the cloud gaming update method as described in any embodiment of this disclosure.
[0018] Fourthly, embodiments of this disclosure also provide a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform the cloud gaming update method as described in any embodiment of this disclosure.
[0019] Fifthly, embodiments of this disclosure also provide a computer program product, including a computer program that, when executed by a processor, implements the cloud gaming update method as described in any embodiment of this disclosure. Attached Figure Description
[0020] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.
[0021] Figure 1 is a schematic flowchart of a cloud gaming update method provided in an embodiment of this disclosure;
[0022] Figure 2 is a flowchart illustrating another cloud gaming update method provided in an embodiment of this disclosure;
[0023] Figure 3 is a flowchart illustrating another cloud gaming update method provided in this embodiment of the present disclosure;
[0024] Figure 4 is a schematic diagram of a cloud gaming update device provided in an embodiment of this disclosure;
[0025] Figure 5 is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0026] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0027] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.
[0028] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based 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". Definitions of other terms will be given in the description below.
[0029] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0030] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0031] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0032] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.
[0033] Figure 1 is a schematic flowchart of a cloud gaming update method provided in an embodiment of this disclosure. This embodiment is applicable to the automatic update of cloud games, such as automatically checking for cloud game updates and automatically extracting the corresponding update resources for cloud game updates. This method can be executed by a cloud gaming update device, which can be implemented in software and / or hardware, optionally through an electronic device, such as a server.
[0034] As shown in Figure 1, the method includes:
[0035] S110. Detect the launch event of the target cloud game and obtain the launch time of the target cloud game.
[0036] Here, "target cloud game" represents the cloud game that is launched. "Launch event" represents the event that launches the target cloud game. For example, the launch event can be triggered by: a launch operation for the target cloud game within the cloud game client, or a scheduled launch task for the target cloud game.
[0037] Players can proactively send a launch request to the target server via a cloud gaming client. This prompts the target server to pass the launch event to the server-side inspection service, which then launches the target cloud game. The system then checks if the attributes of the currently launched target cloud game meet the preset update inspection configuration information to determine if the target cloud game satisfies the preset update inspection trigger conditions. In this method, the container performing the hot update inspection is also the container running the target cloud game, thus saving container resources.
[0038] Alternatively, a scheduled startup task can be sent from the server to the target server to trigger a startup event. The target server then passes the startup event to the server-side inspection service, enabling timely inspection of the target cloud game. Since the container corresponding to the hot-update inspection program is isolated from the container running the target cloud game, the hot-update inspection has no impact on the operation of the target cloud game. When container resources fall below a set resource threshold, the container performing the hot-update inspection is converted to the container running the target cloud game, alleviating the problem of computing resource shortages in the distributed system.
[0039] For example, the server detects that a target cloud game has been launched by a player and obtains the launch time of the target cloud game. Alternatively, the server determines the launch time of the target cloud game based on the execution cycle of the scheduled launch task corresponding to the target cloud game.
[0040] The server can determine the execution cycle of scheduled tasks based on the cloud game's launch frequency. For example, for cloud games that don't update frequently, a longer cycle can be set to avoid consuming excessive computing resources due to frequent launches. For cloud games that update frequently, a shorter cycle can be set to ensure timely launches and enable hot-update monitoring.
[0041] S120. If the target cloud game meets the preset update inspection triggering conditions based on the startup time, then the game screen of the target cloud game is obtained, and the update inspection result of the target cloud game is determined based on the game screen.
[0042] The preset update inspection trigger conditions are used to trigger hot update inspection tasks. Hot update inspection tasks are used to perform hot update inspections and automatically perform hot updates for the target cloud game if one is available. Hot update inspections are used to detect whether a target cloud game has a hot update. For example, preset update inspection trigger conditions include the startup time falling within a pre-configured inspection trigger time period.
[0043] Optionally, if no gamer launches the cloud game during the inspection triggering time period, i.e. the launch time of the target cloud game does not fall within the inspection triggering time period, the target cloud game can be launched by a timed task, thus determining that the target cloud game meets the preset update inspection triggering conditions.
[0044] Game screenshots can represent the content of the target cloud game. For example, the game screenshots can be screenshots taken within a set time period after the target cloud game starts. Specifically, if the target cloud game meets the preset update check trigger conditions, screenshots of the game within x minutes after the cloud game starts can be taken from the container corresponding to the target cloud game. Here, the container corresponding to the target cloud game is a virtual component on the target server node, which can be the server running the cloud game. The cloud game runs in the container on the target server node, and the container renders the game scene as a multimedia data stream.
[0045] The updated inspection results indicate whether the target cloud game has undergone hot updates. It can determine whether there are controls and / or prompts related to hot updates within the game screen. If yes, the inspection results are updated to indicate that the target cloud game has undergone hot updates. If not, the inspection results are updated to indicate that the target cloud game does not have hot updates.
[0046] For example, preset update inspection configuration information is obtained, wherein the preset update inspection configuration information includes an inspection trigger time period and an update inspection keyword; if the start time is within the inspection trigger time period, it is determined that the target cloud game meets the preset update inspection trigger condition; the target cloud game running on the target server node is screenshotted to obtain the game screen; text information in the game screen is obtained, and the text information is matched with the update inspection keyword to obtain the update inspection result.
[0047] In this embodiment of the disclosure, the inspection configuration information can be configured and updated through a configuration page. For example, the configuration page may include an inspection trigger time period configuration item and an update inspection keyword configuration item. Optionally, the configuration page may also include at least one of the following: an inspection trigger frequency configuration item, a screenshot time interval configuration item, an automatic hot-update script configuration item, and a script parameter configuration item.
[0048] The automatic hot-update script is used to automate in-game hot-updates. This includes extracting target resources from the target cloud game, generating an update resource package based on those resources, and, after the update resources are downloaded, generating a cloud game image based on the update resource package and distributing it to the target server node. For example, the automatic hot-update script can simulate click operations on target controls in the cloud game screen. And / or, it can simulate login operations for the cloud game, and after successful login, simulate click operations on target controls in the cloud game screen, etc.
[0049] The inspection trigger time period is used to characterize the time interval within which a hot update is detected for the target cloud game. If the launch time of the target cloud game falls within the inspection trigger time period, it is determined that the target cloud game meets the preset update inspection trigger conditions, and a hot update inspection is performed on the target cloud game. For example, if the target cloud game meets the preset update inspection trigger conditions, the game screen within the container during the set time period after the target cloud game starts is obtained. Text recognition is performed on the game screen to obtain the text information in the game screen. The text information in each cloud game screen is compared with the update inspection keywords to determine whether the text information contains the update inspection keywords, which is taken as the update inspection result.
[0050] Since the update inspection keyword is associated with cloud gaming hot updates, it's possible to determine if a target cloud game has undergone a hot update by checking if the game screen contains the update inspection keyword. For example, the update inspection keyword could be an update prompt message. In some embodiments, the update prompt message includes text prompts and update prompt controls.
[0051] Optionally, if the text information contains the update inspection keyword, then the update inspection result is determined to meet the preset update conditions. The preset update conditions specify the conditions for triggering a cloud game hot update. If the update inspection result meets the preset update conditions, it indicates that an automatic hot update needs to be performed on the target cloud game.
[0052] S130. If the update inspection result meets the preset update conditions, then update the target cloud game according to the target resources of the target cloud game, wherein the target resources represent the cloud game resources to be updated.
[0053] For example, if the update inspection result meets the preset update conditions, the data volume of the update resource package is obtained; if the data volume remains unchanged, the configuration parameters in the update resource package are updated according to the preset parameter configuration file; the updated update resource package is sent to the target server node to update the cloud game image of the target cloud game in the target server node.
[0054] Specifically, if the update inspection results meet the preset update conditions, a hot update task is automatically created and executed through a container used for hot update extraction. The hot update task downloads updated game resources from the target cloud game as the target resource. An update resource package is generated based on the target resource and stored in a designated game directory. The amount of data contained in the update resource package in the designated game directory is periodically checked. The amount of data in the update resource package can represent the size of the update resource package. Since the size of the update resource package gradually increases as the target resource is downloaded, the download status of the target resource can be determined by detecting the size of the update resource package. If the amount of data in the update resource package does not change for n consecutive periods, it is determined that the amount of data in the update resource package remains unchanged. The value of n can be set according to the actual application, and this embodiment of the disclosure does not impose a specific limitation.
[0055] If the data volume of the updated resource package remains unchanged, it is assumed that the target resources for the target cloud game have been downloaded successfully. After a hot update of the cloud game, the parameter values of the configuration parameters may be affected. Manually modifying the configuration parameters results in low configuration efficiency. Since the preset parameter configuration file is determined based on historical configuration operations for the target cloud game, updating the corresponding configuration parameters in the updated resource package according to the preset parameter configuration file allows for convenient setting of configuration parameters that meet user requirements, improving configuration efficiency and avoiding the time-consuming process of manually searching for and modifying parameters.
[0056] The updated resource package with updated parameter configuration is used as the new cloud game image, and this new cloud game image is distributed to the target server node. Since the target server node deploys the target cloud game image, which includes the target cloud game's program code and dependencies, the corresponding cloud game image within the target server node can be updated based on the new cloud game image. The target server node runs the updated target cloud game and renders the game scene multimedia data stream, which is then sent to the connected game terminal devices via the network.
[0057] The technical solution of this disclosure, by acquiring the game screen of a target cloud game whose startup time meets preset update inspection trigger conditions, determining the update inspection result of the target cloud game based on the game screen, and acquiring the target resources of the target cloud game to update the target cloud game when the update inspection result meets preset update conditions, can realize automatic hot update inspection and automatic hot update of cloud games. This disclosure can solve the problems of low update efficiency and limited number of cloud game updates that can be processed by manual hot update methods, improving the update efficiency of cloud games and increasing the number of cloud game updates processed within a set time period. Furthermore, through automatic hot update inspection and automatic hot update, timely response to cloud game updates can be achieved outside of manual working hours.
[0058] Figure 2 is a flowchart illustrating another cloud game update method provided in this embodiment. Based on the above embodiments, this embodiment specifically limits the amount of data in the update resource package to be obtained in different ways for different types of cloud games.
[0059] As shown in Figure 2, the method includes:
[0060] S210. Detect the launch event of the target cloud game and obtain the launch time of the target cloud game.
[0061] S220. If the target cloud game meets the preset update inspection triggering conditions based on the startup time, then the game screen of the target cloud game is obtained, and the update inspection result of the target cloud game is determined based on the game screen.
[0062] For example, if the target cloud game meets the preset update inspection trigger conditions, the target server node takes a screenshot of the game screen within a set time period after the target cloud game starts, performs OCR (Optical Character Recognition) processing on the game screen, and obtains the text information within the game screen. If the text information includes update inspection keywords, it is determined that the target cloud game has undergone a hot update. If the text information does not contain update inspection keywords, it is determined that the target cloud game has not undergone a hot update. Whether the target cloud game has undergone a hot update is used as the update inspection result.
[0063] Optionally, the update inspection results of the target cloud game can be displayed through a visual interface to notify relevant personnel of the hot update status of the target cloud game. For example, if the update inspection result indicates that a hot update exists for the target cloud game, the visual interface will display that the target cloud game has a hot update detected status. If the update inspection result indicates that no hot update exists for the target cloud game, the visual interface will display that the target cloud game has no hot update detected status.
[0064] S230. If the update inspection result meets the preset update conditions, download the target resources of the target cloud game and generate an update resource package based on the target resources.
[0065] For example, if the update inspection results meet the preset update conditions, a hot update task is automatically created and executed through a container used for hot update extraction. The hot update task downloads the target resources of the target cloud game and generates an update resource package based on the target resources.
[0066] Optionally, the game processing status can be displayed as "New image under construction" through a visual interface to notify relevant personnel of the processing status of the target cloud game.
[0067] S240. If the target cloud game is a first type of cloud game, then the data volume of the updated resource package is periodically obtained.
[0068] The first type of cloud game is characterized by hot-update execution before login. For this type of cloud game, the target resource can be directly downloaded, and an update resource package can be generated based on it. If the target cloud game is a type of cloud game, the data volume of the update resource package can be obtained at set intervals.
[0069] S250. If the target cloud game is a second type of cloud game, then simulate the click operation of the target control in the cloud game screen of the target cloud game, and periodically obtain the data volume of the updated resource package.
[0070] The second type of cloud gaming is characterized by a hot-update execution type that occurs before login and requires clicking on a target control within the cloud game interface. For this type of cloud gaming, a script is executed to simulate a click on the target control before downloading the target resources. If the target cloud game is of the second type, a pre-configured script is executed to simulate a click on the target control, then the target resources of the target cloud game are automatically downloaded, an update resource package is generated based on the target resources, and the data volume of the update resource package is retrieved at set intervals.
[0071] S260. If the target cloud game is a third type of cloud game, then simulate a login operation for the target cloud game, and after successful login, simulate a click operation on the target control in the cloud game screen of the target cloud game, and periodically obtain the data volume of the updated resource package.
[0072] The third type of cloud gaming is characterized by hot-update execution after login, requiring users to click on a target control within the cloud game interface. For this type of cloud gaming, a script simulates the player's login process. After successful login, the script simulates the player's click on the target control and downloads the target resources. If the target cloud game is a type 3 cloud game, a pre-configured script is executed to automatically log in. After successful login, the pre-configured script simulates clicking on the target control within the cloud game interface, automatically downloads the target resources, generates an update resource package based on the target resources, and retrieves the update resource package data at set intervals.
[0073] S270. If the amount of data remains unchanged, update the configuration parameters in the update resource package according to the preset parameter configuration file.
[0074] For example, if the data volume of the updated resource package remains unchanged, it is determined that the target resource of the target cloud game has been downloaded successfully. The configuration parameters within the updated resource package are updated according to a preset parameter configuration file. Specifically, configuration parameters that need to be reconfigured within the updated resource package can be preset. For example, the configuration parameters that need to be reconfigured include parameters such as frame rate and / or bitrate. Then, the preset parameter configuration file is queried based on the configuration parameters that need to be reconfigured. For each configuration parameter that needs to be reconfigured, if the parameter value differs from the corresponding parameter value in the preset parameter configuration file, the configuration parameter is updated based on the parameter value in the preset parameter configuration file.
[0075] Optionally, the game processing status can be displayed as "hot update resource extraction in progress" through a visual interface to notify relevant personnel of the processing status of the target cloud game.
[0076] S280. Send the updated resource package to the target server node to update the cloud game image of the target cloud game within the target server node.
[0077] S290. Obtain the game screen of the target cloud game, and determine the update execution result of the cloud game based on the game screen.
[0078] The update execution result is used to indicate whether the target cloud game has been successfully updated. After updating the cloud game image of the target cloud game within the target server node, the game screen of the target cloud game is captured again. OCR processing is performed on the game screen to obtain text information within the game screen. If the text information no longer contains update inspection keywords, the hot update of the target cloud game is determined to be effective. If the text information still contains update inspection keywords, the hot update of the target cloud game is determined to be effective, and a new hot update task needs to be created to download the target resources of the target cloud game and generate an updated resource package based on the target resources. This embodiment of the disclosure verifies whether the hot update is effective after the target cloud game is updated, thus achieving a closed loop in the hot update process.
[0079] Figure 3 is a flowchart illustrating another cloud gaming update method provided in this embodiment of the present disclosure. Figure 3 provides a detailed process for cloud gaming hot-update. As shown in Figure 3, the method includes:
[0080] S301. If the target cloud game is launched, the container corresponding to the target cloud game captures the game screen and performs OCR recognition on the game screen to obtain the text information in the game screen.
[0081] For example, when the target cloud game meets the preset update inspection trigger conditions, the server captures the game screen of the target cloud game through the container corresponding to the target cloud game on the target server node, and performs OCR recognition on the game screen to obtain the text information in the game screen.
[0082] S302. The server determines that a hot update of the target cloud game has been detected based on text information and displays the hot update through a visual interface.
[0083] For example, the server obtains text information and matches it with update inspection keywords to detect whether the target cloud game has undergone a hot update.
[0084] S303: The server initiates a hot update task, and the game processing status is displayed as "Building a new cloud game image" through a visual interface.
[0085] S304. The server determines the type of cloud game. If it is a type 1 cloud game, then execute S305; if it is a type 2 cloud game, then execute S306; if it is a type 3 cloud game, then execute S307.
[0086] S305. The server periodically obtains the data volume of the updated resource package and executes S308.
[0087] S306, The server runs the game configuration click script to simulate the click operation of the target control, and executes S305.
[0088] S307: The server automatically logs into the target cloud game, runs the game configuration click script to simulate clicking the target control, and executes S305.
[0089] S308, Server-side detection of target resource download completed.
[0090] S309. The server automatically sets and updates the configuration parameters in the resource package.
[0091] S310: The server sends the updated resource package to the target server node, and the game processing status is displayed as "image building and distribution in progress" through a visual interface.
[0092] S311. The server confirms that the distribution is complete and displays the completion status through a visual interface.
[0093] S312. The container takes a screenshot of the game screen of the target cloud game and performs OCR recognition on the game screen to obtain new text information.
[0094] S313. The server determines whether the hot update is effective based on the new text information. If it is, then execute S314; otherwise, execute S315.
[0095] S314. Displaying the heat output through a visual interface is more normal.
[0096] S315. Display hotspot anomalies through a visual interface.
[0097] The technical solution of this disclosure adopts different resource download methods and different ways of obtaining the data volume of the updated resource package for different types of cloud games, making it applicable to cloud games with different hot update execution types. It also determines the update execution result of the cloud game by re-acquiring the game screen of the target cloud game based on the game screen. Since the hot update is verified to be effective after the target cloud game is updated, a closed loop of the hot update process is achieved.
[0098] Figure 4 is a schematic diagram of a cloud gaming update device provided in an embodiment of this disclosure. The device can be implemented in the form of software and / or hardware, and optionally, it can be implemented in the form of an electronic device, such as a server.
[0099] As shown in Figure 4, the device includes: a time acquisition module 410, an update inspection module 420, and a cloud gaming update module 430.
[0100] The time acquisition module 410 is used to detect the launch event of the target cloud game and acquire the launch time of the target cloud game;
[0101] The update inspection module 420 is used to obtain the game screen of the target cloud game and determine the update inspection result of the target cloud game based on the game screen if the target cloud game is determined to meet the preset update inspection triggering conditions based on the startup time.
[0102] The cloud gaming update module 430 is used to update the target cloud game according to the target resources of the target cloud game if the update inspection result meets the preset update conditions, wherein the target resources represent the cloud game resources to be updated.
[0103] Optionally, the triggering method of the start event includes:
[0104] Based on the launch operation of the target cloud game within the cloud gaming client, or based on the scheduled launch task of the target cloud game.
[0105] Optionally, the inspection module 420 is updated specifically for:
[0106] Obtain preset update inspection configuration information, wherein the preset update inspection configuration information includes inspection trigger time period and update inspection keyword;
[0107] If the start time is within the inspection trigger time period, then the target cloud game is determined to meet the preset update inspection trigger conditions.
[0108] Take screenshots of the target cloud game running on the target server node to obtain game footage;
[0109] The text information in the game screen is obtained, and the text information is matched with the update inspection keywords to obtain the update inspection result.
[0110] Optionally, it also includes:
[0111] If the text information contains the update inspection keyword, then the update inspection result is determined to meet the preset update conditions.
[0112] Optionally, the cloud gaming update module 430 is specifically used for:
[0113] If the update inspection result meets the preset update conditions, then download the target resources of the target cloud game and generate an update resource package based on the target resources;
[0114] The update resource package is sent to the target server node to update the cloud game image of the target cloud game within the target server node based on the update resource package.
[0115] Further, the step of sending the update resource package to the target server node to update the cloud game image of the target cloud game within the target server node based on the update resource package includes:
[0116] Obtain the data volume of the updated resource package;
[0117] If the amount of data remains unchanged, the configuration parameters in the updated resource package are updated according to the preset parameter configuration file;
[0118] The updated resource package is sent to the target server node to update the cloud game image of the target cloud game within the target server node.
[0119] Optionally, the amount of data obtained from the updated resource package includes:
[0120] If the target cloud game is a type 1 cloud game, then the data volume of the updated resource package is periodically obtained;
[0121] If the target cloud game is a second type of cloud game, then simulate the click operation of the target control in the cloud game screen of the target cloud game, and periodically obtain the data volume of the updated resource package;
[0122] If the target cloud game is a third type of cloud game, then a login operation for the target cloud game is simulated, and after successful login, a click operation on the target control in the cloud game screen of the target cloud game is simulated, and the data volume of the updated resource package is periodically obtained.
[0123] The cloud gaming update device provided in this disclosure can execute the cloud gaming update method provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects of executing the method.
[0124] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the protection scope of the embodiments of this disclosure.
[0125] Figure 5 is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Referring to Figure 5 below, a schematic diagram of the structure of an electronic device (e.g., the game terminal device or server in Figure 5) 500 suitable for implementing embodiments of this disclosure is shown. The game terminal device in embodiments of this disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device shown in Figure 5 is merely an example and should not impose any limitations on the functionality and scope of use of embodiments of this disclosure.
[0126] As shown in Figure 5, the electronic device 500 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. The RAM 503 also stores various programs and data required for the operation of the electronic device 500. The processing unit 501, ROM 502, and RAM 503 are interconnected via a bus 504. An edit / output (I / O) interface 505 is also connected to the bus 504.
[0127] Typically, the following devices can be connected to I / O interface 505: input devices 506 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 507 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 508 including, for example, magnetic tapes, hard disks, etc.; and communication devices 509. Communication device 509 allows electronic device 500 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 5 shows an electronic device 500 with various devices, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0128] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, it performs the functions defined in the methods of embodiments of this disclosure.
[0129] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0130] The electronic device provided in this embodiment and the cloud gaming update method provided in the above embodiments belong to the same inventive concept. Technical details not described in detail in this embodiment can be found in the above embodiments, and this embodiment has the same beneficial effects as the above embodiments.
[0131] This disclosure provides a computer storage medium storing a computer program that, when executed by a processor, implements the cloud gaming update method provided in the above embodiments.
[0132] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0133] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol), and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future-developed networks.
[0134] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0135] The aforementioned computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to:
[0136] The launch event of the target cloud game is detected, and the launch time of the target cloud game is obtained;
[0137] If the target cloud game is determined to meet the preset update inspection triggering conditions based on the startup time, then the game screen of the target cloud game is obtained, and the update inspection result of the target cloud game is determined based on the game screen.
[0138] If the update inspection result meets the preset update conditions, then the target cloud game is updated according to the target resources of the target cloud game, wherein the target resources represent the cloud game resources being updated.
[0139] Computer program code for performing the operations of this disclosure can 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, and C++, as well as conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can 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 can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0140] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0141] The units described in the embodiments of this disclosure can be implemented in software or hardware. The names of the units are not, in some cases, intended to limit the specific unit.
[0142] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0143] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0144] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0145] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0146] Although the subject matter has been described using language specific to structural features and / or methodological logic, 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. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. A cloud game updating method, comprising: detecting a starting event of a target cloud game, and obtaining a starting time of the target cloud game; if it is determined that the target cloud game meets a preset updating patrol trigger condition based on the starting time, obtaining a game screen of the target cloud game, and determining an updating patrol result of the target cloud game based on the game screen; if the updating patrol result meets a preset updating condition, updating the target cloud game based on a target resource of the target cloud game, wherein the target resource represents a cloud game resource to be updated.
2. The method of claim 1, wherein, The starting event is triggered in the following manner: based on a starting operation of a cloud game client for the target cloud game, or based on a timing starting task for the target cloud game.
3. The method of claim 1 or 2, wherein, If it is determined that the target cloud game meets a preset updating patrol trigger condition based on the starting time, obtaining a game screen of the target cloud game, and determining an updating patrol result of the target cloud game based on the game screen, comprising: obtaining preset updating patrol configuration information, wherein the preset updating patrol configuration information comprises a patrol trigger time period and an updating patrol keyword; if the starting time is located in the patrol trigger time period, it is determined that the target cloud game meets the preset updating patrol trigger condition; performing screenshot processing on the target cloud game running in a target server node to obtain a game screen; obtaining text information in the game screen, matching the text information with the updating patrol keyword, and obtaining the updating patrol result.
4. The method of claim 3, further comprising: if the text information contains the updating patrol keyword, it is determined that the updating patrol result meets the preset updating condition.
5. The method according to any one of claims 1 to 4, wherein, If the updating patrol result meets a preset updating condition, updating the target cloud game based on a target resource of the target cloud game, comprising: if the updating patrol result meets the preset updating condition, downloading a target resource of the target cloud game, and generating an updating resource package based on the target resource; sending the updating resource package to a target server node to update a cloud game image of the target cloud game in the target server node based on the updating resource package.
6. The method of claim 5, wherein, The sending of the updating resource package to the target server node to update the cloud game image of the target cloud game in the target server node based on the updating resource package, comprising: obtaining a data amount of the updating resource package; if the data amount remains unchanged, updating a configuration parameter in the updating resource package based on a preset parameter configuration file; sending the updated updating resource package to the target server node to update the cloud game image of the target cloud game in the target server node.
7. The method of claim 6, wherein, The obtaining of the data amount of the updating resource package, comprising: if the target cloud game is a first type of cloud game, periodically obtaining the data amount of the updating resource package; if the target cloud game is a second type of cloud game, simulating a click operation on a target control in a cloud game screen of the target cloud game, and periodically obtaining the data amount of the updating resource package; If the target cloud game is a third type of cloud game, a login operation for the target cloud game is simulated, and after login is successful, a click operation for a target control in a cloud game screen of the target cloud game is simulated, and the data amount of the update resource package is periodically obtained.
8. A cloud game updating apparatus, comprising: a time obtaining module configured to detect a starting event of a target cloud game and obtain a starting time of the target cloud game; an update inspection module configured to, if it is determined based on the starting time that the target cloud game satisfies a preset update inspection trigger condition, obtain a game screen of the target cloud game, and determine an update inspection result of the target cloud game according to the game screen; a cloud game updating module configured to, if the update inspection result satisfies a preset update condition, update the target cloud game according to a target resource of the target cloud game, wherein the target resource represents a cloud game resource to be updated.
9. An electronic device, comprising: one or more processors; a storage device configured to store one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement the cloud game updating method according to any one of claims 1-7.
10. A storage medium containing computer-executable instructions, wherein, The computer executable instructions, when executed by a computer processor, are used to perform the cloud game updating method according to any one of claims 1-7.
11. A computer program product comprising a computer program, wherein, The computer program, when executed by a processor, implements the cloud game updating method according to any one of claims 1-7.
Citation Information
Patent Citations
Hot update method and system for cloud game and readable storage medium
CN111045715A
Cloud game management method and device, and storage medium
CN113368502A
Game updating method and system, server, electronic equipment and storage medium
CN113467807A
Software updating method and device
CN113694534A
Cloud game updating method and device, electronic equipment, medium and program product
CN118976256A