Real-time streaming media secure transmission method fusing chaotic encryption and key rotation
By introducing an adaptive chaotic encryption and key rotation mechanism into streaming media transmission, the security and continuity issues in streaming media transmission are solved, the synchronization of encryption and decryption ends and the adaptability to the network environment are realized, and the security and reliability of transmission are improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-15
- Publication Date
- 2026-04-14
AI Technical Summary
In existing streaming media transmission schemes, the use of a single chaotic sequence or key leads to insufficient security, the key rotation strategy is not intelligent enough, and improper or frequent rotation timing can cause transmission interruptions, affecting service continuity.
It employs a dynamic encryption key generated based on a chaotic encryption system, combined with an adaptive key rotation mechanism. Key rotation is triggered by time, data volume, or network conditions, and a gradual parameter update is used to ensure a smooth transition, thereby achieving synchronization between the encryption and decryption ends.
It enhances the security and reliability of streaming media transmission, ensures optimal performance in various network environments, and avoids data errors and transmission interruptions caused by key switching.
Smart Images

Figure CN121864283A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of secure transmission technology for streaming media data, and more specifically, to a real-time secure transmission method for streaming media that integrates chaotic encryption and key rotation. Background Technology
[0002] With the rapid development of network technology, real-time streaming media transmission has been widely used in fields such as live video streaming, video conferencing, and online education. Data transmission over public network channels faces security threats such as eavesdropping and tampering, making secure encryption technology during transmission crucial. Currently, this field is evolving from traditional static encryption algorithms (such as AES and RSA) to more dynamic and computationally efficient encryption methods. Among these, chaotic encryption, due to its extreme sensitivity to initial conditions, good pseudo-randomness, and relatively low computational complexity, is considered a promising technological direction, better suited to the high-throughput, low-latency transmission requirements of real-time streaming media.
[0003] However, existing streaming media transmission schemes incorporating chaotic encryption still have significant drawbacks. First, many schemes use only a single chaotic sequence or key throughout the entire transmission session. Once the key is cracked, the entire communication content is completely exposed, resulting in insufficient security. Second, even with the introduction of a key rotation mechanism, the rotation strategy is often rigid, such as rotating at fixed intervals or with fixed data volumes. This fails to correlate with network fluctuations or the characteristics of the data content itself, easily leading to poor rotation timing or increased synchronization overhead due to frequent rotations in poor network conditions. Finally, the lack of a smooth transition when rotating keys can cause temporary synchronization issues between encryption and decryption, leading to data errors or transmission interruptions and affecting service continuity.
[0004] Therefore, this paper proposes a real-time streaming media secure transmission method that integrates chaotic encryption and key rotation to address the above-mentioned problems. The aim is to solve three core issues in existing technologies: first, how to improve the dynamism and unpredictability of encryption keys during streaming media transmission to enhance overall security; second, how to design an intelligent and adaptive key rotation mechanism that can dynamically adjust according to the transmission situation to balance security and efficiency; and third, how to ensure the smoothness and reliability of the key rotation process, avoid loss of synchronization between encryption and decryption ends, and ensure the stability and continuity of streaming media services. Summary of the Invention
[0005] To overcome the aforementioned deficiencies of the prior art, embodiments of the present invention provide a real-time streaming media secure transmission method that integrates chaotic encryption and key rotation to solve the problems mentioned in the background art.
[0006] To achieve the above objectives, the present invention provides the following technical solution: a real-time streaming media secure transmission method integrating chaotic encryption and key rotation, the method comprising the following steps: S1. Real-time acquisition of streaming media data stream, dividing the streaming media data stream into continuous data blocks, the size of each data block being adaptively determined according to the streaming media data type or preset to a fixed value, with a size range between 1KB and 100KB; S2. Generate an encryption key for each data block, wherein the encryption key is dynamically generated by a chaotic encryption system, the chaotic encryption system being implemented based on a chaotic mapping function, and the chaotic mapping function adopting one of Logistic mapping, Lorenz system or Chebyshev mapping. S3. Using the encryption key generated in step S2, encrypt each data block obtained in step S1. The encryption process adopts either stream encryption mode or block encryption mode to obtain encrypted data blocks. S4. The encrypted data block obtained in step S3 is sent to the receiving end in real time through a transmission channel, including the Internet, wireless network or dedicated network. S5. During transmission, a key rotation event is periodically triggered. The triggering of the key rotation event is based on a time interval, the number of transmitted data blocks, or an external control signal. The time interval is set in the range of 100ms to 10s, and the threshold for the number of data blocks is set in the range of 10 to 1000. S6. When the key rotation event is triggered, update the parameters of the chaotic encryption system described in step S2. The parameters include the initial value of the chaotic mapping, control parameters, or random seed to generate a new encryption key. S7. At the receiving end, the same chaotic encryption system and key rotation mechanism as at the sending end are used to decrypt the received encrypted data block and recover the original streaming media data.
[0007] Preferably, in step S2, the chaotic encryption system introduces a random seed to enhance the unpredictability of the key when generating the encryption key. The random seed is derived from the system clock, hardware noise, or an external random number generator, and the update of the random seed is synchronized with the key rotation event in step S5.
[0008] Preferably, in step S5, the triggering condition of the key rotation event can be dynamically adjusted according to the network conditions, including bandwidth, packet loss rate, or transmission delay. The adjustment is achieved by the receiving end feeding back network parameters to the sending end.
[0009] Preferably, in step S6, when updating the parameters of the chaotic encryption system, a gradual parameter change method is adopted, wherein the initial value or control parameter of the chaotic mapping is gradually adjusted to the target value through linear interpolation or nonlinear function within a preset 3 to 5 cycle periods.
[0010] Preferably, in step S1, the data block segmentation method is adaptively adjusted based on the frame structure or packet structure of the streaming media data. For video streaming media, the data block corresponds to a single video frame or a group of video frames. For audio streaming media, the data block corresponds to an audio sampling block with a duration of 10ms to 100ms.
[0011] Preferably, in steps S2 and S7, the chaotic encryption system adopts a parallel processing method to generate encryption keys or decrypt multiple data blocks simultaneously. The key generation is based on iterative operations of chaotic mapping, and the number of iterations is set in the range of 10 to 100.
[0012] Preferably, before step S3, a preprocessing step is included, which includes data compression, addition of redundancy check codes, or data padding operations to adapt to the characteristics of streaming media data.
[0013] Preferably, in step S4, the encrypted data block is added with a sequence number or timestamp information, which is used by the receiving end to verify the data integrity and correct order in step S7. The sequence number or timestamp is associated with a key rotation event.
[0014] Preferably, in step S6, the parameter update of the chaotic encryption system includes using a key derivation function, which is based on the SHA-256 or HMAC algorithm, to map the current key or external input to new chaotic parameters.
[0015] Preferably, in step S5, if the key rotation is triggered based on a time interval, a high-precision timer is used with a timing accuracy of not less than 1ms; if the key rotation is triggered based on the number of data blocks, a counter is used for real-time statistics.
[0016] The technical effects and advantages of this invention are as follows: Compared to existing technologies, this invention achieves continuous dynamic updates of the encryption key by deeply integrating a chaotic encryption system with a dynamically triggered key rotation mechanism. Specifically, the system generates a key based on a chaotic mapping for each data block and rotates the master key periodically based on time, data volume, or network feedback signals. This approach breaks the limitations of a single key, ensuring that even if the key is cracked at some point, the entire session will not be compromised. This significantly improves forward security and overall resistance to attacks during transmission, effectively combating cryptanalysis.
[0017] Compared to existing technologies, this invention achieves a smooth transition by employing a gradual parameter update method during key rotation. That is, when the initial value or control parameters of the chaotic system need to be updated, it does not directly jump to the new value, but rather gradually approximates the target value over several rotation cycles using functions such as linear interpolation. This approach prevents abrupt changes in the generated chaotic sequence, ensuring that the encryption and decryption ends remain synchronized during key rotation. This significantly reduces the risk of data packet decryption errors or loss due to key switching, thereby improving transmission reliability and user experience.
[0018] Compared to existing technologies, this invention optimizes system performance by making the triggering conditions for key rotation events adaptive. The rotation mechanism can not only be based on fixed time intervals or the number of data blocks, but also dynamically adjust the rotation frequency according to real-time network conditions (such as bandwidth and packet loss rate) fed back from the receiver. When network conditions are good, the rotation frequency is appropriately increased to enhance security, while the frequency is decreased to reduce synchronization overhead when the network is congested. This adaptive mechanism intelligently balances security and transmission efficiency, enabling the system to maintain optimal performance in various network environments. Attached Figure Description
[0019] Figure 1 This is a schematic diagram of the overall framework of the present invention.
[0020] Figure 2 This is a schematic diagram of key rotation and synchronization in this invention. Detailed Implementation
[0021] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0022] Example 1 As attached Figure 1 and Figure 2 The method for secure real-time streaming media transmission that integrates chaotic encryption and key rotation, as shown, includes the following steps executed sequentially: The system captures streaming media data packets from the source end in real time and divides the continuous data stream into discrete transmission data blocks according to a preset encapsulation format or data volume threshold. Each data block to be transmitted is assigned an encryption key generated by a chaotic encryption engine. The core of this engine is one or more chaotic systems that generate a key stream by iteratively calculating their state variables and quantizing the output. The currently valid key is used to perform symmetric encryption on the data block to generate ciphertext data blocks. The ciphertext data blocks are then encapsulated via a network protocol stack and sent to the receiving end. During the transmission session, a key update logic is triggered based on a preset periodic clock signal or an accumulated transmission data block count. When a key update is triggered, the chaotic encryption engine changes its system parameters according to a predetermined strategy, thereby generating a new key sequence. At the receiving end, a chaotic decryption engine and key update logic synchronized with the sending end are maintained. The received ciphertext data blocks are decrypted in reverse to restore the original data blocks and reassemble them into continuous streaming media data.
[0023] The chaotic encryption engine, during initialization and each key update, introduces a random seed generated by one or more of the following methods: an entropy pool provided by the operating system kernel, a dedicated hardware true random number generator, or a pseudo-random number calculated based on the current system timestamp and process identifier. This injection of the random seed directly alters the initial trajectory of the chaotic system, ensuring the unpredictability and uniqueness of the starting point for each key generation.
[0024] The triggering conditions for the key update logic are dynamically adaptable. The receiving end periodically calculates the current network link performance metrics, including but not limited to bandwidth utilization, packet loss rate, and average round-trip delay, and encapsulates these metrics in a feedback message and sends it to the sending end. The sending end parses the feedback message and dynamically adjusts the time interval threshold or data block number threshold for triggering the key update according to a predefined policy mapping function.
[0025] The chaotic encryption engine employs a smooth transition algorithm when updating system parameters. Specifically, the target value of the new parameter and the current value of the old parameter are input into an interpolation function, which calculates a series of intermediate parameter values over several consecutive key validity periods. The chaotic system uses these intermediate parameters for iteration, ensuring that the generated key sequence does not undergo abrupt changes in statistical properties, thereby achieving smooth transition and synchronization between the encryption and decryption ends.
[0026] The data block segmentation strategy is associated with the streaming media encoding format. For video streams using inter-frame predictive coding, the data block segmentation boundaries are aligned with the video frame group boundaries to avoid segmenting prediction dependency chains. For audio streams, the data block size is set according to the sampling rate and encoding format, corresponding to the amount of data for a fixed duration of audio samples, to ensure the real-time processing requirements of the decoding end.
[0027] The chaotic encryption engine employs a parallel pipeline architecture. Multiple chaotic map instances are initialized, each responsible for independently generating a key for a data block. Through parallel computation, the key generation rate matches the encryption / transmission rate of the data blocks, preventing the encryption process from becoming a bottleneck for system throughput.
[0028] Before the encryption step, preprocessing operations are performed on the data block. These operations include using lossless compression algorithms to reduce data redundancy, adding cyclic redundancy check (CRC) codes for subsequent data integrity verification, or applying cryptographically secure padding schemes to ensure that the data block length meets the input block size requirements of the encryption algorithm.
[0029] When encapsulating encrypted data blocks, a monotonically increasing sequence number or a high-precision timestamp is added to the header field of the data packet. Before decryption, the receiving end first verifies the continuity of this sequence number or the validity of the timestamp. This sequence number also serves as an auxiliary criterion for key update logic, ensuring that the encryption key can still be correctly associated with data packets arriving out of order.
[0030] The parameter update process of the chaotic encryption engine integrates key derivation functionality. The internal state value of the current chaotic system or an externally input random number is used as the original key material and input to a standard key derivation function, such as a function based on a secure hash algorithm. The output is mapped to new initial conditions or control parameters for the chaotic system, thereby enhancing the irreversibility and collision resistance of the parameter update process.
[0031] The triggering mechanism for the key update logic is implemented by a high-precision clock interrupt service routine or a packet transmission counter. The clock interrupt service routine provides microsecond-level time accuracy, while the counter performs atomic increment operations on the transmitted data blocks, ensuring the accuracy and real-time performance of the trigger judgment.
[0032] The complete implementation process of this invention is as follows: The core implementation process of this invention mainly includes seven basic steps: streaming media data capture and segmentation, chaotic encryption system initialization, data block encryption, secure transmission, key rotation trigger judgment, chaotic system parameter update, and receiving end decryption and data reassembly. These steps are executed symmetrically at the sending and receiving ends, but in opposite directions. The key to implementing this method is to ensure that the chaotic systems at the sending and receiving ends remain synchronized at all times, including initial state synchronization and synchronization of all key rotation events.
[0033] Step 1: Streaming data capture and segmentation The system first acquires streaming media data streams in real time from video capture devices, audio input devices, or media files. This data typically exists as a continuous stream of bytes. To improve encryption efficiency and adapt to network transmission, the continuous data stream needs to be segmented into appropriately sized data blocks.
[0034] The data block segmentation strategy is adaptively adjusted based on the streaming media type. For video data, the segmentation boundaries should be aligned with the frame structure of the video encoding. Taking H.264 / AVC or H.265 / HEVC encoded video as an example, the data block size can be set to one Network Abstraction Layer Unit (NALU) or a set of multiple NALUs. Specifically, the system parses the start code of the video stream (such as 0x000001), identifies the complete frame or slice, and treats it as a data block. For large frames such as I-frames (intra-coded frames), further segmentation may be necessary to accommodate the network's Maximum Transmission Unit (MTU) limitations, for example, segmenting them into packets no larger than 1500 bytes. For audio data, such as AAC or OPUS encoded streams, segmentation can be based on time intervals, for example, dividing audio sample data from 10 milliseconds to 100 milliseconds into a single data block. Assuming an audio sampling rate of 48kHz, 16-bit sampling precision, and mono, the amount of audio data for 10 milliseconds would be 480 sample points × 2 bytes = 960 bytes.
[0035] After the data block is segmented, the system assigns a unique sequence number to each data block. This sequence number starts from 0 and increases monotonically. It is used to reassemble the data and process out-of-order packets at the receiving end.
[0036] Step 2: Initialization of the Chaotic Encryption System Before initiating encrypted transmission, both the sending and receiving ends must initialize an identical chaotic encryption system. This invention preferably uses a Logistic map as the chaotic system due to its computational simplicity and favorable chaotic properties. The mathematical expression for the Logistic map is: This represents the state value of the chaotic system in the nth iteration, and its initial value. The value range is (0,1), and it cannot be equal to unstable points such as 0, 0.5, or 1. μ is the control parameter of the chaotic system. To ensure that the system is in a chaotic state, μ should be set in the interval [3.57,4]. This represents the new state value of the chaotic system after the (n+1)th iteration.
[0037] The initialization process is as follows: Generating a random seed: The system uses a cryptographically secure pseudo-random number generator (CSPRNG) to generate a random number as the initial state. The entropy source of this random number can include a high-precision portion of the system clock, hardware noise (such as the time interval between mouse movements and keyboard keystrokes), or an entropy pool provided by the operating system.
[0038] Set control parameters: μ can be preset to a fixed value (e.g., 3.99), or it can be dynamically determined as part of the shared secret.
[0039] Pre-iteration: To avoid initial transient effects, chaotic systems require a certain number of pre-iterations (e.g., 100). These iteration results are discarded, and the final result is used. This serves as the initial state before encryption truly begins.
[0040] Key synchronization: The sending end transmits the initialization parameters (using a secure channel, such as RSA or ECDSA encryption algorithms) through a secure channel. The parameters (μ) are passed to the receiving end. The receiving end uses the same parameters to initialize the chaotic system, ensuring that both sides start from the same point.
[0041] Step 3: Data block encryption based on chaotic sequences For each data block to be transmitted, the encryption process is as follows: Key stream generation: The chaotic system iterates, and each iteration produces a state value. Convert the floating-point number into key bytes that can be used for encryption. A common quantization method is to... Multiply by a large integer (such as 2^32), take the integer part, and then take the least significant 8 bits of that integer (i.e., one byte). Repeat this process to generate a keystream of the same length as the data block.
[0042] KeyByte represents the value from the chaotic state. The key obtained by quantization is a one-byte key.
[0043] Perform encryption operations: The generated keystream is XORed byte-by-byte with the plaintext data block to obtain the ciphertext data block. XOR is a simple stream encryption mode with the advantages of fast computation speed and the use of the same operation for encryption and decryption.
[0044] This represents the i-th byte of the plaintext data block.
[0045] This represents the i-th byte of the key stream.
[0046] This represents the i-th byte of the ciphertext data block.
[0047] Packet encapsulation: Encapsulate the ciphertext data block, sequence number, and optional checksum (such as CRC32) into a network packet. The sequence number is crucial for subsequent key rotation synchronization and data reassembly.
[0048] Step 4: Secure transmission and rotation trigger judgment The encrypted data packets are sent to the receiving end via real-time transport protocols such as UDP or RTP. During continuous transmission, the system monitors the key rotation trigger conditions in parallel.
[0049] The key rotation event is triggered by one or more of the following conditions, which can be combined: Time-based triggering: The system maintains a high-precision timer. The rotation is triggered after a preset time interval T_interval (e.g., 1 second) since the last rotation. The timer's precision should be at the millisecond level.
[0050] Data volume-based triggering: The system maintains a counter to record the number of data blocks sent since the last rotation. When this number reaches a preset threshold... When there are 500 data blocks, rotation is triggered.
[0051] Adaptive triggering based on network conditions: The receiver periodically calculates current network performance metrics, such as packet loss rate. The data is then sent to the sender via a feedback message. The sender dynamically adjusts the trigger threshold based on a predefined strategy function. For example, the data block count threshold can be adjusted. : This represents the threshold for the actual number of data blocks that trigger rotation after adjustment.
[0052] Variable description: This represents the base threshold (e.g., 500).
[0053] Variable description: This indicates the current network packet loss rate reported by the receiving end (e.g., 0.05 indicates 5% packet loss).
[0054] Variable description: This represents a preset reference threshold for packet loss rate (e.g., 0.02).
[0055] Variable description: α is an adjustment coefficient greater than zero (e.g., 10) used to control the sensitivity of the adjustment.
[0056] when Below When the network is good, Reduced size, more frequent rotation, and higher safety; when When the network quality improves (due to poor network performance), Increase the frequency of rotation and decrease the frequency of data transfer to reduce synchronization overhead and retransmission pressure.
[0057] Step 5: Update the parameters of the chaotic system (smooth rotation) When a key rotation event is triggered, the system does not immediately switch to a brand new key. Instead, it uses a gradual parameter update method to ensure a smooth transition and synchronization between the encryption and decryption ends.
[0058] Assume the current chaotic parameters are (can be) (or μ), needs to be updated to the target parameter. . The new random seed is determined using a method similar to step two. The update process is performed incrementally over the transmission of N data blocks (e.g., 5). At the k-th transition data block (k ranges from 1 to N), the intermediate parameter P_k used is calculated via linear interpolation: This represents the initial value before the parameter is updated.
[0059] This indicates the target value that the parameter update aims to achieve.
[0060] N represents the preset total number of transition steps (e.g., 5).
[0061] k represents the current transition step number (1≤k≤N).
[0062] This indicates the intermediate parameter value to be used at step k.
[0063] For each transition data block, the chaotic system uses the current... The process involves iteration and key generation. The receiving end performs the exact same transition process. When k=N, = The transition is complete, and the system uses the new parameters entirely. This method effectively avoids the decryption end losing synchronization due to drastic changes in the chaotic sequence caused by parameter mutations.
[0064] Step 6: Decryption and Data Reassembly at the Receiving End The receiving end's workflow is symmetrical to, but the opposite of, that of the sending end: Reception and Verification: Receive network data packets, verify data integrity (through checksum), and extract sequence number and ciphertext data.
[0065] Chaotic System Synchronization: The receiver maintains a chaotic decryption system that is completely synchronized with the sender. It uses the same initial parameters and follows the exact same key rotation logic and incremental update algorithm. The receiver determines which key cycle (including transition periods) a data packet belongs to based on the sequence number in the data packet, and decrypts it using the correct chaotic system state accordingly.
[0066] Key stream generation and decryption: Similar to the encryption process, the chaotic system iteratively generates a key stream and performs a byte-by-byte XOR operation with the ciphertext data block to recover the plaintext data block.
[0067] Data reconstruction: The decrypted data blocks are reordered according to the sequence number, combined into a continuous streaming media data stream, and delivered to the decoder for playback.
[0068] Synchronization Guarantee Mechanism: To ensure synchronization is maintained even in the event of network packet loss, out-of-order delivery, or other anomalies, the system employs the following strategies: The sequence number is used to clearly identify the correspondence between each data block and the key state.
[0069] If the receiver detects a discontinuous sequence number (packet loss), it will continue to decrypt subsequent data packets using the current key state, but will record the packet loss event. For key rotation based on the number of data blocks, the receiver will adjust its key rotation count accordingly.
[0070] During the key rotation transition period, each data packet implicitly or explicitly contains information about the transition step it belongs to (which can be derived from the sequence number and the rotation cycle modulo operation), ensuring that both parties agree on the value of k.
[0071] In summary, this invention, through the meticulous design and coordinated operation of the six steps described above, achieves a secure, reliable, and adaptive real-time streaming media transmission scheme. The core advantage of this method lies in the deep coupling of dynamic chaotic encryption with an intelligent key rotation mechanism, and the use of smooth transition technology to ensure the stability of the transmission process, effectively overcoming the shortcomings of existing technologies. Those skilled in the art can implement this method on servers, PCs, or mobile devices using programming languages such as C / C++, Java, and Python, based on the above detailed description.
[0072] Finally, the following points should be noted: First, in the description of this application, it should be noted that, unless otherwise specified and limited, the terms "installation", "connection", and "linkage" should be interpreted broadly, and can be mechanical or electrical connections, or internal connections between two components, or direct connections. "Up", "down", "left", "right", etc. are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may change. Secondly: The accompanying drawings of the embodiments disclosed in this invention only involve the structures involved in the embodiments disclosed in this invention. Other structures can refer to the general design. In the absence of conflict, the same embodiment and different embodiments of this invention can be combined with each other. In conclusion, the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A real-time streaming media secure transmission method integrating chaotic encryption and key rotation, characterized in that, The method includes the following steps: S1. Real-time acquisition of streaming media data stream, dividing the streaming media data stream into continuous data blocks, the size of each data block being adaptively determined according to the streaming media data type or preset to a fixed value, with a size range between 1KB and 100KB; S2. Generate an encryption key for each data block, wherein the encryption key is dynamically generated by a chaotic encryption system, the chaotic encryption system being implemented based on a chaotic mapping function, and the chaotic mapping function adopting one of Logistic mapping, Lorenz system or Chebyshev mapping. S3. Using the encryption key generated in step S2, encrypt each data block obtained in step S1. The encryption process adopts either stream encryption mode or block encryption mode to obtain encrypted data blocks. S4. The encrypted data block obtained in step S3 is sent to the receiving end in real time through a transmission channel, including the Internet, wireless network or dedicated network. S5. During transmission, a key rotation event is periodically triggered. The triggering of the key rotation event is based on a time interval, the number of transmitted data blocks, or an external control signal. The time interval is set in the range of 100ms to 10s, and the threshold for the number of data blocks is set in the range of 10 to 1000. S6. When the key rotation event is triggered, update the parameters of the chaotic encryption system described in step S2. The parameters include the initial value of the chaotic mapping, control parameters, or random seed to generate a new encryption key. S7. At the receiving end, the same chaotic encryption system and key rotation mechanism as at the sending end are used to decrypt the received encrypted data block and recover the original streaming media data.
2. The real-time streaming media secure transmission method integrating chaotic encryption and key rotation as described in claim 1, characterized in that, In step S2, the chaotic encryption system introduces a random seed to enhance the unpredictability of the key when generating the encryption key. The random seed is derived from the system clock, hardware noise, or an external random number generator, and the update of the random seed is synchronized with the key rotation event in step S5.
3. A real-time streaming media secure transmission method integrating chaotic encryption and key rotation as described in claim 1, characterized in that, In step S5, the triggering conditions for the key rotation event can be dynamically adjusted according to network conditions, including bandwidth, packet loss rate, or transmission delay. The adjustment is achieved by the receiving end feeding back network parameters to the sending end.
4. A real-time streaming media secure transmission method integrating chaotic encryption and key rotation as described in claim 1, characterized in that, In step S6, when updating the parameters of the chaotic encryption system, a gradual parameter change method is adopted, wherein the initial value or control parameter of the chaotic mapping is gradually adjusted to the target value through linear interpolation or nonlinear function within a preset cycle of 3 to 5 cycles.
5. A real-time streaming media secure transmission method integrating chaotic encryption and key rotation as described in claim 1, characterized in that, In step S1, the data block segmentation method is adaptively adjusted based on the frame structure or packet structure of the streaming media data. For video streaming media, the data block corresponds to a single video frame or a group of video frames. For audio streaming media, the data block corresponds to an audio sampling block with a duration of 10ms to 100ms.
6. A real-time streaming media secure transmission method integrating chaotic encryption and key rotation as described in claim 1, characterized in that, In steps S2 and S7, the chaotic encryption system adopts a parallel processing method to generate encryption keys or decrypt multiple data blocks simultaneously. The key generation is based on iterative operations of chaotic mapping, and the number of iterations is set in the range of 10 to 100.
7. A real-time streaming media secure transmission method integrating chaotic encryption and key rotation as described in claim 1, characterized in that, Before step S3, a preprocessing step for the data block is also included, which includes data compression, addition of redundancy check codes, or data padding operations to adapt to the characteristics of streaming media data.
8. A real-time streaming media secure transmission method integrating chaotic encryption and key rotation as described in claim 1, characterized in that, In step S4, the encrypted data block is added with a sequence number or timestamp information, which is used by the receiving end to verify the data integrity and correct order in step S7. The sequence number or timestamp is associated with the key rotation event.
9. A real-time streaming media secure transmission method integrating chaotic encryption and key rotation as described in claim 1, characterized in that, In step S6, the parameter update of the chaotic encryption system includes using a key derivation function, which is based on the SHA-256 or HMAC algorithm, to map the current key or external input to new chaotic parameters.
10. A real-time streaming media secure transmission method integrating chaotic encryption and key rotation as described in claim 1, characterized in that, In step S5, if key rotation is triggered based on a time interval, a high-precision timer is used with a timing accuracy of not less than 1ms; if it is triggered based on the number of data blocks, a counter is used for real-time statistics.