Instant Messaging Voice Data Caching for Network State Adaptation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In bad signal environments, voice data transmissions during communication are affected, leading to data loss and disrupted user experiences, especially in important instant messaging scenarios.
Innovation Solution
A method and device that cache voice data when the network state is abnormal and resend it when conditions improve, ensuring data integrity and maintaining communication sequence by utilizing transmission power thresholds to determine network state and employing notification messages to manage delayed data.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If voice data is transmitted in real-time during instant messaging, then communication speed is improved, but data loss occurs in bad network environments
Solution Approach 1:
The patent applies preliminary action by caching voice data packets locally before transmission when network conditions are poor. The sending end device stores voice data in a cache queue when network quality falls below a threshold, then transmits the cached data when network conditions improve, ensuring complete data delivery without real-time transmission risks
Solution Approach 2:
The patent uses a cache queue as an intermediary buffer between the voice data source and the transmission channel. This intermediary storage mechanism decouples the data generation rate from the transmission rate, allowing data to be accumulated and transmitted at appropriate times when network conditions permit, thus resolving the conflict between speed and reliability
2Reliability
If voice data is cached and resent when network state is abnormal, then data loss is avoided, but communication delay increases
Solution Approach 1:
The patent implements dynamic adaptive caching by continuously monitoring network quality indicators and adjusting the caching behavior accordingly. When network quality is good, data is transmitted immediately without caching. When network quality deteriorates below a threshold, caching is activated. This dynamic adjustment minimizes unnecessary delays while ensuring reliability when needed
Solution Approach 2:
The patent changes the transmission parameter from real-time sending to delayed sending based on network quality parameters. By monitoring network quality metrics and adjusting the transmission timing parameter, the system optimizes the balance between data completeness and communication delay, transmitting cached data as soon as network conditions improve
3Reliability
If transmission power is increased to improve signal quality, then network state improves, but energy consumption increases
Solution Approach 1:
The patent applies self-service by having the sending end device autonomously monitor its own transmission power and network quality, then automatically adjust transmission strategies without external control. When network quality is poor, the device self-adjusts by caching data locally rather than increasing transmission power, thereby avoiding the high energy consumption associated with high-power transmission while maintaining communication reliability
Data Source
Figure 1~2
Figure 3
Figure 4
AI summary
The present disclosure relates to a method and device for processing information. The method includes: determining (S11) current network state during instant messaging; if it is determined that the current network state is abnormal, caching (S12) received first voice data; and if it is determined that the current network state is back to normal, sending (S13) the first voice data to a receiving end. Technical solutions of the present disclosure can avoid the case that parts of the voice data are lost at the receiving end due to bad network state. In particular, when contents of the instant messaging are very important, the technical solutions can also avoid that important information during the instant messaging are lost at the receiving end, and thus user experience is improved.