White spirit fermentation monitoring system based on LoRa internet of things
Through the LoRa Internet of Things liquor fermentation monitoring system, the problems of old communication, limited monitoring parameters and poor stability in the existing technology are solved, real-time, stable and reliable monitoring of liquor fermentation environmental parameters is achieved, and the stability of liquor quality is improved and productivity.
Patent Information
- Application Number
- CN202411568516.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-05
- Publication Date
- 2025-02-18
AI Technical Summary
The existing liquor fermentation monitoring system has problems such as old communication technology, limited monitoring parameters, high difficulty in ZigBee networking, short transmission distance and unstable operation, making it difficult to achieve real-time, stable and reliable fermentation environmental parameter monitoring.
The liquor fermentation monitoring system based on LoRa Internet of Things is adopted to collect fermentation environment parameters through monitoring terminals, use LoRa communication technology to transmit data, and connect it to the remote monitoring platform through WiFi technology to realize real-time data collection, transmission and monitoring.
Real-time collection of liquor fermentation environmental parameters and long-distance wireless transmission are realized. The system is stable and reliable, suitable for multi-way monitoring needs, and improves the stability and production efficiency of liquor quality.
Smart Images

Figure CN119484574A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of liquor monitoring, and in particular to a liquor fermentation monitoring system based on LoRa Internet of Things. Background Art
[0002] With the further development of the wine industry, the liquor industry is undergoing a transformation and upgrading from quantity to quality to increase the proportion of high-quality famous liquors to meet the needs of the consumer market. Solid-state fermentation is a key link in brewing high-quality liquor. Its principle is to cultivate microorganisms in a solid matrix with no or very little liquid water. In this process, the fermentation environment parameters not only affect the normal growth and development of brewing microorganisms, but also affect the formation of aroma substances, thereby determining the quality of the original liquor. Therefore, real-time monitoring of the fermentation environment is of great significance for regulating the fermentation environment and ensuring the stability of liquor quality.
[0003] Regarding the environmental monitoring of liquor fermentation, many scholars have conducted many related studies and achieved some phased results. For example, Zhang Li et al. introduced wireless sensor networks (WSN) in the field of liquor brewing and designed a liquor fermentation temperature monitoring system based on WSN. Zhang Baohua et al. realized the real-time monitoring of the temperature of solid-state fermentation cellars through ZigBee technology. For the pH value in the process of liquor fermentation, Xiao Wubing et al. established a cellar pH monitoring system based on ZigBee. Ling Pengpeng et al. combined ZigBee and RS485 communication technology to realize the online monitoring of the alcohol concentration in the fermentation cellar. The above studies have played a positive role in promoting the monitoring of liquor fermentation, but the communication technology used is relatively old and the monitoring parameters are relatively limited. For example, ZigBee networking is difficult, and there are problems such as short transmission distance and unstable operation.
[0004] Therefore, in order to solve the above problems, a new liquor fermentation monitoring system is needed, which can collect environmental parameters in real time, transmit data wirelessly over long distances, and ensure stable and reliable monitoring process. Summary of the invention
[0005] In view of this, the purpose of the present invention is to overcome the defects in the prior art and provide a liquor fermentation monitoring system based on the LoRa Internet of Things, which can collect environmental parameters in real time, transmit data wirelessly over long distances, and ensure stable and reliable monitoring process.
[0006] The liquor fermentation monitoring system based on LoRa Internet of Things of the present invention comprises a monitoring terminal, a receiving terminal and a remote monitoring platform;
[0007] The monitoring terminal is used to collect fermentation environment parameters and send the collected data to the receiving end via LoRa communication;
[0008] The receiving end is used to receive the collected data through the LoRa communication mode, and upload the data to the remote monitoring platform through the wireless communication mode after the data is packaged;
[0009] The remote monitoring platform is used to perform data analysis and realize real-time monitoring on the PC side and the mobile side.
[0010] Further, the monitoring terminal includes a first main control unit, a sensing unit and a first LoRa communication unit;
[0011] The first main control unit includes an Arduino UNO R3 main control board;
[0012] The sensing unit includes a DS18B20 sensor for collecting ambient temperature, a DHT22 sensor for collecting ambient humidity, a SEN0249 sensor for collecting pH value, and a CO 2 COZIR-WX sensor for concentration;
[0013] The first LoRa communication unit includes an ATK-LoRa-01 wireless serial port module;
[0014] The DS18B20 sensor, DHT22 sensor and the main control board use a single bus communication, and only need to connect 2 digital I / O ports for reading; the SEN0249 sensor is connected to the ADC channel of the main control board for communication; the output serial port signal of the COZIR-WX sensor is read by the main control board through the UART interface; the first LoRa communication unit communicates with the main control board through the serial port.
[0015] Further, the receiving end includes a second main control unit, a WiFi communication unit and a second LoRa communication unit;
[0016] The second main control unit includes an Arduino UNO R3 main control board;
[0017] The WiFi communication unit includes an ESP-01S module;
[0018] The second LoRa communication unit includes an ATK-LoRa-01 wireless serial port module;
[0019] The second LoRa communication unit and the WiFi communication unit both communicate with the main control board of the second main control unit using a serial port.
[0020] Furthermore, after the monitoring terminal is powered on, the main control board defines the communication interface between the sensor and the first LoRa communication unit. The DS18B20 sensor and the DHT22 sensor use the D2 and D4 digital ports, the SEN0249 sensor uses the A0 analog port, and the COZIR-WX sensor uses the D8 and D9 digital ports to realize soft serial port communication; wherein, the first LoRa communication unit communicates with the main control board through the D3 digital port connected to the MD0 pin and the hardware serial ports 0 and 1.
[0021] Furthermore, the receiving end sends AT commands through the soft serial port to configure the WiFi communication unit to access the network. After successful access to the network, the IP address, access port, product ID, device ID and authentication parameters related to the cloud platform of the remote monitoring platform are set according to the MQTT protocol to connect to the corresponding cloud device in the cloud platform; at the same time, the second LoRa communication unit receives the string data, and after completing the string segmentation and parsing, the data is encapsulated into the OneJson data format, which is used for two-way communication between the MQTT device and the cloud platform; then, a message package is constructed and published based on the attribute reporting theme template of the MQTT device accessing the cloud platform, and the packaged data packet is uploaded to the object model function point of the device corresponding to the cloud platform through the WiFi communication unit.
[0022] Furthermore, the remote monitoring platform includes a cloud platform for realizing real-time monitoring on a PC and a WeChat applet for realizing real-time monitoring on a mobile terminal.
[0023] Further, the cloud platform is configured as follows:
[0024] Select the intelligent mode as device access; set the access protocol to MQTT; set the data protocol to OneJson; set the networking mode to WiFi;
[0025] Create MQTT devices belonging to products, establish device connections through device access parameters and access security authentication;
[0026] Create temperature, humidity, pH, CO 2 Four physical model attribute function points;
[0027] Publish the object model attribute reporting topic to complete the upload of sensor data;
[0028] Through the cloud platform visualization project, select display components, bind data sources, edit private data filters, and realize data WEB page visualization.
[0029] Further, set up the applet as follows:
[0030] Configure a legitimate cloud platform domain name for the WeChat applet to obtain access rights;
[0031] In the logic layer, call the wx.request method to send an HTTP request to access the cloud platform through the API interface. Two important parameters need to be set: one is the device address under the product created by the cloud platform, and the other is the security authentication parameter for accessing the cloud platform. Then, obtain the cloud data and define the data object in the page to complete the logic layer design.
[0032] The front-end part is written in WXML and WXSS to bind data objects and display modules, realize page rendering and display of data, and complete the view layer design.
[0033] The beneficial effects of the present invention are as follows: the present invention discloses a liquor fermentation monitoring system based on LoRa Internet of Things, which uses Arduino UNO main control board to collect multi-sensor information of fermentation environment, adopts LoRa technology to transmit data and accesses the Internet of Things cloud platform through WiFi technology with MQTT protocol, and secondary develops WeChat applet based on the cloud platform. Users can realize the whole process of liquor fermentation real-time monitoring through PC webpage or WeChat applet, which provides technical support for further fermentation environment adjustment and mash distillation. The present invention can collect and transmit environmental parameters in real time, can perform reliable wireless distance transmission within 300m, has short system development time, stable operation, and is convenient for users to monitor in multiple ways. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The present invention will be further described below in conjunction with the accompanying drawings and embodiments:
[0035] Figure 1 It is a schematic diagram of the liquor fermentation monitoring system of the present invention;
[0036] Figure 2 It is a schematic diagram of the communication principle between the monitoring terminal and the receiving end of the present invention;
[0037] Figure 3 It is a schematic diagram of the structure of the monitoring terminal of the present invention;
[0038] Figure 4 It is a schematic diagram of the receiving end structure of the present invention;
[0039] Figure 5 This is a schematic diagram of the connection structure between the main control board and the LoRa communication unit of the present invention;
[0040] Figure 6 This is a schematic diagram of monitoring terminal data collection and transmission of the present invention;
[0041] Figure 7 A schematic diagram of the receiving device configuration and data processing of the present invention;
[0042] Figure 8 It is a schematic diagram of the arrangement of monitoring terminals in the experimental test of the present invention;
[0043] Fig. 9 It is a schematic diagram of the functional history data of the present invention;
[0044] Fig.10 This is a schematic diagram of the cloud platform web monitoring interface of the present invention;
[0045] Fig.11 This is a schematic diagram of WeChat applet monitoring according to the present invention. DETAILED DESCRIPTION
[0046] The present invention is further described below in conjunction with the accompanying drawings, as shown in the drawings:
[0047] This embodiment discloses a liquor fermentation monitoring system based on the LoRa Internet of Things, including a monitoring terminal, a receiving terminal, and a remote monitoring platform;
[0048] The monitoring terminal is used to collect fermentation environment parameters and send the collected data to the receiving end via LoRa communication;
[0049] The receiving end is used to receive the collected data through the LoRa communication mode, and upload the data to the remote monitoring platform through the wireless communication mode after the data is packaged;
[0050] The remote monitoring platform is used to perform data analysis and realize real-time monitoring on the PC side and the mobile side.
[0051] The present invention uses LoRa technology to achieve real-time monitoring of multiple environmental parameters. The monitoring system consists of a monitoring terminal, a receiving terminal, and a remote monitoring platform. The remote monitoring platform includes a cloud platform and a WeChat applet. The monitoring terminal uses the Arduino UNO development board as the main control core to collect temperature, humidity, pH, CO 2 The data is sent to the receiving end. After the receiving end completes data processing, it is uploaded to the cloud platform via WiFi and MQTT protocol for web display. The WeChat applet synchronizes the cloud platform data to realize real-time viewing on the mobile terminal.
[0052] like Figure 1 As shown, the present invention collects fermentation environment parameters through the monitoring terminal and sends the collected data to the receiving end using the LoRa communication unit. The receiving end completes the reception of the data collected by the monitoring terminal through the LoRa communication unit, and after data packaging, uploads the data to the cloud platform through the WiFi communication unit using the MQTT protocol. After the cloud platform performs data analysis, the visual display is realized through the web monitoring interface design, and the mobile terminal synchronizes the cloud data after calling the cloud platform API interface in the WeChat applet.
[0053] In this embodiment, Figure 2 , 3As shown, the monitoring terminal includes a first main control unit, a sensor unit and a first LoRa communication unit; the first main control unit includes an Arduino UNO R3 main control board; the sensor unit includes a DS18B20 sensor for collecting ambient temperature, a DHT22 sensor for collecting ambient humidity, a SEN0249 sensor for collecting pH value and a CO sensor. 2 The first LoRa communication unit includes an ATK-LoRa-01 wireless serial port module;
[0054] Among them, the waterproof DS18B20 sensor is encapsulated by a stainless steel tube and can be buried in the fermented mash to complete temperature detection. It is also encapsulated with a high thermal conductivity sealant to ensure temperature measurement sensitivity. The DHT22 sensor has completed the output signal calibration and can directly detect the ambient humidity. The SEN0249 sensor consists of a sensitive glass membrane, a reference electrode, a signal conversion module, etc. It has a stainless steel needle sheath and can be directly inserted into the mash to measure the difference between the glass membrane potential and the reference electrode potential. The signal conversion module processes it to complete the pH detection. The COZIR-WX sensor senses CO through solid-state non-dispersive infrared absorption (NDIR) sensing. 2 Diffusion sampling is performed to complete CO 2 The technical parameters of each sensor of the monitoring terminal are shown in Table 1.
[0055] Table 1
[0056] Sensor Model Sensor range Sensor operating voltage Sensor accuracy DS18B20 -10℃-+85℃ 3.0V-5.5V ±0.5℃ DHT22 Humidity: 0-100%RH 3.0V-5.5V ±2%RH SEN0249 0.-14PH 5.0V ±0.1pH COZIR-WX 0-100% 3.0V-5.5V ±(300ppm+5% of reading)
[0057] The DS18B20 sensor, DHT22 sensor and the main control board use a single bus communication, and only need to connect 2 digital I / O ports for reading; the SEN0249 sensor is connected to the ADC channel of the main control board for communication; the output serial port signal of the COZIR-WX sensor is read by the main control board through the UART interface; the first LoRa communication unit communicates with the main control board through the serial port.
[0058] In this embodiment, Figure 2 , 4As shown, the receiving end includes a second main control unit, a WiFi communication unit and a second LoRa communication unit; the second main control unit includes an Arduino UNO R3 main control board; the WiFi communication unit includes an ESP-01S module; the second LoRa communication unit includes an ATK-LoRa-01 wireless serial port module; the second LoRa communication unit and the WiFi communication unit both use the serial port to communicate with the main control board of the second main control unit. Among them, the WiFi communication unit enables the receiving end to upload all the data of the monitoring terminal to the cloud platform, and the ESP-01S module of Anxinke is selected. This module supports wireless 802.11b / g / n protocols and has a built-in TCP / IP protocol stack. In addition, ESP-01S is equipped with a 32-bit MCU, with a transmission rate of up to 11Mbps, simple connection configuration, and can be used directly after completing the AT command setting, meeting the management needs of adding networking functions to smart hardware.
[0059] It should be noted that both the monitoring terminal and the receiving end use the Arduino UNO R3 main control board as the main control unit and the ATK-LoRa-01 wireless serial port module as the LoRa communication unit;
[0060] The Arduino UNO R3 main control board uses Atmega328P as the control chip, which has built-in 32KBFLASH, 2KBBSRAM, 1KBBEEPROM and rich peripheral resources, such as clock, timer, PWM channel, ADC, UART, SPI, TWI (compatible with I2C), which can meet the access requirements of multiple peripherals of the liquor fermentation environment monitoring system. In addition, the main control board can be integrated with other expansion modules to meet different needs and realize more complex functional applications.
[0061] The ATK-LoRa-01 wireless serial port module uses Semtech's SX1278 RF chip, which uses LoRa linear frequency modulation spread spectrum technology to send data, reduce interference and expand the transmission distance. Through the +20dBm power amplifier, wireless communication can be ensured under conditions of sensitivity as low as -148dBm. In addition, the ATK-LoRa-01 module provides three working modes: general mode, wake-up mode and power saving mode. It supports an operating voltage of 3.3 to 5V and an operating current as low as 2.3μA, achieving low-power operation and having greater advantages in the monitoring of solid-state fermentation of liquor. The LoRa wireless transmission between the monitoring terminal and the receiving end is carried out through a point-to-point transparent transmission method, which is simple to operate and has high data transmission stability. Among them, the schematic diagram of the connection structure between the main control board and the LoRa communication unit is shown in the figure. Figure 5 shown.
[0062] In this embodiment, after the monitoring terminal is powered on, the main control board defines the communication interface between the sensor and the first LoRa communication unit, such as Figure 3 As shown, the DS18B20 sensor and DHT22 sensor use the D2 and D4 digital ports, the SEN0249 sensor uses the A0 analog port, and the COZIR-WX sensor uses the D8 and D9 digital ports to achieve soft serial communication; among them, the first LoRa communication unit communicates with the main control board through the D3 digital port connected to the MD0 pin and the hardware serial ports 0 and 1.
[0063] The monitoring terminal collects and sends multi-sensor data information in a regular cycle. Figure 6 As shown, after the peripheral interface and serial port parameter configuration are completed, the sensor is initialized, the acquisition cycle is set, and the acquisition function of each sensor is called to poll and read data, and the sensor data is packaged in a string format and sent to the receiving end via the LoRa communication unit.
[0064] In this embodiment, Figure 7 As shown, after the peripheral initialization is completed, the receiving end sends AT commands through the soft serial port to configure the WiFi communication unit to access the network, such as AT+CWMODE=1 to set the working mode to the STA mode for connecting to other hotspots, and AT+CWJAP="redian", "12345678" to connect to the hotspot. After successful access to the network, the IP address, access port, product ID, device ID and authentication parameters related to the cloud platform of the remote monitoring platform are set according to the MQTT protocol to connect to the corresponding cloud device in the cloud platform; at the same time, the second LoRa communication unit receives the string data, and after completing the string segmentation and parsing, the data is encapsulated into the OneJson data format, which is used for two-way communication between MQTT devices and cloud platforms, realizing and standardizing the business data interaction between devices and the Internet of Things cloud platform; then, the MQTT device accesses the cloud platform with the attribute reporting theme template to build a published message package, and the packaged data packet is uploaded to the object model function point of the corresponding device of the cloud platform through the WiFi communication unit.
[0065] In this embodiment, the remote monitoring platform includes a cloud platform for implementing real-time monitoring on a PC and a WeChat applet for implementing real-time monitoring on a mobile terminal.
[0066] The cloud platform uses the ONENET cloud platform, which can achieve fast access to sensor devices and meet the requirements of device interconnection, intelligent transformation, protocol adjustment, data storage, etc. After completing the access of IoT devices through the cloud platform, functions such as data reporting and monitoring data visualization can be realized. The cloud platform setting process is divided into 5 parts:
[0067] (1) Product creation: Select the intelligent mode as device access; set the access protocol to MQTT; set the data protocol to OneJson; and set the networking mode to WiFi.
[0068] (2) Device creation and access: Create an MQTT device belonging to the product, establish a device connection through device access parameters and access security authentication.
[0069] (3) Custom function points: create temperature, humidity, pH, CO 2 Four object model attribute function points.
[0070] (4) Terminal data reporting: Publish the object model attribute reporting topic to complete the upload of sensor data.
[0071] (5) Monitoring data WEB display design: Through the cloud platform visualization project, select display components, bind data sources, edit private data filters, and realize data WEB page visualization.
[0072] Compared with traditional APP applications, WeChat mini programs have many advantages: they can be used without downloading and installing, they take up less memory, and are relatively easy to promote.
[0073] The mini program uses the mpvue framework, which is divided into the logic layer and the view layer: First, you need to configure the cloud platform's legal domain name to obtain access rights.
[0074] In the logic layer, call the wx.request method to send an HTTP request to access the cloud platform through the API interface. Two important parameters need to be set: one is the device address (url) under the product created by the cloud platform, and the other is the security authentication parameter (authorization) for accessing the cloud platform. Then, obtain the cloud data through the setData method, and define the data object in the page to complete the logic layer design.
[0075] Regarding the front-end part of the view layer, WXML and WXSS are used to bind data objects and display modules to achieve page rendering and display of data, thus completing the view layer design.
[0076] In order to better understand the liquor fermentation monitoring system of the present invention, the following examples are further described:
[0077] The fermentation experiment design was completed in a certain liquor company, and the wireless communication stability and remote monitoring platform performance of the system of the present invention were tested. Xiaoqu light-fragrance liquor was taken as the research object, and the fermentation raw materials were collected from the company's grain dregs mixing production line and loaded into the fermentation tank, which was placed in a constant temperature room at 22.5°C for 7 days of fermentation. In order to minimize the damage to the fermentation environment, the parameters were monitored by punching a hole in the tank cover, placing the sensor in, and then using a hot melt glue gun to seal the interface between the sensor and the tank cover. The schematic diagram of the experimental plan is shown below. Figure 8 shown.
[0078] In order to test the stability of wireless communication between the monitoring terminal and the receiving end, the monitoring terminal was fixed in the constant temperature fermentation workshop, and the distance between the two was changed by moving the receiving end. The packet loss rate test was performed at a time interval of a fermentation cycle (7 days). The parameter collection interval was set to 1h, a total of 168 data packets, and 5 tests at different distances were completed. The test results are shown in Table 2 below.
[0079] Table 2
[0080] Number of groups Transmission distance / m Send data packets / Receive data packets / Packet loss rate / % 1 50 168 168 0 2 100 168 168 0 3 200 168 168 0 4 300 168 167 0.59 5 500 168 162 3.57
[0081] As shown in Table 2, as the transmission distance increases, the packet loss rate increases, and only when the transmission distance reaches 500m, the packet loss rate exceeds 1%. It can be seen that within the wireless transmission distance of 300 meters, the monitoring system of the present invention has a data packet loss rate of less than 1%, and has good communication stability.
[0082] The remote monitoring platform function test consists of two parts: ONENET cloud platform and WeChat applet. After the test, when the device is successfully connected to the cloud platform, the receiving end uploads the sensor data of the monitoring terminal to the corresponding object model attribute function point in the cloud platform, and stores the function history data, which can be queried, such as Fig. 9 In the data visualization View project of the cloud platform, the web page interface design is completed by selecting the dashboard and line chart components to realize real-time data display, such as Fig.10 As shown in the figure, while the cloud platform is acquiring data, the WeChat applet can normally complete the real-time synchronization update of the data, such as Fig.11 As shown, it can be seen that the remote monitoring platform of the present invention can monitor the fermentation environment parameters in real time.
[0083] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the purpose and scope of the technical solution of the present invention, which should be included in the scope of the claims of the present invention.
Claims
1. A liquor fermentation monitoring system based on LoRa Internet of Things, characterized by: Including monitoring terminal, receiving terminal and remote monitoring platform; The monitoring terminal is used to collect fermentation environment parameters and send the collected data to the receiving end via LoRa communication; The receiving end is used to receive the collected data through the LoRa communication mode, and upload the data to the remote monitoring platform through the wireless communication mode after the data is packaged; The remote monitoring platform is used to perform data analysis and realize real-time monitoring on the PC side and the mobile side.
2. The liquor fermentation monitoring system based on LoRa Internet of Things according to claim 1 is characterized in that: The monitoring terminal includes a first main control unit, a sensing unit and a first LoRa communication unit; The first main control unit includes an Arduino UNO R3 main control board; The sensing unit includes a DS18B20 sensor for collecting ambient temperature, a DHT22 sensor for collecting ambient humidity, a SEN0249 sensor for collecting pH value, and a COZIR-WX sensor for collecting CO2 concentration; The first LoRa communication unit includes an ATK-LoRa-01 wireless serial port module; The DS18B20 sensor, DHT22 sensor and the main control board use a single bus communication, and only need to connect 2 digital I / O ports for reading; the SEN0249 sensor is connected to the ADC channel of the main control board for communication; the output serial port signal of the COZIR-WX sensor is read by the main control board through the UART interface; the first LoRa communication unit communicates with the main control board through the serial port.
3. The liquor fermentation monitoring system based on LoRa Internet of Things according to claim 1 is characterized in that: The receiving end includes a second main control unit, a WiFi communication unit and a second LoRa communication unit; The second main control unit includes an Arduino UNO R3 main control board; The WiFi communication unit includes an ESP-01S module; The second LoRa communication unit includes an ATK-LoRa-01 wireless serial port module; The second LoRa communication unit and the WiFi communication unit both communicate with the main control board of the second main control unit using a serial port.
4. The liquor fermentation monitoring system based on LoRa Internet of Things according to claim 2 is characterized in that: After the monitoring terminal is powered on, the main control board defines the communication interface between the sensor and the first LoRa communication unit. The DS18B20 sensor and the DHT22 sensor use the D2 and D4 digital ports, the SEN0249 sensor uses the A0 analog port, and the COZIR-WX sensor uses the D8 and D9 digital ports to realize soft serial port communication; wherein, the first LoRa communication unit completes communication with the main control board through the D3 digital port connected to the MD0 pin, the hardware serial ports 0 and 1.
5. The liquor fermentation monitoring system based on LoRa Internet of Things according to claim 3 is characterized in that: The receiving end sends AT commands through the soft serial port to configure the WiFi communication unit to access the network. After successful access to the network, the IP address, access port, product ID, device ID and authentication parameters related to the cloud platform of the remote monitoring platform are set according to the MQTT protocol to connect to the corresponding cloud device in the cloud platform; at the same time, the second LoRa communication unit receives the string data, and after completing the string segmentation and parsing, the data is encapsulated into the OneJson data format, which is used for two-way communication between the MQTT device and the cloud platform; then, a message package is constructed and published based on the attribute reporting theme template of the MQTT device accessing the cloud platform, and the packaged data packet is uploaded to the object model function point of the device corresponding to the cloud platform through the WiFi communication unit.
6. The liquor fermentation monitoring system based on LoRa Internet of Things according to claim 1 is characterized in that: The remote monitoring platform includes a cloud platform for realizing real-time monitoring on a PC side and a WeChat applet for realizing real-time monitoring on a mobile side.
7. The liquor fermentation monitoring system based on LoRa Internet of Things according to claim 6 is characterized in that: Set up the cloud platform as follows: Select the intelligent mode as device access; set the access protocol to MQTT; set the data protocol to OneJson; set the networking mode to WiFi; Create MQTT devices belonging to products, establish device connections through device access parameters and access security authentication; Create four physical model attribute function points: temperature, humidity, pH, and CO2; Publish the object model attribute reporting topic to complete the upload of sensor data; Through the cloud platform visualization project, select display components, bind data sources, edit private data filters, and realize data WEB page visualization.
8. The liquor fermentation monitoring system based on LoRa Internet of Things according to claim 6 is characterized in that: Set up the mini program as follows: Configure a legal domain name on the cloud platform for the WeChat applet to obtain access rights; In the logic layer, call the wx.request method to send an HTTP request to access the cloud platform through the API interface. Two important parameters need to be set: one is the device address under the product created by the cloud platform, and the other is the security authentication parameter for accessing the cloud platform. Then, obtain the cloud data and define the data object in the page to complete the logic layer design. The front-end part is written in WXML and WXSS to bind data objects and display modules, realize page rendering and display of data, and complete the view layer design.