Halaman ini belum tersedia dalam bahasa lokal Anda. Kami berusaha keras untuk menambahkan lebih banyak versi bahasa. Terima kasih atas dukungan Anda.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Importing and Exporting Devices

Updated on 2023-11-10 GMT+08:00

Overview

ROMA Connect supports device import and export. You can export device as a file to the local host or import a local product file to ROMA Connect to migrate device information in batches.

Prerequisites

  • Before importing a device, ensure that the integration application to which the device belongs has been created. Otherwise, create the integration application in advance.
  • Before importing a device, ensure that the product to which the device belongs has been created. Otherwise, create the product in advance.
  • Before importing a device, check whether a duplicate device name exists in the instance to which the device is to be imported. If there are duplicate device names, the device will fail to be imported.
  • Ensure that the quota of devices meets the requirements before importing the devices.
  • The files to be imported must be in CSV format and have been encoded using UTF-8 BOM.
  • When you use an exported file to import devices:
    • Create an import file and add the information about the new devices to the file.
      NOTE:

      Do not change the name and sequence of table headers in the template. For details about the table header names, see Description of Device Import Files.

    • Open the import file and check whether any field value starting with Base64: exists. If there is no field value starting with Base64:, the file is exported from the instance of an earlier version.

      In this case, rename the file by adding -none-base64-prefix to the end of the file name. For example, if the original file name is import.csv, change it to import-none-base64-prefix.csv.

  • If you use Excel to edit the file to be imported, perform the following operations to save the file:
    1. Save the Excel file as a CSV file by selecting Comma Delimited files (*.csv).
    2. Use a text editor to open the CSV file saved in 1. Save the file in UTF-8 with BOM.

Importing Devices

  1. Log in to the ROMA Connect console. On the Instances page, click View Console of an instance.
  2. In the navigation pane on the left, choose LINK > Device Management. On the Devices tab page, click Import Device.
  3. In the dialog box displayed, select a local device file and import it.
  4. After the import is successful, you can view the imported devices in the device list.

Exporting Devices

  1. Log in to the ROMA Connect console. On the Instances page, click View Console of an instance.
  2. In the navigation pane on the left, choose LINK > Device Management.
  3. Export devices.
    • Exporting specified products: Select the devices to be exported and click Export to export the device file to the local PC.
    • Exporting all devices: Click Export All to export all the devices to the local PC.

Description of Device Import Files

Table 1 describes the requirements of a device import file.
Table 1 Device import file requirements

Column

Description

Remarks

DeviceName

Device name.

Mandatory. The complexity requirements are the same as those for device creation on the console.

ProductSerial

SN of the product to which the device belongs.

Mandatory. The product SN should already exist.

ParentDeviceClient

Client ID of the gateway device to which a device belongs.

Optional. The gateway device should already exist.

ClientID

Client ID.

Optional.

DeviceIdentifier

Device ID.

Mandatory. The complexity requirements are the same as those for device creation on the console.

Username

Username.

Optional.

Password

Password.

Optional. The complexity requirements are the same as those for device creation on the console.

DeviceType

Device type.

Mandatory. The value depends on the protocol type of the product:

  • MQTT: COMMON
  • Modbus: MODBUS
  • OPC UA: OPCUA

Remark

Device description.

Optional.

customTopic

Custom topic.

Optional. You are advised to create custom topics on the console.

  • The topic format of publish permissions is product_ID/out/device_ID/topic_name.
  • The topic format of subscribe permissions is product_ID/in/device_ID/topic_name.

Separate two topics with a comma (,).

Enable

Device status.

Mandatory. The options are 0 (enabled) and 1 (disabled).

Kami menggunakan cookie untuk meningkatkan kualitas situs kami dan pengalaman Anda. Dengan melanjutkan penelusuran di situs kami berarti Anda menerima kebijakan cookie kami. Cari tahu selengkapnya

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback