Updated on 2022-02-24 GMT+08:00

Create Application

Description

As a cross-industry universal platform designed for enterprise customers, the IoT platform supports access of a variety of applications to meet personal service requirements.

To use the IoT platform, you must first create an application. The application can be treated as the project space for your services on the IoT platform, and you can connect your network applications (NAs) and devices to it. After an application is created, the IoT platform assigns the application and device access addresses and ports to support fast access of the NA and devices.

The IoT platform allows a user to create a maximum of 10 applications. (To create more, contact HUAWEI CLOUD customer service.) Applications are isolated from each other for independent management. The IoT platform also supports application authorization to enable cross-application management.

Procedure

NOTE:

A default application is provided. If you want to use the default application, reset its secret.

  1. Choose Application List, and click Create Application.
  2. Set the parameters based on Table 1.

    Table 1 Application creation parameters

    Parameter

    Description

    Basic Information

    Application Name

    Specify the name of an application. It must be unique under the user and cannot be changed.

    Industry

    Select a value based on the industry attributes of the application.

    Message Tracing Authorization

    Specify whether the IoT platform operations administrator can trace faulty devices.
    • If message tracing authorization is enabled, the IoT platform operations administrator, when helping you locate faults, can trace service data reported by devices. When authorization is enabled, Authorization Validity must also be specified. The value of Authorization Validity can be set to Custom or Always. To ensure user data rights, the IoT platform operations administrator can retain the device data for a maximum of three days.
    • If message tracing authorization is disabled, the IoT platform operations administrator cannot trace service data reported by devices. This may reduce fault locating efficiency. You are advised to enable authorization.

    Message Push

    Protocol Selection

    Push Protocol

    The push protocol is determined by the transport protocol set when a network application (NA) subscribes to device information from the IoT platform. If the transmission channel for data push is set to HTTP on the NA, you can use HTTPS or HTTP to transmit data.

    • HTTPS: Encrypted transmission is used between the IoT platform and NA. A CA certificate must be uploaded to the NA.
    • HTTP: Non-encrypted transmission is used between the IoT platform and NA. This mode is relatively less secure, and data sent between the IoT platform and NA may be disclosed.

    CA Certificate

    The CA certificate is provided by the NA and used by the IoT platform to verify the NA.

    NOTE:

    The CA certificate preconfigured on the IoT platform is used only for commissioning. In commercial scenarios, use the CA certificate provided by the NA.

    Platform Capability

    Device Data Management

    The IoT platform can store historical device data. You can enable or disable the storage function. The default value is On.
    • If the value is On, the IoT platform stores historical data. The storage duration is subject to that displayed.
    • If the value is Off, the IoT platform does not store historical data.

    Push Service

    The NA subscribes to device information from the IoT platform, and the IoT platform pushes messages to the NA.

    Other

    Description

    Describe the application.

    Application Icon

    Specify the icon of the application.

  3. Select I have read and agree to the Terms of Personal Data Use, and click Confirm. After the application is created, the Success dialog box is displayed, showing basic information about the application, including the application ID, application secret, application access address, and device access address.

    • Click Save Secret to Local to save the application secret. The secret is invisible on the application details page. Keep it secure. If you forget the secret, click and choose Reset Secret. Alternatively, you can open the application details page, click the Information tab page, and click Reset under Security.
      NOTE:

      The application ID and application secret are used by the NA to connect to the IoT platform. If you reset the secret, the old secret becomes invalid, and the NA server must use the new secret to access the IoT platform. Exercise caution when performing this operation.

    • Click Go to Application Details to view the application details page.
    • Click Return to Application List to display the page for creating an application. Click the application icon to view its details.

  4. (Optional) Perform this step only if you want to use a specified email server or SMS server, Generally, you do not need to select a server. If multiple servers exist, you can manually specify a server; otherwise, the system selects a server randomly.

    1. Click the created application, and open the Information tab page.
    2. Click Edit. In the Platform Capability area, select the specified email server and SMS server.
      NOTE:

      Contact the IoT platform operations administrator to add an email server and SMS server. These servers can be selected only after they are added.