Cloud game deployment method and device, electronic equipment and readable storage medium

By automatically generating deployment code information and processes, cloud game deployment tasks are executed automatically, solving the problem of low efficiency in existing technologies and achieving efficient and stable cloud game deployment.

CN116159304BActive Publication Date: 2026-04-17XIAMEN YAJI SOFTWARE
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
XIAMEN YAJI SOFTWARE
Filing Date
2023-03-03
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

Existing cloud gaming deployment methods are inefficient, requiring manual operation by maintenance personnel, which makes the deployment process complex and time-consuming.

Method used

By receiving development code information uploaded from the development terminal, deployment code information is generated, and a deployment process is generated based on a pre-set deployment template. The server is automatically invoked to execute deployment tasks, simplifying and automating the deployment process.

Benefits of technology

It improves the efficiency of cloud gaming deployment, reduces reliance on maintenance personnel, simplifies the deployment process, shortens deployment time, and improves deployment stability and success rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116159304B_ABST
    Figure CN116159304B_ABST
Patent Text Reader

Abstract

This application provides a cloud gaming deployment method, apparatus, electronic device, and readable storage medium, relating to the field of cloud gaming. The method includes: receiving development code information for a cloud game to be deployed uploaded by a development terminal; generating deployment code information based on the development code information; generating a deployment process based on a pre-set deployment template and the deployment code information; and then calling a server to execute at least one deployment task of the cloud game based on the deployment process. This application achieves the technical effect of automatically and quickly generating deployment code information and executing cloud game deployment tasks based on the development code information uploaded by the development terminal. This game deployment process eliminates the need for maintenance personnel, simplifying the deployment process and improving game deployment efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of cloud gaming technology, and more specifically, to a cloud gaming deployment method, apparatus, electronic device, and readable storage medium. Background Technology

[0002] Cloud gaming migrates game instances that originally ran locally to the cloud. The local User Agent (UA) simply transmits user actions to the Game Service (GS) in real time over the network. The GS and the corresponding game instance reside in the same system environment. Based on the received user actions, the GS controls the game instance accordingly, causing the game instance to respond to the user's commands. Simultaneously, the GS captures the game instance's execution results and transmits them to the UA in real time as audio and video streams, where the game's visuals and sound are displayed. In short, during cloud gaming, based on real-time network communication between the UA and GS, users can control game instances running in the cloud via the GS.

[0003] Currently, deploying a game across various cloud nodes to enable it to provide cloud gaming services requires deployment operations by the cloud gaming platform or its cloud service provider's maintenance personnel. Only then can game developers and users actually use the game's cloud gaming service and see the game's actual cloud gaming effects. This current game deployment method is relatively inefficient. Summary of the Invention

[0004] This application provides a method, apparatus, electronic device, computer-readable storage medium, and computer program product for cloud game deployment, which can solve the problem of low efficiency in existing game deployment methods. The technical solution is as follows:

[0005] According to one aspect of the embodiments of this application, a method for deploying cloud games is provided, the method comprising:

[0006] Receive development code information for the cloud game to be deployed uploaded by the development terminal, and generate deployment code information based on the development code information;

[0007] The deployment process is generated based on a pre-set deployment template and deployment code information;

[0008] The server is invoked to execute at least one deployment task of the cloud game based on the deployment process.

[0009] In one possible implementation, the deployment task template includes at least one deployment node, and a deployment process is generated based on the pre-set deployment template and deployment code information, including:

[0010] For each deployment node, determine the target code information corresponding to the deployment node from the deployment code information;

[0011] Populate the target code information into the deployment node;

[0012] The deployment process is generated based on the deployment template after the deployment code information is filled in.

[0013] In another possible implementation, the target code information corresponding to the deployment node is determined from the deployment code information, including:

[0014] Retrieve the node keywords corresponding to the deployment node, and retrieve multiple deployment keywords from the deployment code information;

[0015] Identify the target deployment keyword that corresponds to the node keyword among multiple deployment keywords, and use the deployment code information corresponding to the target deployment keyword as the target code information.

[0016] In another possible implementation, at least one deployment task for cloud gaming is performed based on the deployment process, including:

[0017] If it is determined that the deployment task corresponding to any deployment node in the deployment process has failed, the data information of the previous deployment node in the deployment process will be retrieved again.

