Data transmission abnormity communication system and method based on Internet of Things technology

By designing a data transmission abnormal communication system in the Internet of Things equipment, using sensor modules and central control modules to monitor and alarm in real time, the security and management problems of IoT devices are solved, real-time abnormality detection and automatic alarm of communication terminals are realized. Ensure communication security and equipment management efficiency.

CN118972416AInactive Publication Date: 2024-11-15HUBEI DOUNIU TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411252374.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-06
Publication Date
2024-11-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Due to its low protection capabilities, IoT devices are easily targeted by hackers. It is a challenge to achieve effective identity authentication and access control in a large number of devices, and there is a risk of data leakage and system performance degradation during data transmission.

Method used

Design a data transmission abnormal communication system based on IoT technology, including sensor module, data acquisition and transmission module, central control module, alarm module, storage and database module, user interaction module, cloud service and IoT platform, through real-time data The collection, processing, analysis and alarm modules realize monitoring and abnormal hazard alerts of communication terminals, and ensure data security through identity authentication and authorization modules and security encryption modules.

Benefits of technology

It realizes 24-hour monitoring of communication terminals and real-time abnormal situation viewing to ensure communication security, reduces users' attention needs in potentially dangerous moments, automatically calls alarms, saves time, and improves the security and management efficiency of IoT devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118972416A_ABST
    Figure CN118972416A_ABST
Patent Text Reader

Abstract

The invention discloses a data transmission abnormity communication system and method based on the Internet of Things technology, and relates to the technical field of data communication, and the system comprises a sensor module, a data collection and transmission module, a central control module, a user interaction module, an alarm module, a storage and database module, and a cloud service and Internet of Things platform. The sensor module is used for detecting various parameters in the environment of the communication terminal; the data acquisition and transmission module is used for receiving data acquired in real time from the sensor; the central control module is used for processing and analyzing data; the alarm module is used for receiving an abnormal condition result to trigger a corresponding alarm mechanism; the storage and database module is used for storing all sensor data and alarm record data; the user interaction module is used for managing user account information; and a cloud service and Internet of Things platform. According to the invention, the abnormal condition of the communication terminal is visually checked through the Internet of Things, and the data communication capability is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and more specifically to a data transmission abnormality communication system and method based on Internet of Things technology. Background Art

[0002] As the intelligent communication terminal industry continues to upgrade and develop, more and more communication terminals choose to install intelligent communication terminals on the communication terminals, which not only facilitates the use of communication terminals, but also prevents dangers or abnormal situations that are difficult for users to detect or occur when they are far away from the communication terminals. Users are very cautious about a series of issues such as safe use of electricity, fire prevention, and thieves entering communication terminals. There are a large number of IoT devices, and there may be a risk of data leakage during data transmission. Since IoT devices usually have low protection capabilities, they are easy targets for hacker attacks. It is a challenge to achieve effective identity authentication and access control in a large number of devices. With the increase in IoT devices, it is becoming increasingly difficult to effectively manage and maintain devices. The transmission and processing of large amounts of data places higher demands on system resources, which may lead to a decline in system performance.

[0003] The present invention proposes a data transmission abnormality communication system and method based on the Internet of Things technology, which helps to realize 24-hour monitoring of the communication terminal status, and can check the communication terminal status in real time at the communication terminal or away from the communication terminal, thereby ensuring communication security. Summary of the invention

[0004] In view of the deficiencies of the above-mentioned technologies, the present invention discloses a data transmission abnormality communication system and method based on Internet of Things technology, which realizes monitoring of communication terminals and abnormal danger alarms through an alarm module and a visualization module.

[0005] A data transmission abnormality communication system based on Internet of Things technology, comprising:

[0006] The sensor module is used to detect various parameters in the communication terminal environment and transmit the data to the data acquisition and transmission module;

[0007] The data acquisition and transmission module is used to receive real-time data from the sensor, perform format conversion, data cleaning and noise removal calibration preprocessing on the raw data, and package the data and send it to the target receiving end according to the transmission protocol requirements; the data acquisition and transmission module includes: an acquisition module and a wireless communication module; the output end of the acquisition module is connected to the input end of the wireless communication module;

[0008] The central control module is used to process and analyze data, determine whether there is an abnormal situation and make a decision, and transmit the processing results to the alarm module; execute control measures according to the instructions issued by the user; the central control module includes: an abnormal detection and rule module, a decision and control module, a communication module and a security encryption module; wherein the output end of the abnormal detection and rule module is connected to the input end of the communication module, the output end of the communication module is connected to the input end of the decision and control module, and the security encryption module is connected to the communication module;

[0009] The alarm module is used to receive abnormal situation results and trigger the corresponding alarm mechanism to promptly notify the user or perform related operations;

[0010] Storage and database module, used to store all sensor data and alarm record data, providing data storage support for the system;

[0011] A user interaction module is used to manage user account information, realize registration, login and authority management functions, and provide a user interface for users to configure system parameters and visualize real-time data and alarm history records of various sensors; the user interaction module includes: a visualization module, a data interface module, an identity authentication and authorization module and an Internet of Things module, wherein the output end of the data interface module is connected to the input end of the visualization module, the output end of the identity authentication and authorization module is connected to the input end of the visualization module, and the Internet of Things module is connected to the identity authentication and authorization module;

[0012] Cloud services and IoT platforms are used to provide remote data access and processing functions, set up multi-device collaboration and centralized management, exchange data with user interaction modules, and issue control operations to the central control module;

[0013] The output end of the sensor module is connected to the input end of the data acquisition and transmission module, the output end of the data acquisition and transmission module is connected to the input end of the central control module, the output end of the central control module is connected to the input end of the alarm module and the input end of the user interaction module, the output end of the alarm module is connected to the input end of the storage and database module, the user interaction module is connected to the cloud service and the Internet of Things platform, and the output end of the alarm module is connected to the input end of the cloud service and the Internet of Things platform.

[0014] Furthermore, the sensor module at least includes a signal detector, a gas leakage signal detector, a water immersion sensor, an infrared sensor, a door magnetic sensor, a channel transmission external temperature and humidity sensor, and a voltage and current sensor.

[0015] Furthermore, the data acquisition and transmission module uses an Arduino Uno development board to collect data from various sensors, and uses an ESP8266 module to transmit sensor information using the MQTT protocol.

[0016] Furthermore, the alarm module is provided with a buzzer or voice broadcast. When an abnormal situation occurs in the information of the intelligent communication terminal or reaches a set threshold, the buzzer of the communication terminal sounds to issue a warning, and the voice broadcasts the fault type. At the same time, the alarm module includes a communication module sub-module, which uses the HTTP protocol to send the warning information to the cloud service and the Internet of Things platform. The cloud service and the Internet of Things platform use the API interface to send the warning information to the user's mobile phone.

[0017] Furthermore, the cloud service and IoT platform adopt the TP-Link platform, the smart communication terminal equipment registers and connects to the TP-Link cloud platform, monitors and views sensor data in real time through the Kasa application, and sends control instructions through the API interface provided by TP-Link.

[0018] Furthermore, the control and decision-making module sets button control and TP-Link platform to issue control instructions to realize the control of the intelligent communication terminal. Arduino serves as the central processor. After receiving the instruction, it uses the z-Wave communication protocol to transmit the closing instruction to the intelligent valve or intelligent switch, executes the rotation instruction greater than 90° and less than 180° for the intrusion signal valve and the tap water valve, pulls down the power intelligent switch to turn off the main power switch of the communication terminal, turns off the signal to the communication terminal, and issues an instruction to start the communication terminal camera to view the status of the communication terminal, responds to the intrusion and signal alarm of the network intruder, automatically dials 110 or 119 after receiving the permission instruction of the cloud platform user, and automatically plays the pre-recorded communication terminal location information.

[0019] Furthermore, the signal detector detects an abnormal alarm and triggers an automatic call to the network police to ensure the accuracy of signal detection and calibrate the baseline resistance of the signal detector. The accuracy of the baseline resistance affects the detection accuracy of the sensor. Improper calibration leads to incorrect calculation of the communication information volume. The baseline resistance is set to be regularly calibrated and updated to eliminate drift caused by long-term use. The calculation formula for regular calibration of the baseline resistance is as follows:

[0020]

[0021] In formula (1), n ​​represents the total number of times the signal detector resistance is read, i represents the i-th time the signal detector is read, γ represents the smoothing coefficient, which smoothes the resistance value change, and R s,i (t) represents the resistance measured by the i-th abnormal information element at time t, R o,t (t) represents the adjusted resistance at time t, R o,t (t-1) represents the resistance adjustment at the last moment, and the historical data is introduced to produce drift resistance adjustment. In formula (2), where represents the baseline resistance after calibration, represents n represents the set temperature and humidity cycle, and R o,t represents the adjusted baseline resistance at time t, λ represents the theoretical predicted value of resistance when both temperature T and humidity H are zero, βT Represents the temperature regression coefficient, the change in baseline resistance for each unit increase in temperature, β H represents the humidity regression coefficient, which is the change in baseline resistance per unit increase in humidity;

[0022] The signal detector implements the detection steps as follows:

[0023] Step 1: Initially calibrate the baseline resistance. Use the channel to transmit the external temperature and humidity sensor data to obtain the temperature and humidity data of the communication terminal during the detection phase, and determine the baseline resistance value during the detection. The current temperature and humidity baseline resistance value formula is as follows:

[0024]

[0025] In formula (3), n represents the total number of signal detectors set in the communication terminal, i represents the i-th signal detector, R r Indicates the current temperature and humidity baseline resistance, R o,i represents the i-th calibration baseline resistance value, t represents the current temperature, t0 represents the temperature during calibration, h represents the current humidity, h0 represents the humidity during calibration, α represents the temperature compensation coefficient, β represents the humidity compensation coefficient, R (10) Indicates the sensor resistance value when the communication information volume is 10ppm, R (1) The sensor resistance value indicating the communication information volume is 1ppm;

[0026] Step 2: Collect and calculate the sensor resistance, and obtain the sensor resistance value through the abnormal information component voltage. The sensor resistance value formula is as follows:

[0027]

[0028] In formula (4), R L represents the load resistance, V in Represents input voltage, R s represents the sensor resistance, V out Indicates the sensor analog degree;

[0029] Step 3: Calculate the data processing volume. Use the co and signal parameters to calculate the sensor detection signal volume and transmit the data to the data acquisition and transmission module. The calculation formula is as follows:

[0030]

[0031] In formula (5), C represents the amount of communication information, R s Represents the sensor resistance, R r Indicates the current temperature and humidity baseline resistance. represents the amount of co, The signal quantity is compared with the set warning threshold. If it exceeds the set warning threshold, a re-detection instruction is issued to achieve cyclic detection within 10s. If the detection data exceeds the set threshold for more than 90% of the total detection times, an alarm message is issued to the cloud platform, waiting for the cloud platform to issue control instructions; if the number of operations that do not reach the set cyclic detection fault number exceeds 90%, the records are saved in the log system, recording operations, warning errors and self-test results, finding potential fault points, and transmitting them to the user interaction module.

[0032] Furthermore, a data transmission abnormality communication system and method based on Internet of Things technology is characterized by comprising the following steps:

[0033] Step 1: Determine the visualization content and visualization user interface, confirm the display of temperature and humidity, signal volume, intrusion signal volume, alarm information, historical data and device status content, display temperature and humidity through pie charts, display historical data change information through line charts, and set alarm buttons and control buttons;

[0034] Step 2: Data collection and storage: collect sensor data in real time and store it in a database to analyze historical trends and present historical status;

[0035] Step 3: Use the Angular front-end framework to build a dynamic interactive interface, design a GraphQL API to obtain back-end data and parse the data to ensure that the data format is correct and can be further processed;

[0036] Step 4: Design a mobile application to allow users to synchronously receive data from smart communication terminals while outside, and build a connection between the cloud platform and the central processing module.

[0037] Positive beneficial effects

[0038] The real-time data of the communication terminal can be viewed through the user interaction module, cloud service and IoT platform. By setting the danger threshold, the communication data exceeds the threshold and the abnormality of the communication terminal is detected, the alarm module is triggered to warn the users in the communication, or the danger information of the communication terminal can be obtained through the mobile phone when there is no one at the communication terminal. For dangers such as network leakage or external intruders, the network police can be automatically called to report the alarm, saving time to ensure communication security, reducing users' attention to potential dangers of the communication terminal, and making it easier for users to enjoy the IoT life. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work, among which:

[0040] Figure 1 This is a schematic diagram of the overall architecture of a data transmission abnormality communication system based on Internet of Things technology according to the present invention;

[0041] Figure 2 This is a schematic diagram of the central control module architecture of a data transmission abnormality communication system based on the Internet of Things technology of the present invention;

[0042] Figure 3 This is a schematic diagram of the user interaction module architecture of a data transmission abnormality communication system based on the Internet of Things technology of the present invention;

[0043] Figure 4 This is a schematic diagram of the architecture of a data transmission abnormality communication system and method based on the Internet of Things technology of the present invention;

[0044] Figure 5 This is a signal detector alarm flow chart of a data transmission abnormal communication system based on Internet of Things technology in the present invention. DETAILED DESCRIPTION

[0045] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0046] The present invention adopts the following technical solutions:

[0047] A data transmission abnormality communication system based on Internet of Things technology, comprising:

[0048] The sensor module is used to detect various parameters in the communication terminal environment and transmit the data to the data acquisition and transmission module;

[0049] The data acquisition and transmission module is used to receive real-time data from the sensor, perform format conversion, data cleaning and noise removal calibration preprocessing on the raw data, and package the data and send it to the target receiving end according to the transmission protocol requirements; the data acquisition and transmission module includes: an acquisition module and a wireless communication module; the output end of the acquisition module is connected to the input end of the wireless communication module;

[0050] The central control module is used to process and analyze data, determine whether there is an abnormal situation and make a decision, and transmit the processing results to the alarm module; execute control measures according to the instructions issued by the user; the central control module includes: an abnormal detection and rule module, a decision and control module, a communication module and a security encryption module; wherein the output end of the abnormal detection and rule module is connected to the input end of the communication module, the output end of the communication module is connected to the input end of the decision and control module, and the security encryption module is connected to the communication module;

[0051] The alarm module is used to receive abnormal situation results and trigger the corresponding alarm mechanism to promptly notify the user or perform related operations;

[0052] Storage and database module, used to store all sensor data and alarm record data, providing data storage support for the system;

[0053] A user interaction module is used to manage user account information, realize registration, login and authority management functions, and provide a user interface for users to configure system parameters and visualize real-time data and alarm history records of various sensors; the user interaction module includes: a visualization module, a data interface module, an identity authentication and authorization module and an Internet of Things module, wherein the output end of the data interface module is connected to the input end of the visualization module, the output end of the identity authentication and authorization module is connected to the input end of the visualization module, and the Internet of Things module is connected to the identity authentication and authorization module;

[0054] Cloud services and IoT platforms are used to provide remote data access and processing functions, set up multi-device collaboration and centralized management, exchange data with user interaction modules, and issue control operations to the central control module;

[0055] The output end of the sensor module is connected to the input end of the data acquisition and transmission module, the output end of the data acquisition and transmission module is connected to the input end of the central control module, the output end of the central control module is connected to the input end of the alarm module and the input end of the user interaction module, the output end of the alarm module is connected to the input end of the storage and database module, the user interaction module is connected to the cloud service and the Internet of Things platform, and the output end of the alarm module is connected to the input end of the cloud service and the Internet of Things platform.

