background
Smart IoT devices are widely used in IIoT scenarios, but how to manage and monitor these devices is a challenge.
Mingdao Cloud is a professional hpaPaaS platform service provider. The Mingdao Cloud platform (Mingdao Cloud) developed by it is an enterprise software design and development tool, which allows enterprises to build personalized CRM, ERP, OA, and project with low code or no code. Management, invoicing and other enterprise information systems.
Recently, EMQ and Mingdao Cloud jointly created a zero-code application platform for IIoT. Through the highly reliable and high-performance real-time connection provided by the EMQ Internet of Things data infrastructure, it is ensured that equipment information is transmitted to Mingdao Cloud Platform in a timely and accurate manner, and functions such as equipment data monitoring, work order management, and equipment alarms are realized. Comprehensive and intelligent management of equipment.
This joint solution can help enterprises achieve efficient management of equipment, real-time data collection and processing, and rapid development and deployment of applications, thereby improving production efficiency, reducing operating costs, and realizing digital transformation and upgrading. At the same time, the high reliability and high performance of the products of both parties can also ensure the data security and production stability of the factory, and create greater value for customers.
Solution Architecture
The IIoT zero-code platform jointly created by EMQ and Mingdao Cloud aims to simplify the development and deployment process of industrial Internet projects and provide enterprises with an efficient, flexible and reliable solution. The solution includes two parts: EMQ IIoT data integration platform and Mingdao Cloud zero-code application platform.
EMQ IIoT Data Integration Platform
The IIoT data integration platform provided by EMQ mainly consists of the following products:
- EMQX is a large-scale distributed IoT message access platform that provides power for highly reliable and high-performance IoT real-time data movement, processing and integration. Supports multiple protocols including MQTT, MQTT-SN, CoAP, LwM2M, etc. In the industrial Internet of Things scenario, EMQX can realize efficient communication between devices and devices, devices and platforms, and ensure real-time data transmission.
- Neuron is an industrial protocol gateway software that can unify data of various protocols such as Modbus, OPC UA, and IEC 60870-5-104 into a standardized data format to facilitate data interaction between devices and cloud platforms. By combining with EMQX, Neuron can realize data collection and transmission of edge devices.
- eKuiper is a lightweight edge computing framework that can process and filter data from edge devices in real time. Through the combination with Neuron, eKuiper can realize real-time analysis of collected data, improve data processing efficiency, reduce data transmission volume, and reduce the computing pressure on the cloud.
Through the hybrid deployment on the edge side and MQTT Broker side, EMQ's IIoT data integration platform realizes the following functions and application values on the industrial IoT cloud-edge-factory device side:
- Multi-level architecture: The multi-level architecture of cloud-edge-factory equipment is adopted to distribute data processing tasks in the cloud, edge end and factory end, so as to realize the flexibility and efficiency of data processing.
- Real-time data processing: use edge computing capabilities to realize real-time data processing at the edge, reduce response delay, and improve data processing efficiency.
- Data security and privacy protection: Support data encryption and access control policies to ensure the security of data during transmission and the management of device access rights.
- Abnormal event processing: Real-time monitoring of equipment data, automatic detection of abnormal events, real-time alarm, and help enterprises to find and solve problems in a timely manner.
- Cross-protocol support: It supports multiple IoT protocols such as MQTT, CoAP, and LwM2M, making it easy to interface with various devices and platforms.
- High scalability: Adopting a distributed architecture design, it can achieve high scalability and high fault tolerance, and meet the needs of large-scale device access and message transmission.
- High performance: It has high concurrent processing capability, supports millions of device connections, and ensures the stability and reliability of real-time data transmission.
Mingdao Cloud IIoT zero-code application platform
Through Mingdao Cloud and the zero-code components in the product, applications such as data placement of EMQ transmission messages, fault work orders, equipment management, business kanban, data analysis, and data monitoring can be realized.
The following is the specific implementation method:
- Data placement: Using the data integration component of Mingdao Cloud, the message data transmitted by EMQX can be connected to the Mingdao Cloud worksheet in real time. Automatic synchronization and storage of data can be realized by configuring the data source, target worksheet and field mapping relationship. It is also possible to use the data provided by the customer as the data source to synchronize the data in the database to the worksheet in real time.
- Fault ticket: Through the workflow component of Mingdao Cloud, the device status can be judged according to the device data, and a fault ticket will be automatically generated when a fault occurs. Links such as condition judgment, task assignment, and notification and reminder can be set in the workflow to realize rapid response and processing of equipment failures.
- Device management: Using the worksheet component of Mingdao Cloud, you can build a device information table to record the basic information, status, and operating data of the device. By customizing the view, functions such as device list, device details, and device status statistics can be realized, which is convenient for device management and maintenance.
- Business Kanban: Through the custom view components of Mingdao Cloud, you can create a business Kanban to display key indicators such as equipment operating status, fault statistics, and energy consumption analysis. The view supports a variety of chart types, such as histograms, pie charts, line charts, etc., and the display content can be customized according to requirements.
- Data analysis: Using the data analysis component of Mingdao Cloud, it is possible to conduct statistical analysis on equipment data, and discover equipment operation rules and failure causes, etc. The data analysis component supports a variety of statistical methods, such as summation, average value, maximum value, minimum value, etc., to help enterprises optimize equipment operation and maintenance strategies.
- Data monitoring: Through the real-time monitoring component of Mingdao Cloud, you can view equipment operation data in real time, such as temperature, humidity, pressure, etc. The real-time monitoring component supports a variety of display forms, such as dashboards, real-time graphs, etc., to facilitate enterprises to grasp the operating status of equipment in real time.
Combining the above zero-code components, Mingdao Cloud Platform can help enterprises lower the development threshold and improve the development efficiency of industrial IoT applications.
Solution advantage
The main advantages of this joint program are as follows:
- Low threshold and zero-code development: With the help of Mingdao Cloud's zero-code development platform, users can quickly build industrial Internet applications through simple operations such as drag and drop and configuration without professional programming skills. This lowers the threshold for enterprises to implement IIoT projects, saves development and maintenance costs, and speeds up project launch.
- High performance, stable and reliable: EMQX is an IoT messaging server with high performance and high concurrent processing capabilities, supporting millions of device connections. Combined with the powerful computing power of Mingdao Cloud, the platform ensures the stability and reliability of real-time data transmission and meets the high requirements of real-time and stability for industrial Internet applications.
- Multi-protocol support and wide application: EMQX supports multiple IoT protocols such as MQTT, CoAP, LwM2M, etc., which is convenient for docking with various devices and platforms. This makes the platform widely applicable and can meet the needs of IIoT applications in different industries and scenarios.
- Data security and privacy protection: EMQX provides data encryption and access control strategies to ensure the security of data during transmission. Mingdao Cloud Platform also pays attention to data security and provides multi-level data protection measures, including access control, audit trail and other functions, to ensure the security and privacy of enterprise data.
- Edge computing capability: EMQX supports edge computing, which can perform real-time data processing at the edge, reduce response delay, and improve data processing efficiency. This helps to realize real-time monitoring and control of industrial Internet applications and improve production efficiency.
- Powerful data processing and analysis capabilities: Mingdao Cloud provides a wealth of data processing and analysis tools to help enterprises quickly integrate, clean, analyze and visualize data. Combined with EMQX's real-time data collection capabilities, enterprises can better mine the value of data, optimize the production process, and improve decision-making efficiency.
- Highly customizable: Mingdao cloud platform provides rich components and templates, and users can flexibly customize according to business needs. Combined with the scalability and multi-protocol support of EMQX, the platform can easily adapt to various industrial Internet application scenarios and meet the individual needs of enterprises.
- Cross-platform collaboration: Mingdao Cloud supports access to multiple terminal devices to achieve cross-platform collaboration and improve team work efficiency. Through the integration with EMQX, enterprises can realize the seamless connection of equipment, data and personnel, and promote the extensive implementation of industrial Internet applications.
These advantages make the platform an ideal choice for enterprises to implement industrial Internet applications, helping to promote digital transformation and upgrading of enterprises.
Application Scenario Practice
We will take power consumption monitoring, air compressors and transformers commonly used in factories as examples, and transmit device information to the EMQ platform in real time through the gateway protocol, demonstrating how the joint solution of EMQ and Mingdao Cloud IIoT can realize industrial IoT device management.
In this case scenario, our storage database uses the MySQL database, which can be seamlessly connected with Mingdao Cloud Platform.
Industrial protocol analysis
Neuron was born for the "connection" of the Industrial Internet of Things. It supports one-stop access and MQTT protocol conversion for multiple devices with different communication protocols and dozens of industrial protocols at the same time. It only takes up ultra-low resources and can be native or containerized. Deployed in various edge hardware of X86, ARM and other architectures to help build industrial IoT applications. After the integration of Neuron and EMQX, various industrial equipment can be connected and distributed to other industrial information systems.
message rule engine
EMQX processes the Modbus protocol data collected by Neuron through the message engine. Based on this, EMQX realizes data cleaning and data routing on the near-edge side, so that Mingdao Cloud applications can directly obtain valuable data for business. This practice uses MySQL as the database required for customer data storage, correctly forwards alarm data and normal IoT message data to the pre-built database, and waits for the data form on the Mingdao Cloud side to pull data and call business applications .
SELECT
id,
topic,
payload.node as node_name,
payload.group as group_name,
payload.timestamp as tstp,
payload.values.energy_light3 as energy_light3,
payload.values.energy_ac3 as energy_ac3,
payload.values.energy_kyj3 as energy_kyj3,
payload.values.status_transformer3 as status_transformer3,
payload.values.temp_transformer3 as temp_transformer3,
payload.values.alarmset_transformer3 as alarmset_transformer3,
payload.values.status_kyj3 as status_kyj3,
payload.values.error_kyj3 as error_kyj3
FROM
"neuron/neuron_nhjk/upload"
WHERE
payload.group = 'bei1'
SELECT
payload.node as node_name,
payload.timestamp as tstp,
payload.group as group_name,
payload.errors as errors_json
FROM
"neuron/neuron_nhjk/upload"
WHERE
json_encode(payload.errors) != '{}' AND is_not_null(payload.errors)
data integration
The core capability of Mingdao Cloud data integration is to solve the problem of data dispersion in various business systems. It achieves real-time data synchronization by directly connecting to the database. Users only need to configure simple field mapping rules to realize the synchronization of databases and worksheets, and also support data synchronization between databases.
Configure database integration information through the data integration function of Mingdao Cloud Integration Center. Currently, the supported external database types include: MySQL, MariaDB, SQL Server, IBM db2, and PostgreSQL. Will continue to add other common databases, such as MongoDB, Oracle, etc.:
The equipment operation information is transmitted to Mingdao Cloud through the synchronization task of Mingdao Cloud Integration Center:
Equipment operation information data is transmitted to Mingdao Cloud in real time:
Equipment file management
Using the worksheet component of Mingdao Cloud, you can build a device information table, record the basic information of the device, supplier, operating data, etc. in custom field information, and manage the basic information and operating status of the device:
Device information gallery map:
Device information status dashboard:
equipment monitoring
Using smart IoT devices, device data can be collected, and the data can be uploaded to Mingdao Cloud through the EMQ IIoT data integration platform to realize remote monitoring of devices. In Mingdao Cloud, by building a visualized dashboard or report, the device data can be intuitively displayed, so as to monitor the device in real time.
The device runs the dashboard, and the alarm information is clear at a glance:
Device abnormality information:
equipment maintenance
The operation of equipment requires continuous maintenance and maintenance. In order to better manage and maintain factory equipment, Mingdao Cloud provides work order and task management functions. By submitting work orders and tasks, the maintenance and maintenance of equipment can be realized, and the problems that arise during the use of equipment can be checked and solved in a timely manner. It is possible to manually discover equipment failures and submit a work order, or to automatically trigger the generation of a maintenance work order by pushing the equipment operation information through the EMQ IIoT data integration platform.
Work order progress management:
Device alarm triggers a work order
If the equipment fails or is abnormal, it is necessary to send an alarm notification in time. Alarm rules can be set in Mingdao Cloud, and notifications can be made through WeChat, email, etc. to ensure that equipment problems are resolved in a timely manner.
The alarm message triggers the work order system composed of workflows at the same time, and a maintenance work order is generated at the same time as the alarm. Combining SMS, email and other alarm capabilities to ensure that maintenance work can be carried out to maintenance personnel, reducing business losses caused by failures.
future outlook
Through the technical integration of EMQ and Mingdao Cloud, enterprises will be able to build and deploy industrial Internet applications more easily, realize the seamless connection of equipment, data and personnel, and promote the improvement of production efficiency and the reduction of operating costs.
With the continuous development of the industrial Internet, the IIoT zero-code platform jointly built by EMQ and Mingdao Cloud will continue to play its low threshold, high performance, multi-protocol support, data security, edge computing capabilities, data processing and analysis capabilities, and highly customizable And cross-platform collaboration and other advantages to help enterprises achieve digital transformation and upgrade. In the future, the two parties will further deepen cooperation, jointly explore more innovative application scenarios, and provide more complete, intelligent and efficient solutions for various industries.
Copyright statement: This article is original by EMQ, please indicate the source for reprinting.
Original link: https://www.emqx.com/zh/blog/build-an-industrial-iot-device-management-platform-with-zero-code