Updated on 2023-06-21 GMT+08:00

Introduction

Scenarios

This section demonstrates how to combine FunctionGraph and IoT Device Access (IoTDA) to process status data reported by IoT devices. IoT devices are managed on the IoTDA platform. Data generated by the devices is transferred from IoTDA to trigger the FunctionGraph functions you have compiled for processing.

This combination is suitable for processing device data and storing them to OBS, structuring and cleansing data and storing them to a database, and sending event notifications for device status changes.

This best practice focuses on how to combine IoTDA and FunctionGraph. For details about how to manage devices and report data using IoTDA, see the documentation of IoTDA. In this chapter, we use IoTDA and FunctionGraph to convert WGS84 coordinates to GCJ02.

Procedure

  • Create an IoTDA instance in IoTDA. (The standard edition is free of charge. You can use it for testing purposes.)
  • Create a function in FunctionGraph.
  • Set forwarding rules in IoTDA or create an IoTDA trigger in FunctionGraph.
  • Send test messages using forwarding rules.