[0056] In a specific embodiment, the sensor module at least includes a signal detector, a gas leak signal detector, a water immersion sensor, an infrared sensor, a door magnetic sensor, a channel transmission external temperature and humidity sensor, and a voltage and current sensor; an MQ-2 signal detector is used to set the A0 pin connected to the Arduino; an MQ-5 gas leak signal detector is used to set the A1 pin receiving the Arduino; a DFRobot The SEN0193 water sensor is connected to the A2 pin of Arduino; the PIR infrared sensor is connected to the D3 pin of Arduino; the MC-38 door magnetic sensor is connected to the D4 pin of Arduino and a 5V pull-up resistor is set. When the door is not closed, the D4 pin remains in a high level state, so that the input pin can remain in a high level state when it is not connected to any external power supply to avoid false triggering or drift. When the door magnetic sensor is triggered, the sensor generates a short circuit or a low level signal, which covers the high level signal provided by the pull-up resistor and reads the low level signal, indicating that the door is closed. When the door is opened, the sensor is disconnected and the input pin returns to a high level state. The pull-up resistor ensures the stable state of the input pin when the door magnetic sensor is not triggered, thereby effectively detecting the switch state of the door; the DHT22 channel is used to transmit the external temperature and humidity sensor connected to the D5 pin of Arduino; the ACS712 voltage and current sensor is connected to the A3 pin of Arduino.

[0057] In the above specific embodiment, the MQ-5 gas leakage signal detector includes an abnormal information element, a heating element, a circuit board and a pin, wherein the abnormal information element is composed of a tin oxide semiconductor material, and the material has different electrical properties in a specific communication information environment, and its resistance changes with the change of the surrounding target communication information amount. The intrusion signal, liquefied petroleum gas, and methane communication information react chemically with the abnormal information element, resulting in electron transfer and changes in material conductivity. The communication information amount increases, and the number of communication information molecules that react chemically with the element surface increases, and the surface conductivity of the abnormal information element increases, so that the resistance decreases; the heating element is composed of a thermistor or a heating wire, which is used to heat the abnormal information element so that the abnormal information element responds quickly to changes in the surrounding temperature; the MQ-5 gas leakage signal detector consists of an analog output pin and a digital output pin, and the analog output pin is selected to output a continuously changing signal, and the external ADC analog-to-digital converter indicates whether there is a gas leak through an analog voltage value; specifically, tin oxide is used as a sensor, and the resistance value of the abnormal information element changes with the temperature. The intrusion signal amount is determined by measuring the resistance value. The intrusion signal amount and the resistance value line graph are shown as follows:

[0058]

[0059] Table 1

[0060] In Table 1, the resistance of the abnormal information element decreases as the amount of intrusion signal increases. The change of abnormal information resistance depends on many factors, including the type and amount of target communication information, ambient temperature, and humidity. When other factors remain unchanged, the MQ-5 sensor exhibits different nonlinear characteristics in different ranges. The ADC analog-to-digital converter obtains the voltage value and transmits it to the Arduino Uno circuit board. The voltage increases as the amount of intrusion signal increases. The intrusion signal is converted into a voltage value that is easy to detect, which facilitates the subsequent setting of thresholds and issuing alarms. The experimental data table visualizes the intrusion signal amount, and the voltage values ​​correspond to different amounts for users to view.

[0061] In a specific embodiment, the acquisition module in the data acquisition and transmission module uses the Arduino Uno development board to collect data from various sensors and perform basic calculation and control tasks. It is low-power and low-cost and is suitable for large-scale installation in communication terminals but has low electricity consumption; the analog interface of the ADC analog converter receives data from signal detectors, gas leak sensors, water immersion sensors and voltage and current sensors, and the GPIO interface receives data from infrared sensors, door magnetic sensors and equipment status sensors; the I2C interface receives the channel to transmit external temperature and humidity sensor data; a GPS module is set to receive abnormal positioning position information of the positioning communication terminal through the UART interface; an ESP8266 module is used as a communication module, a 3.3V power supply is set, the TX pin of the ESP8266 is connected to the Arduino digital pin D2, and the RX pin is connected to the digital pin D3, and the 5V voltage of the Arduino is reduced to 3.3V to protect the RX pin through a voltage divider circuit; the MQTT protocol is used to transmit sensor information, and data exchange is lightweight and flexible to ensure reliable transmission of data information, which is suitable for frequent real-time sensor data monitoring and equipment status updates.

