Wireless communication network-based data transmission method for top-loaded ultraviolet pan-tilt camera

By adopting a wireless communication network-based data transmission method in the UV gimbal camera, combining intelligent network switching, Huffman encoding and AES encryption, the problem of data transmission interruption in complex environments is solved, and the stability and security of data transmission are achieved.

CN119653322AInactive Publication Date: 2025-03-18SHANDONG QINGZHI INFORMATION TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202510159424.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-13
Publication Date
2025-03-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The environment in which the UV gimbal camera is located is complex and changeable, with many sources of signal interference and different transmission distances. It is difficult for a single wireless communication network to cope with all conditions, resulting in interruption of data transmission and affecting the consistency of monitoring and detection tasks.

Method used

A data transmission method for overload ultraviolet gimbal camera based on wireless communication network is adopted, including data acquisition, preprocessing, encoding, transmission queue management, wireless transmission, transmission status monitoring and decoding verification modules. Through intelligent switching of ZigBee, Wi-Fi and 5G networks, combined with Huffman encoding and AES encryption, ensure the stability and security of data transmission.

Benefits of technology

It realizes the stability and continuity of data transmission in complex environments, ensures timely transmission of key information, reduces the complexity of data processing and the probability of errors, and enhances the reliability and trust of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119653322A_ABST
    Figure CN119653322A_ABST
Patent Text Reader

Abstract

The invention discloses a wireless communication network-based data transmission method for a top-loaded ultraviolet pan-tilt camera, and relates to the field of wireless communication networks. The system comprises a data acquisition module, a preprocessing module, an encoding module, a transmission queue management module, a wireless transmission module, a transmission state monitoring module and a decoding verification module. According to the invention, three wireless communication networks of ZigBee, Wi-Fi and 5G are combined, a corresponding detection signal transmitting module and a detection signal receiving module are arranged, detection signals are periodically sent, the signal quality of each network is evaluated in real time, an optimal transmission network is intelligently selected according to the bit error rate, the signal arrival time interval and other indexes, and when the packet loss rate or the signal strength does not reach the standard, the optimal transmission network can be obtained. And the network mode can be automatically switched, and stable and continuous data circulation can be maintained in a complex and changeable environment no matter in an area with strong signal interference or in a remote place with weak signals.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of wireless communication networks, and in particular to a data transmission method for a top-mounted ultraviolet pan-tilt camera based on a wireless communication network. Background Art

[0002] In actual application scenarios, the environment in which the UV PTZ camera is located is complex and changeable, there are many sources of signal interference, and the transmission distances also vary. A single wireless communication network is difficult to cope with all situations. Although ZigBee has low power consumption and flexible networking, its transmission rate is limited; Wi-Fi is easily affected by the surrounding environment and its signal coverage range is limited; although the 5G network is high-speed, its deployment cost is high and some remote areas have insufficient coverage, and there is a lack of adaptive switching mechanism. Once the selected network has problems such as packet loss and weak signal, data transmission will be interrupted, seriously affecting the continuity of monitoring and detection tasks, and restricting the efficient application of data collected by top-mounted UV PTZ cameras.

[0003] Therefore, we made improvements on this and proposed a data transmission method for top-mounted UV pan-tilt camera based on wireless communication network. Summary of the invention

[0004] The purpose of the present invention is to: in actual application scenarios, the environment in which the ultraviolet pan-tilt camera is located is complex and changeable, there are many sources of signal interference, and the transmission distances are also different. A single wireless communication network is difficult to cope with all situations. Although ZigBee has low power consumption and flexible networking, its transmission rate is limited; Wi-Fi is easily affected by the surrounding environment and its signal coverage range is limited; although the 5G network is high-speed, its deployment cost is high and its coverage in some remote areas is insufficient. It lacks an adaptive switching mechanism. Once the selected network has problems such as packet loss and weak signal, data transmission will be interrupted, which will seriously affect the continuity of monitoring and detection tasks, and restrict the efficient application of data collected by the top-mounted ultraviolet pan-tilt camera.

[0005] In order to achieve the above-mentioned object of the invention, the present invention provides the following technical solutions: The specific application is as follows: A data transmission method for a top-mounted ultraviolet pan-tilt camera based on a wireless communication network, comprising: a data acquisition module, a preprocessing module, an encoding module, a transmission queue management module, a wireless transmission module, a transmission status monitoring module and a decoding verification module; Data acquisition module: uses a UV gimbal camera to collect data, including UV light intensity values, UV reflectance spectrum characteristics of target objects, and ambient temperature and humidity information at the corresponding shooting time; Preprocessing module: unify the data format of the collected data and convert all collected data into standard JSON format; Coding module: Perform lossless compression coding on the pre-processed image data, using the Huffman coding algorithm to accurately control the compression ratio between 1:2-1:3, and add a 16-bit checksum for subsequent image data integrity verification; The transmission queue management module sorts the encoded image data into a queue according to priority. High-priority image data contains emergency environmental warning information and is transmitted first to ensure the timeliness of key information. The wireless transmission module includes a ZigBee detection signal transmitting module, a Wi-Fi detection signal transmitting module, a 5G detection signal transmitting module and a detection signal receiving module. The wireless transmission module is based on the ZigBee detection signal transmitting module, the Wi-Fi detection signal transmitting module, the 5G detection signal transmitting module and the detection signal receiving module, and selects any one of ZigBee, Wi-Fi and 5G wireless communication networks for transmission; Transmission status monitoring module, real-time monitoring of wireless link quality, signal strength, and transmission packet loss rate; Decoding and verification module: The receiving end first decodes the collected data according to the corresponding encoding rules, extracts the verification code to verify the integrity of the collected data, and sends a retransmission request to the sending end if the verification fails. The collected data that succeeds in verification is decompressed and restored to the original collected data format after preprocessing, and stored in the local database.

