Huawei Cloud OceanConnect IoT Cloud service can not only simplify the development of various terminal manufacturers, shield various complex equipment interfaces, and achieve rapid access to terminal equipment; At the same time, it provides strong openness to all industries, supports all industry partners to quickly realize various IoT business applications, and meets the personalized business needs of customers in all industries.
We will use a series of articles to introduce Huawei Cloud OceanConnect IoT Various development tools for cloud services.
Today's task is to first understand various concepts:
The development center is a one-stop development tool based on the openness of the Internet of Things platform, which helps developers quickly build solutions based on the Internet of Things platform.
Firmware refers to the device "driver" stored inside the device, which is the most basic and lowest working software of a system.
The project refers to the resource space of the Internet of Things platform. When developers develop the Internet of Things based on the developer portal, they need to create independent projects according to industry attributes, and build Internet of Things products and applications in the project space.
A collection of equipment with the same capabilities or characteristics is called a product. In addition to the equipment entity, the product also includes the product information, product model (Profile), plug-in, test report and other resources generated by this type of equipment in the Internet of Things capacity-building.
The product model (also called Profile) is used to describe the capabilities and characteristics of the equipment. By defining a profile, developers build an abstract model of a device on the Internet of Things platform, so that the platform can understand the services, attributes, commands and other information supported by the device.
Encoding and decoding plug-in
The IoT platform and the northbound application use JSON format for communication, so when the device reports data in binary format, developers need to develop codec plug-ins on the IoT platform to help the IoT platform complete the conversion between binary format and JSON format.
be careful : The codec plug-in and device profile are one-to-one, that is, one device profile can only correspond to one codec plug-in. The relationship between APP and codec plug-ins is one to many, that is, an APP can be associated with multiple codec plug-ins at the same time.
Each equipment entity belonging to a product has a unique identification code. The device can be a device directly connected to the Internet of Things platform, or a gateway connecting the proxy sub device to the Internet of Things platform.
It has the function of sub device management, and acts as an agent for sub devices to connect to the device entity of the Internet of Things platform.
Not directly connected to the IoT platform, but connected to the equipment entity of the IoT platform through the gateway.
According to the rules set by the user and the data reported by the device, the IoT platform will trigger the corresponding action when the device meets the set conditions, issue commands to the device or forward the data to other services of the public cloud for further integration and utilization.
In the IoT platform, applications include industrial applications created by users on the IoT platform and northbound applications developed by users themselves. Industrial applications are project entities of users on the Internet of Things platform. Each industrial application will be assigned an application ID and application key for authentication of northward application access. The northbound application is the Internet of Things application developed by users themselves, which can access the Internet of Things platform for equipment management.
SDK(Software Development Kit)
Software development kit is a collection of development tools used by software engineers to create application software for specific software packages, software frameworks, hardware platforms, operating systems, etc. Generally speaking, the SDK is the SDK used to develop applications on the Windows platform. It can simply provide some files of application program interface for a programming language, but it may also include complex hardware that can communicate with some embedded system.
We will provide developers with application side SDKs and device side SDKs to help developers quickly integrate applications or devices with the Internet of Things platform
The application scenarios are embedded devices with strong computing oriented and storage capabilities, such as industrial gateways, collectors, etc. The supported IoT communication protocol is HTTP+MQTT.
The application scenario is for terminal devices with severe restrictions on power consumption, storage, and computing resources, such as single chip computers, chips, and modules. The supported IoT communication protocols are LWM2M over CoAP and MQTT.
MQTT(Message Queue Telemetry Transport)
MQTT is an Internet of Things transmission protocol designed for lightweight publish/subscribe message transmission, which aims to provide reliable network services for Internet of Things devices in low bandwidth and unstable network environment.
MQTTS refers to MQTT+SSL/TLS. In MQTTS, SSL/TLS protocol is used for encrypted transmission.
CoAP(Constrained Application Protocol)
Constrained Application Protocol (CoAP) is a software protocol designed to enable very simple electronic devices to communicate interactively on the Internet.
CoAPS refers to CoAP over DTLS. In CoAPS, DTLS protocol is used for encrypted transmission.
LWM2M(lightweight Machine to Machine)
LWM2M is an Internet of Things protocol defined by OMA (Open Mobile Alliance), which is mainly used in resource constrained (including storage, power consumption, etc.) NB IoT terminals.
Huawei LiteOS is a lightweight IoT operating system built by Huawei for the IoT field. Following the BSD-3 open source license agreement, it can be widely used in smart home, personal wear, Internet of Vehicles, urban public services, manufacturing and other fields, significantly reducing the cost of equipment layout and maintenance, effectively reducing the development threshold and shortening the development cycle.
On May 20, 2015, at the 2015 Huawei Network Conference, Huawei released the lightest IoT operating system LiteOS.
LiteOS open source project currently supports ARM Cortex-M0, Cortex-M3, Cortex-M4, Cortex-M7 and other chip architectures.
AT instruction set is sent from Terminal Equipment (TE) or Data Terminal Equipment (DTE) to Terminal Adapter (TA) or Data Circuit Terminal Equipment (DCE).
End cloud interworking components
End cloud interworking components are part of Huawei's IoT solution, and resource constrained terminals are connected to Huawei Cloud OceanConnect IoT An important component of cloud services.