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
On this page
Help Center/ IoT Device Access/ User Guide/ Rules/ Data Forwarding Process

Data Forwarding Process

Updated on 2024-12-31 GMT+08:00

Overview

The data forwarding function connects IoTDA with other Huawei Cloud or third-party cloud services to smoothly transfer device data to the message middleware, storage and data analysis services, and applications. Currently, IoTDA supports multiple forwarding types.

Table 1 Data forwarding types

Type

Forwarding Target

Description

Operation

Third-party services

Third-party application (HTTP push)

Data is transferred to customers' HTTP servers with URL specified in the data forwarding rule.

HTTP/HTTPS Data Forwarding

AMQP message queue

Data is transferred to the AMQP channels specified in the data forwarding rule for client-platform connection and data exchange.

AMQP Data Forwarding

MQTT message queue

Data is transferred to the MQTT topics specified in the data forwarding rule for client-platform connection and data exchange.

MQTT Data Forwarding

M2M communication

IoTDA supports MQTT-based message communication between devices based on topics specified in the data forwarding rule. The platform pushes messages reported by devices to the specified topics. Other devices can receive messages from different devices by subscribing to the specified topics.

M2M Communications

Data storage

GeminiDB Influx

Data is transferred to GeminiDB Influx, a cloud-native time series database compatible with InfluxDB. GeminiDB Influx reads and writes time series data with high performance and compression ratio in high concurrency scenarios, provides cold and hot tiered storage, elastic scale-out, and monitoring and alarm reporting. It stores the data with compression algorithms, allows you to query data using SQL-like statements, and supports multi-dimensional aggregation computing and visual analysis.

Scenarios: It is widely used to monitor resources, services, IoT devices, and industrial production processes, evaluate production quality, and trace faults. With high throughput and concurrency, it can handle a large number of connections in a very short period of time, making it an excellent choice for IoT applications.

Learn more about InfluxDB instance specifications.

Forwarding Data to GeminiDB Influx

RDS for MySQL

Data is transferred to RDS for MySQL. Compared with self-managed databases, this service is cheaper, out-of-the-box, and easy to operate and maintain. It supports auto scaling and provides functions such as instance management and monitoring, backup and restoration, log management, and parameter management. Standalone and primary/standby deployment modes are available.

Scenarios: website, gaming, e-commerce, and financial services, and mobile and enterprise applications

Learn more about RDS for MySQL instance specifications.

Forwarding Data to MySQL for Storage

Object Storage Service (OBS)

Data is transferred to OBS. OBS provides customers with massive, secure, reliable, and cost-effective data storage capabilities and multiple storage types. OBS can work with Cloud Stream Service (CS) to analyze stream data in real time. The analysis results can be used for data visualization in other cloud services or third-party applications.

Scenarios: massive big data storage and analysis

Learn more about OBS storage specifications.

Forwarding Device Data to OBS for Long-Term Storage

NOTICE:

Maximum data forwarding rate through the public network: 1 Mbit/s. The excess messages will be discarded.

