IoT CoAP Block Transmission Server Push Mechanism
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current CoAP block transmission methods in IoT devices are inefficient due to high overheads and power consumption, especially when dealing with a large number of terminal devices, as they require serial data block requests and responses, leading to increased pressure on the server and higher power usage.
Innovation Solution
A new CoAP block transmission method where the server actively pushes data blocks to the terminal device at specified intervals, reducing the need for frequent request packets and allowing multiple data blocks to be sent in parallel, using a combination of confirmable and non-confirmable CoAP messages to manage data transmission efficiently.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If standard CoAP block transmission is used, then data can be transmitted reliably, but transmission efficiency is low and power consumption is high
Solution Approach 1:
Instead of the traditional client-request/server-response model where the terminal device must send requests for each data block, this patent inverts the communication pattern by enabling the server to actively push data blocks to the terminal device. The server sends data blocks proactively based on pre-negotiated parameters (N value and time interval), eliminating the need for repeated client requests and significantly improving transmission efficiency while maintaining reliability through the confirmable CoAP message mechanism.
Solution Approach 2:
Before actual data transmission begins, the terminal device and server perform a negotiation phase where they agree on key parameters including N (number of consecutive data blocks) and the time interval between blocks. This preliminary action allows the server to autonomously push multiple data blocks without requiring real-time negotiation or client requests, thereby improving transmission efficiency while ensuring reliable delivery through pre-established agreement on transmission parameters.
2Reliability
If standard CoAP block transmission is used, then data can be transmitted reliably, but power consumption increases
Solution Approach 1:
By inverting the communication model from client-request to server-push, the terminal device's radio interface remains in receive mode for extended periods rather than repeatedly transitioning to transmit mode for each request. This inversion dramatically reduces the terminal device's power consumption since receiving data is more energy-efficient than initiating multiple transmission cycles, while reliability is maintained through the confirmable CoAP message acknowledgments.
Solution Approach 2:
The server continuously pushes N data blocks to the terminal device at predetermined time intervals without interruption or waiting for client requests between blocks. This continuous transmission approach keeps the terminal device's receiver active and efficient, avoiding the power-wasting idle states and repeated wake-up cycles that occur in traditional request-response protocols, thereby reducing overall power consumption while ensuring complete data delivery.
3Reliability
If serial data block requests are used, then each block can be confirmed, but server pressure increases
Solution Approach 1:
The patent merges multiple individual data block transmissions into a single coordinated push operation. Instead of handling N separate request-response cycles, the server processes and sends N data blocks in one continuous operation based on pre-negotiated parameters. This merging reduces the total number of protocol handshakes and server processing cycles, thereby alleviating server pressure while maintaining confirmation reliability through the confirmable CoAP message mechanism applied to the consolidated transmission.
Solution Approach 2:
The negotiation of transmission parameters (N value, time intervals, data block sizes) occurs in advance before the actual data transfer. This preliminary action allows the server to prepare and queue multiple data blocks for push transmission, reducing real-time processing pressure during the actual data transfer. The server can efficiently manage its resources by batching operations based on pre-agreed parameters rather than reacting to individual client requests, thus reducing server pressure while ensuring reliable delivery.
Data Source
Figure 1
Figure 2
Figure 3~4
AI summary
Embodiments of this application disclose an Internet of Things system, to improve efficiency in an Internet of Things data transmission process. A terminal device is configured to send a first data request to a server, to instruct the server to continuously send a plurality of data packets. The server continuously sends N data packets to the terminal device based on the first data request, and the N data packets include at least one NON data packet. A sending time interval between two consecutive data packets in the N data packets is a time interval T. The NON data packet indicates that the terminal device does not need to send a receiving response to the server, and the server actively pushes a next data packet to the terminal device. In this way, a plurality of data packets are continuously sent, to reduce packet exchange in a data block download process, thereby improving Internet of Things data transmission efficiency. In addition, the embodiments of this application further provide a data sending method and device in the Internet of Things system.