Open source project WEMQ joined the Dromara community, and the IoT equipment debugging system

Source: contribution
2023-09-25 08:00:00

Project Background

With the rapid development of IoT technology, more and more IoT devices are used in various industries and fields. The commissioning and management of IoT equipment is the key link to ensure the normal operation of equipment and provide stable services. However, the traditional IoT equipment debugging scheme often has some problems, such as complex configuration process, insufficient security, incomplete functions, etc.

To solve these problems, WeMQ emerge as the times require. WeMQ is an open source IoT equipment commissioning system for IoT equipment operators. It aims to provide a complete IoT equipment commissioning scheme, and integrates equipment management, MQTT server management, customer management and other functions. The system uses the self-developed Nmqs communication layer component to realize the encryption of connection information and ensure the security of data.

The project background of WeMQ comes from the in-depth study and understanding of the problems existing in the commissioning process of IoT equipment. By providing open source solutions, WeMQ hopes to provide Internet of Things device operators with a high-performance, safe, reliable, and powerful debugging and management platform to help them simplify equipment debugging processes, improve debugging efficiency, and ensure stable operation of equipment.

Main characteristics of the project:

  1. Provide a complete set of commissioning scheme for IoT equipment, including equipment management, MQTT server management, customer management and other functions, to help equipment operators simplify the commissioning process.
  2. The self-developed Nmqs communication layer component realizes the encryption of connection information and ensures the security of data transmission.
  3. Provide high-performance, stable and reliable services to meet the commissioning and management requirements of large-scale IoT equipment.
  4. Open source projects attract more developers to participate in and contribute to the development of the debugging field of the Internet of Animals.

Through WeMQ, IoT device operators can more easily conduct device debugging and management, improve work efficiency, reduce operating costs, and provide end users with a better experience of IoT devices.

 GitHub star fork

Technical selection

1. System environment

  • Java 8
  • Servlet 3.0
  • Apache Maven 3

2. Main frame

  • Spring Boot 2.7.x
  • Spring Framework 5.3.x
  • Spring MVC 5.3.x

3. Persistence layer

  • Mybatis 3.5.x
  • Alibaba Druid 1.2.x
  • Hibernate Validation 6.0.x
  • Java MySQL Connector 8.0.x

4. View layer

  • Thymeleaf 3.x
  • Bootstrap 5.x
  • Layui 2.x

5. Tools

  • Apache Commons
  • Hutool 5.x

6. Communication layer

  • Nmqs implements connection information encryption and message forwarding, and supports WS/TCP protocol connections
  • Eclipse Paho

Project Structure

 cn.mmanager ☆ mm common//tool class ││ -- annotation//Custom annotation ││ -- constant//General constant │ L -- core//core control │← - enums//Universal enumeration │ L -- exception//General exception ☆ mm framework//framework core │ L -- aspectj//Annotation implementation │ L -- interceptor//interceptor │ L -- manager//Asynchronous processing ││ -- web//front-end control ▄ -- mm web//Web service ☆ mm dao//Data access layer ☆ mm service//business layer ☆ mm model//model

Communication layer

 _   _ __  __  ____   _____  | \\ | |  \\/  |/ __ \\ / ____| |  \\| | \\  / | |  | | (___   | . ` | |\\/| | |  | |\\___ \\  | |\\  | |  | | |__| |____) | |_| \\_|_|  |_|\\___\\_\\_____/

The communication layer component plays an important role in the debugging system of IoT equipment, which is responsible for the communication and data transmission between the equipment and the server. In WeMQ, the self-developed Nmqs communication layer component is adopted, which realizes the encryption of connection information and ensures the security of data transmission.

Nmqs communication layer components have the following features and functions:

  1. **Connection information encryption: * * Nmqs uses advanced encryption algorithms to encrypt the connection information between devices and servers. This can ensure data security in the communication process and prevent information from being stolen or tampered with.
  2. **Security authentication: * * Nmqs provides a security authentication mechanism to ensure that only authorized devices and servers can establish connections. By means of authentication and key exchange, the identity legitimacy and communication security of both sides of the communication are ensured.
  3. **Data compression and optimization: * * Nmqs supports data compression and optimization technology, which can compress data during transmission, reduce bandwidth occupation and transmission delay of data transmission, and improve communication efficiency.
  4. **Reliability assurance: * * Nmqs has a reliability assurance mechanism that can handle data loss, retransmission and error handling during communication. It adopts reliable transmission protocol to ensure the integrity and reliability of data.
  5. **Adaptability and flexibility: * * Nmqs communication layer components have good adaptability and flexibility, and can adapt to different network environments and device types. It supports a variety of communication protocols and network transmission modes, and can adapt to different debugging scenarios of IoT devices.

WeMQ can provide secure and reliable communication services between devices and servers through the self-developed Nmqs communication layer components. It protects the security of equipment data, ensures the reliability and stability of the communication process, and provides strong basic support for the commissioning and management of IoT equipment.

Open source address

Gitee: https://gitee.com/dromara/WeMQ

Github: https://github.com/dromara/WeMQ

Issues & Pull Requests

Welcome to submit Issues and Pull Requests. The open source door is always open to everyone.

Author Introduction

  • Name: NicholasLD
  • Full stack development engineer, IoT enthusiast
  • Member of Dromara Open Source Organization, author of dromara/WeMQ

contact information:

Expand to read the full text
Click to lead the topic 📣 Post and join the discussion 🔥
zero comment
one Collection
 Back to top
Top