[0062] In a specific embodiment, the alarm module is provided with a buzzer or voice broadcast. When an abnormal situation occurs in the information of the intelligent communication terminal or reaches a set threshold, the buzzer of the communication terminal sounds to issue a warning, and the fault type is voice broadcasted. The buzzer requires a pulse width modulation signal PWM to generate a tone and is connected to the D9 pin of the Arduino; the voice broadcast sets a DFPlayer Mini module, and the speaker is connected to the SPK-1 and SPK-2 pins of the DFPlayer Mini module. The audio file is played through the serial port control, and the signal alarm is set to warning 1, the gas leak alarm is set to warning 2, the water immersion alarm is set to warning 3, the infrared alarm is set to warning 4, the door magnetic alarm is set to warning 5, the temperature and humidity alarm is set to warning 6, and the voltage and current alarm is set to warning 7. The corresponding voice warning is recorded. When the abnormal fault is detected to exceed the set threshold, the corresponding warning sequence number is triggered, and the Arduino controls the automatic playback of the pre-recorded voice warning; at the same time, the alarm module includes a communication module submodule, which uses the HTTP protocol to send the warning information to the cloud service and the Internet of Things platform, and the cloud service and the Internet of Things platform use the API interface to send the warning information to the user's mobile phone.

[0063] In the above specific embodiment, the alarm module issues a warning when the detection data received from the central control module exceeds the set threshold. The Arduino Uno central control module is defined to detect that the MQ-5 gas leak signal detector detects an intrusion signal greater than 400ppm, and when the pin receiving voltage exceeds 3.5V, a signal is sent to the alarm module for a warning operation; the MQ-2 signal detector is set to detect that the room signal is greater than 200ppm and issue a warning; a DFRobotSEN0193 water immersion sensor is set at a height of 3cm from the ground in the bathroom and kitchen, and the presence of water is detected by electrodes. The sensor electrodes contact the water to form a conductive circuit. When no water is detected, it is in a disconnected state. After water is detected, the contacts are closed, and the central control module receives the current and voltage from the water immersion sensor and issues a warning; the door magnetic sensor and the infrared sensor are set on the inner side of the bottom of all windows of the door and the communication terminal. The setting is started after the household leaves the house. The infrared transmitter of the infrared sensor emits infrared rays of a fixed frequency, which are reflected by light from objects. The transmitted and received infrared signals are compared to determine whether there is a network intruder. The received infrared signal is detected to change and transmitted to the central control module, which then issues a warning to the alarm module. The door magnetic sensor is composed of a magnet and a Hall effect sensor. The magnet is set on the door frame and the Hall effect sensor is set on the door leaf. When the door is closed, the Hall effect sensor is affected by the magnetic field and outputs a low level. If the door is not closed, the sensor outputs a high level, and the central control module receives the signal and issues a warning. The channel transmits the external temperature and humidity sensors, set the threshold temperature to 30°C and the humidity to be greater than 50%, and the voltage and current sensors receive voltage and current data and issue a warning.

[0064] In a specific embodiment, the cloud service and IoT platform adopt the TP-Link platform, the smart communication terminal device registers and connects to the TP-Link cloud platform, monitors and views sensor data in real time through the Kasa application, and sends control instructions through the API interface provided by TP-Link.

[0065] In a specific embodiment, the control and decision module sets button control and TP-Link platform to issue control instructions to realize control of the intelligent communication terminal. Arduino serves as a central processor. After receiving the instruction, it uses the z-Wave communication protocol to transmit the closing instruction to the intelligent valve or intelligent switch, executes the rotation instruction greater than 90° and less than 180° for the intrusion signal valve and the tap water valve, pulls down the power intelligent switch to turn off the main power switch of the communication terminal, and the channel transmits the external temperature and humidity sensor data exceeding the set threshold temperature of 30°C. The central control module controls the curtain servo to close the curtain. The channel transmits the external temperature and humidity sensor data exceeding the set humidity by more than 50%, controls the curtain servo to open the curtain, closes the signal to the communication terminal, and issues an instruction to start the communication terminal camera to check the status of the communication terminal, responds to the intrusion and signal alarm of the network intruder, the alarm module determines the room location where the sensor is abnormal, and the self-starting camera module transmits video data to the cloud service and the Internet of Things platform in real time to confirm the danger. After receiving the alarm instruction from the cloud platform user, it automatically dials 110 or 119 and automatically plays the communication terminal location information recorded in advance.

[0066] In the above specific embodiment, the signal detector detects an abnormal alarm and triggers an automatic call to the network police. It is necessary to ensure the accuracy of signal quantity detection and calibrate the baseline resistance of the signal detector. The accuracy of the baseline resistance affects the detection accuracy of the sensor. Improper calibration produces calculation errors in the amount of communication information. The baseline resistance is set to be calibrated and updated every month to eliminate drift caused by long-term use. The signal detector is set with an information cleaning system and a communication information channel. When entering the calibration update, the control unit turns on the information cleaning system, releases the communication information in the channel, and keeps the signal detector clean for ten minutes to update the baseline resistance. The calculation formula for regular calibration of the baseline resistance is as follows:

[0067]

