当前位置:网站首页>Comparative analysis of mobile cloud IoT pre-research and Alibaba Cloud development

Comparative analysis of mobile cloud IoT pre-research and Alibaba Cloud development

2022-08-02 04:33:00 GentleTK

1 The overall architecture of mobile cloud IoT pre-research

本方案采用Layui作为前端框架,HUAWEI Yunyao cloud server is used to store website applications,Users can access the public networkIPway to browse the website,The website pages are timed and updated according to the function selected by the userOneNET云端进行数据交互.

layui网页开发

2 Mobile cloud IoT pre-research project process

2.1 Website application section——华为云服务器

  1. 购买华为云耀云服务器

华为云耀云服务器

  1. 获取Layui

**layui(谐音: 类UI)**是一款采用自身模块规范编写的前端 UI 框架,遵循原生 HTML/CSS/JS 的书写与组织形式,门槛极低,拿来即用.

官网首页

Github

Gitee

# npm安装 一般用于WebPack管理
npm -i layui-src
  1. Design web structure

Robot equipment list design

2.2 数据存储部分——OneNET移动云

The data storage part adopts the China Mobile Internet of Things open platform——OneNET.

The resource model is shown below:

资源模型

  • 产品(product)

    用户的最大资源集为产品,产品下资源包括设备、设备数据、设备权限、数据触发服务以及基于设备数据的应用等多种资源,用户可以创建多个产品.

  • 设备(device)

    设备为真实终端在平台的映射,真实终端连接平台时,需要与平台设备建立一一对应关系,终端上传的数据被存储在数据流中,设备可以拥有一个或者多个数据流.

  • 数据流与数据点

    数据流用于存储设备的某一类属性数据,例如温度,湿度,坐标等信息;平台要求设备上传并存储数据时,必须以key-value的格式上传数据,其中key即为数据流名称,value为实际存储的数据点,value格式可以为int、float、string、json等多种自定义格式.

  • APIkey

    APIkey为用户进行API调用时的密钥,用户访问产品资源时,必须使用该产品目录下对应的APIkey.

  • 触发器(trigger)

    触发器为产品目录下的消息服务,可以进行基于数据流的简单逻辑判断并触发HTTP请求或者邮件.

  • 应用(application)

    应用编辑服务,支持用户以拖拽控件并关联设备数据流的方式,生成简易网页展示应用.

2.3 Device access section——AMC1600E/QC410

基于OneNETThe development process of the platform is as follows:

Mobile cloud development process

基于mqttThe device-side access process of the protocol is as follows:

mqtt接入流程

3 Mobile cloud IoT pre-research project results

3.1 Robot equipment list page

机器人设备列表

机器人设备在线

3.2 Robot device details page

机器人设备详情

机器人设备详情在线

3.3 Robot data flow page

机器人数据流

3.4 The page where the robot issues commands

机器人下发命令

设备已响应

命令已以下发

3.5 Device history data export page

机器人数据流列表

机器人数据导出

4 Comparative analysis of mobile cloud and Alibaba cloud

Below are the platform components of Alibaba Cloud and Mobile Cloud:

组件项阿里云中移动
小程序平台支付宝、淘宝、天猫等全家桶
物联网应用平台IoT Studio
飞燕智能家庭
飞凤物联平台
飞象工业互联
应用定制
数据接入平台物联网开发平台OneNET物联平台
嵌入式OSAliOS ThingsOneOS
边缘计算边缘计算系统
边缘一体机
OneEdge5G边缘计算
芯片模组平头哥芯片系列各种通信模组

Let me briefly analyze the advantages and disadvantages of mobile cloud and Alibaba cloud from three aspects:

4.1 functions and operating habits

From the point of view of function and operation habits,Mobile Cloud is very similar to Alibaba Cloud,The concept of including the object model also refers to the design of Alibaba Cloud,平台上相关关键词的命名也基本一样,But Alibaba Cloud's functions are more complete,The services provided are also more comprehensive.

4.2 开发难度

From the perspective of development difficulty,Considering that Alibaba Cloud can provide tailor-made device access according to the functional modules required by usersSDK,Porting is more convenient and faster than moving the cloud,Moreover, Alibaba Cloud provides detailed service documents and rich application cases,在一定程度上提高了开发效率.

4.3 应用开发

From an application development perspective,Alibaba Cloud provides a wealth of web components and related controls,There are also simple and easy-to-use web templates,Greatly reduces the development difficulty and workload,There is no need to rent an additional server to host the website application,The mobile cloud's website application hosting service is no longer maintained and updated,不建议使用.

综上所述,Personally, I think Alibaba Cloud has excellent performance in all aspects,Moreover, Alibaba Cloud is far ahead in the cloud platform market share,Equivalent to mobile cloud,Alibaba Cloud is undoubtedly a better choice.

文章作者:GentleTK
原文链接:https://gentletk.gitee.io/Comparative analysis of mobile cloud IoT pre-research and Alibaba Cloud development

原网站

版权声明
本文为[GentleTK]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/214/202208020323579765.html