[0006] In the data acquisition module, the ultraviolet pan-tilt camera collects data at a preset frequency and resolution, the acquisition frequency range is 1-10 frames per second, and the resolution is not less than 1920×1080 pixels.

[0007] In the preprocessing module, for the collected image data, an adaptive median filtering algorithm is used to remove salt and pepper noise, and the grayscale stretching transformation is used to enhance the image contrast. For the environmental monitoring data, the sliding average method is used to eliminate abnormal fluctuations. Then, the data format is unified and all data are converted into the standard JSON format.

[0008] In the transmission status monitoring module, an intelligent switching mechanism is built. When the packet loss rate is detected to be higher than 5% or the signal strength is lower than the preset threshold, the system automatically triggers the wireless communication network mode switching action to ensure the continuous stability of data transmission and avoid transmission interruptions.

[0009] Data collection equipment, transmission equipment and receiving equipment all use the AES encryption algorithm to encrypt interactive data. The encryption key length is 128 bits or 256 bits to prevent information leakage and malicious tampering during data transmission.

[0010] When the local database receives the original collected data format for storage, it classifies and stores it based on the collection time and data type, and generates a data index table to facilitate quick retrieval and call of specific data.

[0011] A data structure of a transmission data packet of a data transmission method for a top-mounted ultraviolet pan-tilt camera based on a wireless communication network, wherein the data structure of the transmission data packet is: packet header + image data; The data structure of the packet header is: source address field + destination address field + regular packet header field + detection signal data block field.

[0012] A wireless transmission module for a data transmission method for a top-mounted ultraviolet pan-tilt camera based on a wireless communication network, comprising: the above-mentioned data transmission method for a top-mounted ultraviolet pan-tilt camera based on a wireless communication network and a transmission data packet data structure of the above-mentioned data transmission method for a top-mounted ultraviolet pan-tilt camera based on a wireless communication network, and the specific operations are as follows: SA1. Start the operation; SA2, ZigBee detection signal transmitting module, Wi-Fi detection signal transmitting module, and 5G detection signal transmitting module each encrypt the detection signal data block to be sent, and each cyclically sends the encrypted detection signal data block to the detection signal receiving module every 10 seconds; SA3, the detection signal receiving module obtains the encrypted detection signal data block, decrypts the encrypted detection signal data block, restores the original detection signal data block, and determines whether the detection signal data block has been tampered with during the transmission process. If it is determined to be tampered with, step SA4 is performed; if it is not tampered with, the subsequent step SA5 is entered; SA4, terminate the reception, and send a retransmission request to the ZigBee detection signal transmission module, the Wi-Fi detection signal transmission module, and the 5G detection signal transmission module, and then proceed to step SA3; SA5. The detection signal receiving module detects three signals synchronously, evaluates the signal quality of the three signals, records the time interval of each signal arrival in detail, and calculates the bit error rate during the transmission process. Each signal is scored using the evaluation calculation formula Score = (1-U) * (1 / T), where U is the bit error rate and T is the variance of the time interval. The more stable the time interval and the lower the bit error rate, the higher the score. The signal type with the highest score is the optimal transmission network in the current environment, and this network will be used for subsequent data transmission. SA6. End the operation.

[0013] In SA2, the ZigBee detection signal transmission module, the Wi-Fi detection signal transmission module, and the 5G detection signal transmission module each encrypt the detection signal data block to be sent. The specific operations are as follows: SB1. Start the operation; SB2. Based on the core hardware serial number and device coding information of the top-mounted UV PTZ camera, the SHA-256 operation is used to obtain the unique basic data, and the first X bits are intercepted to generate a 32-byte detection signal data block. This detection signal data block carries the device identification function and is the core data block for subsequent encryption, where X is a positive integer; SB3. When the detection signal transmitting module is to send a detection signal data block every 10 seconds, the AES encryption process is started. The AES algorithm is based on block encryption, the key is 128 bits, and the data block size is 128 bits 16 bytes; SB4, initialize the AES encryptor using the device pre-shared key, and generate a random initial vector IV by introducing the previous ciphertext block and XORing the current plaintext block, whose length is 16 bytes with the data block; SB5. Given that the detection signal data block is 32 bytes long, when using 128-bit AES encryption, the data must first be padded using the PKCS7 padding algorithm to make its length an integer multiple of 16 bytes. The padded detection signal data block enters the AES encryptor in turn, cooperates with the key and IV, and outputs the encrypted detection signal data block; SB6. Integrate the encrypted detection signal data block into the header of the subsequent transmission data, reserve 32 bytes of space in the header, and put the encrypted detection signal data block in its entirety, so that it is transmitted together with the regular header field, source address field, and destination address field; SB7. End the operation.