[0018] Re-execute the data information of the previous deployment node. If the deployment task corresponding to the previous deployment node is confirmed to be successful, continue the deployment process.

[0019] In yet another possible implementation, after executing the cloud gaming deployment task based on the deployment process and obtaining the cloud gaming runtime data, it also includes:

[0020] Obtain cloud game operation data after executing each deployment task, and generate game operation status information based on the cloud game operation data;

[0021] If the game's running status information matches the preset status information, a deployment completion notification will be sent to the development terminal.

[0022] In yet another possible embodiment, it includes:

[0023] If the game's running status information does not conform to the preset status information, then the development terminal will accept the correction information generated based on the game's running status information to correct the development code information and obtain the corrected development code information.

[0024] The corrected development code information is used as the new development code information. The steps of generating deployment code information based on the new development code information, generating deployment process, and executing deployment tasks based on deployment process are performed until the game running status information matches the preset status information.

[0025] In another possible embodiment, game operation status information is generated based on cloud gaming operation data, including:

[0026] Obtain the operational game data status analysis template; the operational data status analysis template includes multiple cloud game operation data categories;

[0027] For each data category, the target runtime data corresponding to the data category is determined from the cloud gaming runtime data;

[0028] Match the target running data with the preset running data to obtain the matching results corresponding to the data category;

[0029] The game's operational status information is determined based on the matching results corresponding to each data category.

[0030] In yet another possible embodiment, the invocation server executes at least one deployment task of the cloud game based on the deployment process, including:

[0031] Send a call request for a server to the control server; the call request includes the number of servers requested to be called; the control server is used to call the servers corresponding to the number of servers based on the call request, so that the called servers perform at least one deployment task of cloud gaming based on the deployment process.

[0032] In yet another possible embodiment, before sending the call request for the server to the control server, the method further includes:

[0033] Receive server creation operation for cloud gaming sent by the development terminal, and generate the corresponding server identifier in response to the server creation operation;

[0034] Receive configuration parameters sent from the development terminal; the configuration parameters include the number of servers;

[0035] A call request is generated based on configuration parameters and server identifier; the call request is used to enable the called server to execute at least one deployment task corresponding to the server identifier in the cloud game based on the deployment process.

[0036] According to another aspect of the embodiments of this application, an apparatus for cloud gaming deployment is provided, the apparatus comprising:

[0037] The code information processing module is used to receive the development code information for the cloud game to be deployed uploaded by the development terminal, and generate deployment code information based on the development code information;

[0038] The deployment process generation module is used to generate deployment processes based on pre-set deployment templates and deployment code information;

[0039] The task deployment module is used to call the server to execute at least one deployment task for cloud gaming based on the deployment process.

[0040] According to another aspect of the embodiments of this application, an electronic device is provided, the electronic device including: a memory, a processor and a computer program stored in the memory, the processor executing the computer program to implement the steps of any of the above aspects.

[0041] According to another aspect of the embodiments of this application, a computer-readable storage medium is provided that stores a computer program thereon, wherein the steps of the cloud gaming deployment method of any of the above aspects are executed by a processor.

[0042] The beneficial effects of the technical solutions provided in this application are:

[0043] By converting development code information into deployment code information, and then automatically converting the deployment code information based on the deployment template to obtain the deployment process, the server is called to execute the deployment task based on the obtained deployment process. This eliminates the need for operations and maintenance personnel to perform deployment operations, effectively improving deployment efficiency.

[0044] Furthermore, after obtaining the deployment code information, the deployment system can automatically determine the target code information corresponding to each deployment node. After the corresponding deployment node is filled in, the filled deployment node is automatically organized into a deployment process, which can eliminate the need for operation and maintenance personnel to perform deployment operations, further simplifying the deployment process and improving deployment efficiency. Attached Figure Description

[0045] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments of this application will be briefly introduced below.

[0046] Figure 1 This is a schematic diagram of the system architecture for implementing cloud gaming deployment provided in an embodiment of this application;

[0047] Figure 2 A flowchart illustrating a cloud gaming deployment method provided in an embodiment of this application;

[0048] Figure 3 This is a schematic diagram of the structure of a cloud gaming deployment device provided in an embodiment of this application;

