Wireless audio transmission protocol optimization algorithm for low-delay dynamic password
By generating the initial encryption key before audio data transmission, selecting a suitable low-latency encryption algorithm and dynamically adjusting the key update frequency, combining redundant synchronous data packets and adaptive transmission strategies, the delay rise, key synchronization problems and network environment dependence on devices with limited computing resources in the prior art are solved, and efficient and secure low-latency audio transmission is achieved.
Patent Information
- Application Number
- CN202510431912.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-08
- Publication Date
- 2025-07-29
AI Technical Summary
The existing wireless audio transmission protocol with low latency dynamic passwords leads to increased latency, key synchronization problems, strong network environment dependence, insufficient adaptability, and difficult to achieve security and performance balance on devices with limited computing resources, and high implementation complexity.
Generate the initial encryption key before audio data transmission, select a suitable low-latency encryption algorithm, dynamically adjust the key update frequency, adopt a redundant synchronous packet mechanism and adaptive transmission strategy, combine the device computing power and network state optimization encryption algorithm, use buffering mechanism and audio packet priority scheduling, and monitor network conditions in real time to adjust transmission parameters.
It significantly reduces the transmission delay of the encryption process, ensures the reliability of key synchronization, avoids decryption failure, improves device performance and audio quality, and ensures efficient and secure transmission in different wireless environments.
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of wireless communication technologies, and particularly to an optimization algorithm for a wireless audio transmission protocol with low-latency dynamic passwords. Background Art
[0002] The optimization algorithm for the wireless audio transmission protocol with low-latency dynamic passwords mainly reduces transmission latency, improves audio quality, and ensures data security by dynamically adjusting the encryption and decryption mechanisms during the audio data transmission process. This algorithm utilizes low-latency encryption technology and adaptive bitrate control to optimize the transmission path and rate of audio data in real time according to changes in the network environment. Through the use of dynamic passwords, the system can generate new encryption keys in a timely manner in different transmission scenarios, avoiding security risks caused by the leakage of fixed passwords, while maintaining low latency to meet the requirements of real-time voice or audio streams. This optimization algorithm is widely used in wireless audio systems such as real-time communication and speech recognition that require high fidelity and low latency.
[0003] In the prior art, although the optimization algorithm for the wireless audio transmission protocol of low-latency dynamic passwords has made breakthroughs in improving transmission efficiency and security, there are also some drawbacks, mainly including the following points: High computational overhead: The generation and update of dynamic passwords require additional computing resources. Especially in real-time audio transmission, each key update will bring computational latency. For devices with limited computing power (such as embedded systems or mobile terminals), this may affect their performance and lead to an increase in audio transmission latency; Key synchronization problem: Since dynamic passwords are generated and updated in real time, both the encryption and decryption parties need to maintain key synchronization. In a wireless environment, due to problems such as signal interference or packet loss, key synchronization may deviate, thereby affecting the correctness of data decryption, resulting in a decline in audio quality or security vulnerabilities; Strong dependence on network environment: This algorithm depends on good network bandwidth and stability. If the network fluctuates greatly, the bandwidth is insufficient or the packet loss is serious, it may affect the update frequency of dynamic passwords and the transmission quality of audio data, resulting in audio interruption or increased latency; Lack of adaptability: Although the algorithm can adjust the transmission rate according to the network situation, it may not be fully adaptive in a complex and ever-changing wireless network environment. For example, in different wireless frequency bands or different user load situations, the algorithm for dynamic adjustment may not be able to respond in a timely manner, thus affecting the overall performance of the system; The balance problem between security and performance: Although dynamic passwords can improve security, in some cases, it is difficult to achieve the best balance between them and the low-latency requirements. Too frequent password updates may increase transmission latency, while too loose update frequency may reduce security, presenting a certain trade-off problem; High implementation complexity: Compared with traditional fixed passwords or static encryption algorithms, the low-latency dynamic password algorithm is relatively complex to implement and needs to handle issues such as the generation, management, and synchronization of dynamic keys. For system designers, it increases the difficulty of development and maintenance, especially in large-scale deployments.
[0004] Therefore, we propose an optimization algorithm for the wireless audio transmission protocol of low-latency dynamic passwords. Summary of the Invention
[0005] To achieve the above object, the present invention provides the following technical solution: An optimization algorithm for the wireless audio transmission protocol of low-latency dynamic passwords, comprising the following steps:
[0006] S1: Generation of the initial encryption key: Before the start of audio data transmission, generate the initial encryption key according to the current network environment, device computing power, and audio transmission requirements. The generation of the encryption key can be through a timestamp, random number, or key exchange protocol to ensure the randomness and security of the encryption key;
[0007] S2: Select an appropriate encryption algorithm: Based on the device's computing resources and network conditions, select an appropriate low-latency encryption algorithm, such as stream encryption algorithms like AES-CTR mode, ChaCha20, etc., to reduce the impact of the encryption process on transmission latency;
[0008] S3: Encrypt audio data: At the sending end, divide the audio data into several data packets and encrypt the data packets using the selected encryption algorithm. After encryption, the data packets are transmitted to the receiving end via a wireless network;
[0009] S4: Dynamic key update: Dynamically adjust the update frequency of the encryption key according to changes in the network environment (such as bandwidth, latency, packet loss rate). Specifically, if the network bandwidth is high and stable, the key update frequency can be reduced; if the network conditions are unstable or the packet loss rate is high, increase the key update frequency to improve security;
[0010] S5: Data packet transmission and decryption: After the receiving end receives the encrypted audio data packets, first confirm the key synchronization situation, and then use the same dynamic key update mechanism as the sending end for decryption to restore the audio data;
[0011] S6: Redundant synchronization data packet mechanism: During the transmission process, periodically send redundant synchronization signal packets to ensure the key synchronization between the sending end and the receiving end. Even if packet loss or a brief network interruption occurs, the receiving end can restore key synchronization to avoid decryption failure;
[0012] S7: Adaptive transmission strategy: During the transmission process, dynamically adjust the transmission rate of the audio data and the complexity of the encryption algorithm according to the real-time transmission status of the audio data (such as data packet transmission latency, packet loss rate, signal strength, etc.) to ensure low latency and high security of the transmission.
[0013] Preferably, among them:
[0014] Dynamic adjustment of the key update frequency: The adjustment of the key update frequency is based on the following parameters:
[0015] Network bandwidth change: When the network bandwidth is large, reduce the key update frequency; when the bandwidth is small, increase the key update frequency.
[0016] Network latency fluctuation: When the latency is stable, the key update interval can be appropriately increased; when the latency fluctuates greatly, the key update frequency can be appropriately reduced.
[0017] Packet loss rate: When the packet loss rate is high, frequently update the key to enhance security; when the packet loss rate is low, the key update frequency can be reduced to reduce network load.
[0018] Device Load: Dynamically select the complexity of the encryption algorithm and the frequency of key updates according to the computing power and load conditions of the device to ensure that the system performance is not overly affected.
[0019] Early Warning Mechanism for Key Updates: By monitoring network conditions and device status in real time, predict possible network problems (such as bandwidth bottlenecks, packet loss, etc.) in advance and update the key in advance to reduce the impact of network problems on the encryption and decryption processes.
[0020] Preferably, among them:
[0021] Redundant Synchronization Packet Mechanism: The synchronization packet is implemented in the following way:
[0022] Regularly Send Synchronization Packets: Send packets containing synchronization information at each fixed time interval to ensure that the receiving end can obtain the latest encryption key in a timely manner. Even if some packets are lost, the receiving end can still restore key synchronization through redundant synchronization packets.
[0023] Fault Tolerance Design of Redundant Packets: When the packet loss rate is high, the sending frequency of redundant synchronization packets can be appropriately increased to ensure that even in a poor network environment, the sending end and the receiving end can still maintain synchronization.
[0024] Structure of Redundant Synchronization Packets: In addition to containing key synchronization information, the synchronization packet can also include information such as network status reports, timestamps, and encryption status, further improving the reliability of synchronization and the robustness of the system.
[0025] Preferably, among them:
[0026] Audio Decryption Buffer Mechanism: At the receiving end, the decryption of audio data is optimized in the following way:
[0027] Adopt a Buffer: Set a buffer for each packet. When a new packet is received, the receiving end first caches it and waits for all relevant synchronization packets or key packets to arrive before decrypting to ensure the continuity of the audio stream.
[0028] Packet Loss Recovery Mechanism: When audio packets are lost, recover them through the buffer mechanism and redundant synchronization packets to ensure that there are no obvious audio breaks or delays during the decryption process.
[0029] Improve Audio Stream Stability: To avoid audio interruptions or stuttering, the receiving end uses adaptive audio playback technology to dynamically adjust the audio playback rate or retransmission strategy according to the progress of data decryption, buffer size, and network conditions.
[0030] Preferably, among them:
[0031] Adaptive mechanism for encryption algorithm selection: The selection of the encryption algorithm is based on device performance and network conditions, specifically including:
[0032] Device computing power: For devices with weak computing power, select encryption algorithms with lower computational complexity (such as RC4 or Salsa20); for high-performance devices, use stronger encryption algorithms (such as AES-CTR).
[0033] Network latency and bandwidth: When the network condition is good, select strong encryption algorithms to improve security; when the network condition is poor, select lightweight encryption algorithms to reduce latency.
[0034] Adjustment of encryption algorithm complexity: According to the network status monitored in real time during the transmission process, dynamically adjust the complexity of the encryption algorithm to ensure that the audio data can find an optimal balance between low latency and high security.
[0035] Preferably, among them:
[0036] Priority scheduling of audio data packets: By marking the priorities of audio data packets, ensure that critical audio data packets can be transmitted and decrypted preferentially, reducing the impact of latency. For example, the critical voice data packets in a voice call have a higher priority to ensure the continuity and clarity of the voice stream.
[0037] Transmission quality feedback mechanism: At the receiving end, regularly feedback the audio transmission quality report to the sending end, including information such as audio quality score, latency time, packet loss rate, etc. The sending end adjusts the encryption strategy, transmission rate or key update frequency of the audio data according to the feedback data to improve the transmission effect.
[0038] Compared with the prior art, the present invention provides an optimization algorithm for a wireless audio transmission protocol with low-latency dynamic passwords, having the following beneficial effects:
[0039] 1. For the optimization algorithm of the wireless audio transmission protocol with low-latency dynamic passwords, by selecting encryption algorithms with low latency and dynamically adjusting the encryption complexity, the present invention significantly reduces the impact of the encryption process on the transmission latency, optimizes the real-time performance of audio transmission, and ensures the reliability of key synchronization in the wireless network through redundant synchronization data packets and a regular key synchronization mechanism. Even if signal loss or interference occurs, synchronization can be restored in a timely manner, avoiding decryption failure caused by out-of-sync keys.
[0040] 2. The optimization algorithm for the wireless audio transmission protocol with low-latency dynamic passwords dynamically selects an appropriate encryption algorithm according to the computing power of the device and the network status, avoiding excessive consumption of device performance by overly complex encryption operations, thus making the system more efficient and extending the service life of the device. This algorithm monitors the network condition in real time, automatically adjusts the encryption strategy and transmission parameters, ensures a high-quality audio experience in different wireless environments, and guarantees the security of data.
[0041] 3. The optimization algorithm for the wireless audio transmission protocol with low-latency dynamic passwords adopts a low-latency dynamic password update mechanism. While reducing latency, it ensures that data during the transmission process cannot be stolen by attackers, and even if the key is leaked, it will not lead to long-term risks. Detailed implementation manners
[0042] The technical solutions in the embodiments of the present invention will be clearly and completely described below. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0043] Embodiment
[0044] An embodiment of an optimization algorithm for a wireless audio transmission protocol with low-latency dynamic passwords
[0045] An optimization algorithm for a wireless audio transmission protocol with low-latency dynamic passwords includes the following steps:
[0046] S1: Generation of the initial encryption key: Before the start of audio data transmission, generate an initial encryption key according to the current network environment, device computing power, and audio transmission requirements. The generation of the encryption key can be based on a timestamp, random number, or key exchange protocol to ensure the randomness and security of the encryption key;
[0047] S2: Selection of an appropriate encryption algorithm: According to the device computing resources and network status, select an appropriate low-latency encryption algorithm, such as stream encryption algorithms like the AES-CTR mode, ChaCha20, etc., to reduce the impact of the encryption process on the transmission latency;
[0048] S3: Encryption of audio data: At the sending end, divide the audio data into several data packets and encrypt the data packets using the selected encryption algorithm. After encryption, the data packets are transmitted to the receiving end through the wireless network;
[0049] S4: Dynamic Key Update: Dynamically adjust the update frequency of the encryption key according to changes in the network environment (such as bandwidth, latency, packet loss rate). Specifically, if the network bandwidth is high and stable, the key update frequency can be reduced; if the network condition is unstable or the packet loss rate is high, increase the key update frequency to improve security;
[0050] S5: Packet Transmission and Decryption: After the receiving end receives the encrypted audio packets, first confirm the key synchronization situation, and then use the same dynamic key update mechanism as the sending end for decryption to restore the audio data;
[0051] S6: Redundant Synchronization Packet Mechanism: During the transmission process, regularly send redundant synchronization signal packets to ensure the key synchronization between the sending end and the receiving end. Even if packet loss or a short network interruption occurs, the receiving end can restore the key synchronization to avoid decryption failure;
[0052] S7: Adaptive Transmission Strategy: During the transmission process, dynamically adjust the transmission rate of the audio data and the complexity of the encryption algorithm according to the real-time transmission status of the audio data (such as packet transmission latency, packet loss rate, signal strength, etc.) to ensure low latency and high security of the transmission.
[0053] Specifically, among them:
[0054] Dynamic Adjustment of Key Update Frequency: The adjustment of the key update frequency is based on the following parameters:
[0055] Network Bandwidth Change: When the network bandwidth is large, reduce the key update frequency; when the bandwidth is small, increase the key update frequency.
[0056] Network Latency Fluctuation: When the latency is stable, the key update interval can be appropriately increased; when the latency fluctuates greatly, the key update frequency can be appropriately reduced.
[0057] Packet Loss Rate: When the packet loss rate is high, frequently update the key to enhance security; when the packet loss rate is low, the key update frequency can be reduced to reduce network load.
[0058] Device Load: Dynamically select the complexity of the encryption algorithm and the key update frequency according to the computing power and load situation of the device to ensure that the system performance is not overly affected.
[0059] Early Warning Mechanism for Key Update: By real-time monitoring of network conditions and device status, predict possible network problems (such as bandwidth bottleneck, packet loss, etc.) in advance, and update the key in advance to reduce the impact of network problems on the encryption and decryption processes.
[0060] Specifically, among them:
[0061] Redundant Synchronization Packet Mechanism: The synchronization packets are implemented in the following ways:
[0062] Regularly send synchronization packets: Within each fixed time interval, send data packets containing synchronization information to ensure that the receiving end can obtain the latest encryption key in a timely manner. Even if some data packets are lost, the receiving end can still restore key synchronization through redundant synchronization packets.
[0063] Fault tolerance design for redundant data packets: When the packet loss rate is high, the sending frequency of redundant synchronization packets can be appropriately increased to ensure that even in a poor network environment, the sending end and the receiving end can still maintain synchronization.
[0064] Structure of redundant synchronization packets: In addition to containing key synchronization information, synchronization data packets can also include information such as network status reports, timestamps, and encryption status, further improving the reliability of synchronization and the robustness of the system.
[0065] Specifically, among them:
[0066] Audio decryption buffer mechanism: At the receiving end, the decryption of audio data is optimized in the following ways:
[0067] Adopt a buffer: Set a buffer for each data packet. When a new data packet is received, the receiving end first caches it and waits for all relevant synchronization packets or key data packets to arrive before decrypting, ensuring the continuity of the audio stream.
[0068] Packet loss recovery mechanism: When audio data packets are lost, they are recovered through the buffer mechanism and redundant synchronization packets to ensure that there are no obvious audio breaks or delays during the decryption process.
[0069] Improve the stability of the audio stream: To avoid audio interruptions or freezes, the receiving end uses adaptive audio playback technology to dynamically adjust the audio playback rate or retransmission strategy according to the progress of data decryption, buffer size, and network status.
[0070] Specifically, among them:
[0071] Adaptive mechanism for encryption algorithm selection: The selection of encryption algorithms is based on device performance and network status, specifically including:
[0072] Device computing power: For devices with weak computing power, select encryption algorithms with lower computational complexity (such as RC4 or Salsa20); for high-performance devices, use stronger encryption algorithms (such as AES-CTR).
[0073] Network latency and bandwidth: When the network status is good, select strong encryption algorithms to improve security; when the network status is poor, select lightweight encryption algorithms to reduce latency.
[0074] Encryption algorithm complexity adjustment: Dynamically adjust the complexity of the encryption algorithm according to the network status monitored in real time during the transmission process to ensure that the audio data can find the optimal balance between low latency and high security.
[0075] Specifically, among them:
[0076] Priority scheduling of audio data packets: By marking the priorities of audio data packets, ensure that critical audio data packets can be transmitted and decrypted preferentially, reducing the impact of latency. For example, the critical voice data packets in a voice call have a higher priority to ensure the continuity and clarity of the voice stream.
[0077] Transmission quality feedback mechanism: At the receiving end, regularly feedback the audio transmission quality report to the sending end, including information such as audio quality score, latency time, packet loss rate, etc. The sending end adjusts the encryption strategy, transmission rate or key update frequency of the audio data according to the feedback data to improve the transmission effect.
[0078] Through the above technical solutions, in the present invention, by selecting a low-latency encryption algorithm and dynamically adjusting the encryption complexity, the present invention significantly reduces the impact of the encryption process on the transmission latency, optimizes the real-time performance of audio transmission. Through redundant synchronization data packets and a regular key synchronization mechanism, the reliability of key synchronization in the wireless network is ensured. Even if signal loss or interference occurs, synchronization can be restored in time, avoiding decryption failures caused by out-of-sync keys. By dynamically selecting a suitable encryption algorithm according to the computing power and network status of the device, excessive consumption of device performance caused by overly complex encryption operations is avoided, thereby making the system more efficient and extending the service life of the device. This algorithm monitors the network condition in real time, automatically adjusts the encryption strategy and transmission parameters, ensures a high-quality audio experience in different wireless environments, and guarantees the security of data. Adopting a low-latency dynamic password update mechanism, while reducing latency, ensures that the data during the transmission process cannot be stolen by attackers, and even if the key is leaked, it will not cause long-term risks.
[0079] In this embodiment, assume that this algorithm is applied to a wireless voice call system of a mobile device. Before the call starts, the device evaluates parameters such as the current network bandwidth, latency, and packet loss rate through a built-in network diagnostic tool, and selects a low-latency encryption algorithm (such as the AES-CTR mode) for encrypting audio data according to these parameters. The system uses an initial encryption key and starts transmitting audio data.
[0080] As the call progresses, the system monitors the network condition in real time and dynamically adjusts the complexity of the encryption algorithm and the frequency of key updates. For example, when the network bandwidth is stable, the frequency of key updates can be appropriately reduced, while when the bandwidth fluctuates greatly, the frequency of key updates will increase to maintain the security of the data.
[0081] To ensure key synchronization, the system sets redundant synchronization signal packets at the sending and receiving ends, and periodically sends data packets containing synchronization information at regular intervals. Even in the case of packet loss, these packets can help the receiving end recover key synchronization and ensure the correctness of the decryption process.
[0082] During the encryption and decryption processes of audio data, the receiving end optimizes the decryption process through a caching mechanism to ensure the continuity of the audio stream in the case of occasional packet loss and reduce the occurrence of call interruptions.
[0083] For embedded devices such as smart speakers or in-vehicle devices, in this embodiment, by evaluating the computing resources of the devices, low-computation-complexity encryption algorithms (such as RC4 or Salsa20) are selected in the case of limited resources. These devices periodically synchronize keys with the server and adjust the key update frequency according to the load of the devices, thereby reducing the computing overhead and latency while ensuring real-time performance.
[0084] In an environment with severe packet loss or unstable signals, the device ensures the stability of audio transmission even in the case of a short connection interruption by increasing the sending frequency of redundant synchronization packets, avoiding audio breaks caused by packet loss.
[0085] Although the embodiments of the present invention have been shown and described, it will be understood by those of ordinary skill in the art that various changes, modifications, substitutions, and variations can be made to these embodiments without departing from the principles and spirit of the present invention. The scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. An optimization algorithm for a wireless audio transmission protocol with low-latency dynamic passwords, characterized in that: It includes the following steps: S1: Initial encryption key generation: Before the start of audio data transmission, an initial encryption key is generated based on the current network environment, device computing power, and audio transmission requirements. The generation of the encryption key can be achieved through methods such as timestamp-based, random number-based, or key exchange protocol-based generation to ensure the randomness and security of the encryption key; S2: Select a suitable encryption algorithm: Based on the device computing resources and network conditions, select a suitable low-latency encryption algorithm, such as stream encryption algorithms like AES-CTR mode, ChaCha20, etc., to reduce the impact of the encryption process on transmission latency; S3: Encrypt the audio data: At the sending end, the audio data is divided into several data packets, and the selected encryption algorithm is used to encrypt the data packets. After encryption, the data packets are transmitted to the receiving end via a wireless network; S4: Dynamic key update: According to changes in the network environment (such as bandwidth, latency, packet loss rate), dynamically adjust the update frequency of the encryption key. Specifically, if the network bandwidth is high and stable, the key update frequency can be reduced; if the network conditions are unstable or the packet loss rate is high, increase the key update frequency to improve security; S5: Data packet transmission and decryption: After the receiving end receives the encrypted audio data packets, it first confirms the key synchronization situation, and then uses the same dynamic key update mechanism as the sending end for decryption to restore the audio data; S6: Redundant synchronization data packet mechanism: During the transmission process, redundant synchronization signal packets are sent regularly to ensure the key synchronization between the sending end and the receiving end. Even if packet loss or a short network interruption occurs, the receiving end can restore key synchronization to avoid decryption failure; S7: Adaptive transmission strategy: During the transmission process, according to the real-time transmission status of the audio data (such as data packet transmission latency, packet loss rate, signal strength, etc.), dynamically adjust the transmission rate of the audio data and the complexity of the encryption algorithm to ensure low latency and high security of the transmission.
2. The optimized algorithm for a wireless audio transmission protocol of a low-latency dynamic password according to claim 1, wherein: Wherein: Dynamic adjustment of the key update frequency: The adjustment of the key update frequency is based on the following parameters: Network bandwidth change: When the network bandwidth is large, reduce the key update frequency; when the bandwidth is small, increase the key update frequency. Network latency fluctuation: When the latency is stable, the key update interval can be appropriately increased; when the latency fluctuates greatly, the key update frequency can be appropriately reduced. Packet loss rate: When the packet loss rate is high, update the key frequently to enhance security; when the packet loss rate is low, the key update frequency can be reduced to reduce network load. Device load: According to the computing power and load situation of the device, dynamically select the complexity of the encryption algorithm and the key update frequency to ensure that the system performance is not overly affected. Early warning mechanism for key update: By real-time monitoring of network conditions and device status, predict possible network problems (such as bandwidth bottlenecks, packet loss, etc.) in advance, and update the key in advance to reduce the impact of network problems on the encryption and decryption processes.
3. An optimization algorithm for a wireless audio transmission protocol of a low-latency dynamic password according to claim 1, characterized in that: Wherein: Redundant synchronization data packet mechanism: The synchronization data packets are implemented in the following ways: Regularly send synchronization packets: Within each fixed time interval, send data packets containing synchronization information to ensure that the receiving end can obtain the latest encryption key in a timely manner. Even if some data packets are lost, the receiving end can still restore key synchronization through redundant synchronization packets. Fault tolerance design for redundant data packets: When the packet loss rate is high, the sending frequency of redundant synchronization packets can be appropriately increased to ensure that even in a harsh network environment, the sending end and the receiving end can still maintain synchronization. Structure of redundant synchronization packets: In addition to containing key synchronization information, the synchronization data packet can also include information such as network status reports, timestamps, and encryption status, further improving the reliability of synchronization and the robustness of the system.
4. An optimization algorithm for a wireless audio transmission protocol of a low-latency dynamic password according to claim 1, characterized in that: Wherein: Audio decryption buffer mechanism: At the receiving end, the decryption of audio data is optimized as follows: Adopt a buffer: Set a buffer for each data packet. When a new data packet is received, the receiving end first caches it and waits for all relevant synchronization packets or key data packets to arrive before decrypting to ensure the continuity of the audio stream. Packet loss recovery mechanism: When audio data packets are lost, they are recovered through the buffer mechanism and redundant synchronization packets to ensure that there are no obvious audio breaks or delays during the decryption process. Improve the stability of the audio stream: To avoid audio interruptions or freezes, the receiving end uses adaptive audio playback technology to dynamically adjust the audio playback rate or retransmission strategy according to the progress of data decryption, buffer size, and network status.
5. The optimized algorithm for a wireless audio transmission protocol of a low-latency dynamic password according to claim 1, characterized in that: Wherein: Adaptive mechanism for selecting encryption algorithms: The selection of encryption algorithms is based on device performance and network status, specifically including: Device computing power: For devices with weak computing power, select encryption algorithms with lower computational complexity (such as RC4 or Salsa20); for high-performance devices, use stronger encryption algorithms (such as AES-CTR). Network latency and bandwidth: When the network condition is good, select a strong encryption algorithm to improve security; when the network condition is poor, select a lightweight encryption algorithm to reduce latency. Adjust the complexity of the encryption algorithm: Dynamically adjust the complexity of the encryption algorithm according to the network status monitored in real time during the transmission process to ensure that the audio data can find the optimal balance between low latency and high security.
6. The optimization algorithm for a wireless audio transmission protocol of a low-latency dynamic password according to claim 1, characterized in that: Wherein: Priority scheduling of audio data packets: By marking the priorities of audio data packets, ensure that key audio data packets can be transmitted and decrypted first, reducing the impact of latency. For example, the key voice data packets in a voice call have a higher priority to ensure the continuity and clarity of the voice stream. Transmission quality feedback mechanism: At the receiving end, regularly feedback the audio transmission quality report to the sending end, including information such as audio quality score, latency time, packet loss rate, etc. The sending end adjusts the encryption strategy, transmission rate, or key update frequency of the audio data according to the feedback data to improve the transmission effect.
Citation Information
Cited By
Internal and external network audio and video secure transmission method and system based on cloud platform
CN121441655A
A cloud platform-based internal and external network audio and video security transmission method and system
CN121441655B