Video Call Packet Loss Handling via Cache Clearing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
During video calls, continuous screen blurring occurs due to excessive packet loss of multimedia data packets, which are discarded by the electronic device to avoid delay and queuing, leading to incomplete data transmission and parsing issues for peer devices.
Innovation Solution
The electronic device implements a data processing method that monitors packet loss during video calls, clears cached multimedia data packets if the packet loss exceeds a predetermined threshold, and resumes sending new multimedia data packets, including I-frames, to ensure seamless video transmission.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of time
If the electronic device discards multimedia data packets to avoid excessive delay and queuing, then the transmission delay is reduced, but the peer electronic device cannot parse the packets causing continuous screen blurring
Solution Approach 1:
The patent changes the packet handling parameter from simple discard to conditional discard based on cache status. When cache is full, packets are discarded; when cache has space, packets are cached and forwarded. This parameter-based decision resolves the contradiction by adapting the handling strategy to current system state.
Solution Approach 2:
The patent implements preliminary caching of multimedia data packets before forwarding them to the peer device. By pre-caching packets in available space, the system ensures that even if transmission occurs at different rates, the receiving device has packets ready to parse, preventing screen blurring while maintaining timely transmission.
2Reliability
If the electronic device caches multimedia data packets to ensure complete data transmission, then the packet parsing success rate is improved, but the data queuing delay increases
Solution Approach 1:
The patent applies partial caching by storing packets only when cache space is available, not always caching all packets. This partial action approach ensures sufficient packets are cached for successful parsing while avoiding excessive queuing delay when cache is full, thus resolving the contradiction between reliability and delay.
Solution Approach 2:
The patent implements dynamic packet handling where the caching behavior adapts based on current cache status. The system dynamically switches between caching mode (when space available) and direct transmission mode (when cache full), creating a flexible system that balances reliability and delay based on real-time conditions.
3Quantity of substance
If the electronic device continuously sends a large quantity of multimedia data packets, then the video call data transmission volume is increased, but the packet loss rate increases causing screen blurring
Solution Approach 1:
The patent introduces the cache as an intermediary buffer between the transmission source and the peer device. This intermediary component absorbs the mismatch between high transmission volume and potential packet loss by temporarily storing packets, ensuring that the receiving device gets complete data without screen blurring while maintaining high data transmission volume.
Data Source
Figure 1~3
Figure 4
AI summary
Provided in the embodiments of the present invention are a data processing method and an electronic device. The method comprises: insofar as a first electronic device is making a video call, acquiring the amount of packet loss of multimedia data packets of the video call within a predetermined period; if the amount of packet loss is greater than or equal to a predetermined threshold, then clearing target multimedia data packets, and transmitting multimedia data packets currently generated by the video call to a server. The target multimedia data packets are: all of the multimedia data packets corresponding to the video call buffered in the first electronic device.