[0049] Figure 4 This is a schematic diagram of the structure of an electronic device for cloud gaming deployment provided in an embodiment of this application. Detailed Implementation

[0050] The embodiments of this application are described below with reference to the accompanying drawings. It should be understood that the embodiments described below with reference to the accompanying drawings are exemplary descriptions for explaining the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions of the embodiments of this application.

[0051] Those skilled in the art will understand that, unless otherwise stated, the singular forms “a,” “an,” “the,” and “the” used herein may also include the plural forms. It should be further understood that the terms “comprising” and “including” as used in embodiments of this application mean that the corresponding feature can be implemented as the presented feature, information, data, step, operation, element, and / or component, but do not exclude implementation as other features, information, data, step, operation, element, component, and / or combinations thereof supported by the art. It should be understood that when we say that an element is “connected” or “coupled” to another element, the one element can be directly connected or coupled to the other element, or it can mean that the one element and the other element establish a connection relationship through an intermediate element. Furthermore, “connected” or “coupled” as used herein can include wireless connection or wireless coupling. The term “and / or” as used herein indicates at least one of the items defined by the term; for example, “A and / or B” indicates implementation as “A,” or implementation as “A,” or implementation as “A and B.”

[0052] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0053] The cloud gaming deployment method, apparatus, electronic device, and readable storage medium provided in this application are intended to solve the above-mentioned technical problems of the prior art.

[0054] The technical solutions of this application and their effects are described below through several exemplary embodiments. It should be noted that the following embodiments can be referenced, borrowed from, or combined with each other. Identical terms, similar features, and similar implementation steps in different embodiments will not be repeated.

[0055] Figure 1 The system architecture diagram for implementing the cloud gaming deployment method provided in this application embodiment includes a development terminal 101, a deployment server 102, and an execution server 103, wherein the deployment server 102 includes a deployment system.

[0056] Specifically, the cloud gaming deployment method described above includes: the development terminal 101 uploading development code information and server configuration parameters to the deployment system of the deployment server 102; the deployment system generating deployment code information and deployment procedures by parsing the development code information, and performing initial deployment; and the deployment system calling execution servers 103 from multiple execution servers 103 according to the server configuration parameters input by the development terminal to execute the deployment task and obtain target runtime data. The deployment system can be located in the terminal, in the development terminal, or in other servers; this application does not impose specific requirements on the deployment system.

[0057] Those skilled in the art will understand that a server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server or server cluster that provides 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, CDN (Content Delivery Network), and big data and artificial intelligence platforms.

[0058] The terminal (also known as a user terminal or user equipment) can be a smartphone, tablet, laptop, desktop computer, AR / VR device, etc., but is not limited to these. The terminal and the server can be connected directly or indirectly through wired or wireless communication, which is not limited herein.

[0059] The cloud gaming deployment method provided in this application embodiment can be applied to a deployment system, which can be set up on a terminal or on a server.

[0060] This application provides a method for deploying cloud games, taking an application to a deployment system as an example, such as... Figure 2 As shown, the method includes:

[0061] S100: Receive development code information for the cloud game to be deployed uploaded by the development terminal, and generate deployment code information based on the development code information.

[0062] The deployment system can also be called a deployment platform.

[0063] Among them, the development code information is the high-level language written by cloud game developers during game development, which is available for viewing by other cloud game developers and subsequent cloud game operation and maintenance users. The deployment code information is the binary language that the deployment system converts into the development code information written in the high-level language into binary language that can be read by the server through a preset method.

[0064] Specifically, the high-level language used in the development code information cannot be read by the server. The deployment system can convert the development code information into deployment code information and use the deployment code information to call the server for cloud game deployment.

[0065] Specifically, you can use a pre-set conversion tool, such as a compiler, to input the development code information into the compiler and obtain the deployment code information.

[0066] In this embodiment of the application, the development terminal that sends the development code information can be the same development terminal or multiple different development terminals. The development terminal that can upload code information is a terminal that has been reviewed and authorized by the cloud gaming development user.

[0067] It should be noted that in this embodiment of the application, if a cloud game developer uploads multiple different versions of the development code information of the same cloud game to different terminals in the same time period, the deployment system will first generate deployment code information based on the last uploaded development code information, and then generate deployment code information corresponding to other versions of development code information in turn.