[0014] In SA3, the detection signal receiving module obtains the encrypted detection signal data block, decrypts the encrypted detection signal data block, restores the original detection signal data block, and determines whether the detection signal data block has been tampered with during transmission. The specific operations are as follows: SC1, start operation; SC2. After receiving the transmission data, the detection signal receiving module first extracts the encrypted detection signal data block from the data packet header, locates the field storing the detection signal data block according to the specific format of the packet header, and completely extracts the data; wherein, the detection signal receiving module uses the device pre-shared key consistent with the ZigBee detection signal transmitting module, the Wi-Fi detection signal transmitting module, and the 5G detection signal transmitting module. This key has been securely stored in the detection signal receiving module during the system initialization phase, and the key length is 128 bits; SC3, extract the corresponding initial vector IV from the packet header. The length of IV is consistent with the data block size of the AES algorithm, which is 16 bytes. Use the pre-shared key and IV to initialize the AES decryptor; SC4. Decrypt the extracted detection signal data block using the initialized AES decryptor, input the detection signal data block into the decryptor in sequence, and the decryptor restores the original detection signal data block according to the inverse transformation logic of the AES algorithm, and at the same time, removes the part filled by the PKCS7 padding algorithm to obtain a pure 32-byte detection signal data block; SC5. Compare the pure 32-byte detection signal data block with the standard detection signal data block generated based on the same hardware information in the local database. The local database stores the standard detection signal data block corresponding to each device. The standard detection signal data block is also based on the core hardware serial number and coding information of the device. The 32-byte data is generated by taking the first X bits through SHA-256 operation, where X is a positive integer. If the two are completely consistent, it means that the data has not been tampered with during transmission and the data can be trusted. Continue with the signal quality assessment link in SA5. If the two are inconsistent, it is determined that the data integrity has been destroyed, and the reception of this batch of data is immediately terminated, and a retransmission request is sent to the ZigBee detection signal transmission module, the Wi-Fi detection signal transmission module, and the 5G detection signal transmission module; SC6. End the operation.

[0015] Compared with the prior art, the present invention has the following beneficial effects: 1. Convert all collected data into standard JSON format, which greatly improves data compatibility. After data from different sources and types are organized into the same format, there is no need to adapt to multiple formats separately in subsequent processing links, which reduces the complexity of data processing and the probability of errors, accelerates data flow, facilitates system integration and expansion, and makes data interaction between different devices and modules smoother.

[0016] 2. Huffman coding algorithm is used to perform lossless compression encoding on image data. Under the premise of ensuring that the data is not distorted, the compression ratio is accurately controlled between 1:2-1:3, which effectively reduces the amount of data transmission, saves network bandwidth resources, and speeds up the transmission speed. At the same time, a 16-bit check code is added to protect data integrity. Data deviations during transmission can be discovered in a timely manner to ensure that the receiving end obtains accurate image data.

[0017] 3. Sort by priority and place them in the transmission queue, giving priority to high-priority image data such as emergency environmental warning information. In the face of emergencies such as sudden environmental crises and industrial accidents, key image data can be delivered to the receiving end as soon as possible, allowing relevant departments to respond quickly, avoiding greater losses due to information delays, and significantly improving the system's emergency response capabilities.

[0018] 4. Combining three wireless communication networks of ZigBee, Wi-Fi, and 5G, and equipped with corresponding detection signal transmitting modules and detection signal receiving modules, it periodically sends detection signals to evaluate the signal quality of each network in real time, and intelligently selects the optimal transmission network based on indicators such as bit error rate and signal arrival time interval. When the packet loss rate or signal strength does not meet the standard, it can also automatically switch the network mode. In a complex and changeable environment, whether it is an area with strong signal interference or a remote place with weak signal, it can maintain stable and continuous data flow.

[0019] 5. The AES encryption algorithm is used throughout the data collection, transmission, and reception process, with 128-bit or 256-bit encryption keys to encrypt interactive data with high intensity, effectively preventing information leakage and malicious tampering, especially in scenarios involving sensitive environmental data and commercial confidential industrial test results. The bottom line of data security is strictly adhered to, so that users do not need to worry about data privacy issues, and the system trust and availability are enhanced.

