Cloud game updating method and device, electronic equipment, medium and program product

By automatically detecting the startup events and update conditions of cloud games, automatic hot update inspection and update of cloud games are realized, solving the problem of low efficiency of cloud games, and improving the number of update processing and response speed.

CN118976256APending Publication Date: 2024-11-19BEIJING ZITIAO NETWORK TECH CO LTD

Patent Information

Application Number
CN202410969651.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-11-19

AI Technical Summary

Technical Problem

Cloud games have low thermal update efficiency and limited number of update processing, which requires manual intervention, resulting in low update efficiency and insufficient number of processing.

Method used

By detecting the startup event of the cloud game, obtain the startup time. If the preset update inspection trigger conditions are met, the game screen will be obtained and the inspection results will be updated based on the screen. If the result meets the preset conditions, the target resources will be updated to achieve automatic hot updates. Inspection and automatic thermal updates.

Benefits of technology

It improves the update efficiency of cloud games, increases the number of update processing, and achieves timely response outside of manual working hours, automates the update process, and improves efficiency and response speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118976256A_ABST
    Figure CN118976256A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a cloud game updating method and device, electronic equipment, a medium and a program product. The method comprises the steps that a starting event of a target cloud game is detected, and starting time of the target cloud game is obtained; if it is determined that the target cloud game meets a preset update inspection triggering condition based on the starting time, obtaining a game picture of the target cloud game, and determining an update inspection result of the target cloud game according to the game picture; if the updating inspection result meets a preset updating condition, the target cloud game is updated according to target resources of the target cloud game, and the target resources represent updated cloud game resources. According to the embodiment of the invention, the problems of low updating efficiency and limited cloud game updating processing quantity of a manual hot updating mode can be solved, the updating efficiency of the cloud game is improved, and the cloud game updating processing quantity in the set time period is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to cloud computing technology, and more particularly to a cloud game update method, device, electronic device, medium, and program product. Background Art

[0002] Cloud gaming is an online gaming technology based on cloud computing technology. Cloud gaming technology enables game terminal devices with relatively limited graphics processing and data computing capabilities to run high-quality games. In a cloud gaming scenario, the game runs in a cloud server, and the cloud server renders the game scene into a multimedia data stream, which is then transmitted to the game terminal device over the network. The game terminal device can play multimedia data, obtain game player input commands, and send them to the cloud server.

[0003] Currently, hot updates can be used to allow gamers to experience the latest game content after starting cloud games without waiting for the update download time. However, the hot update method for cloud games is to manually start the game terminal device regularly and load the cloud game. After the update interface of the cloud game appears, manually click to update. This hot update method reduces the efficiency of cloud game updates and limits the number of cloud game updates that can be processed manually per day. Summary of the invention

[0004] The present disclosure provides a cloud game update method, device, electronic device, medium and program product, which can improve the cloud game update efficiency and increase the number of cloud game update processes.

[0005] In a first aspect, an embodiment of the present disclosure provides a cloud game update method, comprising:

[0006] Detecting a start event of a target cloud game, and obtaining the start time of the target cloud game;

[0007] If it is determined based on the startup time that the target cloud game meets the preset update inspection triggering condition, a game screen of the target cloud game is obtained, and an update inspection result of the target cloud game is determined according to the game screen;

[0008] If the update inspection result meets the preset update condition, the target cloud game is updated according to the target resource of the target cloud game, wherein the target resource represents the updated cloud game resource.

[0009] In a second aspect, the present disclosure also provides a cloud game update device, the device comprising:

[0010] A time acquisition module, used to detect a start event of a target cloud game and obtain the start time of the target cloud game;

[0011] An update inspection module, configured to obtain a game screen of the target cloud game if it is determined based on the startup time that the target cloud game meets a preset update inspection trigger condition, and determine an update inspection result of the target cloud game according to the game screen;

[0012] The cloud game 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 condition, wherein the target resources represent the updated cloud game resources.

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

[0014] one or more processors;

[0015] a storage device for storing one or more programs,

