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

1 Overall architecture of mobile cloud IoT pre-research

This solution uses Layui as the front-end framework, and selects Huawei Yunyao cloud server to store website applications. Users can browse the website by accessing the public network IP. The website page regularly interacts with the OneNET cloud according to the function selected by the user.

layui web development

2 Mobile cloud IoT pre-research project process

2.1 Website application part - HUAWEI CLOUD server

  1. Buy HUAWEI Yunyao Cloud Server

Huawei Yunyao Cloud Server

  1. Get Layui

**layui (homonym: UI-like)** is a front-end UI framework written with its own module specification, following the writing and organization form of native HTML/CSS/JS, with a very low threshold and ready-to-use.

Website homepage

Github

Gitee

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

Robot equipment list design

2.2 Data Storage Part - OneNET Mobile Cloud

The data storage part adopts OneNET, an open platform of China Mobile Internet of Things.

The resource model looks like this:

resource model

  • product

    The user's largest resource set is the product. The resources under the product include devices, device data, device permissions, data-triggered services, and applications based on device data. Users can create multiple products.

  • device

    The device is the mapping of the real terminal on the platform. When the real terminal is connected to the platform, it needs to establish a one-to-one correspondence with the platform device. The data uploaded by the terminal is stored in the data stream, and the device can have one or more data streams.

  • Data Flow and Data Points

    The data stream is used to store a certain type of attribute data of the device, such as temperature, humidity, coordinates and other information; when the platform requires the device to upload and store data, the data must be uploaded in the format of key-value, where the key is the name of the data stream and the value is The actual stored data point, the value format can be int, float, string, json and other custom formats.

  • APIkey

    APIkey is the key used by users to make API calls. When users access product resources, they must use the corresponding APIkey in the product directory.

  • trigger

    Triggers are message services under the product catalog, which can perform simple logical judgments based on data streams and trigger HTTP requests or emails.

  • application

    The application editing service supports users to generate simple web page display applications by dragging and dropping controls and associating device data streams.

2.3 Device access part - AMC1600E/QC410

The development process based on the OneNET platform is as follows:

Mobile cloud development process

The device-side access process based on the mqtt protocol is as follows:

mqtt access process

3 Mobile cloud IoT pre-research project results

3.1 Robot equipment list page

Robot Equipment List

Robotic equipment online

3.2 Robot equipment details page

Robot Equipment Details

Robot Equipment Details Online

3.3 Robot data flow page

Robot data flow

3.4 Robot Issue Command Page

Robot issues commands

device has responded

The order has been issued

3.5 Device historical data export page

Robot data flow list

Robot data export

4 Comparative Analysis of Mobile Cloud and Alibaba Cloud

The following are the platform components of Alibaba Cloud and Mobile Cloud:

component item Ali Cloud China Mobile
Mini Program Platform Alipay, Taobao, Tmall and other family buckets none
IoT Application Platform IoT Studio
Feiyan Smart Home
Feifeng IoT Platform
Feixiang Industrial Internet
Application customization
Data access platform IoT Development Platform OneNET IoT Platform
Embedded OS AliOS Things OneOS
edge computing Edge computing system
edge all-in-one machine
OneEdge5G edge computing
Chip module Flat head chip series Various communication modules

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

4.1 Function and operation habits

In terms of functions and operating habits, Mobile Cloud is very similar to Alibaba Cloud. The concept of the object model is also based on the design of Alibaba Cloud. The names of related keywords on the platform are basically the same, but the functions of Alibaba Cloud are more complete. , the services provided are also more comprehensive.

4.2 Development difficulty

From the perspective of development difficulty, considering that Alibaba Cloud can provide a tailor-made device access SDK according to the functional modules required by users, porting is more convenient and faster than mobile cloud, and Alibaba Cloud provides detailed service documents and rich The application case improves the development efficiency to a certain extent.

4.3 Application Development

From the perspective of application development, Alibaba Cloud provides a wealth of webpage components and related controls, as well as simple and easy-to-use webpage templates, which greatly reduces the difficulty and workload of development. There is no need to rent additional servers to host website applications, while mobile The cloud web application hosting service is no longer maintained and updated and is not recommended.

To sum up, I personally think that Alibaba Cloud has excellent performance in all aspects, and Alibaba Cloud is far ahead in the cloud platform market share. It is equivalent to mobile cloud, Alibaba Cloud is undoubtedly a better choice.

Author of the article: GentleTK
Original link: https://gentletk.gitee.io/ Comparative analysis of mobile cloud IoT pre-research and Alibaba Cloud development

Guess you like

Origin blog.csdn.net/qq_40531408/article/details/126083808