[0020] 6. The transmission status monitoring module tracks the wireless link quality, signal strength, and transmission packet loss rate in real time. Once an abnormality is found, it quickly triggers a retransmission request or network switching action, and cooperates with the detection signal anti-tampering verification mechanism in the wireless transmission module to double-guarantee the accuracy and continuity of data transmission, reduce data loss and errors caused by transmission failures, and maintain the high reliability of the entire data transmission system. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 This is a flowchart of the data transmission method of this application; Figure 2 A schematic diagram of the data structure of the data packet transmitted for this application; Figure 3 This is a schematic diagram of the data structure of the header of this application; Figure 4 This is a flow chart of the wireless transmission module of this application; Figure 5 A schematic diagram of the encryption process of the detection signal data block for this application; Figure 6 This is a schematic diagram of the decryption process of the detection signal receiving module of this application; Figure 7 This is a schematic diagram of the UV camera mounting method, the servo position, and the connection position between the UV camera and the servo arm in the embodiment of the present application; Figure 8 This is a schematic diagram of the tooth-shaped design of the heat sink in the embodiment of the present application; Fig. 9 This is a schematic diagram of the installation of the turbo blower cooling fan of the embodiment of the present application; Fig.10 This is a schematic diagram of the fan design of the embodiment of the present application; Fig.11This is a schematic diagram of the card interface of the embodiment of the present application; DETAILED DESCRIPTION

[0022] To make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be described clearly and completely in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them.

[0023] Therefore, the following detailed description of the embodiments of the present invention is not intended to limit the scope of the invention claimed for protection, but merely represents some embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0024] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features and technical solutions in the embodiments may be combined with each other.

[0025] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0026] In the description of the present invention, it should be noted that the orientation or positional relationship indicated by the terms "upper", "lower", etc. is based on the orientation or positional relationship shown in the drawings, or the orientation or positional relationship in which the invention product is usually placed when in use, or the orientation or positional relationship commonly understood by those skilled in the art. Such terms are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.

[0027] As described in the background technology, in actual application scenarios, the environment in which the ultraviolet pan-tilt camera is located is complex and changeable, there are many sources of signal interference, and the transmission distances also vary. A single wireless communication network is difficult to cope with all situations. Although ZigBee has low power consumption and flexible networking, its transmission rate is limited; Wi-Fi is easily affected by the surrounding environment and its signal coverage range is limited; although the 5G network is high-speed, its deployment cost is high and some remote areas have insufficient coverage, and there is a lack of adaptive switching mechanism. Once the selected network has problems such as packet loss and weak signal, data transmission will be interrupted, seriously affecting the continuity of monitoring and detection tasks, and restricting the efficient application of data collected by top-mounted ultraviolet pan-tilt cameras.

[0028] In order to solve this technical problem, the present invention provides the following technical solutions:

[0029] Embodiment 1:

[0030] Please refer to Figure 1-6 , a data transmission method for a top-mounted ultraviolet pan-tilt camera based on a wireless communication network, comprising: a data acquisition module, a preprocessing module, an encoding module, a transmission queue management module, a wireless transmission module, a transmission status monitoring module and a decoding verification module; Data acquisition module: uses a UV gimbal camera to collect data, including UV light intensity values, UV reflectance spectrum characteristics of target objects, and ambient temperature and humidity information at the corresponding shooting time; Preprocessing module: unify the data format of the collected data and convert all collected data into standard JSON format; Coding module: Perform lossless compression coding on the pre-processed image data, using the Huffman coding algorithm to accurately control the compression ratio between 1:2-1:3, and add a 16-bit checksum for subsequent image data integrity verification; The transmission queue management module sorts the encoded image data into a queue according to priority. High-priority image data contains emergency environmental warning information and is transmitted first to ensure the timeliness of key information. The wireless transmission module includes a ZigBee detection signal transmitting module, a Wi-Fi detection signal transmitting module, a 5G detection signal transmitting module and a detection signal receiving module. The wireless transmission module is based on the ZigBee detection signal transmitting module, the Wi-Fi detection signal transmitting module, the 5G detection signal transmitting module and the detection signal receiving module, and selects any one of ZigBee, Wi-Fi and 5G wireless communication networks for transmission; Transmission status monitoring module, real-time monitoring of wireless link quality, signal strength, and transmission packet loss rate; Decoding and verification module: The receiving end first decodes the collected data according to the corresponding encoding rules, extracts the verification code to verify the integrity of the collected data, and sends a retransmission request to the sending end if the verification fails. The collected data that succeeds in verification is decompressed and restored to the original collected data format after preprocessing, and stored in the local database.

[0031] In the data acquisition module, the ultraviolet pan-tilt camera collects data at a preset frequency and resolution, the acquisition frequency range is 1-10 frames per second, and the resolution is not less than 1920×1080 pixels.

[0032] In the preprocessing module, for the collected image data, an adaptive median filtering algorithm is used to remove salt and pepper noise, and the grayscale stretching transformation is used to enhance the image contrast. For the environmental monitoring data, the sliding average method is used to eliminate abnormal fluctuations. Then, the data format is unified and all data are converted into the standard JSON format.

[0033] In the transmission status monitoring module, an intelligent switching mechanism is built. When the packet loss rate is detected to be higher than 5% or the signal strength is lower than the preset threshold, the system automatically triggers the wireless communication network mode switching action to ensure the continuous stability of data transmission and avoid transmission interruptions.

[0034] Data collection equipment, transmission equipment and receiving equipment all use the AES encryption algorithm to encrypt interactive data. The encryption key length is 128 bits or 256 bits to prevent information leakage and malicious tampering during data transmission.