[0068] In formula (1), n ​​represents the total number of times the signal detector resistance is read, i represents the i-th reading of the signal detector, and γ represents the smoothing coefficient. The change of the sensor resistance value is smoothed by exponentially weighted moving average. Set γ = 0.1, R s,i (t) represents the resistance measured by the i-th abnormal information element at time t, R o,t (t) represents the adjusted resistance at time t, R o,t(t-1) represents the resistance adjustment at the last moment, and the historical data is introduced to produce drift resistance adjustment. In formula (2), where represents the baseline resistance after calibration, represents n represents the set temperature and humidity cycle, and R o,t represents the adjusted baseline resistance at time t, λ represents the theoretical predicted value of resistance when both temperature T and humidity H are zero, β T Represents the temperature regression coefficient, the change in baseline resistance for each unit increase in temperature, β H Represents the humidity regression coefficient, which is the change in baseline resistance for each unit increase in humidity; temperature and humidity have a linear effect on the resistance of the signal detector. Through experimental collection of data on the change in resistance value of the signal detector under different temperatures and humidity, a regression model is established. The regression coefficient is determined by multivariate linear regression analysis using the least squares method, and the resistance value of the signal detector is corrected to improve measurement accuracy. The resistance value data corresponding to different temperatures and humidity are shown in the following table:

[0069]

[0070]

[0071] Table 2

[0072] Set the signal detector resistance to column matrix R, X matrix to (1, T, H), and the regression coefficient formula (X T X) -1 X T R obtains λ, β T , β H The values ​​are 800, 10, and 5 respectively; the signal detector is regularly calibrated to obtain temperature and humidity information from the external temperature and humidity sensor through the channel transmission, and the regression coefficient is updated;

[0073] When the baseline resistance is updated non-periodically, the signal detector implements the detection steps as follows:

[0074] Step 1: Initially calibrate the baseline resistance. Use the channel to transmit the external temperature and humidity sensor data to obtain the temperature and humidity data of the communication terminal during the detection phase, and determine the baseline resistance value during the detection. The current temperature and humidity baseline resistance value formula is as follows:

[0075]

[0076] In formula (3), n represents the total number of signal detectors set in the communication terminal, i represents the i-th signal detector, and the measurement accuracy and reliability R are improved by fusing the data of multiple signal detectors. r Indicates the current temperature and humidity baseline resistance, R o,i represents the i-th calibration baseline resistance value, t represents the current temperature, t0 represents the temperature during calibration, h represents the current humidity, h0 represents the humidity during calibration, α represents the temperature compensation coefficient, β represents the humidity compensation coefficient, R (10)The sensor resistance value when the communication information volume is 10ppm, R (1) Indicates the sensor resistance value when the communication information volume is 1ppm; by introducing the temperature and humidity compensation coefficient, the influence of temperature and humidity on the signal volume during detection is eliminated, and effective identification is achieved in the case of small signal volume, and timely detection reduces the risk of expanding into fire. The baseline resistance denominator in formula (3) refers to the sensor resistance value of the signal detector when the communication information volume is 10ppm and the sensor resistance value of the communication information volume is 1ppm, rather than the fixed signal detector characteristic constant of 9.83 given by the signal detector manufacturer, eliminating the difference in accuracy and factory value caused by the loss of the signal detector over time. The comparison data table with and without the introduction of temperature and humidity compensation is shown as follows:

[0077]

[0078]

[0079] Table 3

[0080] In Table 3, under the same signal environment, the temperature and humidity compensation is introduced to reduce the influence of the temperature and humidity in the environment on the sensor detection signal. The comparison in the table proves that the sensor error without the temperature and humidity compensation is 7.7ppm, and the error after the temperature and humidity compensation is 4.5ppm, which is closer to the actual environment and more accurate.

[0081] Step 2: Collect and calculate the sensor resistance, and obtain the sensor resistance value through the abnormal information component voltage. The sensor resistance value formula is as follows:

[0082]

[0083] In formula (4), R L represents the load resistance, V in Represents input voltage, R s represents the sensor resistance, V out Indicates the sensor analog degree;

[0084] Step 3: Calculate the data processing volume. Use the co and signal parameters to calculate the sensor detection signal volume and transmit the data to the data acquisition and transmission module. The calculation formula is as follows:

[0085]

[0086] In formula (5), C represents the amount of communication information, R s Represents the sensor resistance, R r Indicates the current temperature and humidity baseline resistance. represents the amount of co, The signal quantity is compared with the set warning threshold. If it exceeds the set warning threshold, a re-detection instruction is issued to achieve cyclic detection within 10s. If the detection data exceeds the set threshold for more than 90% of the total detection times, an alarm message is issued to the cloud platform, waiting for the cloud platform to issue control instructions; if the number of operations that do not reach the set cyclic detection fault number exceeds 90%, the records are saved in the log system, recording operations, warning errors and self-test results, finding potential fault points, and transmitting them to the user interaction module.

[0087] In a specific embodiment, a data transmission abnormal communication and method based on Internet of Things technology is characterized by comprising the following steps:

[0088] Step 1: Determine the visualization content and visualization user interface, confirm the display of temperature and humidity, signal volume, intrusion signal volume, alarm information, historical data and device status content, use the visualization library D3.js to generate the icon Kibana to build a visualization dashboard, display temperature and humidity through pie charts, display historical data change information through line charts, and set alarm buttons and control buttons;

[0089] Step 2: Data collection and storage: collect sensor data in real time and store it in a MySQL database. Store sensor data and historical data to facilitate historical trend analysis, present historical status, and design table structures to store device status and alarm information.

[0090] Step 3: Use the Angular front-end framework to build a dynamic interactive interface, and use the Node.js back-end framework to design a GraphQL API to obtain back-end data, provide a data access interface for the front-end interactive interface, encrypt the data during transmission, confirm the authorized device and user to access and operate the data, and Arduino sends the sensor data to the back-end API through HTTP requests. Arduino detects anomalies, triggers the alarm mechanism, and transmits the alarm information to the front-end dynamic interactive interface;

