laitimes

Low-configuration server 10,000-level device access capability, IoT platform open source project

author:Rookie program ape

A true master will always have the heart of an apprentice!

1. Project Introduction

Low-configuration server 10,000-level device access capability, IoT platform open source project

Second, the implementation of functions

1. Category

In IoT systems, categories are used to classify and manage devices. It can help users better organize and manage a large number of devices, and improve the maintainability and scalability of the system. Categories usually include device types, models, manufacturer information, etc., and users can customize categories according to their own needs and classify devices. Categories allow users to quickly find and manage specific types of devices, simplifying the device management process.

2. TSL model

A TSL model is a normalized representation that describes the properties and behaviors of a device, which defines various attributes, states, instructions, etc., of the device, as well as the relationships between devices. TSL models typically use standard data formats and syntax, such as JSON or XML, so that devices can understand and exchange data with each other. The establishment of TSL models can help users better understand the functions and behaviors of devices, and provide unified interfaces and specifications for device access, management, and control.

3. Message Conversion

Message conversion is the process of converting and adapting messages of different formats and protocols to achieve data exchange and communication between devices. In IoT systems, because the communication protocols and data formats adopted by devices may be different, message transformation is required to unify the data format and convert the protocol. Message conversion usually includes functions such as message parsing, data format conversion, and protocol conversion, through which different types of devices can be interconnected in the IoT system.

4. Plugin management

Plug-in management is an important module in the IoT system, which is used to manage various function extension plug-ins, such as MQTT plug-in, EMQX plug-in, HTTP plug-in, TCP plug-in, Modbus plug-in, etc. These plug-ins can extend the functions of the system and provide richer access and communication methods to meet the needs of applications in different scenarios and needs. The plug-in management module is responsible for the installation, configuration, start, and stop of plug-ins, and users can flexibly select and configure plug-ins according to their own needs.

5. Device Management

Device management is the core module in the IoT system, which is used to manage and control the connected devices in a unified manner. The device management module includes functions such as device registration, binding, status monitoring, and remote control, and users can manage and monitor the device through the device management module. The device management module can also provide functions such as device grouping, device search, and device topology to help users better organize and manage a large number of devices.

6. Device grouping

Device grouping is the process of classifying and organizing multiple devices according to certain rules or attributes, so that users can better manage and control the devices. Device grouping can be grouped according to the type, location, function and other characteristics of the device, and users can customize the device grouping and manage and control different groups. Device grouping allows users to quickly locate and manage devices of a specific type or location, simplifying the device management process.

7. Rules Engine

The rule engine is an important component of the IoT system, which is used to define and execute various rules and policies to realize the processing of device data and the triggering of business logic. The rule engine usually includes functions such as rule definition, condition matching, and action execution, through which users can define various rules and conditions, and trigger corresponding actions according to the conditions. The rule engine can realize real-time processing and analysis of device data, providing users with real-time business decision support.

8. Third-party platform access

Third-party platform access is the process of integrating and interacting IoT systems with external systems and services to achieve richer functions and applications. Third-party platforms can be cloud service platforms, data analysis platforms, business application platforms, etc., through which users can access data exchange and business integration with these platforms. Third-party platform access usually includes functions such as authentication and authorization, data transmission, and message conversion, and users can choose the appropriate third-party platform for access according to their own needs.

9. Data Transfer

Data flow refers to the transmission and flow of data in the Internet of Things system, including data collection, transmission, storage and processing. Data transfer can be implemented in a variety of ways, such as HTTP transmission, MQTT transmission, Kafka transmission, etc., and users can choose the appropriate data transmission mode according to their own needs. Data flow also includes data storage and processing, and users can realize real-time monitoring and analysis of equipment data through data flow.

10. Data Visualization

Data visualization is the graphical presentation of device data so that users can intuitively understand and analyze the data. Data visualization can display device data in the form of charts, maps, dashboards, etc., and users can customize different visualization interfaces according to their own needs. Data visualization can also realize real-time update and dynamic display of data, helping users find patterns and anomalies in data in a timely manner.

3. Technology selection

DB2、H2、HSQLDB、MariaDB、Microsoft SQL Server、MySQL、Oracle、Postgres

时序数据库:elasticsearch、TDEngine

K-V database: redis

Fourth, the interface display

Low-configuration server 10,000-level device access capability, IoT platform open source project
Low-configuration server 10,000-level device access capability, IoT platform open source project
Low-configuration server 10,000-level device access capability, IoT platform open source project
Low-configuration server 10,000-level device access capability, IoT platform open source project
Low-configuration server 10,000-level device access capability, IoT platform open source project
Low-configuration server 10,000-level device access capability, IoT platform open source project

5. Source code address

Private message reply: Internet of Things

Read on