[0035] When the local database receives the original acquisition data format for storage, it is classified and stored based on the acquisition time and data type, and a data index table is generated at the same time to facilitate rapid retrieval and calling of specific data; wherein, the method for the local database to generate the data index table is: using a database management tool or a command line to create a new database, creating a table with an acquisition time and data type in the database for storing data from a top-mounted ultraviolet pan-tilt camera, creating a data type index for environmental monitoring data, a data type index for image data and an index for timestamps, generating a data index table based on the data type index for environmental monitoring data, the data type index for image data and an index for timestamps, and storing the data in the data index table based on the acquisition time and data type of the original acquisition data format; before storing the original acquisition data format in the database, preprocessing the data according to the data type of the original acquisition data format to ensure that the data conforms to the structure of the database table; using different fields for storage of different types of data; encoding the image data first and then storing the encoded binary data; and directly storing the environmental monitoring data.

[0036] A data structure of a transmission data packet of a data transmission method for a top-mounted ultraviolet pan-tilt camera based on a wireless communication network, wherein the data structure of the transmission data packet is: packet header + image data; The data structure of the packet header is: source address field + destination address field + regular packet header field + detection signal data block field.

[0037] A wireless transmission module for a data transmission method for a top-mounted ultraviolet pan-tilt camera based on a wireless communication network, comprising: the above-mentioned data transmission method for a top-mounted ultraviolet pan-tilt camera based on a wireless communication network and a transmission data packet data structure of the above-mentioned data transmission method for a top-mounted ultraviolet pan-tilt camera based on a wireless communication network, and the specific operations are as follows: SA1. Start the operation; SA2, ZigBee detection signal transmitting module, Wi-Fi detection signal transmitting module, and 5G detection signal transmitting module each encrypt the detection signal data block to be sent, and each cyclically sends the encrypted detection signal data block to the detection signal receiving module every 10 seconds; SA3, the detection signal receiving module obtains the encrypted detection signal data block, decrypts the encrypted detection signal data block, restores the original detection signal data block, and determines whether the detection signal data block has been tampered with during the transmission process. If it is determined to be tampered with, step SA4 is performed; if it is not tampered with, the subsequent step SA5 is entered; SA4, terminate the reception, and send a retransmission request to the ZigBee detection signal transmission module, the Wi-Fi detection signal transmission module, and the 5G detection signal transmission module, and then proceed to step SA3; SA5. The detection signal receiving module detects three signals synchronously, evaluates the signal quality of the three signals, records the time interval of each signal arrival in detail, and calculates the bit error rate during the transmission process. Each signal is scored using the evaluation calculation formula Score = (1-U) * (1 / T), where U is the bit error rate and T is the variance of the time interval. The more stable the time interval and the lower the bit error rate, the higher the score. The signal type with the highest score is the optimal transmission network in the current environment, and this network will be used for subsequent data transmission. SA6. End the operation.

[0038] In SA2, the ZigBee detection signal transmission module, the Wi-Fi detection signal transmission module, and the 5G detection signal transmission module each encrypt the detection signal data block to be sent. The specific operations are as follows: SB1. Start the operation; SB2. Based on the core hardware serial number and device coding information of the top-mounted UV PTZ camera, the SHA-256 operation is used to obtain the unique basic data, and the first X bits are intercepted to generate a 32-byte detection signal data block. This detection signal data block carries the device identification function and is the core data block for subsequent encryption, where X is a positive integer; SB3. When the detection signal transmitting module is to send a detection signal data block every 10 seconds, the AES encryption process is started. The AES algorithm is based on block encryption, the key is 128 bits, and the data block size is 128 bits 16 bytes; SB4, initialize the AES encryptor using the device pre-shared key, and generate a random initial vector IV by introducing the previous ciphertext block and XORing the current plaintext block, whose length is 16 bytes with the data block; SB5. Given that the detection signal data block is 32 bytes long, when using 128-bit AES encryption, the data must first be padded using the PKCS7 padding algorithm to make its length an integer multiple of 16 bytes. The padded detection signal data block enters the AES encryptor in turn, cooperates with the key and IV, and outputs the encrypted detection signal data block; SB6. Integrate the encrypted detection signal data block into the header of the subsequent transmission data, reserve 32 bytes of space in the header, and put the encrypted detection signal data block in its entirety, so that it is transmitted together with the regular header field, source address field, and destination address field; SB7. End the operation.