[0091] Step 4: Design a mobile application. Users can synchronously receive data from smart communication terminals while outside. Build a connection between the cloud platform and the central processing module. The TP-Link cloud platform synchronously receives sensor data and abnormal warning signals through the MQTT protocol and displays them in the Kasa application. This enables data visualization on the mobile terminal, convenient viewing of abnormal conditions of communication terminals, and handling of alarm issues.

[0092] Using Mosquitto as the MQTT broker, the registration service example creates a registration API, a configuration file, and creates a user password to implement registration, login, and permission management functions, improve the data security of the communication terminal, and the data cannot be viewed through the communication terminal visualization module or cloud platform application without logging in the user password.

[0093] Although the specific embodiments of the present invention are described above, it should be understood by those skilled in the art that these specific embodiments are only illustrative, and those skilled in the art may omit, replace, and change the details of the above methods and systems in various ways without departing from the principles and essence of the present invention. For example, merging the above method steps so as to perform substantially the same functions in substantially the same manner to achieve substantially the same results is within the scope of the present invention. Therefore, the scope of the present invention is limited only by the appended claims and their equivalents.

Claims

1. A data transmission abnormality communication system based on Internet of Things technology, characterized by: Include: The sensor module is used to detect various parameters in the communication terminal environment and transmit the data to the data acquisition and transmission module; The data acquisition and transmission module is used to receive real-time data from the sensor, perform format conversion, data cleaning and noise removal calibration preprocessing on the raw data, and package the data and send it to the target receiving end according to the transmission protocol requirements; the data acquisition and transmission module includes an acquisition module and a wireless communication module; the output end of the acquisition module is connected to the input end of the wireless communication module; The central control module is used to process and analyze data, determine whether there is an abnormal situation and make a decision, and transmit the processing result to the alarm module; execute control measures according to the instructions issued by the user; the central control module includes an abnormality detection and rule module, a decision and control module, a communication module, a camera module and a security encryption module; wherein the output end of the abnormality detection and rule module is connected to the input end of the communication module, the output end of the communication module is connected to the input end of the decision and control module, the output end of the decision and control module is connected to the input end of the camera module, and the security encryption module is connected to the communication module; The alarm module is used to receive abnormal situation results and trigger the corresponding alarm mechanism to promptly notify the user or perform related operations; Storage and database module, used to store all sensor data and alarm record data, providing data storage support for the system; A user interaction module is used to manage user account information, realize registration, login and permission management functions, and provide a user interface for users to configure system parameters and visualize the real-time data and alarm history records of each sensor; the user interaction module includes a visualization module, a data interface module, an identity authentication and authorization module and an Internet of Things module, wherein the output end of the data interface module is connected to the input end of the visualization module, the output end of the identity authentication and authorization module is connected to the input end of the visualization module, and the Internet of Things module is connected to the identity authentication and authorization module; Cloud services and IoT platforms are used to provide remote data access and processing functions, set up multi-device collaboration and centralized management, exchange data with user interaction modules, and issue control operations to the central control module; The output end of the sensor module is connected to the input end of the data acquisition and transmission module, the output end of the data acquisition and transmission module is connected to the input end of the central control module, the output end of the central control module is connected to the input end of the alarm module and the input end of the user interaction module, the output end of the alarm module is connected to the input end of the storage and database module, the user interaction module is connected to the cloud service and the Internet of Things platform, and the output end of the alarm module is connected to the input end of the cloud service and the Internet of Things platform.

2. According to claim 1, a data transmission abnormal communication system based on Internet of Things technology is characterized by: The sensor module at least includes a signal detector, a gas leakage signal detector, a water immersion sensor, an infrared sensor, a door magnetic sensor, a channel transmission external temperature and humidity sensor, and a voltage and current sensor.

3. According to claim 1, a data transmission abnormality communication system based on Internet of Things technology is characterized by: The data acquisition and transmission module uses the Arduino Uno development board to collect data from various sensors, and uses the ESP8266 module to transmit sensor information using the MQTT protocol.

4. According to claim 1, a data transmission abnormal communication system based on Internet of Things technology is characterized by: The alarm module is provided with a buzzer or voice broadcast. When an abnormal situation occurs in the information of the intelligent communication terminal or reaches a set threshold, the buzzer of the communication terminal sounds to issue a warning, and the voice broadcasts the fault type. At the same time, the alarm module includes a communication module submodule, which uses the HTTP protocol to send the warning information to the cloud service and the Internet of Things platform. The cloud service and the Internet of Things platform use the API interface to send the warning information to the user's mobile phone. The alarm module determines the room location where the sensor abnormality is located, and automatically starts the camera module to transmit video data to the cloud service and the Internet of Things platform in real time to confirm the danger. The cloud service and the Internet of Things platform issue an alarm command, automatically dial 110 or 119, and automatically play the communication terminal location information recorded in advance.

