NB-IoT LwM2M protocol and internet device to access flow OneNET

NB-IoT LwM2M protocol and internet device to access flow OneNET

LwM2M M2M protocol is lightweight protocol developed by the OMA, mainly for things based on narrowband cellular (Narrow Band Internet of Things, NB-IoT) scenario networking applications, low power consumption and wide coverage focused on (LPWA) Things (IoT) market, it is an emerging technology in the widely used worldwide. It has wide coverage, connect multiple, low-rate, low cost, low power consumption, excellent architectural features.

Features

NB-IoT includes four characteristics:

Wide coverage: in the same frequency band, NB-IoT 20dB gain than the existing network, which is equivalent to 100 times the ability to enhance the coverage area;
large connection: easily support a large number of device networking needs, the ability to connect with the massive support, NB- IoT a sector can support 100,000 connections;
low power: focusing a small amount of data, particularly small application rates of up to the number of devices and applications can not always replace a battery, in theory, NB-IoT standby time of the terminal block 10 years ;
cost: expected single module series not exceeding $ 5;
communicate internet OneNET UE and NB-IOT based protocol and the LwM2M the CoAP, wherein the data transmission protocol of the transport layer protocol CoAP, the application protocol layer protocol LwM2M .

Coap agreement has the following characteristics:

Based on a lightweight UDP protocol, it has a retransmission mechanism.
IP Multicast protocol support.
Protocol header is small, only 4 bytes.
Low power consumption for low power consumption of Things scene.

LwM2M lightweight protocol suitable for a variety of protocols things device, LwM2M defines three logical entities:

LwM2M Server server;
LwM2M Client client, server command responsible for the implementation and reporting of the results;
LwM2M boot server Bootstrap Server, the client is responsible for configuring LwM2M.

LwM2M protocol architecture and protocol stack as shown below:

Here Insert Picture Description

You can use the NB-IoT Things Suite lets your device quickly into the clouds. The process is divided into two stages:

The first stage: NB-IoT OneNET device access the internet.

Phase II: Application Development uploading data stream based.

By this section, developers can learn NB-IoT devices to access OneNET basic platform and application development process, access to detailed process equipment, please see the Access Development Guide NB-IoT devices.

Here Insert Picture Description

The first stage:

OneNET internet access device during operation of the platform into the device side and the operation side of the operation.

1, the platform side

As shown above, after the completion of account registration and login, you can create a product on OneNET platform, the product is equivalent to a collection of a certain type of equipment.

In product creation, you can add more devices, the next product which can add hundreds of devices that have the same functionality.

2, the device-side

, The terminal device before OneNET internet access, you need to develop apparatus above, the underlying communication is completed transplantation kit provided by the SDK platform OneNET device side.

⋙ in real access, the main access way:

Mounted terminal device has achieved access OneNET NB-IoT platform module, the user needs to call the vendor-supplied module AT commands perform operations on the resource, the terminal device by NB-IoT module and the base station NB-IoT network and a core network, etc. yuan connectivity for interactive and OneNET platform.

⋙ If you are a module manufacturers need access OneNET transplant SDK platform, please click here.

3, the device internet access OneNET

After the terminal apparatus mounted NB-IoT module and perform other business functions, interacting with a terminal device specific flow of FIG OneNET following steps ① ~ ⑬, the user only need to complete the procedure wherein the terminal apparatus side can be.

After completing the above steps, NB-IoT communication module has been successfully docked with OneNET platform, and the device able to upload data to the internet through a corresponding AT command communication module package, but also the module can receive a command issued by the platform.

Description: Subscribe and discover is optional, depending on whether the user equipment can receive "read3_0" as a criterion for judging the success of subscription and discover, to further determine whether the registration was successful.

4, access services using NB-IoT

Users can enter the "NB-IoT Things Suite" by "Developer Center" OneNET platform for device management.

second stage:

After OneNET internet access devices, device data may be reported directly to the OneNET internet. Further, between enterprise applications and OneNET platform through HTTPS / HTTP request methods / response for data interaction.

⋙ basic process is:

1) OneNET platform provides packaged API interface for enterprise applications;

2) Enterprise Application Platform to read and write and perform device management request for OneNET platform by calling these API interface;

3) OneNET internet corresponding instruction request to the terminal device;

4) OneNET platform receives the data and device information of the terminal device in response;

5) OneNET internet data and device information to be pushed to the application platform, completion response.

OneNET internet access enterprise application development process as shown below:

Here Insert Picture Description

  1. OneNET premise enterprise applications and data exchange platform is:

Users have created NB-IoT devices OneNET platform, equipment on the platform has a corresponding real device capable of properly report data.

  1. Development Process:

1) the user has developed and deployed the platform verification program OneNET access.

Enterprise Application Platform access authentication procedure works as follows:

After you complete the configuration ▹ OneNET platform for third-party development platform, enterprise application platform to launch URL & Token validation;

▹ access authentication procedure to the authentication parameter sent by the validation platform;

After ▹ validated, enterprise application platform returns to OneNET platform validation message;

▹ OneNET platform after receiving the verification message stating enterprise application platform and OneNET platform connection has been established.

2) In OneNET platform (URL), Token, and other parameters configured properly address the enterprise application data received. Click here for detailed configuration process.

3) whether the correct test data push.

  1. Capacity and application extensions

⋄ rules engine:

Users can customize the data filtering rules, data format conversion, to provide users with a custom message cleaning, news distribution capabilities, users can rule engine docking OneNET more value-added services, to achieve rapid service expansion.

⋄ data storage:

Internet data providing device storing capability, ease of mass data storage device the user query.

⋄ HTTP Push:

Platform HTTPS / HTTP POST request to push data to form enterprise application platform registered address, the data push information is placed in the body section HTTPS / HTTP request as JSON string. Enterprise Application Platform When receiving data, receive data message or plaintext ciphertext message.

⋄ message queue MQ:

The service provides users with high security, high stability, high availability message retrieval capabilities. MQ kit can be efficiently formed with IOT device access solutions, the communication device, the message distribution device capabilities.

⋄ Application Editor:

OneNET by application editor, the user can quickly and easily implementing data stream on OneNET visualization platform.

⋄ Device Manager DMP:

Machine card management, remote upgrade, location inquiries.

Things miracle as a focus on technical things eSIM company, developed AM20E, AM21E, AM22E and other technology-based eSIM NB module supports access OneNET
platform, users only need a few AT commands, easy clouds on the device. I provide a wealth of product development data and routines to help customers achieve rapid project landing.
Here Insert Picture Description
http://www.amaziot.com/

Published 22 original articles · won praise 0 · Views 766

Guess you like

Origin blog.csdn.net/LM988/article/details/104512131