[0039] In SA3, the detection signal receiving module obtains the encrypted detection signal data block, decrypts the encrypted detection signal data block, restores the original detection signal data block, and determines whether the detection signal data block has been tampered with during transmission. The specific operations are as follows: SC1, start operation; SC2. After receiving the transmission data, the detection signal receiving module first extracts the encrypted detection signal data block from the data packet header, locates the field storing the detection signal data block according to the specific format of the packet header, and completely extracts the data; wherein, the detection signal receiving module uses the device pre-shared key consistent with the ZigBee detection signal transmitting module, the Wi-Fi detection signal transmitting module, and the 5G detection signal transmitting module. This key has been securely stored in the detection signal receiving module during the system initialization phase, and the key length is 128 bits; SC3, extract the corresponding initial vector IV from the packet header. The length of IV is consistent with the data block size of the AES algorithm, which is 16 bytes. Use the pre-shared key and IV to initialize the AES decryptor; SC4. Decrypt the extracted detection signal data block using the initialized AES decryptor, input the detection signal data block into the decryptor in sequence, and the decryptor restores the original detection signal data block according to the inverse transformation logic of the AES algorithm, and at the same time, removes the part filled by the PKCS7 padding algorithm to obtain a pure 32-byte detection signal data block; SC5. Compare the pure 32-byte detection signal data block with the standard detection signal data block generated based on the same hardware information in the local database. The local database stores the standard detection signal data block corresponding to each device. The standard detection signal data block is also based on the core hardware serial number and coding information of the device. The 32-byte data is generated by taking the first X bits through SHA-256 operation, where X is a positive integer. If the two are completely consistent, it means that the data has not been tampered with during transmission and the data can be trusted. Continue with the signal quality assessment link in SA5. If the two are inconsistent, it is determined that the data integrity has been destroyed, and the reception of this batch of data is immediately terminated, and a retransmission request is sent to the ZigBee detection signal transmission module, the Wi-Fi detection signal transmission module, and the 5G detection signal transmission module; SC6. End the operation.

[0040] Embodiment 2:

[0041] A data transmission method for a top-mounted ultraviolet pan-tilt camera based on a wireless communication network, wherein the top-mounted ultraviolet pan-tilt camera based on the wireless communication network is composed of a top-mounted ultraviolet pan-tilt camera and a visible light + infrared camera provided by a DJI Camera 30T.

[0042] The top-mounted UV PTZ camera based on wireless communication network has the following features: 1. Mounting method: Develop a lightweight UV gimbal camera and place it on the top, so that the drone with only visible light and infrared can realize UV ​​discharge detection, and realize an inspection equipment that integrates UV, visible light and infrared.

[0043] 2. The vertical linkage between the top-mounted PTZ camera and the ceiling-mounted PTZ camera is realized.

[0044] 3. The visible light fusion ultraviolet algorithm unifies the visual center of visible light and ultraviolet light, and realizes real-time display of ultraviolet discharge status on the visible light screen.

[0045] 4. It has three forms: standard state, folded state and overlooking state.

[0046] Please refer to Figure 7 The main heat-generating component of this top-mounted UV gimbal camera based on the wireless communication network is the NVIDIA Arm® Cortex A78AE v8.2 64-bit CPU on the ORINNX core board. The power consumption can be set to the minimum level of 10W, and a combination of passive and active heat dissipation is used for heat dissipation.

[0047] Please refer to Figure 8Passive heat dissipation method: directly apply thermal grease to the NVIDIA Arm® Cortex A78AE v8.2 64-bit CPU on the ORINNX core board and the heat sink on the case to make the processor and the heat sink closely combined, increase the thermal contact surface, and enhance the thermal conductivity. The heat sink is designed with teeth to increase the contact area between the external air and the heat sink, thereby effectively increasing the heat dissipation area and enhancing the heat dissipation effect.

[0048] Please refer to Fig. 9 The method of active heat dissipation is: a turbo blower cooling fan is installed on the heat sink. This fan has the characteristics of low power consumption and large air volume. It can blow away the heat on the heat sink as soon as possible, reduce the temperature of the heat sink, and thus reduce the temperature of the heat-generating components, and achieve a good heat dissipation effect. The installation of the turbo blower cooling fan is embedded in the heat sink, with the air suction side facing up and the air outlet aligned with the tooth-like protrusions on the heat sink. This design can increase the intake air volume and allow the hot wind to take away more heat.

[0049] Please refer to Fig.10 The interface layout design method of the top-mounted UV gimbal camera based on the wireless communication network is as follows: the fan interface is directly connected to the ORINNX carrier board from the inside of the heat sink, and its interface is hidden. The fan is embedded and directly embedded in the heat sink. The overall appearance of the AI ​​module is simple and compact.

[0050] Please refer to Fig.11 The SD card interface design method of the top-mounted ultraviolet gimbal camera based on the wireless communication network is as follows: a cover plate is used on the casing to block the SD card slot position, which can effectively prevent foreign objects such as dust and flying insects from entering the AI ​​module during the flight process.

[0051] Please refer to Figure 7 The servo interface design method of the top-mounted ultraviolet pan-tilt camera based on the wireless communication network is as follows: the servo interface passes through the heat sink and is directly connected to the ORINNX carrier board. This design hides the interface connection, the module combination is compact, and the weight of the assembly is reduced.

[0052] Please refer to Figure 7 The design method of the UV camera interface of the top-mounted UV gimbal camera based on the wireless communication network is as follows: the UV camera interface inside the AI ​​module is connected to the UV camera through an extremely fine coaxial cable passing through the servo arm. This design hides the connection into the servo arm, making the overall structure more compact, with no exposed connection on the outside, and reducing wind resistance.

[0053] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings.

[0054] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features and technical solutions in the embodiments may be combined with each other.