5. According to claim 2, a data transmission abnormality communication system based on Internet of Things technology is characterized in that: The signal detector detects an abnormal alarm and triggers an automatic call to the network police to ensure the accuracy of signal detection and calibrate the baseline resistance of the signal detector. The accuracy of the baseline resistance affects the detection accuracy of the sensor. Improper calibration leads to incorrect calculation of the communication information volume. Set a regular calibration to update the baseline resistance to eliminate drift caused by long-term use. The calculation formula for regular calibration of the baseline resistance is as follows: In formula (1), n ​​represents the total number of times the signal detector resistance is read, i represents the i-th time the signal detector is read, γ represents the smoothing coefficient, which smoothes the resistance value change, and R s,i (t) represents the resistance measured by the i-th abnormal information element at time t, R o,t (t) represents the adjusted resistance at time t, R o,t (t-1) represents the resistance adjustment at the last moment, and the historical data is introduced to produce drift resistance adjustment. In formula (2), where represents the baseline resistance after calibration, represents n represents the set temperature and humidity cycle, and R o,t represents the adjusted baseline resistance at time t, λ represents the theoretical predicted value of resistance when both temperature T and humidity H are zero, β T Represents the temperature regression coefficient, the change in baseline resistance for each unit increase in temperature, β H represents the humidity regression coefficient, which is the change in baseline resistance per unit increase in humidity; The signal detector implements the detection steps as follows: Step 1: Initially calibrate the baseline resistance. Use the channel to transmit the external temperature and humidity sensor data to obtain the temperature and humidity data of the communication terminal during the detection phase, and determine the baseline resistance value during the detection. The current temperature and humidity baseline resistance value formula is as follows: In formula (3), n represents the total number of signal detectors set in the communication terminal, i represents the i-th signal detector, R r Indicates the current temperature and humidity baseline resistance, R o,i represents the i-th calibration baseline resistance value, t represents the current temperature, t0 represents the temperature during calibration, h represents the current humidity, h0 represents the humidity during calibration, α represents the temperature compensation coefficient, β represents the humidity compensation coefficient, R (10) Indicates the sensor resistance value when the communication information volume is 10ppm, R (1) The sensor resistance value indicating the communication information volume is 1ppm; Step 2: Collect and calculate the sensor resistance, and obtain the sensor resistance value through the abnormal information component voltage. The sensor resistance value formula is as follows: In formula (4), R L represents the load resistance, V in Represents input voltage, R s represents the sensor resistance, V out Indicates the sensor analog degree; Step 3: Calculate the data processing volume. Use the co and signal parameters to calculate the sensor detection signal volume and transmit the data to the data acquisition and transmission module. The calculation formula is as follows: In formula (5), C represents the amount of communication information, R s Represents the sensor resistance, R r Indicates the current temperature and humidity baseline resistance. represents the amount of co, The signal quantity is compared with the set warning threshold. If it exceeds the set warning threshold, a re-detection instruction is issued to achieve cyclic detection within 10s. If the detection data exceeds the set threshold for more than 90% of the total detection times, an alarm message is sent to the cloud platform, waiting for the cloud platform to issue control instructions; if the number of operations that do not reach the set cyclic detection fault number exceeds 90%, the records are saved in the log system, recording operations, warning errors and self-test results, finding potential fault points, and transmitting them to the user interaction module.

6. According to claim 1, a data transmission abnormality communication system based on Internet of Things technology is characterized by: The cloud service and IoT platform adopt the TP-Link platform. The communication terminal equipment is registered and connected to the TP-Link cloud platform. The sensor data is monitored and viewed in real time through the Kasa application, and control instructions are sent through the API interface provided by TP-Link.

7. According to claim 1, a data transmission abnormality communication system based on Internet of Things technology is characterized by: The control and decision-making module sets button control and TP-Link platform to issue control instructions to realize the control of the intelligent communication terminal. Arduino serves as the central processor. After receiving the instruction, it uses the z-Wave communication protocol to transmit the closing instruction to the intelligent valve or intelligent switch, executes the rotation instruction greater than 90° and less than 180° for the intrusion signal valve and the tap water valve, pulls down the power intelligent switch to turn off the main power switch of the communication terminal, turns off the signal to the communication terminal, and issues an instruction to start the communication terminal camera to check the status of the communication terminal, responds to the intrusion and signal alarm of the network intruder, automatically dials 110 or 119 after receiving the permission instruction of the cloud platform user, and automatically plays the pre-recorded communication terminal location information.

8. A data transmission abnormality communication system and method based on Internet of Things technology, characterized by: The data transmission abnormality communication system based on the Internet of Things technology described in any one of claims 1 to 6 comprises the following steps: Step 1: Determine the visualization content and visualization user interface, confirm the display of temperature and humidity, signal volume, intrusion signal volume, alarm information, historical data and device status content, display temperature and humidity through pie charts, display historical data change information through line charts, and set alarm buttons and control buttons; Step 2: Data collection and storage: collect sensor data in real time and store it in a database to analyze historical trends and present historical status; Step 3: Use the Angular front-end framework to build a dynamic interactive interface, design a GraphQL API to obtain back-end data and parse the data to ensure that the data format is correct and can be further processed; Step 4: Design a mobile application to allow users to synchronously receive data from smart communication terminals while outside, and build a connection between the cloud platform and the central processing module.