Wireless data transmission system and method using compression technology
By using ADPCM algorithm compression and proprietary wireless protocol transmission, the problems of high construction difficulty in data acquisition in traditional manufacturing and limited transmission distance of BLE protocol are solved, realizing low-cost, high-efficiency, and high-real-time wireless data transmission.
Patent Information
- Application Number
- CN202511672806.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-14
- Publication Date
- 2026-02-17
AI Technical Summary
In traditional manufacturing, data acquisition and monitoring of manufacturing equipment rely on physical connections, which are difficult and costly to implement. The BLE protocol has limited transmission distance and poor real-time performance, making it unable to meet the real-time data transmission needs of large-scale sites.
The system uses an adaptive differential pulse code modulation (ADPCM) algorithm to compress data and transmits compressed data packets via a wireless network at a predetermined frequency using a proprietary protocol. The gateway receives and forwards the packets to the server for decompression, thus enabling wireless data transmission.
It achieves low-cost, high-efficiency, and high-real-time wireless data transmission in large-scale environments, increasing the transmission distance to 80 to 100 meters, reducing latency to 15 to 20 milliseconds, and achieving a data transmission loss rate of less than 0.5%.
Smart Images

Figure CN121547757A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of wireless data transmission technology, and more specifically, relates to a wireless data transmission system and method using compression technology. Background Technology
[0002] In traditional manufacturing, the collection and monitoring of production data from manufacturing equipment largely relies on the physical connection between the manufacturing equipment and the data management system (such as PLC serial connection or wired network). This method is difficult to implement and costly, and often requires the production line to be stopped before wiring work can be carried out, which brings many inconveniences and obstacles to the expansion of manufacturing equipment.
[0003] On the other hand, while the Bluetooth Low Energy (BLE) standard protocol boasts low power consumption, it suffers from significant limitations in transmission distance (typically 10 to 20 meters, with latency between 45 and 60 milliseconds). This makes it unsuitable for the simultaneous data transmission needs of numerous devices in large venues, resulting in poor real-time data transmission performance. Furthermore, the BLE standard protocol requires multiple handshake procedures to establish a data transmission connection, which not only increases communication time but also raises the risk of communication establishment failure.
[0004] Meanwhile, continuously operating manufacturing equipment generates a large amount of production data. This massive data volume significantly increases transmission time, negatively impacting transmission efficiency and real-time communication. Therefore, there is an urgent need for a low-cost, easy-to-install wireless data transmission technology that can support real-time data transmission over large areas. Summary of the Invention
[0005] The purpose of this invention is to provide a wireless data transmission system and method using compression technology to solve the problems of high construction difficulty, high cost, limited transmission distance, poor real-time performance, and low data transmission efficiency in traditional technologies, so as to achieve low-cost, high-efficiency, and high real-time wireless data transmission in large-scale fields.
[0006] One embodiment of this application provides a wireless data transmission system using compression technology, the system comprising: The communication connection includes a data generation module, a gateway, and a server. The data generation module includes a data generator, a compression module, and a system single chip. The data generator is used to generate wireless data to be transmitted and send the wireless data to be transmitted to the compression module. The compression module is used to compress the wireless data to be transmitted into compressed data using an adaptive differential pulse code modulation algorithm. The compressed data is transmitted through the protocol terminal of the system single chip in a proprietary protocol at a predetermined frequency to form multiple compressed data packets and send them. The gateway includes a gateway protocol terminal and a transmission module. The gateway protocol terminal is used to receive the compressed data packet and send the compressed data packet to the transmission module for transmission. The server is used to receive and decompress the compressed data packets transmitted by the transmission module in order to transmit the wireless data to be transmitted.
[0007] Optionally, the data generator includes at least one sensing chip, which includes at least one of a current sensing chip, a voltage sensing chip, a temperature sensing chip, and a humidity sensing chip; and the wireless data to be transmitted generated by the data generator includes sensing data obtained by at least one sensing chip.
[0008] Optionally, the server includes a decompression module for decompressing the compressed data in the compressed data packet.
[0009] Optionally, the compression module is integrated into the system single chip, and the compression ratio of the compression module is between 10% and 25%.
[0010] Optionally, the transmission module includes a wireless network unit and a wired network unit, wherein the wireless network unit and / or the wired network unit is used to transmit decompressed sensing data to the server.
[0011] Optionally, the number of data generation modules is greater than the number of gateways, and any gateway is configured to receive compressed data packets sent by multiple data generation modules.
[0012] Optionally, the data transmission loss rate between the data generation module and the gateway is no greater than 0.5%.
[0013] Another embodiment of this application provides a wireless data transmission method using compression technology, applied to the system described in any of the preceding claims, the method comprising: Generate wireless data to be transmitted using a data generator; The wireless data to be transmitted is compressed into compressed data using an adaptive differential pulse code modulation algorithm; The compressed data is converted into multiple compressed data packets using the protocol terminal of the system single chip, and the compressed data packets are sent at a predetermined frequency using a proprietary protocol. The gateway protocol receives the compressed data packet and transmits it to the server through the transmission module; The compressed data in the compressed data packet is decompressed using the decompression module of the server to enable the transmission of the wireless data to be transmitted.
[0014] Another embodiment of this application provides a storage medium storing a computer program, wherein the computer program is configured to implement the method described above when running.
[0015] Another embodiment of this application provides an electronic device including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to implement the method described above.
[0016] Compared with existing technologies, this invention provides a wireless data transmission system using compression technology. A data generator generates wireless data to be transmitted and sends it to a compression module. The compression module compresses the wireless data using an adaptive differential pulse code modulation algorithm. The gateway includes a gateway protocol terminal and a transmission module. The gateway protocol terminal receives compressed data packets and sends them to the transmission module for transmission. A server receives and decompresses the compressed data packets transmitted by the transmission module to achieve the transmission of the wireless data. This system enables low-cost, high-efficiency, and high-real-time wireless data transmission in large-scale environments. Attached Figure Description
[0017] Figure 1 A hardware structure block diagram of a computer terminal for a wireless data transmission method using compression technology, provided in an embodiment of the present invention; Figure 2 This is a functional diagram of a first embodiment of a wireless data transmission system using compression technology provided by an embodiment of the present invention; Figure 3 This is a functional diagram illustrating a second embodiment of a wireless data transmission system using compression technology provided by an embodiment of the present invention; Figure 4 A graph showing the relationship between total harmonic distortion plus noise (THD+N) and frequency using an ADPCM compression standard index table and step table is provided for an embodiment of the present invention. Figure 5 A graph showing the relationship between total harmonic distortion plus noise (THD+N) and frequency using an ADPCM compression index table and step table is provided for an embodiment of the present invention. Figure 6 This is a flowchart illustrating a wireless data transmission method using compression technology, provided as an embodiment of the present invention. Detailed Implementation
[0018] The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.
[0019] This invention first provides a wireless data transmission method using compression technology, which can be applied to electronic devices, such as computer terminals, specifically ordinary computers, tablets, etc.
[0020] The following detailed explanation uses a computer terminal as an example. Figure 1 This is a hardware structure block diagram of a computer terminal for a wireless data transmission method using compression technology, provided as an embodiment of the present invention. Figure 1 As shown, the computer device includes a processor, memory, and network interface connected via a system bus, wherein the memory may include non-volatile storage media and internal memory.
[0021] Non-volatile storage media can store operating systems and computer programs. These computer programs include program instructions that, when executed, cause the processor to perform any wireless data transmission method using compression technology.
[0022] The processor provides computing and control capabilities, supporting the operation of the entire computer device.
[0023] Internal memory provides an environment for the execution of computer programs stored on non-volatile storage media. When executed by a processor, the computer program enables the processor to perform any wireless data transmission method that uses compression technology.
[0024] This network interface is used for network communication, such as sending assigned tasks. Those skilled in the art will understand that... Figure 1 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0025] It should be understood that the processor can be a Central Processing Unit (CPU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among these, a general-purpose processor can be a microprocessor or any conventional processor.
[0026] See Figure 2 , Figure 2 This is a functional diagram of a first embodiment of a wireless data transmission system using compression technology provided by an embodiment of the present invention. The wireless data transmission system Z using compression technology includes: a data generation module (1), a gateway (2), and a server (3) connected by communication. The data generation module (1) includes a data generator (11), a compression module (12), and a system single-chip (13). The data generator (11) generates wireless data to be transmitted and sends the wireless data to be transmitted to the compression module (12). The compression module (12) is used to utilize adaptive differential pulse coding. The modulation algorithm compresses the wireless data to be transmitted into compressed data. The compressed data is transmitted through the protocol terminal (131) of the system single chip (13) at a predetermined frequency using a proprietary protocol. The gateway terminal (2) includes a gateway protocol terminal (21) and a transmission module (22). The gateway protocol terminal (21) is used to receive the compressed data packets and send the compressed data packets to the transmission module (22) for transmission. The server (3) is used to receive and decompress the compressed data packets transmitted by the transmission module (22) to realize the transmission of the wireless data to be transmitted.
[0027] It should be noted that the wireless data to be transmitted is data with a waveform. The server (3) includes a decompression module (31), which is used to decompress the compressed data in the compressed data packet.
[0028] The data generator (11) includes at least one sensing chip, which includes at least one of a current sensing chip, a voltage sensing chip, a temperature sensing chip, and a humidity sensing chip; and the wireless data to be transmitted generated by the data generator (11) includes at least the sensing data obtained by one sensing chip.
[0029] The compression module (12) is integrated into the system single chip (13), and the compression ratio of the compression module (12) is between 10% and 25%.
[0030] The transmission module (22) includes a wireless network unit (221) and a wired network unit (222), which are used to transmit decompressed sensing data to the server (3).
[0031] See Figure 3 , Figure 3This is a functional diagram of a second embodiment of a wireless data transmission system using compression technology provided by an embodiment of the present invention. The number of data generation modules (1) is greater than the number of gateways (2), and each gateway (2) is configured to receive compressed data packets sent by multiple data generation modules (1). The data transmission loss rate between the data generation modules (1) and the gateways (2) is between 0% and 0.5%.
[0032] For example, in an embodiment of the present invention, the wireless data transmission system Z further includes a plurality of data generation modules (1) and a plurality of gateways (2), and the total number of data generation modules (1) is greater than the total number of gateways (2), and a single gateway (2) is configured to receive compressed data packets sent by a plurality of data generation modules (1).
[0033] Furthermore, as mentioned above, compressed data packets are broadcast in large quantities from the data generation module (1) at a predetermined frequency and are scanned and received by the gateway (2). In the case of multiple gateways (2), in order to avoid packet loss due to mutual interference when multiple data generation modules (1) send packets at the same frequency, the present invention staggers the time points when multiple data generation modules (1) send packets and adopts a method of sending packets according to a specific time sequence to improve this problem. Specifically, for a gateway (2) corresponding to multiple data generation modules (1), it can sort the multiple data generation modules (1) through a proprietary sorting method and notify each data generation module (1) of its individual sorting through the aforementioned wireless communication method between it and the multiple data generation modules (1) (e.g., the broadcast mode of a proprietary protocol); after confirming its own sorting, each data generation module (1) sends compressed data packets to the gateway (2) in turn according to the sorting, thereby staggering the sending behavior of each data generation module (1) and avoiding the problem of packet loss caused by sending packets at the same frequency.
[0034] The main difference between this embodiment and the first embodiment is that the wireless data transmission system Z of the second embodiment further includes multiple data generation modules (1) and multiple gateways (2), and the correspondence between the data generation modules (1) and the gateways (2) can be that a single gateway (2) corresponds to multiple data generation modules (1), so the total number of data generation modules (1) is greater than the total number of gateways (2). Multiple gateways (2) communicate with a single server (3), which manages the gateways (2) and the data generation modules (1). Furthermore, although... Figure 3The diagram only shows two data generation modules (1) corresponding to a single gateway (2). In actual implementation of the present invention, the number of data generation modules (1) corresponding to a single gateway (2) can be adjusted or expanded as needed, and no limitation is made here.
[0035] As can be seen, the wireless data transmission system using compression technology proposed in this invention compresses the data to be transmitted using the Adaptive Differential Pulse Code Modulation (ADPCM) algorithm, forming multiple compressed packets to reduce the required data transmission volume. These compressed packets are then sent to the gateway using a proprietary protocol that eliminates the need for a handshake connection, ensuring that the gateway receives the compressed packets and forwards them to the server. This overcomes the problem that existing BLE standard protocols cannot support large-scale applications. Furthermore, the wireless data transmission system of this invention uses wireless transmission to send data, eliminating the need for cabling and requiring no downtime of manufacturing equipment during installation, making it more convenient to use.
[0036] Compared with existing technologies, this invention provides a wireless data transmission system using compression technology. A data generator generates wireless data to be transmitted and sends it to a compression module. The compression module compresses the wireless data using an adaptive differential pulse code modulation algorithm. The gateway includes a gateway protocol terminal and a transmission module. The gateway protocol terminal receives compressed data packets and sends them to the transmission module for transmission. A server receives and decompresses the compressed data packets transmitted by the transmission module to achieve the transmission of the wireless data. This system enables low-cost, high-efficiency, and high-real-time wireless data transmission in large-scale environments.
[0037] The present application will now be described with reference to specific embodiments.
[0038] For example, the data generation module (1) is a data supply element that provides data packets, including a data generator (11), a compression module (12), and a system-on-a-chip (13). The data generator (11) is mainly used to generate data. In a particular embodiment, the data generator (11) includes at least one sensor chip, and the sensor chip is one of a current sensing chip, a voltage sensing chip, a temperature sensing chip, and a humidity sensing chip; in this embodiment, the data generated by the data generator (11) is the sensing data obtained by the sensing chip, such as the changes in state properties such as current, voltage, temperature, and humidity relative to time. The data generator (11) is communicatively connected to the compression module (12) and transmits the data it generates to the compression module (12) for compression. In a preferred embodiment, the compression module (12) compresses the data provided by the data generator (11) using an adaptive differential pulse code modulation (ADPCM) algorithm to form compressed data.
[0039] It's important to note that ADPCM is an audio compression algorithm primarily used to convert analog signals into digital formats while effectively reducing the amount of data required. ADPCM is derived from PCM (Pulse Code Modulation) and DPCM (Differential Pulse Code Modulation). In short, PCM measures the amplitude of audio at fixed time intervals and records each amplitude measurement with a fixed number of bits (i.e., quantization precision, e.g., 16 bits); DPCM, on the other hand, records the difference between the current sample and the previous sample. Because audio is a signal that changes continuously over a short period, the amplitude difference recorded by DPCM is smaller than the full amplitude. Therefore, DPCM can be represented with fewer bits than PCM, thus achieving a compression effect.
[0040] ADPCM further improves upon DPCM. If the audio includes signal segments with significantly different amplitudes, a fixed quantization stage cannot effectively and accurately record these drastic signal changes, leading to compression distortion. Therefore, ADPCM has adaptive characteristics; that is, it can adaptively or dynamically adjust the quantization stage size according to the trend of signal changes. For example, if the amplitude difference of the audio is extremely large within a time segment (the signal undergoes a drastic change), ADPCM will automatically increase the quantization stage, thus capturing a larger change with the same number of bits. Conversely, if the amplitude difference of the audio is small (the signal is stable), ADPCM will automatically decrease the quantization stage, thus providing more accurate encoding when the audio changes are less significant and reducing background noise.
[0041] In the present invention, in an embodiment where the data generated by the data generator (11) has a wave-like shape, since APDCM is suitable for compressing audio, and audio is also a wave-like signal, the waveform data generated by the data generator (11) of the present invention is also suitable for compression using the APDCM algorithm, such as the change data of properties like current, voltage, temperature, and humidity relative to time. To enable the adaptive function of APDCM, a step table and an index table are needed as the basis for the adaptive quantization level of APDCM. The step table is a preset array containing a series of specific values, where each number represents a possible quantization level size; the index table provides the direction and amount of change for altering the quantization level. By combining the step table and the index table, a suitable adaptive quantization level control rule can be established for the APDCM algorithm. The following is a standard index table and step table for APDCM: Table 1: ADPCM Standard Index Table
[0042] Table 2: ADPCM Standard Step Table
[0043] Table 3: ADPCM Index Table Used in this Application
[0044] Table 4: ADPCM step table used in this application
[0045] The ADPCM compression effect can be quantified by total harmonic distortion and noise (THD+N) to obtain... Figure 4 and Figure 5 The results are shown in the graphs: the relationship between THD+N and frequency for the standard index table and step table (Tables 1 and 2) using ADPCM compression, and the specific ADPCM compression index table and step table (Tables 3 and 4) used in this invention. The basic physical meaning of THD+N is the proportion of total harmonic distortion and noise generated by the signal after passing through a device (e.g., a compression module), which can be expressed as a percentage (%) or decibels (dB or dBc; dBBrA, dB relative to an absolute reference under A-weighted weighting). Therefore, in this invention, a lower THD+N value indicates lower distortion and noise in the compressed signal and a smaller negative impact of compression on the signal.
[0046] from Figure 4As can be seen, in the frequency range of 20Hz to 20kHz, the THD+N values using the ADPCM compression standard index table and step table range from approximately -70 to -20. And... Figure 5 In the middle, in with Figure 4 Within the same frequency range, the THD+N value range using the ADPCM compression index table and step table specific to this invention is between -70 and -40, which is significantly smaller than... Figure 4 Therefore, compared to standard index tables and step tables, the ADPCM compression index table and step table of this invention can further reduce the distortion and noise of the compressed signal, and can maintain signal integrity while meeting compression requirements.
[0047] In a specific embodiment, the compression ratio of the compression module (12) is between 10% and 25%. Specifically, the compression ratio of the ADPCM algorithm implemented by the compression module (12) of the present invention is between 10% and 25%, depending on the quality of the data. Furthermore, the transmission time of compressed data will be shorter than that of uncompressed data, thereby improving transmission efficiency.
[0048] For example, consider original 16-bit PCM data at 8000 Hz, transmitted at a data rate of 128 kbps. This original data is compressed into 4-bit ADPCM encoding using the ADPCM algorithm. The compression ratio can be understood as the ratio between the compressed data size and the original data size. In this example, the compression ratio can be obtained using the following formula:
[0049] According to the above formula, the compression ratio provided by the ADPCM algorithm in the example above is (4 / 16) * 100% = 25%. Furthermore, the transmission rate of the compressed data can be calculated from the compression ratio and the transmission rate of the original data to be transmitted, as shown in the following formula:
[0050] According to the above formula, the transmission rate of the compressed ADPCM code is calculated to be 128kbps * 0.25 = 32kbps, which saves 75% of bandwidth compared to the original 128 kbps. Therefore, in terms of transmission rate, the compressed ADPCM code occupies much less bandwidth than the original data during transmission. Thus, under the same bandwidth, the transmission time of the ADPCM code will be shorter than that of the original data, thereby achieving the goal of reducing transmission time and improving transmission efficiency.
[0051] The compression module (12) has a communication connection with the system-on-a-chip (13) to transmit compressed data to the system-on-a-chip (13). The system-on-a-chip (13) has a protocol terminal (131) configured to convert compressed data into multiple compressed data packets and transmit these compressed data packets wirelessly. Specifically, the protocol terminal (131) is configured to transmit these compressed data packets using a proprietary protocol at a predetermined frequency. The predetermined frequency can be between 2.4 GHz and 2.483 GHz, and can be adjusted or changed according to actual usage needs. Alternatively, in certain embodiments, the compression module (12) can also be integrated into the system-on-a-chip (13).
[0052] The gateway (2) serves as a communication converter between the data generation module (1) and the server (3). The gateway (2) includes a gateway protocol (21) and a transmission module (22). The gateway protocol (21) is configured to establish a communication connection with the protocol (131) in the data generation module (1) at a predetermined frequency using the proprietary protocol. Compressed data packets are transmitted to the gateway protocol (21) via the protocol (131) of the system chip (13) and are thus received by the gateway (2). In a particular embodiment, the proprietary protocol supports a broadcast mode, whereby the protocol (131) widely and sequentially sends compressed data packets outwards. If the gateway protocol (21) of the gateway (2) scans a compressed data packet at a preset time point in the specific time sequence, it can receive it without establishing a bidirectional connection (e.g., a handshake) between the protocol (131) and the gateway protocol (21), thus saving time and speed in transmission.
[0053] For example, in a particular embodiment, the proprietary protocol is the BLE protocol, and the link layer in the BLE protocol, after receiving compressed data from the host layer, is configured to convert such compressed data into compressed data packets with a broadcast packet format and send such compressed data packets out in a bulk manner, without needing to go down to the L2CAP layer for a handshake connection.
[0054] Furthermore, it should be noted that the proprietary protocol communication of this invention employs a predetermined frequency at which a certain number of compressed data packets are sent according to the size of the application field. Specifically, this invention uses a large number of compressed data packets to cover the receiving field range and minimizes the impact of obstacles in the field blocking reception, ensuring that the compressed data packets can be reliably received. Testing has shown that the proprietary protocol broadcasting data packets used in this invention can increase the transmission distance to 80 to 100 meters, reduce the latency to 15 to 20 milliseconds, and achieve a data transmission loss rate of less than 0.5%, specifically between 0% and 0.5%. The data transmission loss rate can be obtained using the following formula:
[0055] The transmission module (22) is used to establish a communication connection between the gateway (2) and the server (3). In a specific embodiment, the transmission module (22) and the server (3) can also communicate using the proprietary protocol mentioned above, that is, the data generation module (1) and the transmission module (22) of the gateway (2), and the transmission module (22) and the server (3) both use the proprietary protocol for communication transmission. On the other hand, in other embodiments, the transmission module (22) and the server (3) can also communicate using communication technologies other than the proprietary protocol. For example, the transmission module (22) may have both a wireless network module (221) and a wired network module (222). After the gateway protocol end (21) receives the compressed data packet, the gateway end (2) will transmit the compressed data packet to the server (3) via the transmission module (22) in a data format that conforms to the communication method between the gateway end (2) and the server (3) via a wireless or wired method. In a specific embodiment, the wireless network module (221) can be a Wi-Fi network module, and the wired network module (222) can be an Ethernet network module.
[0056] The server (3) acts as the central hub of the system, responsible for receiving, managing, and analyzing the received data. After receiving compressed data packets transmitted by the gateway (2), the server (3) decompresses the compressed data packets into decompressed data through a decompression module (31). In a specific embodiment, the decompression module (31) decompresses the compressed data packets in a manner appropriate for ADPCM compressed data to read the data in the data packets. In addition, in a specific embodiment, the server (3) may further include other data analysis or monitoring modules to analyze and manage the decompressed data and further determine the relevant status of the data generation module (1) that serves as the data source. In addition, in a specific embodiment, the server (3) may connect to an external database (e.g., a factory master database or a cloud database) to share data and facilitate data storage and analysis.
[0057] Compared with existing technologies, this invention provides a wireless data transmission system using compression technology. A data generator generates wireless data to be transmitted and sends it to a compression module. The compression module compresses the wireless data using an adaptive differential pulse code modulation algorithm. The gateway includes a gateway protocol terminal and a transmission module. The gateway protocol terminal receives compressed data packets and sends them to the transmission module for transmission. A server receives and decompresses the compressed data packets transmitted by the transmission module to achieve the transmission of the wireless data. This system enables low-cost, high-efficiency, and high-real-time wireless data transmission in large-scale environments.
[0058] See Figure 6 , Figure 6 A flowchart illustrating a wireless data transmission method using compression technology, provided by an embodiment of the present invention, is applied to the system described above. The method includes the following steps: S601: Generates wireless data to be transmitted via a data generator; S602: Compress the wireless data to be transmitted into compressed data using an adaptive differential pulse code modulation algorithm; S603: The compressed data is converted into multiple compressed data packets using the protocol terminal of the system single chip, and the compressed data packets are sent at a predetermined frequency using a proprietary protocol; S604: The gateway protocol receives the compressed data packet and transmits the compressed data packet to the server through the transmission module; S605: The server's decompression module is used to decompress the compressed data in the compressed data packet to realize the transmission of the wireless data to be transmitted.
[0059] Specifically, a data generator generates the wireless data to be transmitted. In a particular embodiment, the data generator includes at least one sensing chip, which is one of a current sensing chip, a voltage sensing chip, a temperature sensing chip, or a humidity sensing chip. Furthermore, in a particular embodiment, the data generated by the data generator is wave-shaped data.
[0060] The wireless data to be transmitted is then compressed into compressed data using an adaptive differential pulse code modulation (ADPCM) algorithm. In a specific embodiment, the compression ratio of the wireless data to be transmitted relative to the compressed data is between 10% and 25%.
[0061] The compressed data is converted into a plurality of compressed data packets using a protocol endpoint, and these compressed data packets are transmitted at a predetermined frequency using a proprietary protocol. In a particular embodiment, the frequency range may be between 2.4 GHz and 2.483 GHz, and may be adjusted or changed according to actual usage requirements.
[0062] The gateway receives compressed data packets and transmits them to a server via a transmission module. In a specific embodiment, the compressed data is transmitted to the server via a wireless or wired network. Furthermore, in a specific embodiment, the data transmission loss rate is between 0% and 0.5%.
[0063] Finally, the server's decompression module decompresses the compressed data packet, thus enabling wireless data transmission.
[0064] In summary, the wireless data transmission method using compression technology provided by this invention can achieve data transmission that is suitable for large areas, highly efficient, and highly real-time.
[0065] Compared to known remote device data transmission and management systems, the wireless data transmission system and method of this invention, employing compression technology, compresses device data using the ADPCM algorithm, saving transmission time required for subsequent operations. Furthermore, this invention uses a proprietary wireless protocol broadcast communication method to send compressed device data packets, significantly expanding the usable range of wireless transmission, substantially reducing data latency, improving data immediacy, and maintaining a remarkably low data transmission loss rate, ensuring reliable data packet reception. Moreover, since this invention uses wireless communication between the device and the gateway, no additional wiring is required for data transmission when expanding the device; simply installing the data generation module on the device suffices for setup, making installation simpler and more convenient. Furthermore, this invention has been tested and demonstrates high reliability, maintaining a stable transmission rate of over 99% even after continuous operation for more than 48 hours in an interference environment. Overall, this invention can be applied to the status monitoring of manufacturing equipment in smart factories, determining the operating status of manufacturing equipment, analyzing production line efficiency, and realizing a remote automated monitoring architecture.
[0066] Compared with existing technologies, this invention first generates wireless data to be transmitted using a data generator; then compresses the wireless data into compressed data using an adaptive differential pulse code modulation algorithm; finally, the system single-chip's protocol terminal converts the compressed data into multiple compressed data packets and transmits these packets at a predetermined frequency using a proprietary protocol; the gateway protocol terminal receives the compressed data packets and transmits them to a server via a transmission module; finally, the server's decompression module decompresses the compressed data packets to achieve the transmission of the wireless data to be transmitted. This invention enables low-cost, high-efficiency, and high-real-time wireless data transmission in large-scale environments.
[0067] This invention also provides a storage medium storing a computer program, wherein the computer program is configured to implement the steps in the above method embodiments when running.
[0068] Specifically, in this embodiment, the storage medium can be configured to store a computer program for performing the following steps: S601: Generates wireless data to be transmitted via a data generator; S602: Compress the wireless data to be transmitted into compressed data using an adaptive differential pulse code modulation algorithm; S603: The compressed data is converted into multiple compressed data packets using the protocol terminal of the system single chip, and the compressed data packets are sent at a predetermined frequency using a proprietary protocol; S604: The gateway protocol receives the compressed data packet and transmits the compressed data packet to the server through the transmission module; S605: The server's decompression module is used to decompress the compressed data in the compressed data packet to realize the transmission of the wireless data to be transmitted.
[0069] Specifically, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing computer programs, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0070] Compared with existing technologies, this invention first generates wireless data to be transmitted using a data generator; then compresses the wireless data into compressed data using an adaptive differential pulse code modulation algorithm; finally, the system single-chip's protocol terminal converts the compressed data into multiple compressed data packets and transmits these packets at a predetermined frequency using a proprietary protocol; the gateway protocol terminal receives the compressed data packets and transmits them to a server via a transmission module; finally, the server's decompression module decompresses the compressed data packets to achieve the transmission of the wireless data to be transmitted. This invention enables low-cost, high-efficiency, and high-real-time wireless data transmission in large-scale environments.
[0071] This invention also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the steps described in the method embodiments above.
[0072] Specifically, the aforementioned electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the aforementioned processor, and the input / output device is connected to the aforementioned processor.
[0073] Specifically, in this embodiment, the processor can be configured to perform the following steps via a computer program: S601: Generates wireless data to be transmitted via a data generator; S602: Compress the wireless data to be transmitted into compressed data using an adaptive differential pulse code modulation algorithm; S603: The compressed data is converted into multiple compressed data packets using the protocol terminal of the system single chip, and the compressed data packets are sent at a predetermined frequency using a proprietary protocol; S604: The gateway protocol receives the compressed data packet and transmits the compressed data packet to the server through the transmission module; S605: The server's decompression module is used to decompress the compressed data in the compressed data packet to realize the transmission of the wireless data to be transmitted.
[0074] Compared with existing technologies, this invention first generates wireless data to be transmitted using a data generator; then compresses the wireless data into compressed data using an adaptive differential pulse code modulation algorithm; finally, the system single-chip's protocol terminal converts the compressed data into multiple compressed data packets and transmits these packets at a predetermined frequency using a proprietary protocol; the gateway protocol terminal receives the compressed data packets and transmits them to a server via a transmission module; finally, the server's decompression module decompresses the compressed data packets to achieve the transmission of the wireless data to be transmitted. This invention enables low-cost, high-efficiency, and high-real-time wireless data transmission in large-scale environments.
[0075] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that the present invention is not limited to the described order of actions, because according to the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to the present invention.
[0076] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0077] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical or other forms.
[0078] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0079] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0080] If the aforementioned integrated units are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0081] The embodiments of the present invention have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A wireless data transmission system using compression techniques, characterized in that, The system comprises: a data generation module, a gateway end and a server connected in communication, the data generation module comprises a data generator, a compression module and a system on chip, the data generator is configured to generate wireless data to be transmitted and send the wireless data to be transmitted to the compression module, the compression module is configured to compress the wireless data to be transmitted into compressed data by using an adaptive differential pulse code modulation algorithm, wherein the compressed data is converted into a plurality of compressed data packets by a protocol end of the system on chip and sent at a predetermined frequency by a proprietary protocol; the gateway end comprises a gateway protocol end and a transmission module, the gateway protocol end is configured to receive the compressed data packets and send the compressed data packets to the transmission module for transmission; the server is configured to receive and decompress the compressed data packets transmitted by the transmission module to achieve the transmission of the wireless data to be transmitted.
2. The system of claim 1, wherein, The data generator comprises at least one sensing chip, and the sensing chip comprises any one of a current sensing chip, a voltage sensing chip, a temperature sensing chip and a humidity sensing chip; and the wireless data to be transmitted generated by the data generator comprises sensing data obtained by the at least one sensing chip.
3. The system of claim 2, wherein, The server comprises a decompression module configured to decompress the compressed data in the compressed data packets.
4. The system of claim 3, wherein, The compression module is integrated in the system on chip, and the compression ratio of the compression module is between 10% and 25%.
5. The system of claim 4, wherein, The transmission module comprises a wireless network unit and a wired network unit, and the wireless network unit and / or the wired network unit are configured to transmit the decompressed sensing data to the server.
6. The system of claim 5, wherein, The number of the data generation modules is greater than the number of the gateway ends, and any gateway end is configured to receive the compressed data packets sent by a plurality of data generation modules.
7. The system of claim 6, wherein, The data transmission loss rate between the data generation module and the gateway end is not greater than 0.5%.
8. A method for wireless data transmission using compression techniques, applied to the system according to any one of claims 1 to 7, characterized in that, The method comprises: generating wireless data to be transmitted by a data generator; compressing the wireless data to be transmitted into compressed data by using an adaptive differential pulse code modulation algorithm; converting the compressed data into a plurality of compressed data packets by a protocol end of a system on chip and sending the compressed data packets at a predetermined frequency by a proprietary protocol; receiving the compressed data packets by a gateway protocol end and transmitting the compressed data packets to a server by a transmission module; decompressing the compressed data in the compressed data packets by a decompression module of the server to achieve the transmission of the wireless data to be transmitted.
9. A storage medium, characterized by The storage medium stores a computer program, wherein the computer program is configured to implement the method of claim 8 when executed.
10. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the computer program to implement the method of claim 8.