[0068] S200: Generate a deployment process based on a pre-set deployment template and the deployment code information.

[0069] The pre-set deployment templates can include the default deployment templates within the deployment system, or deployment templates pre-uploaded by cloud gaming developers.

[0070] The deployment template contains at least one deployment node, and one or more deployment nodes can correspond to the deployment process.

[0071] Specifically, the deployment system can also receive parameters input by the user for the deployment template, such as the selection information for the deployment nodes in the deployment template. For each deployment node, the required deployment template can be customized according to different deployment tasks.

[0072] In this embodiment of the application, the deployment process includes deployment tasks that at least one server needs to execute. The number of servers and the deployment tasks to be executed are determined by the deployment system based on parsing the deployment code information and the configuration parameters filled in by the cloud game development user.

[0073] S300: The server is invoked to execute at least one deployment task of the cloud game based on the deployment process.

[0074] In this embodiment of the application, the deployment system converts the deployment process into binary language readable by the server and then sends the deployment process to the control server. The control server user receives the server call request and deployment process sent by the deployment system and calls the server to execute the deployment task.

[0075] The control server can include a single server or a cluster of servers.

[0076] In this embodiment, after cloud game developers upload development code information to the deployment system, the deployment system automatically generates deployment code information based on the development code information, obtains a deployment template, generates a deployment process based on the deployment code information, and calls the server to deploy the cloud game according to the deployment process. By automatically generating deployment code information through the deployment system, the efficiency and accuracy of writing deployment code information in the prior art can be improved, and the technical effect of simplifying the deployment process can be achieved.

[0077] This application provides a possible implementation, wherein the deployment template includes at least one deployment node; step S200 generates a deployment process based on a pre-set deployment template and deployment code information, including:

[0078] (1) For each deployment node, determine the target code information corresponding to the deployment node from the deployment code information.

[0079] In this embodiment, the deployment node includes the number of servers that the deployment system needs to call, as well as the deployment tasks to be executed by the servers. After the deployment system obtains the deployment template, it parses each deployment node in the deployment template, obtains the keywords of each deployment node, matches the keywords in the comments section of the deployment code information according to the keywords of the deployment node, and fills the deployment code information corresponding to the comments into the deployment node as the target code information, so that the deployment node becomes a complete deployment task.

[0080] This application embodiment also includes: cloud gaming developers filling in configuration parameters in the deployment node to make the deployment node a complete deployment task; this application embodiment also includes: matching the comments of the development code information based on keywords in the deployment node to determine a certain statement in the development code information, matching a certain statement in the deployment code information based on that statement, and filling the statement in the deployment code information as target code information into the deployment template.

[0081] (2) Populate the target code information into the deployment node;

[0082] In this embodiment of the application, filling includes filling the entire statement of the target code information into the deployment node, and also includes filling a portion of the data in the target code information statement into the deployment node.

[0083] (3) Generate deployment process based on deployment template after filling in deployment code information.

[0084] Once all deployment nodes have been populated, making them executable deployment tasks, the deployment system generates a deployment process that can be read by the server based on the populated deployment template.

[0085] In this embodiment, after obtaining the deployment code information, the deployment system automatically determines the target code information corresponding to each deployment node. After the corresponding deployment node is filled in, the filled deployment node is automatically organized into a deployment process. This eliminates the need for maintenance personnel to perform deployment operations, further simplifying the deployment process and improving deployment efficiency.

[0086] This application embodiment provides a possible implementation method, in which step S100 executes at least one deployment task of cloud gaming based on the deployment process, which may include:

[0087] (1) If it is determined that the deployment task corresponding to any deployment node in the deployment process has failed, the data information of the previous deployment node in the deployment process is retrieved again.

[0088] It should be noted that in this embodiment of the application, the relevant data of the deployment steps of the failed node will be deleted after the deployment task fails. By deleting the corresponding data of the failed steps, the data is protected from contamination and data security is ensured, thereby further improving the deployment stability.

[0089] (2) Re-execute the data information of the previous deployment node. If it is determined that the deployment task corresponding to the previous deployment node is successful, continue to execute the deployment process.

[0090] This application embodiment, by rolling back to the previous deployment node and redeploying after a deployment task fails, can further ensure the security and success of the deployment. At the same time, the automatic rollback by the system can effectively reduce the time cost for operation and maintenance personnel to troubleshoot faults and vulnerabilities, thereby shortening the deployment time and achieving the technical effect of improving deployment efficiency.

