Game update processing method, device, equipment and storage medium
By decoupling the cloud gaming update process into an inspection and update process, and introducing an inspection update queue and a game update queue, the problem of low update efficiency in cloud gaming is solved, achieving faster update speed and higher update efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2022-11-01
- Publication Date
- 2026-05-19
AI Technical Summary
The current cloud gaming update process suffers from low update efficiency.
The cloud gaming update process is decoupled into an update requirement checking process and a cloud gaming update process. An update check queue and a game update queue are introduced. The update requirement checking process is managed by the update check queue, and a game update queue is introduced into the cloud gaming update process to manage the update process. The game update queue is updated according to the requirement checking results.
It has accelerated the update speed of cloud games, improved update efficiency, reduced time consumption, and saved computing resources.
Smart Images

Figure CN115607970B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a method, apparatus, device and storage medium for updating games. Background Technology
[0002] Cloud gaming is a gaming method based on cloud computing. It moves the logic calculations and graphics rendering logic, which would otherwise occur on the terminal, to the cloud. The cloud server compresses the calculated and rendered game graphics and commands, and transmits them to the terminal device via the network. The terminal device only needs to perform simple decoding, display the graphics, and interact with commands. The cloud server includes image containers, in which operating system images and cloud game images can run. The target device uses an operation stream to pass operations to the image container, and the image container returns the video stream to the target device, completing the cloud gaming interaction process. Specifically, after starting the operating system image, a complete operating system can exist within the image container; after starting the cloud game image, a complete cloud game can exist within the image container. In other words, the corresponding operating system and cloud game can be simulated using the operating system image and cloud game image. In existing methods, cloud game updates are typically based on update requirements. However, research has shown that the current method of updating cloud games based on check requirements suffers from low update efficiency. Summary of the Invention
[0003] This application provides a method, apparatus, device, storage medium, and computer program product for updating games, which can accelerate the update speed and improve the update efficiency of cloud games.
[0004] On one hand, embodiments of this application provide a method for updating a game, including:
[0005] Obtain the check update queue; the check update queue includes one or more check indication messages, each check indication message is associated with a cloud game and is used to indicate the check processing of the update requirement for the associated cloud game;
[0006] Based on the inspection instruction information in one or more inspection instruction information, the cloud game associated with the inspection instruction information is checked for update requirements to obtain the corresponding requirement inspection results;
[0007] Based on the obtained demand inspection results, the game update queue is updated, and the cloud games recorded in the updated game update queue are updated.
[0008] On one hand, embodiments of this application provide a game update processing apparatus, including:
[0009] An acquisition unit is used to acquire an update check queue; the update check queue includes one or more check indication messages, each check indication message is associated with a cloud game and is used to indicate the check processing of update requirements for the associated cloud game;
[0010] The processing unit is configured to perform update requirement checks on the cloud games associated with the one or more check instruction information based on the check instruction information in the check instruction information, and obtain the corresponding requirement check results.
[0011] The processing unit is also used to update the game update queue according to the obtained demand check results, and to update the cloud games recorded in the updated game update queue.
[0012] On one hand, embodiments of this application provide an electronic device, characterized in that the electronic device includes an input interface and an output interface, and further includes:
[0013] A processor, adapted to implement one or more instructions; and,
[0014] A computer storage medium storing one or more instructions adapted for loading and executing the game update processing method described above by the processor.
[0015] On one hand, this application provides a computer storage medium, characterized in that the computer storage medium stores computer program instructions, which, when executed by a processor, are used to execute the above-mentioned game update processing method.
[0016] On one hand, this application provides a computer program product, which includes a computer program stored in a computer storage medium; the processor of an electronic device reads the computer program from the computer storage medium and executes the computer program, causing the electronic device to execute the above-mentioned game update processing method.
[0017] In this embodiment, the complete process of checking update requirements and performing updates during cloud gaming updates can be decoupled into two processes: an update requirement checking process and a cloud gaming update process. An update check queue is introduced to manage the update requirement checks for each cloud game recorded in the update check queue. Similarly, a game update queue is introduced to manage the update processes for each cloud game recorded in the game update queue. The update of the game update queue depends on the processing of the update check queue; that is, the game update queue can be updated based on the cloud game's update requirement check results. This enables effective scheduling of cloud gaming updates. The decoupling and the introduction of queues also allow the update requirement check process for the next cloud game recorded in the update check sequence to be executed immediately after the current cloud game's update requirement check process is completed, without waiting for the current cloud game's update process to finish. This speeds up cloud gaming updates, improves update efficiency, reduces time consumption, and ultimately saves computing resources. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a schematic diagram of the structure of a game update processing system provided in an embodiment of this application;
[0020] Figure 2 This is a flowchart illustrating a game update processing method provided in an embodiment of this application;
[0021] Figure 3 This is a flowchart illustrating another game update processing method provided in an embodiment of this application;
[0022] Figure 4a This is a schematic diagram illustrating how to determine whether a cloud game requires an update, as provided in an embodiment of this application.
[0023] Figure 4b This is a schematic diagram illustrating another method for determining whether a cloud game requires an update, provided in an embodiment of this application.
[0024] Figure 4c This is a schematic diagram illustrating another method for determining whether a cloud game requires an update, provided in an embodiment of this application.
[0025] Figure 5This is a schematic diagram illustrating how to determine the requirements check result of a first cloud game, as provided in an embodiment of this application.
[0026] Figure 6 This is a schematic diagram illustrating the updating process of a cloud game image provided in an embodiment of this application;
[0027] Figure 7 This is a schematic diagram illustrating an implementation of cloud game updates provided in an embodiment of this application;
[0028] Figure 8 This is a schematic diagram illustrating another implementation of cloud game updates provided in an embodiment of this application;
[0029] Figure 9 This is a flowchart illustrating another game update processing method provided in an embodiment of this application;
[0030] Figure 10 This is a schematic diagram illustrating a cloud game update and release based on a game preview, provided in an embodiment of this application.
[0031] Figure 11 This is another schematic diagram illustrating cloud game updates and releases based on game previews, provided in an embodiment of this application.
[0032] Figure 12 This is a schematic diagram illustrating a cloud game update implementation based on a mirror-based queue creation method provided in an embodiment of this application;
[0033] Figure 13 This is a schematic diagram of the structure of another game update processing system provided in an embodiment of this application;
[0034] Figure 14 This is a schematic diagram of the structure of a game update processing device provided in an embodiment of this application;
[0035] Figure 15 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0036] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0037] This application provides a game update processing scheme. After obtaining the update queue, the scheme checks the update requirements of cloud games associated with the check instruction information included in the update queue, obtaining corresponding requirement check results. Then, based on the obtained requirement check results, the game update queue is updated, and the cloud games recorded in the updated game update queue are updated. The requirement check results can be used to indicate whether a corresponding cloud game has an update requirement.
[0038] The update check queue includes one or more check indication messages. Each check indication message is associated with a cloud game and is used to instruct the associated cloud game to perform update requirement checks. In other words, the cloud games associated with each check indication message in the update check queue are all cloud games that require update requirement checks. Optionally, the check indication message associated with any cloud game in the update check queue can be any indication message that can instruct the update requirement checks for that cloud game. Further, the check indication message associated with any cloud game in the update check queue can be any indication message that can uniquely identify that cloud game, such as the cloud game's identity document (id), game name, etc. This embodiment does not impose any limitations.
[0039] In this application, the cloud games recorded in the game update queue are all cloud games that require update processing. If the game update queue is empty, it means that there are no cloud games that need to be updated at the corresponding time. Optionally, the game update queue can record the corresponding cloud games by adding cloud games to it; alternatively, the game update queue can record the corresponding cloud games based on the update indication information by adding the update indication information of the cloud games to it. The following embodiments of this application will exemplify the recording of the corresponding cloud games by the game update queue based on the update indication information. Optionally, any update indication information in the game update queue can be any indication information that can be used to indicate the update processing of the corresponding cloud game; further optionally, the update indication information of any cloud game can be generated based on the check indication information of the corresponding cloud game; further optionally, any update indication information in the game update queue can be any indication information that can uniquely identify the corresponding cloud game, such as the identity document (id) of the corresponding cloud game, the game name of the corresponding cloud game, etc., which are not limited in this application embodiment.
[0040] Based on the above-mentioned game update processing scheme, this application embodiment provides a game update processing system, see [link to relevant documentation]. Figure 1 This is a schematic diagram of the structure of the game update processing system provided in the embodiments of this application. Figure 1 The game update processing system shown may include a game update management server 10 (i.e., Manage Service) and one or more game update management clients 11 (i.e., Clients). The game update management server 10 may be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. The game update management client 11 may be an application adapted to the game update management server 10. The game update processing scheme proposed in this embodiment can be executed collaboratively based on the game update management server 10 and the game update management client 11. Optionally, the game update processing scheme proposed in this application embodiment can also be executed alone or in collaboration by any computing-capable electronic device. Such electronic device can be a terminal device or a server. The terminal device here may include, but is not limited to: computer, smartphone, tablet computer, laptop computer, smart voice interaction device, smart home appliance, vehicle terminal, smart wearable device, etc. The following embodiments of this application will be described using the collaborative execution of a game update management server and a game update management client as an example.
[0041] Furthermore, the game update management server 10 and the game update management client 11 can communicate directly or indirectly through wired or wireless communication methods, and this application embodiment does not impose any restrictions; the game update management server 10 can manage and maintain the connectivity with each game update management client 11. The game update management server 10 can perform queue management, task distribution, task callback and other related processing. The game update management client 11 can execute the tasks distributed by the game update management server 10 and return the task execution results. In other words, after obtaining the check update queue, the game update management client 10 can generate and distribute corresponding check update tasks based on the check instruction information included in the check update queue. The check update task is used to instruct the cloud games associated with the check instruction information to perform check processing of update requirements. Among one or more game update management clients 11, the idle game update management client 11 that receives the check update task can perform check processing of update requirements for the cloud games associated with the check instruction information, obtain the corresponding requirement check results, and return the requirement check results to the game update management server 10. After receiving the requirement check results, the game update management server 10 can update the game update queue based on the obtained requirement check results, and update the cloud games recorded in the updated game update queue.
[0042] When the game update management server 10 updates the game update queue based on the obtained demand check results, it can add the update instruction information of the corresponding cloud game to the game update queue if the demand check results indicate that the corresponding cloud game has an update requirement, thereby updating the game update queue. Furthermore, the game update management server 10 can update the cloud games recorded in the updated game update queue by calling one or more idle game update management clients 11. Specifically, the game update management client 10 can generate and issue a corresponding game update task based on the update instruction information included in the updated game update queue. This game update task is used to instruct the cloud game indicated by the update instruction information to be updated. The idle game update management client 11 that receives the game update task can then update the cloud game indicated by the update instruction information.
[0043] In one embodiment, the game update management server 10 may include an inspection management module and an update management module, and the game update management client 11 may include an inspection module and an update module. The inspection management module can perform related processing such as inspection update queue management, inspection update task distribution, and inspection update task callback. The update management module can perform related processing such as game update queue management and game update task distribution. Specifically, after obtaining the inspection update queue, the inspection management module can generate and distribute corresponding inspection update tasks based on the inspection indication information included in the queue. Among the inspection modules, the idle inspection module that receives the inspection update task can perform update requirement checks on the cloud games associated with the inspection indication information, obtain the corresponding requirement check results, and return the results to the inspection management module. After receiving the requirement check results, if the requirement check results indicate that the corresponding cloud game has an update requirement, the inspection management module can send the update indication information of the corresponding cloud game to the update management module. The update management module then adds the received update indication information of the corresponding cloud game to the game update queue to perform update processing on the game update queue. Furthermore, the update management module can generate and distribute corresponding game update tasks based on the update instruction information included in the updated game update queue. Among the various update modules, the idle update module that receives the game update task can perform update processing on the cloud game indicated by the update instruction information. Furthermore, since the checking module in the same game update management client 11 is used to check and process update requests for cloud games, and the update module is used to process updates for cloud games, for the same cloud game, the game update management client that checks and processes update requests for that cloud game and the game update processing for that cloud game can be the same game update management client.
[0044] It should be noted that, in the specific embodiments of this application, when the privacy data involved is applied to specific products or technologies, permission or consent from the subject is required, and the collection, use and processing of the relevant data must comply with local laws, regulations and standards.
[0045] Based on the above-mentioned game update processing scheme, this application embodiment provides a game update processing method. See also... Figure 2 This is a flowchart illustrating a game update processing method provided in an embodiment of this application. Figure 2 The game update process shown can be executed collaboratively by the game update management server and the game update management client. Figure 2 The game update process shown may include the following steps:
[0046] S201, retrieve the check update queue.
[0047] The update check queue includes one or more check instruction messages. Each check instruction message is associated with a cloud game and is used to instruct the associated cloud game to check its update requirements. In other words, the cloud games associated with each check instruction message included in the update check queue are all cloud games that need to have their update requirements checked. The purpose of checking the update requirements of cloud games is to determine whether the corresponding cloud game has an update requirement, so that cloud games with update requirements are updated subsequently, while cloud games without update requirements do not need to be updated.
[0048] S202, based on the inspection instruction information in one or more inspection instruction information, perform inspection processing on the cloud game associated with the inspection instruction information to obtain the corresponding requirement inspection result.
[0049] The demand check results can be used to indicate whether a corresponding cloud game has an update requirement. The update requirement check for the cloud game associated with the check instruction information can be performed by the game update management server calling one of one or more game update management clients. If the number of game update management clients is N, the game update management server can call up to N game update management clients simultaneously to perform update requirement checks for N different cloud games associated with different check instruction information. After one of the N game update management clients finishes checking the update requirement for the corresponding cloud game, the game update management server can call the idle game update management client to check the update requirement for the next cloud game.
[0050] S203, based on the obtained demand check results, update the game update queue and update the cloud games recorded in the updated game update queue.
[0051] In one embodiment, all cloud games recorded in the game update queue are cloud games that require update processing. If the game update queue is empty, it means that there are no cloud games requiring update processing at that time. Specifically, the game update management server can record a cloud game in the game update queue when the requirement check result indicates that the corresponding cloud game has an update requirement, and then update the game update queue. Furthermore, updating the cloud games recorded in the updated game update queue can be implemented by the game update management server calling one of one or more game update management clients. If the number of game update management clients is N, the game update management server can call up to N game update management clients simultaneously to update N different cloud games. Then, after one of the N game update management clients finishes updating a corresponding cloud game, the game update management server can call the idle game update management client to update the next cloud game.
[0052] In this embodiment, the complete process of checking update requirements and performing updates during cloud gaming updates can be decoupled into two processes: an update requirement checking process and a cloud gaming update process. An update check queue is introduced to manage the update requirement checks for each cloud game recorded in the update check queue. Similarly, a game update queue is introduced to manage the update processes for each cloud game recorded in the game update queue. The update of the game update queue depends on the processing of the update check queue; that is, the game update queue can be updated based on the cloud game's update requirement check results. This enables effective scheduling of cloud gaming updates. The decoupling and the introduction of queues also allow the update requirement check process for the next cloud game recorded in the update check sequence to be executed immediately after the current cloud game's update requirement check process is completed, without waiting for the current cloud game's update process to finish. This speeds up cloud gaming updates, improves update efficiency, reduces time consumption, and ultimately saves computing resources.
[0053] Based on the aforementioned embodiments of the game update processing method, this application provides another game update processing method. See also... Figure 3 This is a flowchart illustrating another game update processing method provided in an embodiment of this application. Figure 3 The game update process shown can be executed collaboratively by the game update management server and the game update management client. Figure 3 The game update process shown may include the following steps:
[0054] S301, retrieve the check update queue.
[0055] The update check queue includes one or more check indication messages. Each check indication message is associated with a cloud game and is used to instruct the check processing of update requirements for the associated cloud game.
[0056] In one embodiment, the update check queue can be stored in a game update management server. In a cloud gaming update scenario, if it is necessary to check and update multiple cloud games uploaded by a cloud game publisher to the cloud gaming platform, the game update management server can obtain multiple cloud games from the cloud gaming platform, generate check instruction information for each cloud game, and then add the check instruction information of each cloud game to the update check queue in sequence. It can be seen that when the update check queue is not empty, the game update management server can start executing the process of checking and processing the update requirements of the cloud games associated with the check instruction information included in the update check queue, without having to wait until the check instruction information of each cloud game is added to the update check queue in sequence before starting execution. This can speed up the execution speed of checking and processing the update requirements of multiple cloud games and reduce the time consumption.
[0057] S302, based on the inspection instruction information in one or more inspection instruction information, perform inspection processing on the cloud game associated with the inspection instruction information to obtain the corresponding requirement inspection result.
[0058] In one embodiment, the requirement check result can be used to indicate whether the corresponding cloud game has an update requirement; further optionally, the requirement check result may include: a first check result indicating that the corresponding cloud game has an update requirement, and a second check result indicating that the corresponding cloud game does not have an update requirement. If one or more check indication information includes first check indication information, and the cloud game associated with the first check indication information is a first cloud game, then the game update management server performs update requirement check processing on the first cloud game according to the first check indication information to obtain the corresponding requirement check result, which may include: starting the cloud game image of the first cloud game according to the first check indication information; wherein, the cloud game image of the first cloud game uses a first image file to support the operation of the first cloud game; obtaining the current file directory and historical file directory of the first image file; when the current file directory and historical file directory of the first image file are different, determining the requirement check result of the first cloud game as the first check result. If the current file directory of the first image file is the same as the historical file directory, then the game update page of the first cloud game that appears after starting the cloud game image is retrieved; if the game update page of the first cloud game is successfully retrieved, the requirement check result of the first cloud game is determined as the first check result; if the retrieval of the game update page of the first cloud game fails, the requirement check result of the first cloud game is determined as the second check result. The operating system image, cloud game image, etc., can all be stored in an image repository. When starting the cloud game image of the first cloud game, it can be pulled from the image repository, that is, the cloud game image of the first cloud game can be obtained from the image repository and started in the image container.
[0059] Since updating the cloud gaming image of First Cloud Game can be achieved by updating the First Cloud Game itself, and updating the First Cloud Game image requires downloading the update resource package uploaded by the cloud gaming publisher, and then updating the First Cloud Game image based on the update resource package, a new file is created in the First image file to store the update resource package during the download process. Therefore, by comparing whether the current file directory and the historical file directory of the First Cloud Game image file have changed after starting the First Cloud Game image, it can be determined whether the First Cloud Game has an update requirement. Specifically, if the current file directory and the historical file directory of the First image file are different, it indicates that the First Cloud Game has an update requirement, and the requirement check result of the First Cloud Game can be determined as the first check result indicating that the corresponding cloud game has an update requirement.
[0060] In the specific implementation, during the process of obtaining the game update page of the first cloud game that appears after launching the cloud game image, the game page after launching the cloud game image of the first cloud game can be obtained and image recognition processing can be performed on the game page. If the result of the image recognition processing indicates that the game page contains a game update component for game updates, then the game page is determined to be a game update page, which means that the game update page of the first cloud game has been successfully obtained. Thus, the requirement check result of the first cloud game can be determined as the first check result indicating that the corresponding cloud game has an update requirement. If the result of the image recognition processing indicates that the game page does not contain a game update component for game updates, and the result of the image recognition processing indicates that the game page is a game login page, then the acquisition of the game update page of the first cloud game has failed. Thus, the requirement check result of the first cloud game can be determined as the second check result indicating that the corresponding cloud game does not have an update requirement. Furthermore, if the result of the image recognition processing indicates that the game page does not contain a game update component for game updates, and the result of the image recognition processing indicates that the game page is not a game login page, then the next game page is obtained, and image recognition processing is performed on the next game page until it is determined whether the acquisition of the game update page of the first cloud game was successful or unsuccessful. Specifically, if the image recognition processing result indicates that the game page contains a game login component for game login, then the game page is determined to be a game login page. Optionally, image recognition processing for any game page can be implemented by calling an image recognition service.
[0061] See Figure 4a This diagram illustrates a method for determining whether a cloud game requires an update, as provided in an embodiment of this application. If the first cloud game is cloud game 1, the game page after launching the cloud game image of cloud game 1 is shown as marked 401. If the image recognition processing result of this game page indicates that it contains a game update component for game updates, as shown by marked 402, then this game page is determined to be a game update page. This indicates that the game update page of cloud game 1 has been successfully obtained, and thus the requirement check result of cloud game 1 can be determined to be the first check result indicating that cloud game 1 has an update requirement. See also... Figure 4bThis is a schematic diagram illustrating another method for determining whether a cloud game requires an update, provided in an embodiment of this application. If the first cloud game is cloud game 2, the game page after launching the cloud game image of cloud game 2 is shown as marked 411. If the result of image recognition processing on this game page indicates that the game page contains a game update component for game updates, as shown by marked 412, then this game page is determined to be a game update page. This indicates that the game update page of cloud game 2 has been successfully obtained, and thus it can be determined that the requirement check result of cloud game 2 is the first check result indicating that cloud game 2 has an update requirement. See also... Figure 4c This is a schematic diagram of another method for determining whether a cloud game needs an update, provided by an embodiment of this application. If the first cloud game is cloud game 3, the game page after starting the cloud game image of cloud game 3 is shown as marked 421. If, by comparing the current file directory and the historical file directory of the first image file corresponding to cloud game 3, it is found that the current file target of the first image file is different from the historical file target, and an update resource package of the first resource volume has been added to the first image file (specifically, an update resource package of 140 megabytes MB has been added), then it can be determined that the requirement check result of cloud game 3 is the first check result indicating that cloud game 3 has an update requirement, that is, it can be determined that cloud game 3 has an update requirement.
[0062] In another feasible implementation, the game update management client checks the update requirements of the first cloud game according to the first check instruction information and obtains the corresponding check result. It may also include: obtaining cloud games with update requirements from the cloud game platform; if the cloud games obtained from the cloud game platform include the first cloud game, determining the check result of the first cloud game as the first check result; otherwise, determining the check result of the first cloud game as the second check result; wherein the cloud game platform may be the GCloud cloud game platform.
[0063] In another feasible implementation, the demand check results for the first cloud game can be collaboratively determined based on the cloud gaming platform, a comparison of the current and historical file directories of the first image file, and image recognition processing. See also Figure 5This diagram illustrates a method for determining the demand check result of a first cloud game, as provided in an embodiment of this application. It shows how to obtain cloud games with update requirements from a cloud gaming platform. When the cloud games obtained from the cloud gaming platform include the first cloud game, the demand check result of the first cloud game is determined as the first check result. Otherwise, according to the first check instruction information, the cloud game image of the first cloud game is launched; the current file directory and historical file directory of the first image file are obtained; if the current file directory and historical file directory of the first image file are different, the demand check result of the first cloud game is determined as the first check result. If the current file directory and historical file directory of the first image file are the same, the game update page of the first cloud game that appears after launching the cloud game image is obtained; if the game update page of the first cloud game is successfully obtained, the demand check result of the first cloud game is determined as the first check result; if obtaining the game update page of the first cloud game fails, the demand check result of the first cloud game is determined as the second check result. In other words, for the first cloud game, the demand check result of the first cloud game can be determined by sequentially detecting the cloud gaming platform, detecting changes in the image file directory, and detecting the acquisition of the game update page.
[0064] In one embodiment, processing the update requirement check of the cloud game associated with the check instruction information according to the check instruction information in one or more check instruction information can be implemented by the game update management server calling one of the one or more game update management clients. The game update management server can call the game update management client to process the update requirement check of the first cloud game according to the first check instruction information and obtain the corresponding requirement check result. In a specific implementation, the check management module in the game update management server can generate and issue the check update task of the first cloud game according to the first check instruction information. Among the check modules of each game update management client, the check module that receives the check update task of the first cloud game and is in an idle state can process the update requirement check of the first cloud game, obtain the requirement check result of the first cloud game, and return the requirement check result of the first cloud game to the check management module of the game update management server to realize the determination of the requirement check result of the first cloud game by the game update management server. Further, the check module can process the update requirement check of the first cloud game and obtain the requirement check result of the first cloud game by calling a mirror server, where the mirror server can be a cloud server including a mirror container.
[0065] S303, obtain the target cloud game with the corresponding requirement inspection result as the first inspection result, and generate update instruction information for the target cloud game based on the inspection instruction information of the target cloud game.
[0066] The first inspection result indicates that the corresponding cloud game needs an update. In one feasible implementation, the inspection indication information of the target cloud game can be used as the update indication information of the target cloud game.
[0067] S304, add the update instruction information of the target cloud game to the game update queue in order to update the game update queue.
[0068] S305 updates the cloud games recorded in the updated game update queue.
[0069] The updated game update queue records cloud games that require updates. The updated game update queue records the corresponding cloud games based on the update instruction information of the cloud games. The update process results for the corresponding cloud games include successful update results and failed update results. Cloud games in the updated game update queue that have a successful update result will be released after a successful update.
[0070] In one embodiment, updating a cloud game is based on updating the cloud game image. Therefore, for any update instruction in the updated game update queue, the game update management server processes the update of the cloud game indicated by that update instruction. This process may include: launching the cloud game image of the corresponding cloud game according to the update instruction; obtaining the game update page for the cloud game that appears after launching the cloud game image, and obtaining the location information of the game update component used for game updating on the game update page through image recognition processing; generating a trigger command to trigger the game update component based on the location information, and executing the trigger command to trigger the game update component, thereby updating the cloud game image; after obtaining the successfully updated cloud game image, packaging the successfully updated cloud game image and pushing it to the image repository for storage; after successfully packaging and pushing the successfully updated cloud game image to the image repository for storage, the update success result indicating the successful cloud game update can be used as the update processing result for the cloud game. Furthermore, the successfully updated cloud game can be published to the live network. This means publishing the successfully updated cloud game image to the live network, allowing users to pull the updated image from the image repository and use the updated cloud game. This can be done through a cloud gaming platform. The process of obtaining the game update page that appears after launching the cloud game image is similar to the process of obtaining the game update page that appears after launching the first cloud game image, and will not be repeated here.
[0071] Furthermore, after executing the trigger command to activate the game update component, if a successful update notification page for the cloud game is detected, and a successful redirect to the game login page is achieved from this page, then the cloud game image is considered successfully updated, and the cloud game image at this point is considered a successfully updated cloud game image. Specifically, after executing the trigger command to activate the game update component, the game page in the cloud game image can be obtained, and image recognition processing can be performed on the game page. If the image recognition result indicates that the game page includes an update success notification component for indicating a successful game update, then the game page is determined to be an update success notification page. Further, through image recognition processing of the cloud game update success notification page, the location information of the update success notification component is obtained. Based on this location information, a trigger command is generated to activate the update success notification component, and this trigger command is executed to activate the update success notification component. After the trigger command is executed to activate the update success notification component, image recognition processing is used to detect whether the game page redirected by the cloud gaming image is the game login page for that cloud game. If it is the game login page, it is determined that the update success notification page for the cloud game successfully redirects to the game login page, thus indicating that the cloud gaming image update is successful. In other words, by sequentially detecting the cloud game's update page, the update success notification page, and the game login page, it can be determined whether the cloud gaming image has been successfully updated. The successfully updated cloud gaming image can then be packaged and pushed to the image repository for storage. After successfully packaging and pushing the successfully updated cloud gaming image to the image repository, it can be published to the live network to achieve the deployment of the successfully updated cloud game.
[0072] See Figure 6This is a schematic diagram illustrating the update process of a cloud game image provided in this application embodiment. If any update instruction in the updated game update queue indicates cloud game 1, after starting the cloud game image of cloud game 1, the obtained game update page of cloud game 1 is shown as marked 601. The game update component used for game update in the game update page of cloud game 1 can be shown as marked 602. The game update component shown as marked 602 is triggered by executing a trigger command. Subsequently, if the update success notification page of Cloud Game 1 is detected as shown in mark 603, the update success notification component in the update success notification page of Cloud Game 1, which is used to indicate that the game update is successful, can be as shown in mark 604. The update success notification component shown in mark 604 is triggered by executing the trigger command. After the update success notification component shown in mark 604 is triggered by executing the trigger command, a successful redirect to the game login page shown in mark 605 can be achieved. Then, it is considered that the cloud game image of Cloud Game 1 has been successfully updated, and the cloud game image at this time is the updated cloud game image.
[0073] In one embodiment, updating the cloud games recorded in the updated game update queue can be achieved by the game update management server calling one of one or more game update management clients. The game update management server can call the game update management client to update the cloud games recorded in the updated game update queue and obtain the corresponding update result. If the update result is a successful update, the successfully updated cloud game can be published, that is, the successfully updated cloud game image can be published to the live network to realize the publication of the successfully updated cloud game.
[0074] In specific implementation, the update management module in the game update management server can generate and issue a corresponding game update task based on any update instruction information in the updated game update queue. In each game update management client, the idle update module that receives the game update task for the cloud game can process the update for that cloud game, obtain the update result, and return the result to the update management module of the game update management server. If the update result for the cloud game is successful, the game update management server will publish the updated cloud game. Furthermore, the update module can process the update for the corresponding cloud game based on the game update task and obtain the update result by calling a mirror server, which can be a cloud server containing image containers.
[0075] See Figure 7 This is a schematic diagram of a cloud game update implementation provided by an embodiment of this application. Taking a cloud game associated with a certain check instruction information in the update queue as an example, if the cloud game is cloud game 1, the game update management server can generate and issue a check update task for cloud game 1 according to the check instruction information. Among the check modules of each game update management client, the check module that receives the check update task for cloud game 1 and is in an idle state can perform check processing on the update requirements of cloud game 1, obtain the check result of cloud game 1, and return the check result of cloud game 1 to the game update management server.
[0076] The inspection module checks the update requirements of Cloud Game 1. Upon receiving the check result, it can invoke the image server to launch the cloud game image of Cloud Game 1. Furthermore, it can determine the update requirements based on the current and historical file directories of the corresponding image file of Cloud Game 1, and also determine the update requirements based on the acquisition of the game update page of Cloud Game 1. Specifically, when determining the update requirements based on the acquisition of the game update page of Cloud Game 1, the inspection module can invoke an image recognition service to perform image recognition processing on the game page after launching the cloud game image of Cloud Game 1. It receives recognition feedback information from the image recognition service indicating whether the game page is a game update page. Based on this feedback information, it determines whether the acquisition of the game update page of Cloud Game 1 was successful; otherwise, it fails.
[0077] Furthermore, after receiving the return of the demand check result for Cloud Game 1, the game update management server can update the game update queue according to the demand check result of Cloud Game 1. If the updated game update queue includes the update instruction information of Cloud Game 1, the game update management server can generate and issue the game update task for Cloud Game 1. Among the update modules of each game update management client, the idle update module that receives the game update task of Cloud Game 1 can perform update processing on Cloud Game 1, obtain the update processing result of Cloud Game 1, and return the update processing result of Cloud Game 1 to the game update management server. If the update processing result of the cloud game is a successful update result, the game update management server will publish the successfully updated cloud game. Specifically, it can call the cloud game platform to publish the successfully updated cloud game to the live network.
[0078] The update module updates Cloud Game 1. Upon receiving the update result, it can call the image server to start the cloud game image of Cloud Game 1, call the image recognition service to perform image recognition processing on the game update page of Cloud Game 1, and receive the location information of the game update component returned by the image recognition service. Based on this location information, it generates a trigger command to trigger the game update component and executes the trigger command to trigger the game update component, thereby updating the cloud game image of Cloud Game 1. After obtaining the successfully updated cloud game image, it packages the successfully updated cloud game image and pushes it to the image repository for storage. After receiving the feedback information of successful push, the update module can use the update success result indicating the successful update of the cloud game as the update processing result of Cloud Game 1.
[0079] See Figure 8 This is a schematic diagram illustrating another implementation of cloud game updates provided in this application embodiment. The game update management server can manage the update check queue and the game update queue. The update of the game update queue depends on the processing result of the update check queue. If the update check queue includes update indication information for cloud game 1, the game update management server can call the game update management client to check the update requirement of cloud game 1 and obtain the requirement check result of cloud game 1. The game update management client can rely on the cloud game platform and image recognition service to check the update requirement of cloud game 1 by sequentially detecting the cloud game platform, detecting changes in the image file directory, and detecting the acquisition of the game update page to determine the requirement check result of cloud game 1. If the requirement check result of cloud game 1 indicates that cloud game 1 has an update requirement, the update indication information of cloud game 1 can be added to the game update queue. The game update management server can call the game update management client to update cloud game 1 and obtain the update result of cloud game 1. The game update management client can rely on image recognition service to update cloud game 1 by sequentially detecting the game update page, the update success prompt page, and the game login page of cloud game 1 to determine whether the cloud game image of cloud game 1 has been updated successfully. Then, the successfully updated cloud game image can be packaged and pushed to the image repository for storage, and the successfully updated cloud game image can be published to the live network to realize the release of the successfully updated cloud game.
[0080] In this embodiment, the complete process of checking update requirements and performing updates during cloud gaming updates can be decoupled into two processes: an update requirement checking process and a cloud gaming update process. An update requirement checking queue is introduced to manage the check processes for each cloud game's update requirements recorded in the update requirement checking queue. Similarly, a game update queue is introduced to manage the update processes for each cloud game recorded in the game update queue. Furthermore, by introducing multiple game update management clients, multiple cloud game update requirement checking processes and multiple cloud game update processes can be executed simultaneously, improving concurrency, accelerating cloud gaming update speed, increasing update efficiency, and reducing time consumption. Moreover, by analyzing whether the current and historical file directories of the cloud game's image file change after launching the cloud game image, and whether the game update page for that cloud game appears successfully after launching the cloud game image, accurate determination of update requirements for different cloud games can be achieved, solving the problem of difficulty in accurately determining update requirements due to the differences between cloud games.
[0081] Based on the aforementioned embodiments of the game update processing method, this application provides another game update processing method. See also... Figure 9 This is a flowchart illustrating another game update processing method provided in an embodiment of this application. Figure 9 The game update process shown can be executed collaboratively by the game update management server and the game update management client. Figure 9 The game update process shown may include the following steps:
[0082] S901, retrieve the check update queue.
[0083] The update check queue includes one or more check indication messages. Each check indication message is associated with a cloud game and is used to instruct the check processing of update requirements for the associated cloud game.
[0084] S902, based on the inspection instruction information in one or more inspection instruction information, perform inspection processing on the cloud game associated with the inspection instruction information to obtain the corresponding requirement inspection result.
[0085] S903, obtain the target cloud game with the corresponding requirement inspection result as the first inspection result, and generate update instruction information for the target cloud game based on the inspection instruction information of the target cloud game.
[0086] S904 adds the update instruction information of the target cloud game to the game update queue in order to update the game update queue.
[0087] S905 updates the cloud games recorded in the updated game update queue.
[0088] The updated game update queue records cloud games that require updates. The updated game update queue records the corresponding cloud games based on the update instruction information of the cloud games. The results of updating the corresponding cloud games include successful update results and failed update results.
[0089] The processes of steps S901 to S905 are similar to those of steps S301 to S305 described above, and will not be repeated here.
[0090] S906: Obtain the cloud games whose update processing result is "update successful" and add the successfully updated cloud games to the game preview queue.
[0091] S907 performs preview processing on the cloud games included in the game preview queue to obtain the corresponding game preview results.
[0092] The cloud games included in the game preview queue are all cloud games whose update processing result is successful. The game preview result is used to indicate whether the preview of the corresponding cloud game was successful.
[0093] In one embodiment, if the cloud game program included in the game preview queue is a cloud game to be previewed; the game update management server performs preview processing on the cloud game to be previewed to obtain a game preview result for the cloud game to be previewed, which may include: starting the cloud game image of the cloud game to be previewed; wherein the cloud game image of the cloud game to be previewed uses a second image file to support the operation of the cloud game to be previewed; obtaining the current file directory and historical file directory of the second image file, and obtaining the game update page about the cloud game to be previewed that appears after starting the cloud game image of the cloud game to be previewed; if the current file directory and historical file directory of the second image file are the same, and obtaining the game update page of the cloud game to be previewed fails, generating a game preview result indicating that the preview of the cloud game to be previewed was successful; otherwise, generating a game preview result indicating that the preview of the cloud game to be previewed failed.
[0094] The process of obtaining the current and historical file directories of the second image file is similar to that of obtaining the current and historical file directories of the first image file, and will not be repeated here. Similarly, the process of obtaining the game update page for the cloud game that appears after launching the cloud game image to be previewed is similar to that of obtaining the game update page for the first cloud game that appears after launching the cloud game image to be previewed, and will not be repeated here. In other words, for the cloud game to be previewed, changes in the image file directory and the acquisition of the game update page can be checked sequentially to determine if the cloud game preview was successful. If, during the process of checking the acquisition of the game update page, no game update page is detected before the game login page of the cloud game to be previewed is detected, then the acquisition of the game update page is considered a failure. Therefore, the acquisition of the game update page can be determined by checking the recognition of the game update page and the recognition of the game login page.
[0095] In one embodiment, previewing cloud games in the game preview queue to obtain corresponding game preview results can be achieved by a game update management server calling one of one or more game update management clients. The game update management server can call the game update management client to preview the cloud games in the game preview queue and obtain corresponding game preview results. Further optionally, the game update management server may also include a preview management module for performing related processing such as game preview queue management, game preview task distribution, and game preview task callbacks. The game update management client may also include a preview module for executing game preview tasks and returning game preview results. Specifically, the preview management module in the game update management server can generate and distribute corresponding game preview tasks based on the cloud games in the game preview queue. Among the preview modules of each game update management client, the idle preview module that receives the game preview task for the cloud game can preview the cloud game, obtain the game preview result, and return the game preview result to the preview module, so that the preview module can publish the cloud game if the game preview result indicates successful preview. The preview module performs preview processing on the cloud game to obtain the game preview result, which can be achieved by calling the cloud game platform.
[0096] In one feasible implementation, the game update management server can also obtain preview indication information for cloud games whose update processing result is a successful update, and add the corresponding preview indication information to the game preview queue. This allows the game preview queue to record successfully updated cloud games based on the preview indication information, thereby enabling preview processing of the cloud games indicated by the preview indication information contained in the game preview queue to obtain the corresponding game preview result. Optionally, the preview indication information can be any indication information that can be used to indicate game preview of the corresponding cloud game; further optionally, the preview indication information can be generated based on the update indication information of the corresponding cloud game; further optionally, the preview indication information can be any indication information that can uniquely identify the corresponding cloud game, such as the identity document (id) of the corresponding cloud game, the game name of the corresponding cloud game, etc., which are not limited in this embodiment.
[0097] S908 indicates that the cloud game preview result is successful and will be processed for release.
[0098] See Figure 10 This is a schematic diagram of cloud game update and release based on game preview provided in an embodiment of this application. Taking a cloud game associated with a certain check instruction information in the update queue as an example, if the cloud game is cloud game 1, the game update management server can generate and issue a check update task for cloud game 1 according to the check instruction information. Among the check modules of each game update management client, the check module that receives the check update task for cloud game 1 and is in an idle state can perform check processing on the update requirements of cloud game 1, obtain the check result of cloud game 1, and return the check result of cloud game 1 to the game update management server.
[0099] Furthermore, after receiving the demand check result of Cloud Game 1, the game update management server can update the game update queue according to the demand check result of Cloud Game 1. If the updated game update queue includes the update instruction information of Cloud Game 1, the game update management server can generate and issue the game update task of Cloud Game 1. Among the update modules of each game update management client, the update module that receives the game update task of Cloud Game 1 and is in an idle state can perform update processing on Cloud Game 1, obtain the update processing result of Cloud Game 1, and return the update processing result of Cloud Game 1 to the game update management server.
[0100] Furthermore, after receiving the update processing result of Cloud Game 1, the game update management server can add the successfully updated Cloud Game 1 to the game preview queue if the update processing result indicates a successful update. If the successfully updated Cloud Game 1 is added to the game preview queue, the game update management server can generate a game preview task for Cloud Game 1 based on the Cloud Game 1 in the game preview queue (at this point, Cloud Game 1 is the successfully updated Cloud Game 1) and distribute it. In the preview modules of each game update management client, the idle preview modules that receive the game preview task for Cloud Game 1 can call the cloud gaming platform to perform preview processing on Cloud Game 1, obtain the game preview result, and return the game preview result to the game update management server. After receiving the game preview result of Cloud Game 1, if the game preview result indicates a successful preview, the game update management server calls the cloud gaming platform to publish Cloud Game 1 to the live network.
[0101] See Figure 11This is a schematic diagram illustrating another cloud game update and release based on game preview, provided by an embodiment of this application. The game update management server can manage the update check queue, the game update queue, and the game preview queue. Updates to the game update queue rely on the processing results of the update check queue, and updates to the game preview queue rely on the processing results of the game update queue. If the update check queue includes update indication information for cloud game 1, the game update management server can call the game update management client to check the update requirements of cloud game 1, obtaining the update requirement check result. The game update management client can check the update requirements of cloud game 1 using the cloud gaming platform and image recognition services, determining the update requirement check result by sequentially detecting changes in the cloud gaming platform, the image file directory, and the acquisition of the game update page. If the update requirement check result of cloud game 1 indicates that cloud game 1 has an update requirement, the update indication information of cloud game 1 can be added to the game update queue. The game update management server can call the game update management client to update Cloud Game 1 and obtain the update result. The game update management client can rely on image recognition services to update Cloud Game 1 by sequentially detecting the game update page, the update success message page, and the game login page to determine if the cloud game image has been successfully updated. Then, the successfully updated cloud game image can be packaged and pushed to the image repository for storage. After successfully packaging and pushing the successfully updated cloud game image to the image repository, the update success result indicating a successful update can be used as the update processing result for Cloud Game 1. If the update processing result for Cloud Game 1 is a successful update, then the successfully updated Cloud Game 1 can be added to the game preview queue. The game update management server can call the game update management client to preview cloud game 1 and obtain the game preview result of cloud game 1. The game update management client can rely on image recognition service to preview cloud game 1 by sequentially detecting changes in the image file directory, detecting the recognition of the game update page, and detecting the recognition of the game login page to determine whether cloud game 1 has been successfully previewed; and if cloud game 1 has been successfully previewed, it will be published.
[0102] In one embodiment, the game update management server may further provide an image creation management module, and the game update management client may further provide an image creation module. The image creation management module and the image creation module can collaborate based on an image creation queue to update cloud games using their program installation packages. The image creation queue includes one or more image creation instruction messages, each corresponding to a cloud game and used to instruct the corresponding cloud game to be updated using its program installation package. For specific implementation details, see [link to implementation details]. Figure 12 This is a schematic diagram of cloud game updates based on an image creation queue provided in this application embodiment. The image creation management module can generate and issue corresponding image creation tasks according to any image creation instruction information in the image creation queue. Among the image creation modules of each game update management client, the idle image creation module that receives the image creation task can download the corresponding cloud game program installation package, such as the installation package under the Android operating system, i.e., the apk (Android Package) package, execute the pre-script adapted to the cloud game (i.e., execute the pre_script.sh file), install the cloud game image and check the installation result, execute the post-script adapted to the cloud game (i.e., execute the post_script.sh file), and push the successfully updated cloud game image.
[0103] In one embodiment, see Figure 13 This is a schematic diagram of another game update processing system provided in this application embodiment. The game update processing system may include: a game update management server, one or more game update management clients, an image recognition service, and a cloud gaming platform. The game update management server may include: a check management module (CHECKER), an update management module (UPDATER), a preview management module (PREVIEWER), and an image creation management module (MAKER). The game update management client may include a check module (Checker), an update module (Updater), a preview module (Previewer), and an image creation module (Maker), and may also include an image launch module (Creater) for performing the creation and launch operations of the cloud game image when it is necessary to launch any cloud game image. Optionally, as... Figure 13 The game update processing system shown can be implemented using a Remote Procedure Call Protocol (RPC). For example, it can use gRPC to enable the game update management server to remotely call the corresponding module in the game update management client. Further optionally, in addition to check indication information, the update queue can also include corresponding status record fields. The status record field corresponding to any check indication information can be used to record the processing status of the update request for the cloud game associated with that check indication information. For example, it can include: not processed, processing, and processing completed. The specific processing status can be recorded by the check management module in the game update management server. Correspondingly, the game update queue, game preview queue, and image creation object can include corresponding status record fields for recording processing status, which are recorded by the processing modules managing the corresponding queues in the game update management server.
[0104] In this embodiment of the application, the complete process of checking update requirements and performing updates during the cloud game update process is decoupled into two processes: the update requirement checking process and the cloud game update process. In addition, a preview process for successfully updated cloud games is added. This preview process is used to verify whether the previewed cloud game has indeed been successfully updated, and it is only released after the preview is successful, so as to avoid releasing cloud games with update errors that reduce the game experience.
[0105] Based on the above method embodiments, this application provides a game update processing apparatus. See also Figure 14 This is a schematic diagram of the structure of a game update processing device provided in an embodiment of this application. The game update processing device may include an acquisition unit 1401 and a processing unit 1402. Figure 14 The game update processing device shown can operate the following units:
[0106] The acquisition unit 1401 is used to acquire the check update queue; the check update queue includes one or more check indication information, one check indication information is associated with a cloud game and is used to indicate the check processing of the update requirement of the associated cloud game.
[0107] The processing unit 1402 is configured to perform update requirement inspection processing on the cloud game associated with the inspection instruction information according to the inspection instruction information in the one or more inspection instruction information, and obtain the corresponding requirement inspection result.
[0108] The processing unit 1402 is also used to update the game update queue according to the obtained demand check results, and to update the cloud games recorded in the updated game update queue.
[0109] In one embodiment, the requirement check result includes: a first check result indicating that the corresponding cloud game has an update requirement, and a second check result indicating that the corresponding cloud game does not have an update requirement, wherein the one or more check indication information includes the first check indication information, and the cloud game associated with the first check indication information is the first cloud game; when the processing unit 1402 performs update requirement check processing on the first cloud game according to the first check indication information and obtains the corresponding requirement check result, it specifically performs the following operations:
[0110] According to the first inspection instruction information, the cloud game image of the first cloud game is started; wherein, the cloud game image of the first cloud game uses a first image file to support the operation of the first cloud game;
[0111] Obtain the current file directory and historical file directory of the first image file;
[0112] When the current file directory of the first image file is different from the historical file directory, the requirement check result of the first cloud game is determined as the first check result.
[0113] In one embodiment, the processing unit 1402 is further configured to:
[0114] If the current file directory of the first image file is the same as the historical file directory, then obtain the game update page about the first cloud game that appears after the cloud game image of the first cloud game is launched;
[0115] Upon successfully obtaining the game update page of the first cloud game, the requirement check result of the first cloud game is determined as the first check result;
[0116] When retrieving the game update page of the first cloud game fails, the requirement check result of the first cloud game is determined to be the second check result.
[0117] In one embodiment, the processing unit 1402 is further configured to:
[0118] Obtain cloud games from cloud gaming platforms that require updates;
[0119] If the cloud games obtained from the cloud gaming platform include the first cloud game, the requirement check result of the first cloud game is determined as the first check result; otherwise, the requirement check result of the first cloud game is determined as the second check result.
[0120] In one embodiment, the demand check result includes: a first check result indicating that the corresponding cloud game has an update requirement, and a second check result indicating that the corresponding cloud game does not have an update requirement; when the processing unit 1402 updates the game update queue based on the obtained demand check result, it specifically performs the following operations:
[0121] Obtain the target cloud game whose corresponding requirement inspection result is the first inspection result, and generate the update instruction information of the target cloud game based on the inspection instruction information of the target cloud game;
[0122] The update instruction information of the target cloud game is added to the game update queue to update the game update queue.
[0123] The updated game update queue records cloud games that require updates, and the update process for each cloud game includes both successful and failed updates. Cloud games in the updated game update queue that have a successful update result are released after a successful update.
[0124] In one embodiment, the processing unit 1402 is further configured to:
[0125] Retrieve cloud games whose update processing result is "update successful" and add the successfully updated cloud games to the game preview queue;
[0126] The cloud games included in the game preview queue are previewed to obtain the corresponding game preview results; the game preview results are used to indicate whether the preview of the corresponding cloud game was successful.
[0127] Cloud games that have successfully previewed will be processed for release.
[0128] In one embodiment, the cloud games included in the game preview queue are cloud games to be previewed;
[0129] When the processing unit 1402 performs preview processing on the cloud game to be previewed and obtains the game preview result of the cloud game to be previewed, it specifically performs the following operations:
[0130] Launch the cloud game image of the cloud game to be previewed; wherein the cloud game image of the cloud game to be previewed uses a second image file to support the operation of the cloud game to be previewed;
[0131] Obtain the current file directory and historical file directory of the second image file, and obtain the game update page about the cloud game to be previewed that appears after launching the cloud game image of the cloud game to be previewed;
[0132] If the current file directory of the second image file is the same as the historical file directory, and the acquisition of the game update page of the cloud game to be previewed fails, a game preview result is generated to indicate that the cloud game to be previewed was successfully previewed.
[0133] In one embodiment, the step of checking the update requirements of the cloud game associated with the one or more check indication information based on the check indication information is implemented by the game update management server calling one of the one or more game update management clients;
[0134] The process of updating the cloud games recorded in the updated game update queue is implemented by the game update management server calling one of the one or more game update management clients.
[0135] According to one embodiment of this application, Figure 2 , Figure 3 as well as Figure 9 The steps involved in the game update process shown can be handled by... Figure 14The update process is performed by various units within the game's update handling unit, as shown. For example, Figure 2 The step S201 shown can be performed by Figure 14 The update processing device for the game shown uses the acquisition unit 1401 to perform the update. Figure 2 Steps S202 to S203 shown can be derived from Figure 14 The update processing unit 1402 in the game update processing device shown is used to execute it. For example, Figure 3 The step S301 shown can be performed by Figure 14 The update processing device for the game shown uses the acquisition unit 1401 to perform the update. Figure 3 Steps S302 to S305 shown can be derived from... Figure 14 The update processing unit 1402 in the game update processing device shown is used to execute it. For example, Figure 9 The step S901 shown can be performed by Figure 14 The update processing device for the game shown uses the acquisition unit 1401 to perform the update. Figure 9 Steps S902 to S908 shown can be derived from... Figure 14 The update processing unit 1402 in the game update processing device shown is used to execute it.
[0136] According to another embodiment of this application, Figure 14 The game update processing apparatus shown can be composed of various units, either individually or entirely, combined into one or more other units. Alternatively, some units can be further divided into functionally smaller units. This achieves the same operation without affecting the technical effects of the embodiments of this application. The above-mentioned units are based on logical functional division. In practical applications, the function of one unit can be implemented by multiple units, or the function of multiple units can be implemented by one unit. In other embodiments of this application, the game update processing apparatus based on logical functional division may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented collaboratively by multiple units.
[0137] According to another embodiment of this application, the following can be achieved by running on a general-purpose computing device, such as a computer, which includes processing elements and storage elements such as a central processing unit (CPU), random access memory (RAM), and read-only memory (ROM), a device capable of performing operations such as... Figure 2 , Figure 3 or Figure 9 The computer program (including program code) for each step involved in the corresponding method shown, to construct such... Figure 14The invention describes a game update processing apparatus and a game update processing method for implementing the embodiments of this application. The computer program may be recorded on, for example, a computer-readable storage medium, loaded onto the aforementioned computing device via the computer-readable storage medium, and run therein.
[0138] In this embodiment, the complete process of checking update requirements and performing updates during cloud gaming updates can be decoupled into two processes: an update requirement checking process and a cloud gaming update process. An update check queue is introduced to manage the update requirement checks for each cloud game recorded in the update check queue. Similarly, a game update queue is introduced to manage the update processes for each cloud game recorded in the game update queue. The update of the game update queue depends on the processing of the update check queue; that is, the game update queue can be updated based on the cloud game's update requirement check results. This enables effective scheduling of cloud gaming updates. The decoupling and the introduction of queues also allow the update requirement check process for the next cloud game recorded in the update check sequence to be executed immediately after the current cloud game's update requirement check process is completed, without waiting for the current cloud game's update process to finish. This speeds up cloud gaming updates, improves update efficiency, reduces time consumption, and ultimately saves computing resources.
[0139] Based on the above method and apparatus embodiments, this application also provides an electronic device. See also Figure 15 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 15 The electronic device shown may include at least a processor 1501, an input interface 1502, an output interface 1503, and a computer storage medium 1504. The processor 1501, input interface 1502, output interface 1503, and computer storage medium 1504 may be connected via a bus or other means.
[0140] Computer storage medium 1504 can be stored in the memory of electronic device. Computer storage medium 1504 is used to store computer programs, which include program instructions. Processor 1501 is used to execute the program instructions stored in computer storage medium 1504. Processor 1501 (or CPU (Central Processing Unit)) is the computing and control core of electronic device. It is suitable for implementing one or more instructions, specifically for loading and executing one or more instructions to realize the update processing method or corresponding function of the above game.
[0141] This application embodiment also provides a computer storage medium (Memory), which is a memory device in an electronic device used to store programs and data. It is understood that the computer storage medium here can include the built-in storage medium in a terminal, or it can include an extended storage medium supported by the terminal. The computer storage medium provides storage space, which stores the terminal's operating system. Furthermore, the storage space also stores one or more instructions suitable for loading and execution by the processor 1501. These instructions can be one or more computer programs (including program code). It should be noted that the computer storage medium here can be a high-speed random access memory (RAM), or it can be non-volatile memory, such as at least one disk storage device; optionally, it can also be at least one computer storage medium located remotely from the aforementioned processor.
[0142] In one embodiment, processor 1501 may load and execute one or more instructions stored in computer storage medium to implement the aforementioned related... Figure 2 , Figure 3 as well as Figure 9 In the game update processing method embodiment, the corresponding steps of the method are as follows: In a specific implementation, one or more instructions in the computer storage medium are loaded and executed by the processor 1501:
[0143] Obtain the check update queue; the check update queue includes one or more check indication messages, each check indication message is associated with a cloud game and is used to indicate the check processing of the update requirement for the associated cloud game;
[0144] Based on the inspection instruction information in one or more inspection instruction information, the cloud game associated with the inspection instruction information is checked for update requirements to obtain the corresponding requirement inspection results;
[0145] Based on the obtained demand inspection results, the game update queue is updated, and the cloud games recorded in the updated game update queue are updated.
[0146] In one embodiment, the requirement check result includes: a first check result indicating that the corresponding cloud game has an update requirement, and a second check result indicating that the corresponding cloud game does not have an update requirement, wherein the one or more check indication information includes the first check indication information, and the cloud game associated with the first check indication information is the first cloud game; when the processor 1501 performs update requirement check processing on the first cloud game according to the first check indication information and obtains the corresponding requirement check result, it specifically performs the following operations:
[0147] According to the first inspection instruction information, the cloud game image of the first cloud game is started; wherein, the cloud game image of the first cloud game uses a first image file to support the operation of the first cloud game;
[0148] Obtain the current file directory and historical file directory of the first image file;
[0149] When the current file directory of the first image file is different from the historical file directory, the requirement check result of the first cloud game is determined as the first check result.
[0150] In one embodiment, the processor 1501 is further configured to:
[0151] If the current file directory of the first image file is the same as the historical file directory, then obtain the game update page about the first cloud game that appears after the cloud game image of the first cloud game is launched;
[0152] Upon successfully obtaining the game update page of the first cloud game, the requirement check result of the first cloud game is determined as the first check result;
[0153] When retrieving the game update page of the first cloud game fails, the requirement check result of the first cloud game is determined to be the second check result.
[0154] In one embodiment, the processor 1501 is further configured to:
[0155] Obtain cloud games from cloud gaming platforms that require updates;
[0156] If the cloud games obtained from the cloud gaming platform include the first cloud game, the requirement check result of the first cloud game is determined as the first check result; otherwise, the requirement check result of the first cloud game is determined as the second check result.
[0157] In one embodiment, the demand check result includes: a first check result indicating that the corresponding cloud game has an update requirement, and a second check result indicating that the corresponding cloud game does not have an update requirement; when the processor 1501 updates the game update queue based on the obtained demand check result, it specifically performs the following operations:
[0158] Obtain the target cloud game whose corresponding requirement inspection result is the first inspection result, and generate the update instruction information of the target cloud game based on the inspection instruction information of the target cloud game;
[0159] The update instruction information of the target cloud game is added to the game update queue to update the game update queue.
[0160] The updated game update queue records cloud games that require updates, and the update process for each cloud game includes both successful and failed updates. Cloud games in the updated game update queue that have a successful update result are released after a successful update.
[0161] In one embodiment, the processor 1501 is further configured to:
[0162] Retrieve cloud games whose update processing result is "update successful" and add the successfully updated cloud games to the game preview queue;
[0163] The cloud games included in the game preview queue are previewed to obtain the corresponding game preview results; the game preview results are used to indicate whether the preview of the corresponding cloud game was successful.
[0164] Cloud games that have successfully previewed will be processed for release.
[0165] In one embodiment, the cloud games included in the game preview queue are cloud games to be previewed;
[0166] When the processor 1501 performs preview processing on the cloud game to be previewed and obtains the game preview result of the cloud game to be previewed, it specifically performs the following operations:
[0167] Launch the cloud game image of the cloud game to be previewed; wherein the cloud game image of the cloud game to be previewed uses a second image file to support the operation of the cloud game to be previewed;
[0168] Obtain the current file directory and historical file directory of the second image file, and obtain the game update page about the cloud game to be previewed that appears after launching the cloud game image of the cloud game to be previewed;
[0169] If the current file directory of the second image file is the same as the historical file directory, and the acquisition of the game update page of the cloud game to be previewed fails, a game preview result is generated to indicate that the cloud game to be previewed was successfully previewed.
[0170] In one embodiment, the step of checking the update requirements of the cloud game associated with the one or more check indication information based on the check indication information is implemented by the game update management server calling one of the one or more game update management clients;
[0171] The process of updating the cloud games recorded in the updated game update queue is implemented by the game update management server calling one of the one or more game update management clients.
[0172] This application provides a computer program product, which includes a computer program stored in a computer storage medium. An electronic device's processor reads the computer program from the computer storage medium and executes the computer program, causing the electronic device to perform the aforementioned actions. Figure 2 , Figure 3 as well as Figure 9 The method embodiment shown. The computer-readable storage medium may be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.
[0173] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for handling game updates, characterized in that, include: Obtain the check update queue; the check update queue includes multiple check indication information, each check indication information is associated with a cloud game and is used to indicate the check processing of the update requirement of the associated cloud game; Based on the inspection instruction information in the plurality of inspection instruction information, the cloud games associated with the inspection instruction information are checked for update requirements to obtain corresponding requirement check results; the requirement check results include: a first check result indicating that the corresponding cloud game has an update requirement, and a second check result indicating that the corresponding cloud game does not have an update requirement; Based on the obtained demand check results, the game update queue is updated, and the cloud games recorded in the updated game update queue are updated. The method of updating the game update queue based on the obtained demand check results includes: obtaining the target cloud game whose demand check result is the first check result, and generating update instruction information for the target cloud game based on the check instruction information of the target cloud game; adding the update instruction information of the target cloud game to the game update queue to update the game update queue; wherein, the cloud games recorded in the updated game update queue are cloud games with update requirements, and the result of updating the corresponding cloud games includes update success and update failure; the cloud games in the updated game update queue whose update processing result is update success are released after successful update.
2. The method as described in claim 1, characterized in that, The requirement check results include: a first check result indicating that the corresponding cloud game has an update requirement, and a second check result indicating that the corresponding cloud game does not have an update requirement. The plurality of check indication information includes the first check indication information, and the cloud game associated with the first check indication information is the first cloud game. The first cloud game is checked for update requirements based on the first check indication information to obtain the corresponding requirement check results, including: According to the first inspection instruction information, the cloud game image of the first cloud game is started; wherein, the cloud game image of the first cloud game uses a first image file to support the operation of the first cloud game; Obtain the current file directory and historical file directory of the first image file; When the current file directory of the first image file is different from the historical file directory, the requirement check result of the first cloud game is determined as the first check result.
3. The method as described in claim 2, characterized in that, The method further includes: If the current file directory of the first image file is the same as the historical file directory, then obtain the game update page about the first cloud game that appears after the cloud game image of the first cloud game is launched; Upon successfully obtaining the game update page of the first cloud game, the requirement check result of the first cloud game is determined as the first check result; When retrieving the game update page of the first cloud game fails, the requirement check result of the first cloud game is determined to be the second check result.
4. The method as described in claim 2, characterized in that, The method further includes: Obtain cloud games from cloud gaming platforms that require updates; If the cloud games obtained from the cloud gaming platform include the first cloud game, the requirement check result of the first cloud game is determined as the first check result; otherwise, the requirement check result of the first cloud game is determined as the second check result.
5. The method as described in claim 1, characterized in that, The method further includes: Retrieve cloud games whose update processing result is "update successful" and add the successfully updated cloud games to the game preview queue; The cloud games included in the game preview queue are previewed to obtain the corresponding game preview results; the game preview results are used to indicate whether the preview of the corresponding cloud game was successful. Cloud games that have successfully previewed will be processed for release.
6. The method as described in claim 5, characterized in that, The cloud games included in the game preview queue are cloud games awaiting preview. The cloud game to be previewed is previewed to obtain the game preview result of the cloud game to be previewed, including: Launch the cloud game image of the cloud game to be previewed; wherein the cloud game image of the cloud game to be previewed uses a second image file to support the operation of the cloud game to be previewed; Obtain the current file directory and historical file directory of the second image file, and obtain the game update page about the cloud game to be previewed that appears after launching the cloud game image of the cloud game to be previewed; If the current file directory of the second image file is the same as the historical file directory, and the acquisition of the game update page of the cloud game to be previewed fails, a game preview result is generated to indicate that the cloud game to be previewed was successfully previewed.
7. The method as described in claim 1, characterized in that, The step of checking and processing the cloud game associated with the check indication information according to the check indication information among the multiple check indication information is implemented by the game update management server calling one of the one or more game update management clients; The process of updating the cloud games recorded in the updated game update queue is implemented by the game update management server calling one of the one or more game update management clients.
8. A game update processing device, characterized in that, include: An acquisition unit is used to acquire an update check queue; the update check queue includes multiple check indication messages, each check indication message is associated with a cloud game and is used to instruct the associated cloud game to perform update requirement check processing. The processing unit is configured to perform update requirement checks on the cloud games associated with the multiple check instruction information based on the check instruction information among the multiple check instruction information, and obtain corresponding requirement check results; the requirement check results include: a first check result indicating that the corresponding cloud game has an update requirement, and a second check result indicating that the corresponding cloud game does not have an update requirement; The processing unit is further configured to update the game update queue according to the obtained demand check results, and update the cloud games recorded in the updated game update queue. The method of updating the game update queue according to the obtained demand check results includes: obtaining the target cloud game whose demand check result is the first check result, and generating update indication information for the target cloud game based on the check indication information of the target cloud game; adding the update indication information of the target cloud game to the game update queue to update the game update queue; wherein, the cloud games recorded in the updated game update queue are cloud games with update requirements, and the result of updating the corresponding cloud games includes the result of successful update and the result of failed update; the cloud games in the updated game update queue whose update processing result is successful are released after successful update.
9. An electronic device, characterized in that, The electronic device includes an input interface and an output interface, and further includes: A processor, adapted to implement one or more instructions; and, A computer storage medium storing one or more instructions adapted for loading by the processor and executing the game update processing method as described in any one of claims 1-7.
10. A computer storage medium, characterized in that, The computer storage medium stores computer program instructions, which, when executed by a processor, are used to perform the game update processing method as described in any one of claims 1-7.
11. A computer program product comprising a computer program stored in a computer storage medium; a processor of an electronic device reading the computer program from the computer storage medium, the processor executing the computer program to cause the electronic device to perform the game update processing method as described in any one of claims 1-7.