[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement the cloud game update method as described in any embodiment of the present disclosure.

[0017] In a fourth aspect, an embodiment of the present disclosure further provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute the cloud game update method as described in any embodiment of the present disclosure.

[0018] In a fifth aspect, an embodiment of the present disclosure further provides a computer program product, including a computer program, which, when executed by a processor, implements the cloud game update method as described in any embodiment of the present disclosure.

[0019] The disclosed embodiments provide a cloud game update method, which can realize automatic hot change inspection and automatic hot update of cloud games by obtaining the game screen of the target cloud game whose startup time meets the preset update inspection trigger condition, determining the update inspection result of the target cloud game according to the game screen, and obtaining the target resources of the target cloud game to update the target cloud game when the update inspection result meets the preset update condition. The disclosed embodiments can solve the problems of low update efficiency of manual hot change and limited number of cloud game update processing, improve the update efficiency of cloud games, and increase the number of cloud game update processing within a set time period. In addition, through automatic hot change inspection and automatic hot update, timely response to cloud game updates can be achieved outside of manual working hours. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] 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 the originals and elements are not necessarily drawn to scale.

[0021] Figure 1 A flowchart of a cloud game update method provided by an embodiment of the present disclosure;

[0022] Figure 2 A flowchart of another cloud game update method provided by an embodiment of the present disclosure;

[0023] Figure 3 A flowchart of another cloud game update method provided by an embodiment of the present disclosure;

[0024] Figure 4 A schematic diagram of the structure of a cloud game update device provided in an embodiment of the present disclosure;

[0025] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0026] 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.

[0027] 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.

[0028] 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.

[0029] 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.

[0030] 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".

[0031] 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.

[0032] It is understandable 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 relevant provisions.

[0033] Figure 1 This is a flow chart of a cloud game update method provided by an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the automatic update of cloud games, for example, automatically checking whether there is a cloud game update, and automatically extracting the update resources corresponding to the cloud game to update the cloud game. The method can be executed by a cloud game update device, which can be implemented in the form of software and / or hardware, and optionally, by an electronic device, which can be a server, etc.

[0034] like Figure 1 As shown, the method includes:

[0035] S110: Detect a start event of a target cloud game, and obtain the start time of the target cloud game.

[0036] The target cloud game represents the cloud game that is launched. The launch event represents the event that launches the target cloud game. For example, the launch event is triggered based on: a launch operation for the target cloud game in the cloud game client, or based on a scheduled launch task for the target cloud game.

[0037] The game player of the cloud game client can actively send a start request to the target server, so that the target server will pass the start event to the inspection service of the server, and the target server will start the target cloud game. Then, it is determined whether the properties of the currently started target cloud game meet the preset update inspection configuration information to determine whether the target cloud game meets the preset update inspection trigger conditions. In this way, the container that performs the hot update inspection is also the container running the target cloud game, which can save container resources.

[0038] You can also send a scheduled startup task to the target server through the server to trigger the startup event of the target server. The target server will pass the startup event to the inspection service of the server, and the target server will start the target cloud game, so that timely inspection can be achieved. Since the container corresponding to the hot-change inspection program is isolated from the container running the target cloud game, the hot-change inspection will not have any impact on the operation of the target cloud game. When the container resources are less than the set resource threshold, the container executing the hot-change inspection will be converted into the container executing the target cloud game to alleviate the problem of tight computing resources in the distributed system.

[0039] For example, the server detects that the target cloud game is started by the game player and obtains the start time of the target cloud game. Alternatively, the server determines the start time of the target cloud game according to the execution cycle of the scheduled start task corresponding to the target cloud game.

[0040] The server can determine the execution cycle of the scheduled start task based on the startup frequency of the cloud game. For example, for cloud games that are not updated frequently, a longer cycle can be set to avoid frequent startup of cloud games and consumption of more computing resources. For cloud games that are updated frequently, a shorter cycle can be set to start the cloud game in time and implement hot update inspection.