[0091] This application embodiment provides a possible implementation method. After step S100 executes the cloud game deployment task based on the deployment process and obtains the cloud game running data, it may further include:

[0092] (1) Obtain cloud game operation data after executing each deployment task, and generate game operation status information based on the cloud game operation data;

[0093] In this embodiment of the application, the game operation data is the data from the trial run before the game is launched. This game operation data is used to test the stability of the game and detect game faults, vulnerabilities, etc.

[0094] The game operation status information in this embodiment includes at least one game operation status information category pre-set by the cloud game developer; it also includes game operation status information automatically generated by the deployment system based on the acquired game operation data. If the cloud game developer has not set any categories, the game operation status information generated by the deployment system will be used by default. If the cloud game developer has set game operation status information, the game operation status information set by the cloud game developer will be displayed first.

[0095] (2) If the game running status information matches the preset status information, a deployment completion prompt will be sent to the development terminal.

[0096] In this embodiment, if the game's running status information reaches a certain category of the game operation status information preset by the cloud game developer, i.e., the preset status information, then it is determined that the game's running status information conforms to the preset status information. When it is determined that it conforms, a deployment completion prompt message is sent to the development terminal. It should be noted that if the game's running status information does not reach a certain category of the game operation status information, but the cloud game developer confirms that the game's running status can also be published through the confirmation control, then the deployment system updates the preset status information, adjusts the game's running status information to the new preset status information, and sends a deployment completion prompt message to the development terminal.

[0097] By deploying the system to determine whether deployment is complete based on whether the game's running status information has reached the preset status information, the system can provide a more intuitive view of the game's running status and make judgments based on that status, thus improving game deployment efficiency.

[0098] This application embodiment provides a possible implementation method. After step S100 generates game operation status information based on cloud game operation data, it further includes:

[0099] (1) If the game running status information does not conform to the preset status information, the development terminal receives the correction information generated based on the game running status information, corrects the development code information, and obtains the corrected development code information.

[0100] In this embodiment of the application, if the game running status information does not reach a certain category of the game operation status information classification preset by the cloud game developer user, i.e., the preset status information, then it is determined that the game running status information does not conform to the preset status information.

[0101] (2) Take the corrected development code information as the new development code information, and execute the steps of generating deployment code information based on the new development code information, generating deployment process, and executing deployment tasks based on deployment process until the game running status information matches the preset status information.

[0102] It is important to note that after the deployment system sends a deployment completion message to the development terminal, if the cloud game developer confirms that the game's running status does not meet the requirements for launching the cloud game, the deployment system will delete the game running information, deployment tasks, deployment code information, and other related data, and prompt the cloud game developer to update the preset status information.

[0103] In this embodiment, when the deployment system receives correction information sent by the development terminal, the deployment system performs correction according to the development terminal, obtains the corrected development code information, and deletes the original development code information. It should be noted that the method of updating development code information in this application also includes receiving the complete corrected development code information modified by the development terminal. In this case, the deployment system deletes the original development code information and deploys according to the received corrected development code information.

[0104] This application embodiment provides a possible implementation method, in which step S100 generates game operation status information based on cloud game operation data, including:

[0105] (1) Obtain the operational data status analysis template; the operational data status analysis template includes multiple cloud game operation data categories;

[0106] The operational data status analysis templates in this application include templates uploaded in advance by the development terminal, as well as templates automatically generated by the deployment system.

[0107] (2) For each data category, determine the target running data corresponding to the data category from the cloud gaming running data;

[0108] In this embodiment of the application, the method for determining the target running data may include running data calculated by a user-preset calculation method. If the user does not have a preset calculation method, the deployment system selects the mode of the cloud gaming running data as the target running data.

[0109] (3) Match the target running data with the preset running data to obtain the matching result corresponding to the data category;

[0110] In this embodiment, the preset running data includes data preset by the development terminal. If the development terminal does not send preset data, the preset running data preset by the deployment system is used to obtain the matching result.

[0111] (4) Determine the game operation status information based on the matching results corresponding to each data category.

