Terminal Data Transmission via Cache and Theoretical Time Control
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing serial port communication methods suffer from data loss due to heavy loads and poor data transmission sensitivity, leading to unreliable communication.
Innovation Solution
A method for data transmission that utilizes a cache space in a terminal device to store data received from a second terminal device and transmit it to a third terminal device, with the goal of controlling data transmission within a theoretical time frame determined by the amount of cached data and the target data transmission value.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Device complexity
If data is transmitted using traditional asynchronous serial port communication, then the communication line is simple and bidirectional communication can be implemented through one pair of transmission lines, but data loss occurs due to heavy load at the receiving terminal
Solution Approach 1:
The patent applies preliminary action by pre-calculating the theoretical transmission time based on the target value of data transmission amount and cached data amount before actual transmission occurs. This allows the system to proactively manage transmission timing and avoid overload conditions at the receiving terminal, thereby preventing data loss while maintaining simple communication lines.
2Productivity
If data transmission is delayed due to heavy load at the transmitting terminal, then the transmitting terminal can process data, but the receiving terminal remains in waiting state and cannot perform subsequent data processing tasks
Solution Approach 1:
The patent applies dynamics by making the data transmission timing flexible and adaptive. Instead of fixed or delayed transmission, the system dynamically determines the optimal transmission time based on real-time conditions at both transmitting and receiving terminals. The theoretical transmission time calculation allows transmission to occur at the most appropriate moment, preventing receiving terminal idle waiting while avoiding transmitting terminal overload.
3Speed
If data is transmitted immediately without time control, then data transmission sensitivity is high, but data loss occurs due to receiving terminal overload
Solution Approach 1:
The patent applies feedback by using the target value of data transmission amount and cached data amount as feedback parameters to determine transmission timing. The system continuously monitors these parameters and adjusts transmission timing accordingly, creating a closed-loop control system that balances transmission speed with receiving terminal capacity, thereby maintaining high speed while preventing data loss.
Data Source
AI summary
A method for data transmission is applied to a first terminal device configured to store data received from a second terminal device into a cache space of the first terminal device, and transmit the data stored in the cache space to a third terminal device. This method includes: obtaining a target value of the amount of data transmission when a data read event is monitored; determining, if the target value of the amount of data transmission is greater than a value of an amount of cached data, a theoretical transmission time according to the target value of the amount of data transmission and the value of the amount of cached data; transmitting data to the third terminal device according to the target value of the amount of data transmission and the value of the amount of cached data within a range of the theoretical transmission time.