[0041] S120: If it is determined based on the startup time that the target cloud game meets a preset update inspection trigger condition, a game screen of the target cloud game is obtained, and an update inspection result of the target cloud game is determined according to the game screen.

[0042] Among them, the preset update inspection trigger condition is used to trigger the hot update inspection task. The hot update inspection task is used to perform hot update inspections and automatically perform hot updates on the target cloud game if the target cloud game has hot updates. Hot update inspections are used to detect whether the target cloud game has hot updates. For example, the preset update inspection trigger condition includes that the start time falls within the pre-configured inspection trigger time period, etc.

[0043] Optionally, if no game player starts the cloud game within the inspection trigger time period, that is, the start time of the target cloud game does not fall within the inspection trigger time period, the target cloud game can be started through a scheduled start task, and it is determined that the target cloud game meets the preset update inspection trigger condition.

[0044] The game screen can represent the game content of the target cloud game. For example, the game screen can be a screenshot within a set period of time after the target cloud game is started. Specifically, when the target cloud game meets the preset update inspection trigger condition, the game screen within x minutes after the cloud game is started can be screenshot from the container corresponding to the target cloud game. Among them, the container corresponding to the target cloud game is a virtual component on the target server node, and the target server node can be a server running the cloud game. The cloud game runs in a container on the target server node, and the container renders the game scene into a multimedia data stream.

[0045] The update inspection result indicates whether the target cloud game has a hot update. It can be determined whether there are controls and / or prompt texts related to the hot update in the game screen. If so, the update inspection result indicates that the target cloud game has a hot update. If not, the update inspection result indicates that the target cloud game does not have a hot update.

[0046] Exemplarily, 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 startup time is within the inspection trigger time period, it is determined that the target cloud game satisfies the preset update inspection trigger condition; a screenshot of the target cloud game running in the target server node is taken to obtain a 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 the embodiment of the present disclosure, the patrol configuration information can be updated through the configuration page. For example, the configuration page may include a patrol trigger time period configuration item and an update patrol keyword configuration item. Optionally, the configuration page may also include at least one of a patrol trigger frequency configuration item, a screenshot time interval configuration item, an automatic hot update script configuration item, and a script parameter configuration item.

[0048] Among them, the automatic hot update script is used to automatically process the hot update in the game, including extracting the target resources of the target cloud game, generating an update resource package based on the target 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 is used to simulate the click operation on the target control in the cloud game screen. And / or, the automatic hot update script is used to simulate the login operation for the cloud game, and after the login is successful, simulate the click operation on the target control in the cloud game screen, etc.

[0049] Among them, the inspection trigger time period is used to characterize the time interval for detecting whether there is a hot update of the target cloud game. If the startup 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 condition, 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 condition, the game screen within the set period after the target cloud game in the container is started 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 keyword to determine whether the text information contains the update inspection keyword as the update inspection result.

[0050] Since the update inspection keyword is a keyword associated with the hot update of the cloud game, it can be determined whether the target cloud game has a hot update by determining whether the game screen contains the update inspection keyword. For example, the update inspection keyword can be update prompt information, etc. In some embodiments, the update prompt information includes text prompt information and update prompt controls, etc.

[0051] Optionally, if the text information contains the update inspection keyword, it is determined that the update inspection result meets the preset update condition. The preset update condition is used to specify the condition for triggering the hot update of the cloud game. If the update inspection result meets the preset update condition, it indicates that an automatic hot update needs to be performed on the target cloud game.

[0052] S130. If the update inspection result meets a preset update condition, the target cloud game is updated according to the target resource of the target cloud game, wherein the target resource represents the updated cloud game resource.

[0053] Exemplarily, 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 result meets the preset update conditions, a hot update task is automatically created, and the hot update task is executed through the container used for hot update extraction. The hot update task is used to download updated game resources in the target cloud game as target resources. Generate an update resource package based on the target resources, and store the update resource package in the set game directory. Periodically detect the amount of data contained in the update resource package in the set game directory. The data volume of the update resource package can characterize the size of the update resource package. Since the size of the update resource package will gradually increase 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 data volume of the update resource package has not changed in n consecutive cycles, it is determined that the data volume of the update resource package remains unchanged. Among them, the value of n can be set according to the actual application, and the embodiment of the present disclosure is not specifically limited.

