Connect a terminal device

更新时间:
复制 MD 格式

This topic shows how to connect a terminal device, using an IPC (IP Camera) as an example.

Prerequisites

  • You have activated the basic AI framework application (an application whose name starts with AIBox). For more information, see Deploy an application to an edge device.

  • You have an IPC device ready.

    Note

    The IPC device used in this topic is a common, commercially available camera model.

Optional: Create a product

Note

After you activate the basic AI framework application (an application whose name starts with AIBox), the system creates a Camera product and an NVR product by default. You can skip this step.

  1. Log on to the IoT Platform console.

  2. On the Instance Overview page, click the target Enterprise Edition instance to go to the instance details page.

  3. In the left navigation pane, choose Device Management > Products. Click Create Product to create a product for the IPC device.

    入门教程-创建IPC设备所属产品

    Configure the following parameters and keep the default values for the others. For detailed parameter descriptions, see Create a product.

    Parameter

    Description

    Product Name

    Set this to Camera Product.

    Category

    Select Standard Category > Smart Life > Home Security > Camera.

    Node Type

    Select Directly Connected Device.

    Network Connection Method

    Select the network connection method based on your IPC device. This example uses Wi-Fi.

  4. Click Confirm.

Optional: Enable video services

Note

After you activate the basic AI framework application (an application whose name starts with AIBox), the system creates a Camera product and an NVR product by default and enables Video Services for them. You can skip this step.

To add a video device to the product created in Step 1, you must first enable Video Services for it.

  1. In the left navigation pane, choose Video Services > Video Streaming.

  2. On the Video Streaming page, click the Product Management tab. Find the Camera Product that you created in Step 1, and turn on the switch in the Status column.

    入门教程-产品开通视频服务

Add an IPC device

  1. Log on to the Edge Computing console.

  2. In the navigation pane on the left, choose Node Management > Endpoint Device Management.

  3. On the Terminal Device Management page, find the LE-V-B015 edge device that you activated in Activate an edge device, and click IPC.

  4. In the Device List section, click Add Device.

  5. In the Add Device panel, enter the device parameters and click OK.

    配置信息

    The following table describes the parameters. For more information, see Add an IPC device.

    Parameter

    Description

    Method to Add Device

    Select Create a device.

    Product Name

    Select the Camera Product that you created in Step 1.

    DeviceName

    Set this to IPCamera-No1.

    Device Nickname

    Set this to Camera No. 1.

    Protocol Type

    Select ONVIF.

    IP

    Enter the IP address and port number of your IPC device.

    Important

    The combination of IP address:port must be unique for each edge device.

    Port

    Username

    Set this to testuser.

    Password

    Specify a password for testuser. The password must be 2 to 15 characters and can contain uppercase letters, lowercase letters, digits, underscores (_), hyphens (-), colons (:), at signs (@), and periods (.).

    Confirm Password

    Enter the password again.

  6. After the device is added, you can view its information and live stream.

    1. In the Actions column for the IPC device, click Device Details.

      设备查看

    2. On the Device Details page, click the Video Information tab, and then click View Live Stream.

      The live stream from the camera device appears, as shown in the following figure.

      直播中

Next steps

Configure an algorithm task