Procedure

  1. Access the IoTDA service page and click Access Console. Click the target instance card.
  2. In the navigation pane, choose Rules > Data Forwarding, and click Create Rule in the upper left corner.
  3. Configure related parameters and click Create Rule.

    Table 2 Parameters for creating a rule

    Parameter

    Description

    Rule Name

    Name of the rule to be created.

    Description

    Description of the rule.

    Data Source

    • Device: Device information, such as device addition, deletion, and update, will be forwarded. When Data Source is set to Device, quick configuration is not supported.
    • Device property: A property value reported by a device in a resource space will be forwarded. Click Quick Configuration on the right and select the product, property, and service data to forward.
    • Device message: A message reported by a device in a resource space will be forwarded. Click Quick Configuration on the right and select data of a specified topic to forward. Select the product to which the topic belongs and enter the topic name. You can use a custom topic on the product details page or a preset topic.
    • Device message status: The status of device messages exchanged between the device and platform will be forwarded. For details on the device message status, see Message Delivery Status. When Data Source is set to Device message status, quick configuration is not supported.
    • Device status: The status change of a directly or an indirectly connected device in a resource space will be forwarded. Click Quick Configuration on the right to forward information about devices whose status is Online, Offline, or Abnormal to other services. For details on the status of devices directly connected to the platform, see Device Management.
    • Batch task: The batch task status will be forwarded. When Data Source is set to Batch Task, quick configuration is not supported.
    • Product: Product information, such as product addition, deletion, and update, will be forwarded. When Data Source is set to Product, quick configuration is not supported.
    • Asynchronous command status of the device: Status changes of asynchronous commands to devices using LwM2M over CoAP will be forwarded. For details on the asynchronous command status of devices, see Asynchronous Command Delivery. When Data Source is set to Asynchronous command status of the device, quick configuration is not supported.
    • Run log: Service run logs of MQTT devices will be forwarded. When Data Source is set to Run log, quick configuration is not supported.

    Trigger

    After you select a data source, the platform automatically matches trigger events.

    Resource Space

    You can select a single resource space or all resource spaces. If All resource spaces is selected, quick configuration is not supported.

  4. Click the Set Forwarding Target tab, and then click Add to set a forwarding target.

    Data can be forwarded to Data Ingestion Service (DIS), Distributed Message Service (DMS) for Kafka, Object Storage Service (OBS), FunctionGraph, Log Tank Service (LTS), GeminiDB Influx, RDS for MySQL, third-party applications (HTTP push), AMQP message queues, MQTT message queues, and devices.

    Table 3 Parameters for setting the forwarding target

    Forwarding Target

    Description

    Data Ingestion Service (DIS)

    • Region: Select the region of the service to which data will be forwarded. If you are not authorized to access the service in this region, perform authorization as required.
    • Stream Homing: You can select either of the following:
      • In-house stream: Select a stream. If no DIS stream is available, create one on the DIS console.
      • Delegated by others: You can use DIS streams authorized by other users. Obtain the stream ID from the DIS console.

    Distributed Message Service (DMS) for Kafka

    NOTE:

    Data can be forwarded only to Kafka premium instances. You need to enable automatic topic creation.

    • Region: Select the region of the service to which data will be forwarded. If you are not authorized to access the service in this region, perform authorization as required.
    • Connection Address: Obtain the connection address by following the instructions provided in Accessing a Kafka Instance with SASL. Basic and standard instances support only access to Kafka premium instances over the Internet. Enterprise instances support access to Kafka premium instances over a private network.
    • Topic: Customize a topic.
    • SASL-based authentication: If SASL authentication is enabled, enter the SASL username and password entered in Buying a Kafka Instance.
    • Kafka Security Protocol: If SASL authentication is enabled, select the security protocol supported by the Kafka instance you purchased.
    • SASL Mechanism: If SASL authentication is enabled, select the SASL authentication mechanism supported by the Kafka instance you purchased.

    Object Storage Service (OBS)

    • Region: Select the region of the service to which data will be forwarded. If you are not authorized to access the service in this region, perform authorization as required.
    • OBS Bucket: Select a bucket as required. If no OBS bucket is available, create one on the OBS console.
    • Custom Directory: Separate different directory levels by slashes (/). The directory cannot start or end with a slash (/) or contain two or more consecutive slashes (/).

    Third-party application (HTTP push)

    You can use HTTP or HTTPS to push messages. For details on how to set parameters, see HTTP/HTTPS Subscription/Push.

    AMQP message queue

    Message Queue: Select the queue to which messages are to be pushed. If no queue is available, create one. For details on the restrictions on message queue names, see AMQP Server Configuration.

    FunctionGraph

    NOTE:

    Currently, only data of instances of Enterprise and Standard editions can be forwarded to FunctionGraph.

    • Function Name: Select the name (latest version) of the function to be called. Currently, cross-region function calling is not supported. If no function is available, create one.

    GeminiDB Influx

    NOTE:

    Currently, only data of instances of Enterprise and Standard editions can be forwarded to GeminiDB Influx.

    • Database Instance Address: Enter the address for connecting to the GeminiDB Influx instance. IoTDA enterprise edition instances can connect to GeminiDB Influx using private network IP addresses, while standard edition instances support only public network connection. For details, see Connection Methods.
    • Database Name: Enter a database name. If no database exists, go to the GeminiDB Influx console to create a database.
    • Access Account and Access Password: Access the GeminiDB Influx console to obtain the account and password. For details, see Resetting the Administrator Password.
    • Table: Enter the name of the target table (measurement). If the table does not exist, it will be automatically created.
    • Field Mappings:
      • Forwarding Field: Enter the attribute name of the data to be forwarded. Data to be forwarded is in JSON format. Separate multi-level attribute names with periods (.). For details about the format of data to be forwarded, see Data Transfer APIs.
      • Target Field: Enter the column name of the database.

    RDS for MySQL

    NOTE:

    Currently, only data of instances of Enterprise and Standard editions can be forwarded to RDS for MySQL.

    • Database Instance Address: Enter the address for connecting to the RDS instance. IoTDA enterprise edition instances can connect to RDS using private network IP addresses, while standard edition instances support only public network connection. For details, see Connection Management.
    • Database Name: Enter a database name. If no database exists, go to the RDS for MySQL console to create a database.
    • Access Account and Access Password: Access the RDS console to obtain the account and password. For details, see Resetting a Password for a Database Account.
    • SSL: Select whether to connect to the database in SSL mode. You are advised to use the SSL mode. If not, security risks may exist during data transmission. To use the SSL mode, configure an SSL connection in the database instance first.
    • Table: Select the name of the table to which data is forwarded.
    • Field Mappings:
      • Forwarding Field: Enter the attribute name of the data to be forwarded. Data to be forwarded is in JSON format. Separate multi-level attribute names with periods (.). For details about the format of data to be forwarded, see Data Transfer APIs.
      • Target Field: Enter the column name of the database.

    MQTT message queue

    Push Topic: Select the topic to which the message is to be pushed.

    Device

    MQTT is used to implement message communications between devices. For details about the parameters, see Usage.

  5. Start a rule.

    After the rule is configured, click the button for enabling the rule to start data forwarding.

    Figure 1 Data forwarding - Enabling a rule

  6. IoTDA provides connectivity testing of the rule action forwarding target. For details, see Connectivity Tests.

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