[0112] This application embodiment automatically determines the target running data and compares it with preset running data after receiving cloud game running data to obtain a matching result. Based on the matching result, the game operation status information is determined, which can improve the efficiency of cloud game deployment, simplify the deployment process, further refine the running status of cloud games, and further monitor the running status of cloud games.

[0113] This application embodiment provides a possible implementation method, in which step 300 calls the server to execute at least one deployment task of the cloud game based on the deployment process, including:

[0114] (1) Send a call request for the server to the control server; the call request includes the number of servers to be called; the control server is used to call the servers corresponding to the number of servers based on the call request, so that the called servers perform at least one deployment task of cloud gaming based on the deployment process.

[0115] In this embodiment of the application, the number of servers requested to be called may include calling any 3 servers, or calling more than 3 servers such as server a, server b, and server c. That is, the server to be called can be specified, or any server can be called.

[0116] In this embodiment, the control server may include a single server or a server cluster. The control server receives call requests, deployment code information, deployment processes, and other information sent by the deployment platform's deployment system. However, when the control server receives information containing deployment tasks, it parses the information, allocates the deployment task, and sends it to at least one server. The server receiving the deployment task from the control server executes the deployment task.

[0117] This application embodiment provides a possible implementation method, which further includes the following step before step 300, which sends a call request for the server to the control server:

[0118] (1) Receive the server creation operation for cloud gaming sent by the development terminal, and generate the corresponding server identifier in response to the server creation operation;

[0119] In this embodiment, the server is the service area that the user selects to play when logging into the cloud game. Cloud game developers create multiple different servers to balance the latency, gameplay experience, and other game mechanics of each server.

[0120] In this embodiment, the deployment system obtains the cloud gaming developer's selection of the server creation control and creates a server identifier. Each server has a different server identifier. The server identifier is distinct from the server name; the server name can be changed by the cloud gaming developer, but the server identifier cannot.

[0121] (2) Receive configuration parameters sent by the development terminal; the configuration parameters include the number of servers;

[0122] In this embodiment, the configuration parameters include the number of servers and the number of deployment tasks to be executed. These configuration parameters are edited by the cloud gaming developer, including: the cloud gaming developer editing the parameters into text on the development terminal and uploading it to the deployment system; and the cloud gaming developer filling in the relevant configuration parameters on the deployment system.

[0123] (3) Generate a call request based on the configuration parameters and the server identifier; the call request is used to enable the called server to execute at least one deployment task corresponding to the server identifier in the cloud game based on the deployment process.

[0124] In this embodiment of the application, after the deployment system generates a call request containing a region / server identifier, it sends a control request to the control server. After receiving the call request, the control server determines the cloud game and the specified server that need to be called based on the region / server identifier. The control server generates a key by combining the identity information of the cloud game and the name information of the called server. This key is used by the called server to verify the identity information of the cloud game when connecting to the cloud game interface. The identity information of the cloud game may include the region / server identifier.

[0125] In this embodiment, if the configuration parameters include a server specified by the cloud gaming developer, the specified server is invoked; if the configuration parameters only include the number of servers but not the server name (i.e., no specific server is specified), the control server arbitrarily invokes three idle servers. When invoking a specified server, if it is detected that the server is already in use, a notification is generated and sent to the deployment system for the user to modify the configuration parameters.

[0126] This application embodiment generates a call request based on configuration parameters and server identifier to help the server determine the cloud game corresponding to the deployment task to be executed. This avoids the problem of sending the running data of server A to the running data analysis module of server B, and can further improve the stability of game operation.

[0127] This application embodiment provides a cloud gaming deployment device, as shown in the figure. The cloud gaming deployment device may include: a code information processing module 301, a deployment process generation module 302, and a task deployment module 303, wherein...

[0128] The code information processing module 301 is used to receive the development code information for the cloud game to be deployed uploaded by the development terminal, and generate deployment code information based on the development code information;

[0129] The deployment process generation module 302 is used to generate a deployment process based on a pre-set deployment template and deployment code information.

[0130] The task deployment module 303 is used to call the server to execute at least one deployment task of cloud gaming based on the deployment process.

[0131] The apparatus in this application embodiment can execute the method provided in this application embodiment, and the implementation principle is similar. The actions performed by each module in the apparatus of each embodiment of this application correspond to the steps in the method of each embodiment of this application. For detailed functional descriptions of each module of the apparatus, please refer to the descriptions in the corresponding methods shown above, which will not be repeated here.