[0055] If the amount of data in the updated resource package remains unchanged, it is considered that the target resources of the target cloud game have been downloaded. After the cloud game is hot-updated, the parameter values ​​of the configuration parameters may be affected. If the configuration parameters are modified manually, there is a problem of low parameter configuration efficiency. Since the preset parameter configuration file is determined by the historical configuration operation of the configuration parameters in the target cloud game, the corresponding configuration parameters in the update resource package are updated according to the preset parameter configuration file. It is convenient to set the configuration parameters that meet the user's requirements, improve the parameter configuration efficiency, and avoid manual search for parameters and modification of parameter configurations. It takes a long time.

[0056] The updated resource package with updated parameter configuration is used as a new cloud game image, and the new cloud game image is distributed to the target server node. Since the cloud game image of the target cloud game is deployed in the target server node, the cloud game image in the target server node includes the program code and dependent environment of the target cloud game. The cloud game image corresponding to the target cloud game in 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 into a multimedia data stream, and sends the multimedia data stream to the connected game terminal device through the network.

[0057] The technical solution of the disclosed embodiment can realize automatic hot inspection and automatic hot update of cloud games by obtaining the game screen of the target cloud game whose startup time meets the preset update inspection trigger condition, determining the update inspection result of the target cloud game according to the game screen, and obtaining the target resources of the target cloud game to update the target cloud game when the update inspection result meets the preset update condition. The disclosed embodiment can solve the problems of low update efficiency of manual hot update and limited number of cloud game update processing, improve the update efficiency of cloud games, and increase the number of cloud game update processing within a set time period. In addition, through automatic hot inspection and automatic hot update, timely response to cloud game updates can be achieved outside of manual working hours.

[0058] Figure 2 This is a flow chart of another cloud game update method provided by an embodiment of the present disclosure. Based on the above embodiments, the embodiment of the present disclosure specifically defines different methods for obtaining the data amount of the update resource package for different types of cloud games.

[0059] like Figure 2 As shown, the method includes:

[0060] S210: Detect a start event of a target cloud game, and obtain the start time of the target cloud game.

[0061] S220: If it is determined based on the startup time that the target cloud game meets a preset update inspection trigger condition, a game screen of the target cloud game is obtained, and an update inspection result of the target cloud game is determined according to the game screen.

[0062] Exemplarily, if the target cloud game meets the preset update inspection trigger condition, the target server node takes a screenshot of the game screen within the set period after the target cloud game is started, performs OCR (Optical Character Recognition) processing on the game screen, and obtains the text information in the game screen. If the text information includes the update inspection keyword, it is determined that the target cloud game has a hot update. If the text information does not contain the update inspection keyword, it is determined that the target cloud game does not have a hot update. Whether the target cloud game has a hot update is used as the update inspection result.

[0063] Optionally, the update inspection result of the target cloud game is displayed through a visual interface to inform relevant personnel of the hot update status of the target cloud game. For example, if the update inspection result is that the target cloud game has a hot update, the target cloud game is displayed as a hot update found state through the visual interface. If the update inspection result is that the target cloud game does not have a hot update, the target cloud game is displayed as a hot update not found state through the visual interface.

[0064] S230: If the update inspection result meets the preset update condition, download the target resources of the target cloud game and generate an update resource package according to the target resources.

[0065] For example, if the update inspection result meets the preset update conditions, a hot update task is automatically created, and the hot update task is executed through the container for hot update extraction. The target resources of the target cloud game are downloaded through the hot update task, and an update resource package is generated according to the target resources.

[0066] Optionally, the game processing status is displayed as a new image being built 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, periodically obtain the data volume of the updated resource package.

[0068] The first type of cloud game represents a cloud game whose hot update execution type is a hot update before logging into the cloud game. For the first type of cloud game, the target resource can be directly downloaded, and an update resource package can be generated based on the target resource. If the target cloud game is a first type of cloud game, the data volume of the update resource package can be obtained at a set time.