[0055] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0056] The above embodiments are only used to illustrate the present invention and are not intended to limit the technical solutions described in the present invention. Although the present invention has been described in detail with reference to the above embodiments, the present invention is not limited to the above specific implementation methods. Therefore, any modification or equivalent replacement of the present invention; and all technical solutions and improvements thereof that do not depart from the spirit and scope of the invention are included in the scope of the claims of the present invention.

Claims

1. A data transmission method for a top-mounted ultraviolet pan-tilt camera based on a wireless communication network, characterized in that: include: Data acquisition module, preprocessing module, encoding module, transmission queue management module, wireless transmission module, transmission status monitoring module and decoding verification module; Data acquisition module: uses a UV gimbal camera to collect data, including UV light intensity values, UV reflectance spectrum characteristics of target objects, and ambient temperature and humidity information at the corresponding shooting time; Preprocessing module: unify the data format of the collected data and convert all collected data into standard JSON format; Coding module: Perform lossless compression coding on the pre-processed image data, using the Huffman coding algorithm to accurately control the compression ratio between 1:2-1:3, and add a 16-bit checksum for subsequent image data integrity verification; The transmission queue management module sorts the encoded image data into a queue according to priority. High-priority image data contains emergency environmental warning information and is transmitted first to ensure the timeliness of key information. The wireless transmission module includes a ZigBee detection signal transmitting module, a Wi-Fi detection signal transmitting module, a 5G detection signal transmitting module and a detection signal receiving module. The wireless transmission module is based on the ZigBee detection signal transmitting module, the Wi-Fi detection signal transmitting module, the 5G detection signal transmitting module and the detection signal receiving module, and selects any one of ZigBee, Wi-Fi and 5G wireless communication networks for transmission; Transmission status monitoring module, real-time monitoring of wireless link quality, signal strength, and transmission packet loss rate; Decoding and verification module: The receiving end first decodes the collected data according to the corresponding encoding rules, extracts the verification code to verify the integrity of the collected data, and sends a retransmission request to the sending end if the verification fails. The collected data that succeeds in verification is decompressed and restored to the original collected data format after preprocessing, and stored in the local database.

2. According to the data transmission method for a top-mounted ultraviolet PTZ camera based on a wireless communication network as described in claim 1, it is characterized in that: In the data acquisition module, the ultraviolet pan-tilt camera collects data at a preset frequency and resolution, the acquisition frequency range is 1-10 frames per second, and the resolution is not less than 1920×1080 pixels.

3. The data transmission method for a top-mounted ultraviolet PTZ camera based on a wireless communication network according to claim 1, characterized in that: In the preprocessing module, for the collected image data, an adaptive median filtering algorithm is used to remove salt and pepper noise, and the grayscale stretching transformation is used to enhance the image contrast. For the environmental monitoring data, the sliding average method is used to eliminate abnormal fluctuations. Then, the data format is unified and all data are converted into the standard JSON format.

4. The data transmission method for a top-mounted ultraviolet PTZ camera based on a wireless communication network according to claim 1, characterized in that: In the transmission status monitoring module, an intelligent switching mechanism is built. When the packet loss rate is detected to be higher than 5% or the signal strength is lower than the preset threshold, the system automatically triggers the wireless communication network mode switching action to ensure the continuous stability of data transmission and avoid transmission interruptions.

5. The data transmission method for a top-mounted ultraviolet PTZ camera based on a wireless communication network according to claim 1, characterized in that: Data collection equipment, transmission equipment and receiving equipment all use the AES encryption algorithm to encrypt interactive data. The encryption key length is 128 bits or 256 bits to prevent information leakage and malicious tampering during data transmission.

6. The data transmission method for a top-mounted ultraviolet PTZ camera based on a wireless communication network according to claim 1, characterized in that: When the local database receives the original collected data format for storage, it classifies and stores it based on the collection time and data type, and generates a data index table to facilitate quick retrieval and call of specific data.

7. A data packet data structure of a data transmission method for a top-mounted ultraviolet pan-tilt camera based on a wireless communication network, characterized in that: The data structure of the transmission data packet is: packet header + image data; The data structure of the packet header is: source address field + destination address field + regular packet header field + detection signal data block field.

8. A wireless transmission module for a data transmission method for a top-mounted ultraviolet pan-tilt camera based on a wireless communication network, characterized in that: include: The data packet data structure of the data transmission method for a top-mounted ultraviolet pan-tilt camera based on a wireless communication network described in claim 1 and the data transmission method for a top-mounted ultraviolet pan-tilt camera based on a wireless communication network described in claim 7 are specifically operated as follows: SA1. Start the operation; SA2, ZigBee detection signal transmitting module, Wi-Fi detection signal transmitting module, and 5G detection signal transmitting module each encrypt the detection signal data block to be sent, and each cyclically sends the encrypted detection signal data block to the detection signal receiving module every 10 seconds; SA3, the detection signal receiving module obtains the encrypted detection signal data block, decrypts the encrypted detection signal data block, restores the original detection signal data block, and determines whether the detection signal data block has been tampered with during the transmission process. If it is determined to be tampered with, proceed to step SA4; If it has not been tampered with, proceed to the next step SA5; SA4, terminate the reception, and send a retransmission request to the ZigBee detection signal transmission module, the Wi-Fi detection signal transmission module, and the 5G detection signal transmission module, and then proceed to step SA3; SA5. The detection signal receiving module detects three signals synchronously, evaluates the signal quality of the three signals, records the time interval of each signal arrival in detail, and calculates the bit error rate during the transmission process. Each signal is scored using the evaluation calculation formula Score = (1-U) * (1 / T), where U is the bit error rate and T is the variance of the time interval. The more stable the time interval and the lower the bit error rate, the higher the score. The signal type with the highest score is the optimal transmission network in the current environment, and this network will be used for subsequent data transmission. SA6. End the operation.

