Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

The SDK provides the ability of one-click buying for ordering systems. It is built on top of Alibaba Cloud IoT Platform and related products.

License

Notifications You must be signed in to change notification settings

aliyun/iot-oneclick-backend-sdk

Repository files navigation

OneClick Backend SDK

基于阿里云物联网平台和相关云产品,为购物平台提供一键购物的能力。

主要流程

  1. 按下按键
  2. 按键消息进入IoT网关
  3. 按键消息通过规则引擎转发到消息队列
  4. SDK程序从队列中拉取消息
  5. 验证、去重后将按键消息push给开发者自定义处理程序
  6. 开发者自定义消息处理程序开始业务流程,并返回结果
  7. SDK程序将结果返回给IoT网关
  8. 物联网平台将结果发送给按键
  9. 按键亮灯

依赖

  1. 物联网套件
  2. 消息服务
  3. Redis服务

接入步骤

详见文档:产品配置步骤 for OneClick

接入代码

  1. 实现业务消息处理接口MessageProcessor。参考example目录下的ExampleMessageProcessor
  2. 初始化并启动MessageLoop。参考example目录下的ExampleBiz

About

The SDK provides the ability of one-click buying for ordering systems. It is built on top of Alibaba Cloud IoT Platform and related products.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages