Data transmission method and device based on cross-thread communication, electronic equipment and storage medium
By dynamically switching cross-thread communication methods and utilizing batch-processed structured cloning, serialization, and circular queue transmission, the problems of high copying overhead, high memory consumption, and long synchronization delay in multi-threaded communication on the Web side are solved, achieving efficient data transmission.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN LEXIN SOFTWARE TECH CO LTD
- Filing Date
- 2026-04-17
- Publication Date
- 2026-07-14
AI Technical Summary
Existing technologies suffer from high copying overhead, high memory consumption, long synchronization latency, and lack of flow control and adaptation strategies in multi-threaded communication on the web in scenarios with large data volumes, resulting in wasted performance.
By calculating the amount of message data transmitted across threads, different communication methods are dynamically switched according to preset thresholds and message data volume. Batch processing structured cloning, serialization into binary files, and circular queue transmission are adopted, combined with a lock-free synchronization mechanism to achieve efficient transmission of cross-thread communication.
It reduces CPU consumption, memory usage, and latency in cross-thread communication, and improves data transmission efficiency, especially achieving parallel read and write operations when transmitting large volumes of messages.
Smart Images

Figure CN122394741A_ABST