[0132] This application provides an electronic device (computer device / equipment / system) including a memory, a processor, and a computer program stored in the memory. The processor executes the computer program to implement the steps of the cloud gaming deployment method of this application. Compared with the prior art, it can achieve the following: by using a deployment system to automatically generate deployment code information and deployment process to realize game deployment, it overcomes the problems of complex server online / offline operations, the need for manual server expansion / contraction and game code updates to repeatedly check for vulnerabilities, which consumes a lot of time and is more prone to missing errors. It achieves the technical effect of integrating multiple deployment links such as creating deployment code information, creating deployment process information, and arranging game servers and the number of servers, simplifying the deployment process, reducing the time cost required for manual error checking, and improving game deployment efficiency.

[0133] In one alternative embodiment, an electronic device is provided, such as Figure 4 As shown, Figure 4 The illustrated electronic device 4000 includes a processor 4001 and a memory 4003. The processor 4001 and the memory 4003 are connected, for example, via a bus 4002. Optionally, the electronic device 4000 may further include a transceiver 4004, which can be used for data interaction between the electronic device and other electronic devices, such as sending and / or receiving data. It should be noted that in practical applications, the transceiver 4004 is not limited to one type, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of this application.

[0134] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 4001 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.

[0135] Bus 4002 may include a pathway for transmitting information between the aforementioned components. Bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 4002 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 4 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0136] The memory 4003 may be ROM (Read Only Memory) or other types of static storage devices capable of storing static information and instructions, RAM (Random Access Memory) or other types of dynamic storage devices capable of storing information and instructions, or EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media, other magnetic storage devices, or any other medium capable of carrying or storing computer programs and capable of being read by a computer, without limitation herein.

[0137] The memory 4003 stores computer programs that execute embodiments of this application, and its execution is controlled by the processor 4001. The processor 4001 executes the computer programs stored in the memory 4003 to implement the steps shown in the foregoing method embodiments.

[0138] This application provides a computer-readable storage medium storing a computer program. When executed by a processor, the computer program can implement the steps and corresponding content of the aforementioned method embodiments. This application also provides a computer program product, including a computer program that, when executed by a processor, can implement the steps and corresponding content of the aforementioned method embodiments.

[0139] It should be understood that although arrows indicate various operation steps in the flowcharts of this application's embodiments, the order in which these steps are implemented is not limited to the order indicated by the arrows. Unless explicitly stated herein, in some implementation scenarios of this application's embodiments, the implementation steps in each flowchart can be executed in other orders as required. Furthermore, some or all steps in each flowchart, based on the actual implementation scenario, may include multiple sub-steps or multiple stages. Some or all of these sub-steps or stages can be executed at the same time, and each sub-step or stage can also be executed at different times. In scenarios where execution times differ, the execution order of these sub-steps or stages can be flexibly configured according to requirements, and this application's embodiments do not limit this.

[0140] The above description is only an optional implementation method for some implementation scenarios of this application. It should be noted that for those skilled in the art, other similar implementation methods based on the technical concept of this application without departing from the technical concept of this application also fall within the protection scope of the embodiments of this application.

Claims

1. A cloud gaming deployment method, characterized in that, include: The system receives development code information for a cloud game to be deployed uploaded by a development terminal, and generates deployment code information based on the development code information. The development code information is written in a high-level language that cannot be read by the server, and the deployment code information is written in a binary language that can be read by the server. A deployment process is generated based on a pre-set deployment template and the deployment code information. The server is invoked to execute at least one deployment task of the cloud game based on the deployment process described above; The deployment template includes at least one deployment node, and the deployment node includes a deployment task to be executed by the server; A deployment process is generated based on a pre-set deployment template and the deployment code information, including: For each deployment node, obtain the node keyword corresponding to the deployment node, and obtain multiple deployment keywords from the deployment code information; Determine the target deployment keyword that corresponds to the node keyword among multiple deployment keywords, and use the deployment code information corresponding to the target deployment keyword as the target code information; The target code information is filled into the deployment node, making the filled deployment node an executable deployment task; The deployment process is generated based on the deployment template after the deployment code information is filled in; After the server executes at least one deployment task of the cloud game based on the deployment process, the method further includes: If it is determined that the development code information has been updated, the new development code information is obtained and the original development code information is deleted. Then, the steps of generating deployment code information based on the new development code information, generating a deployment process, and executing deployment tasks based on the deployment process are performed.