[0069] S250: If the target cloud game is a second-category cloud game, simulate a click operation on a target control in a cloud game screen of the target cloud game, and periodically obtain the data volume of the updated resource package.

[0070] Among them, the second type of cloud game characterizes the hot update execution type as hot update before cloud game login, and the cloud game needs to click the target control in the cloud game screen. For the second type of cloud game, it is necessary to execute the script to simulate the click operation on the target control and then download the target resource. If the target cloud game is a second type of cloud game, the pre-configured script is executed to simulate the click operation on the target control, and then the target resource of the target cloud game is automatically downloaded, and an update resource package is generated based on the target resource, and the data volume of the update resource package is obtained at set intervals.

[0071] S260: If the target cloud game is a third-category cloud game, simulate a login operation for the target cloud game, and after a successful login, simulate a click operation on a target control in the cloud game screen of the target cloud game to periodically obtain the data volume of the updated resource package.

[0072] Among them, the third category of cloud games is characterized by a hot update execution type of hot update after cloud game login, and a cloud game that requires clicking on the target control in the cloud game screen. For the third category of cloud games, it is necessary to execute a script to simulate the game player's login operation for the cloud game. After the login is successful, the target resources are downloaded after the script simulates the game player's click operation on the target control. If the target cloud game is a third category cloud game, execute a pre-configured script to automatically log in to the cloud game. After the login is successful, the pre-configured script is used to simulate the click operation on the target control in the cloud game screen, and then the target resources of the target cloud game are automatically downloaded, and an update resource package is generated based on the target resources, and the data volume of the update resource package is obtained at set intervals.

[0073] S270: If the data volume remains unchanged, update the configuration parameters in the update resource package according to a preset parameter configuration file.

[0074] Exemplarily, if the amount of data in the updated resource package remains unchanged, it is determined that the target resources of the target cloud game have been downloaded. The configuration parameters in the updated resource package are updated according to the preset parameter configuration file. Specifically, the configuration parameters that need to be reconfigured in the updated resource package can be pre-set. For example, the configuration parameters that need to be reconfigured include parameters such as frame rate and / or bit rate. 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 configuration parameter is different from the parameter value of the corresponding parameter 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 is displayed as hot update resource extraction through a visual interface to notify relevant personnel of the processing status of the target cloud game.

[0076] S280. Send the updated update resource package to the target server node to update the cloud game image of the target cloud game in the target server node.

[0077] S290: Obtain a game screen of the target cloud game, and determine an update execution result of the cloud game based on the game screen.

[0078] Among them, the update execution result is used to characterize whether the target cloud game has been updated successfully. After updating the cloud game image of the target cloud game in the target server node, the game screen of the target cloud game is captured again. Perform OCR processing on the game screen to obtain the text information in the game screen. If the text information no longer contains the update inspection keyword, it is determined that the hot update of the target cloud game is effective. If the text information still includes the update inspection keyword, it is determined that the hot update of the target cloud game has not expired, and it is necessary to re-create the hot update task to download the target resources of the target cloud game through the hot update task, and generate an update resource package based on the target resources. After the target cloud game is updated, the embodiment of the present disclosure verifies whether the hot update is effective to achieve a closed loop of the hot update process.

[0079] Figure 3 A flowchart of another cloud game update method provided by an embodiment of the present disclosure is shown below. Figure 3 Provides a detailed process for hotfixing cloud games. Figure 3 As shown, the method includes:

[0080] S301: If a target cloud game is started, the container corresponding to the target cloud game captures the game screen, and performs OCR recognition on the game screen to obtain 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 is detected based on the text information, and displays the detected hot update through a visual interface.

[0083] For example, the server obtains text information and matches the text information with update inspection keywords to detect whether there is a hot update for the target cloud game.

[0084] S303, the server initiates a hot update to create a hot update task, and displays the game processing status 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 first type of cloud game, execute S305; if it is a second type of cloud game, execute S306; if it is a third type of cloud game, 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 clicking the target control, and executes S305.

