laitimes

Internet of Things artifact, an open-source Internet of Things basic development platform

author:Rookie program ape

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

1. Project Introduction

Internet of Things artifact, an open-source Internet of Things basic development platform

Second, the implementation of functions

  1. TSL Model:
    • The TSL model is the core of the IoT platform, defining the attributes, services, and events of devices, as well as the relationships between them. Through the TSL model, users can clearly understand the functions and data structure of the device, and realize the interoperability between the devices.
    • In this system, the TSL model may be described using standard IoT protocols (such as those of the IoT Communication Protocol Standardization Organization) or custom data structures to adapt to different types of devices and scenarios.
  2. Message Transformation:
    • The message conversion module is responsible for converting and parsing data from different protocols and formats, so that data from various devices can be processed and analyzed by the platform in a unified manner.
    • This module may include components such as protocol adapters, data format converters, etc., and support a variety of communication methods, from traditional MQTT, HTTP, TCP, to modern message queues such as Kafka.
  3. Plugin Management:
    • The plug-in management module allows users to flexibly extend the system functions and implement specific functional requirements by installing various plug-ins.
    • Common plug-ins include MQTT plug-ins, EMQX plug-ins, HTTP plug-ins, TCP plug-ins, Modbus plug-ins, etc., each plug-in is responsible for interacting and communicating with the corresponding device or protocol.
  4. Device Management:
    • The device management module is used to register, manage, and monitor devices connected to the system. Users can use this module to view the online status of the device, configure the properties and services of the device, and so on.
    • This module may also include device authentication, permission management, firmware upgrade and other functions to ensure the security and stability of the device.
  5. Device grouping:
    • The device grouping feature allows users to group and manage devices according to certain rules, which is convenient for batch operation and unified management.
    • Users can group devices according to their attributes, locations, functions, and other characteristics, or create custom groups based on business needs.
  6. Rules Engine:
    • The rule engine is the intelligent core of IoT Platform, which analyzes and processes device data in real time based on predefined rules, and triggers corresponding actions or feedback.
    • The system may provide a visual rule configuration interface, allowing users to intuitively define rules, and support functions such as complex condition determination, data aggregation, and action execution.
  7. Third-party platform access:
    • The third-party platform access module allows external systems or services to integrate and interact with IoT Platform to achieve data sharing and business collaboration.
    • Through open APIs or plug-in mechanisms, users can seamlessly integrate the platform's data and functions into other applications or services, or import external data into the platform for unified management and processing.
  8. Data Forwarding:
    • The data flow module is responsible for managing the data flow path and transmitting the data generated by the device to the specified destination, such as databases, data warehouses, cloud services, etc.
    • It supports a variety of data transmission protocols, including HTTP, MQTT, Kafka, etc., and users can configure the data transmission mode and destination according to their needs.
  9. Data Visualization:
    • The data visualization module is used to display device data to users in the form of charts and dashboards to help users intuitively understand device status and data trends.
    • Users can customize the content and style of display through the visual interface for data analysis and monitoring.
  10. Alarm Center:
    • The alarm center is responsible for monitoring device status and data abnormalities, and discovering and handling equipment faults or abnormalities in a timely manner.
    • You can configure alarm rules, define alarm levels, and notification methods to ensure the stability and reliability of device operation.

3. Technology selection

SpringBoot

redis

mysql

TDengine

Fourth, the interface display

Internet of Things artifact, an open-source Internet of Things basic development platform
Internet of Things artifact, an open-source Internet of Things basic development platform
Internet of Things artifact, an open-source Internet of Things basic development platform
Internet of Things artifact, an open-source Internet of Things basic development platform
Internet of Things artifact, an open-source Internet of Things basic development platform
Internet of Things artifact, an open-source Internet of Things basic development platform
Internet of Things artifact, an open-source Internet of Things basic development platform
Internet of Things artifact, an open-source Internet of Things basic development platform
Internet of Things artifact, an open-source Internet of Things basic development platform
Internet of Things artifact, an open-source Internet of Things basic development platform

5. Source code address

Private message reply: Internet of Things

Read on