Streaming data processing method and device
By using a blocking queue mechanism in streaming data processing, the acquisition and transmission threads are decoupled, and the rate differences are coordinated, thus solving the problems of single-threaded blocking and multi-threaded rate incoordination, and achieving stable transmission and security of streaming data.
Patent Information
- Application Number
- CN202511755678.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-26
- Publication Date
- 2026-01-27
AI Technical Summary
In a single-threaded architecture, data acquisition, processing, and transmission are tightly coupled. If any link is delayed or the network fluctuates, the process will stop, resulting in audio stuttering and data loss. In a multi-threaded architecture, the difference between acquisition and transmission rates is not coordinated, which affects system stability and data integrity.
A blocking queue mechanism is adopted, in which streaming data is written to and read from the blocking queue through independent acquisition and transmission threads, thereby decoupling the data. The synchronization mechanism of the blocking queue coordinates the difference between acquisition and transmission rates, ensuring orderly data flow and thread safety.
This effectively avoids overall process stagnation, reduces the risk of audio stuttering and data loss, improves system stability and data integrity, and ensures thread safety.
Smart Images

Figure CN121418408A_ABST