9. The wireless transmission module of the data transmission method for a top-mounted ultraviolet pan-tilt camera based on a wireless communication network according to claim 8, characterized in that: In SA2, the ZigBee detection signal transmission module, the Wi-Fi detection signal transmission module, and the 5G detection signal transmission module each encrypt the detection signal data block to be sent. The specific operations are as follows: SB1. Start operation; SB2. Based on the core hardware serial number and device coding information of the top-mounted UV PTZ camera, the SHA-256 operation is used to obtain the unique basic data, and the first X bits are intercepted to generate a 32-byte detection signal data block. This detection signal data block carries the device identification function and is the core data block for subsequent encryption, where X is a positive integer; SB3. When the detection signal transmitting module is to send a detection signal data block every 10 seconds, the AES encryption process is started. The AES algorithm is based on block encryption, the key is 128 bits, and the data block size is 128 bits 16 bytes; SB4, initialize the AES encryptor using the device pre-shared key, and generate a random initial vector IV by introducing the previous ciphertext block and XORing the current plaintext block, whose length is 16 bytes with the data block; SB5. Given that the detection signal data block is 32 bytes long, when using 128-bit AES encryption, the data must first be padded using the PKCS7 padding algorithm to make its length an integer multiple of 16 bytes. The padded detection signal data block enters the AES encryptor in turn, cooperates with the key and IV, and outputs the encrypted detection signal data block; SB6. Integrate the encrypted detection signal data block into the header of the subsequent transmission data, reserve 32 bytes of space in the header, and put the encrypted detection signal data block in its entirety, so that it is transmitted together with the regular header field, source address field, and destination address field; SB7. End the operation.

10. The wireless transmission module of the data transmission method for a top-mounted ultraviolet pan-tilt camera based on a wireless communication network according to claim 9, characterized in that: In SA3, the detection signal receiving module obtains the encrypted detection signal data block, decrypts the encrypted detection signal data block, restores the original detection signal data block, and determines whether the detection signal data block has been tampered with during transmission. The specific operations are as follows: SC1, start operation; SC2. After receiving the transmission data, the detection signal receiving module first extracts the encrypted detection signal data block from the data packet header, locates the field storing the detection signal data block according to the specific format of the packet header, and completely extracts the data; wherein, the detection signal receiving module uses the device pre-shared key consistent with the ZigBee detection signal transmitting module, the Wi-Fi detection signal transmitting module, and the 5G detection signal transmitting module. This key has been securely stored in the detection signal receiving module during the system initialization phase, and the key length is 128 bits; SC3, extract the corresponding initial vector IV from the packet header. The length of IV is consistent with the data block size of the AES algorithm, which is 16 bytes. Use the pre-shared key and IV to initialize the AES decryptor; SC4. Decrypt the extracted detection signal data block using the initialized AES decryptor, input the detection signal data block into the decryptor in sequence, and the decryptor restores the original detection signal data block according to the inverse transformation logic of the AES algorithm, and at the same time, removes the part filled by the PKCS7 padding algorithm to obtain a pure 32-byte detection signal data block; SC5. Compare the pure 32-byte detection signal data block with the standard detection signal data block generated based on the same hardware information in the local database. The local database stores the standard detection signal data block corresponding to each device. The standard detection signal data block is also based on the core hardware serial number and coding information of the device. The 32-byte data is generated by taking the first X bits through SHA-256 operation, where X is a positive integer. If the two are completely consistent, it means that the data has not been tampered with during transmission and the data can be trusted. Continue with the signal quality assessment link in SA5. If the two are inconsistent, it is determined that the data integrity has been destroyed, and the reception of this batch of data is immediately terminated, and a retransmission request is sent to the ZigBee detection signal transmission module, the Wi-Fi detection signal transmission module, and the 5G detection signal transmission module; SC6. End the operation.

Citation Information

Patent Citations

  • Safe transmission method for data of Internet of Things under wireless poor network environment

    CN104113395A

  • Cableway traction inspection robot system

    CN107175642A

  • Onboard terminal applied to unmanned aerial vehicle, and corresponding data transmission system and transmission method applied to unmanned aerial vehicle

    CN107396426A

  • Intelligent household electrical appliance network switching method and device, computer equipment and server

    CN111698736A

  • Internet of Things wireless system with signal strength detection function

    CN117412316A