[0088] S307, the server automatically logs in to the target cloud game, runs the game configuration click script to simulate the click operation of clicking the target control, and executes S305.

[0089] S308: The server detects that the target resource download is complete.

[0090] S309: The server automatically sets and updates the configuration parameters in the resource package.

[0091] S310, the server sends the updated update resource package to the target server node, and displays the game processing status as image building and distribution through a visual interface.

[0092] S311. The server determines that the distribution is completed and displays the completion of the distribution 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 so, execute S314; otherwise, execute S315.

[0095] S314. Displaying heat is more normal through a visual interface.

[0096] S315. Display thermal anomalies through a visual interface.

[0097] The technical solution of the disclosed embodiment can be applied to cloud games of different hot update execution types by adopting different resource downloading methods for different types of cloud games and obtaining the data volume of the update resource package in different ways. The game screen of the target cloud game is obtained again, and the update execution result of the cloud game is determined based on the game screen. After the target cloud game is updated, it is verified whether the hot update is effective, so that the hot update process is closed.

[0098] Figure 4 This is a schematic diagram of the structure of a cloud game update device provided in an embodiment of the present disclosure. The device can be implemented in the form of software and / or hardware. Optionally, it can be implemented by an electronic device, which can be a server, etc.

[0099] like Figure 4 As shown, the device includes: a time acquisition module 410, an update inspection module 420 and a cloud game update module 430.

[0100] The time acquisition module 410 is used to detect the start event of the target cloud game and obtain the start time of the target cloud game;

[0101] The update inspection module 420 is used to obtain the game screen of the target cloud game if it is determined based on the startup time that the target cloud game meets the preset update inspection trigger condition, and determine the update inspection result of the target cloud game according to the game screen;

[0102] The cloud game 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 condition, wherein the target resources represent the updated cloud game resources.

[0103] Optionally, the triggering method of the start event includes:

[0104] Based on a startup operation for the target cloud game in a cloud game client, or based on a scheduled startup task for the target cloud game.

[0105] Optionally, the update inspection module 420 is specifically used for:

[0106] Acquire preset update inspection configuration information, wherein the preset update inspection configuration information includes an inspection trigger time period and an update inspection keyword;

[0107] 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;

[0108] Taking a screenshot of the target cloud game running in the target server node to obtain a game screen;

[0109] The 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.

[0110] Optionally, it also includes:

[0111] If the text information includes the update inspection keyword, it is determined that the update inspection result meets the preset update condition.

[0112] Optionally, the cloud game update module 430 is specifically used for:

[0113] If the update inspection result meets the preset update condition, download the target resource of the target cloud game, and generate an update resource package according to the target resource;

[0114] The 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 based on the update resource package.

[0115] Further, sending the update 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 update resource package includes:

[0116] Obtaining the data volume of the updated resource package;

[0117] If the data volume remains unchanged, updating the configuration parameters in the update resource package according to the preset parameter configuration file;

[0118] 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.

[0119] Optionally, obtaining the data volume of the updated resource package includes:

[0120] If the target cloud game is a first type of cloud game, periodically obtaining the data volume of the updated resource package;

[0121] 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 volume of the update resource package;

[0122] If the target cloud game is a third-category cloud game, a login operation for the target cloud game is simulated, and after the login is successful, a click operation of the target control in the cloud game screen of the target cloud game is simulated to periodically obtain the data volume of the updated resource package.

[0123] The cloud game update device provided in the embodiments of the present disclosure can execute the cloud game update method provided in any embodiment of the present disclosure, and has the functional modules and beneficial effects corresponding to the execution 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-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 protection scope of the embodiments of the present disclosure.

[0125] Figure 5 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Figure 5 , which shows an electronic device (eg, Figure 5 The game terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0126] like Figure 5 As shown, the electronic device 500 may include a processing device (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. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An edit / output (I / O) interface 505 is also connected to the bus 504.

[0127] Typically, the following devices may be connected to the I / O interface 505: an input device 506 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 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 5 The electronic device 500 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.

[0128] 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-transitory computer-readable medium, and the computer program contains 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 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, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0129] 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.

