Project management

更新时间:
复制 MD 格式

Projects are the primary organizational unit. Each project can contain one or more games. After you add games to a project, you can set operational policies for them, such as concurrency limits and queuing strategies.

Create a project

1. Click Deployment and Scheduling > Project Management. On the Project Management page, click Create Project.

2. On the Create Project page, enter a project name. In the All Games list, select the games to add to the project. To select all games, click Move All. This moves all games from the All Games list to the Selected Games list.

Note

Only games that have been adapted can be added to a project. If a game is not yet adapted, you must adapt it first.

To revoke a game, click its name in the Selected Games list. To revoke all selected games, click Move All. This moves all games from the Selected Games list to the All Games list.

3. After you add the games, click OK to create the project.

Edit a name

To change the name of an existing project, click Edit Name.

In the dialog box, enter a new name for the project in the text box, then click OK.

Manage the game list

1. Click Game List Management to view the game list.

On the Game List Management page, you can view information about the games in the project.

  • Click the Platform Type drop-down list to search by game platform.

  • Click the All Statuses drop-down list to search by game deployment status.

  • Enter a game name in the search box to search for a specific game.

  • Game Name: The name of the game associated with this project.

  • Active Version: The game version that is deployed on the cloud gaming platform. This field is empty for games that are not deployed.

  • Max Concurrency: The maximum number of concurrent users set for the game during deployment.

  • Deployment Status: Deployed: The current game version is deployed to the cloud gaming cluster with the specified settings. The game is available to play in the production environment. Not Deployed: The game has not been deployed.

Note

You can only deploy games that have been added to a project.

2. Click Edit Game List. In the All Games list, click the games to add. In the Selected Games list, click the games to revoke. Click Confirm to save your changes.

Note
  • All newly added games have a status of Not Deployed. You must configure their deployment settings manually.

  • Revoked games can no longer be found in this project. If your project is live, exercise caution when revoking games.

You can test deployed games directly on the H5 client. To do this, click Test Game.

This opens the game testing interface. The game interaction screen is on the left. Game information and the test feedback section are on the right. After you test the game, submit your results and feedback in the test content interface.

Note

After testing a game, click the Close Game button to release the instance resources. If the game is deployed on a pay-as-you-go instance, testing will incur a small fee.

Manage the application list

Before you integrate with the cloud gaming service using a software development kit (SDK), create an application for the corresponding device type. Use the AppKey and AppSecret from the application for SDK authentication and API integration. To create or view applications in this project, click Application List Management.

This opens the Application List Management page.

  • Application Name: Enter a descriptive name for the application's scenario.

  • Device Type: Select one of four types: Android, iOS, Web, or Server-side. Each type corresponds to a different SDK for integration. The server-side type is used for SPI authentication.

  • AppKey & AppSecret: Used for SDK authentication and API integration.

To create a new application in this project, click Create Application. This opens the Create Application page.

In the text box on the right, enter a name for the new application, select the device type for the application, and then click Create to create the application.

To delete an existing application in the project, click Delete in the Operations column for that application. In the dialog box that appears, click OK to confirm the deletion.

SPI configuration management

The cloud gaming platform's server-side Service Provider Interface (SPI) capabilities include services such as session authentication, game admission control, and container lifecycle notifications. SPI configuration management enables interaction with your business services to support a wider range of application scenarios. To create, view, or manage SPIs in this project, click SPI Configuration Management on the right side of the project.

This opens the SPI Configuration Management page.

For more information, see SPI Reference.

  • Template Type: The cloud gaming Platform as a Service (PaaS) platform provides multiple SPI templates for business integration. Select a template as needed.

  • Template Name: A custom name for the template.

  • Version Number: For the same template type, you can create multiple templates. The version number is used to distinguish between them.

  • Creation Time: The time when the template was first created.

  • Update Time: The time when the template was last modified.

  • Status: The current status of the template. A new template is Offline by default. It must be published before it can be used.

To add an SPI in this project, click Create SPI. This opens the Create SPI page.

Enter the information for the new SPI, and then click Create to create the SPI.

  • Code Name: Displays the corresponding code name based on the selected template type.

  • Request Parameter URL: Enter the URL required for the SPI template integration. This URL is provided by your business service.

  • Extension Parameters: Optional. For more information, see SPI Reference.

  • Method Name: Optional. For more information, see SPI Reference.

Note

* indicates a required field.

To view information about an SPI, click View on the right side of the SPI. The details appear on the right side of the page.

For a published SPI, click Unpublish.

In the dialog box that appears, click OK to change the SPI status to Offline.

For a published SPI, click Debug to open the SPI debugging interface.

The Debug Data Settings - Interface Information section shows the details of the SPI.

In the Debug Data Settings - Request Business Parameters section, enter the parameter values, and then click Start Debugging. The debug results are displayed in the Debug Results section on the right.

Note

* indicates a required field.

  • frontAppKey: The frontend AppKey.

  • messageType: The message type.

  • projectId: The project ID.

  • accountId: The account ID.

  • accountDomain: The account domain.

  • utdid: The device ID.

  • targetId: The target ID.

  • gameId: The game ID.

  • start: The start time, as a UNIX timestamp in milliseconds.

  • time: The current time, as a UNIX timestamp in milliseconds.

  • sysBreak: Indicates whether the session was terminated by the system.

  • offline: Indicates whether the service is offline.

For an offline SPI, click Edit to modify it.

Click OK to save the changes.

For an offline SPI, click Publish.

This opens the publishing and debugging interface. In the Request Business Parameters section, enter the parameter values and click Start Debugging. After debugging is successful, click Publish to publish the SPI.

For an offline SPI, click Delete. In the dialog box that appears, click OK to delete the SPI. To delete a published SPI, you must first unpublish it.

Delete a project

To ensure the stability and security of projects on the platform, the cloud gaming service restricts project deletion.

1. For projects with no associated instances: If a project has no purchased or deployed instances, you can click Delete to delete the project directly.

2. For projects with associated instances: If a project has purchased and deployed instances, you cannot click Delete to delete it directly. First, go to Deployment Management and delete all game deployment records. After deleting the records, you can delete the project.