2. The cloud gaming deployment method according to claim 1, characterized in that, The execution of at least one deployment task of the cloud game based on the deployment process includes: If it is determined that the deployment task corresponding to any deployment node in the deployment process has failed, the data information of the previous deployment node in the deployment process is retrieved again. The data information of the previous deployment node is re-executed. If the deployment task corresponding to the previous deployment node is determined to be successful, the deployment process continues until the deployment task corresponding to the last deployment node in the deployment process is successful.

3. The cloud gaming deployment method according to claim 1, characterized in that, After executing the cloud game deployment task based on the deployment process and obtaining the cloud game operation data, the process also includes: Obtain cloud game operation data after executing each deployment task, and generate game operation status information based on the cloud game operation data; If the game's running status information matches the preset status information, a deployment completion notification will be sent to the development terminal.

4. The cloud gaming deployment method according to claim 3, characterized in that, After generating the game operation status information based on the cloud game operation data, the process also includes: If the game operation status information does not conform to the preset status information, then the development terminal receives correction information generated based on the game operation status information to correct the development code information and obtain the corrected development code information. The corrected development code information is used as the new development code information. The steps of generating deployment code information based on the new development code information, generating deployment process, and executing deployment tasks based on deployment process are performed until the game running status information matches the preset status information.

5. The cloud gaming deployment method according to claim 3, characterized in that, The generation of game operation status information based on the cloud game operation data includes: Obtain the operational data status analysis template; wherein the operational data status analysis template includes multiple cloud game operation data categories; For each data category, determine the target running data corresponding to the data category from the cloud gaming running data; The target running data is matched with preset running data to obtain a matching result corresponding to the data category; The game operation status information is determined based on the matching results corresponding to each data category.

6. The cloud gaming deployment method according to claim 1, characterized in that, The calling server executes at least one deployment task of the cloud game based on the deployment process, including: A call request for a server is sent to the control server; the call request includes the number of servers to be called; the control server is used to call the servers corresponding to the number of servers based on the call request, so that the called servers perform at least one deployment task of the cloud game based on the deployment process.

7. The cloud gaming deployment method according to claim 6, characterized in that, Before sending the call request for the server to the control server, the method further includes: Receive a server creation operation for cloud gaming sent by the development terminal, and generate a corresponding server identifier in response to the server creation operation; Receive configuration parameters sent by the development terminal; the configuration parameters include the number of servers; The call request is generated based on the configuration parameters and the server identifier; the call request is used to enable the called server to execute at least one deployment task in the cloud game corresponding to the server identifier based on the deployment process.

8. A cloud gaming deployment device, characterized in that, include: The code information processing module is used to receive development code information for the cloud game to be deployed uploaded by the development terminal, and generate deployment code information based on the development code information. The development code information is written in a high-level language that cannot be read by the server, and the deployment code information is written in a binary language that can be read by the server. The deployment process generation module is used to generate a deployment process based on a pre-set deployment template and the deployment code information. The task deployment module is used to call the server to execute at least one deployment task of the cloud game based on the deployment process; The deployment template includes at least one deployment node, and the deployment node includes a deployment task to be executed by the server; A deployment process is generated based on a pre-set deployment template and the deployment code information, including: For each deployment node, obtain the node keyword corresponding to the deployment node, and obtain multiple deployment keywords from the deployment code information; Determine the target deployment keyword that corresponds to the node keyword among multiple deployment keywords, and use the deployment code information corresponding to the target deployment keyword as the target code information; The target code information is filled into the deployment node, making the filled deployment node an executable deployment task; The deployment process is generated based on the deployment template after the deployment code information is filled in; After the server executes at least one deployment task of the cloud game based on the deployment process, the method further includes: If it is determined that the development code information has been updated, the new development code information is obtained and the original development code information is deleted. Then, the steps of generating deployment code information based on the new development code information, generating a deployment process, and executing deployment tasks based on the deployment process are performed.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the steps of the method according to any one of claims 1-7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the cloud gaming deployment method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Service deployment method and device and computer storable medium

    CN115129329A