[0130] The electronic device provided in the embodiment of the present disclosure and the cloud game update method provided in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0131] An embodiment of the present disclosure provides a computer storage medium having a computer program stored thereon, which, when executed by a processor, implements the cloud game update method provided in the above embodiment.

[0132] 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.

[0133] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), 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 currently known or future developed network.

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

[0135] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:

[0136] Detecting a start event of a target cloud game, and obtaining the start time of the target cloud game;

[0137] If it is determined based on the startup time that the target cloud game meets the preset update inspection triggering condition, a game screen of the target cloud game is obtained, and an update inspection result of the target cloud game is determined according to the game screen;

[0138] If the update inspection result meets the preset update condition, the target cloud game is updated according to the target resource of the target cloud game, wherein the target resource represents the updated cloud game resource.

[0139] 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 the user's computer, partially on the user's computer, as a separate 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 a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0140] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square 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 implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square 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 square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0141] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.

[0142] 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.

[0143] 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.

[0144] 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.

[0145] 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.

[0146] 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 cloud game update method, characterized in that: include: Detecting a start event of a target cloud game, and obtaining the start time of the target cloud game; If it is determined based on the startup time that the target cloud game meets the preset update inspection triggering condition, a game screen of the target cloud game is obtained, and an update inspection result of the target cloud game is determined according to the game screen; If the update inspection result meets the preset update condition, the target cloud game is updated according to the target resource of the target cloud game, wherein the target resource represents the updated cloud game resource.

2. The method according to claim 1, characterized in that: The triggering method of the start event includes: Based on a startup operation for the target cloud game in a cloud game client, or based on a scheduled startup task for the target cloud game.

3. The method according to claim 1, characterized in that If it is determined based on the startup time that the target cloud game meets a preset update inspection trigger condition, obtaining a game screen of the target cloud game, and determining an update inspection result of the target cloud game according to the game screen, including: Acquire preset update inspection configuration information, 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; Taking a screenshot of the target cloud game running in the target server node to obtain a game screen; The 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.

4. The method according to claim 3, characterized in that: Also includes: If the text information includes the update inspection keyword, it is determined that the update inspection result meets the preset update condition.

5. The method according to claim 1, characterized in that If the update inspection result meets the preset update condition, updating the target cloud game according to the target resource of the target cloud game includes: If the update inspection result meets the preset update condition, download the target resource of the target cloud game, and generate an update resource package according to the target resource; The 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 based on the update resource package.

6. The method according to claim 5, characterized in that The sending the update 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 update resource package includes: Obtaining the data volume of the updated resource package; If the data volume remains unchanged, updating the configuration parameters in the update resource package 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.

7. The method according to claim 6, characterized in that The obtaining of the data volume of the updated resource package includes: If the target cloud game is a first type of cloud game, periodically obtaining the data volume of the updated 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 volume of the update resource package; If the target cloud game is a third-category cloud game, a login operation for the target cloud game is simulated, and after the login is successful, a click operation of the target control in the cloud game screen of the target cloud game is simulated to periodically obtain the data volume of the updated resource package.

8. A cloud game updating device, characterized in that: include: A time acquisition module, used to detect a start event of a target cloud game and obtain the start time of the target cloud game; An update inspection module, configured to obtain a game screen of the target cloud game if it is determined based on the startup time that the target cloud game meets a preset update inspection trigger condition, and determine an update inspection result of the target cloud game according to the game screen; The cloud game 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 condition, wherein the target resources represent the updated cloud game resources.

9. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing 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 update method as described in any one of claims 1-7.

10. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions, when executed by a computer processor, are used to execute the cloud game update method as described in any one of claims 1-7.

11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by the processor, it implements the cloud game update method as described in 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

  • Scalable state synchronization for distributed game servers

    US11207593B1

Cited By

  • Cloud game update method and apparatus, electronic device, medium, and program product

    WO2026016546A1