Sensor Data Transmission Method with Variable Packet Length
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing sensor data transmission protocols, such as the LSL protocol, face challenges in low-power embedded systems due to inefficient bandwidth utilization, high power consumption, and potential data transmission errors, particularly in scenarios with varying signal types and sampling rates.
Innovation Solution
A sensor data transmission method that dynamically adjusts the data packet length and format based on signal type, acquisition rate, and sending rate, using a packet header with a frame header, load length field, and check field, to optimize bandwidth usage and reduce power consumption.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the LSL protocol is used for sensor data transmission, then the communication flow follows TCP/IP standards, but the transmission bandwidth is wasted due to fixed packet length and unnecessary header overhead
Solution Approach 1:
The patent applies dynamics by making the packet length adjustable rather than fixed. The data packet structure includes a variable load portion that can change length based on actual signal data requirements, allowing the system to adapt packet size to minimize bandwidth waste while maintaining TCP/IP compatibility through standardized header fields.
Solution Approach 2:
The patent extracts unnecessary fixed overhead from the packet structure by implementing a variable-length load portion. The packet header contains only essential control information (frame header, load length field, check field), while the actual signal data occupies only the necessary space in the load portion, removing the waste of fixed-length padding.
2Device complexity
If fixed packet length is used in LSL protocol, then packet structure is simple, but transmission efficiency decreases due to padding with zero bytes for low sampling rate signals
Solution Approach 1:
The patent makes the packet structure dynamically adaptable by introducing a variable load length field. This allows the packet to adjust its total length based on the actual signal data size, eliminating the need for zero-byte padding while maintaining structural simplicity through a clear header-load-separator-footer organization.
Solution Approach 2:
The patent changes the packet length parameter from fixed to variable. The load length field in the packet header specifies the actual data length, allowing the system to optimize transmission efficiency by sending only the necessary data for each signal type without unnecessary padding.
3Reliability
If frame header+frame tail parsing mode is used in LSL protocol, then data transmission is standardized, but packet parsing accuracy decreases due to easy packet missed detection
Solution Approach 1:
The patent introduces a check field in the packet header that provides feedback for data verification. This feedback mechanism allows the receiving end to verify packet integrity and detect parsing errors, improving packet parsing accuracy while maintaining standardized transmission through the structured header format.
4Speed
If LSL protocol is used without error verification, then transmission speed is maintained, but data consistency between sender and receiver cannot be verified
Solution Approach 1:
The patent incorporates a check field that provides feedback on data consistency without significantly impacting transmission speed. This feedback mechanism enables verification of data integrity between sender and receiver while maintaining efficient transmission through the optimized packet structure.
Data Source
AI summary
Disclosed are a sensor data transmission method and a device. The method includes: a periodic signal acquisition apparatus receiving a message requesting for data packet description information from a data receiving end and reporting the data packet description information to the data receiving end, wherein the data packet description information includes: signal type information, the acquisition rate for each type of signal, and the sending rate of a data packet; receiving a data reporting request from the receiving end, and sending a data packet to the data receiving end according to the sending rate of the data packet in the data packet description information, wherein the data packet sent to the data receiving end contains a packet header portion and a load portion, the packet header portion includes a frame header field, a load length field, and a check field.


