Systems and Methods of Communicating Redundant Frame Information
By encoding audio frames with both initial and redundant information, the system addresses the issue of incomplete frames in packet-switched networks, improving audio decoding performance by reconstructing missing frames.
Patent Information
- Application Number
- SA516370874
- Authority / Receiving Office
- SA · SA
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2016-04-05
- Publication Date
- 2020-10-28
- Estimated Expiration
- 2034-10-09
AI Technical Summary
In packet-switched networks, audio data packets can arrive out of order or be lost, leading to incomplete audio frames that are difficult to reconstruct due to the lack of redundant frame information.
The system encodes audio frames with both initial and redundant encoding information, allowing frames to be reconstructed even if previous frames are corrupted or missing by incorporating repeating encoding information in subsequent frames.
This approach enhances audio decoding performance under network errors by enabling the reconstruction of missing frames using redundant encoding information, ensuring high-quality audio transmission.
Smart Images

Figure 003EB86F-76D4-4761-A780-48E5ECAB083F 
Figure 0056A7F5-9B07-4570-B35A-544E69810B8E 
Figure 0E777DF0-6781-42CB-8235-FD6BFDEC5A2E
Abstract
Description
Full description Background of the invention The current disclosure generally relates to the transmission of redundant frame information. Advances in technology have led to the emergence of smaller and more efficient computer systems. For example, there is now a wide variety of portable personal computers, including wireless computers such as cordless mobile phones, personal digital assistants (PDAs), and web browsers that are small, lightweight, and easy for users to carry. More specifically, cordless mobile phones, such as cellular phones and Internet Protocol (IP) phones, can transmit data packets and voice over wireless networks. Many of these cordless phones also include other types of devices, as described in this disclosure. For example, a cordless phone may also include a digital still camera, a digital video camera, a digital recorder, and an audio file player. Electronic devices such as cordless phones can send and receive data over networks. For example, voice data can be transmitted through a circuit-switched network (such as the Public Switched Telephone Network (PSTN), the Global System for Mobile Communications (GSM), and others) or a packet-switched network (such as Voice over Internet Protocol (VoIP), Voice over Long Term Evolution (VoLTE), and others). In a packet-switched network, voice data packets can be routed individually from the source device to the destination device. Voice data packets may arrive disorganized due to network conditions. The destination device can store the data packets in a buffer to remove jitter and rearrange the received data packets as needed. Several encryption schemes can be used when transmitting audio data. For example, depending on the type of audio frame, code-excited linear prediction (CELP) or modified discrete cosine transform (MDCT) can be used to represent speech in a compressed manner. To improve encryption efficiency at lower bitrates (13.2 kbps, 24.4 kbps, etc.) when encoding larger frequency bands, such as broadband up to 8 kHz, ultra-broadband up to 16 kHz, or full band up to 20 kHz, higher bandwidths (up to 6.4 kHz or 8 kHz) are often encoded using waveform matching techniques such as code-excited linear prediction (CELP) or modified discrete cosine transform (MDCT). Bandwidth extension is achieved by using models of higher bands (greater than 6.4 kHz or 8 kHz) and encoding the "side information" (associated with the higher-band variants).High-band side information may include linear prediction filter variables and acquisition variables that model precise and imprecise time evolution. The encoder or source device may transmit the side information, along with the low-frequency portion, to the target device, which then processes the high-frequency portion of the target device's audio frame to achieve high-quality reconstruction. US Order No. 185062 / 2013 describes systems, methods, and devices for adjusting the criticality threshold of speech frames, based on channel conditions. This threshold may be used to control the retransmission frequency in response to changes in channel conditions. US Application No. 191121 / 2013 concerns a method for encoding redundant frames by an electronic device, which includes: determining adaptive cipherbook power and fixed cipherbook power based on a frame; encoding a redundant copy of the frame based on adaptive cipherbook power and fixed cipherbook power; and transmitting a subsequent frame. General description of the invention Because packets can arrive in no particular order in packet-switching networks, a packet (of the N audio frame) might be corrupted or missing, while a subsequent packet (of the N+2 audio frame) might be error-free and available in the jitter buffer. Therefore, it may be beneficial to include redundant cipher information (error correction information) in the next frame (N+2 frame) so that it can be used to reconstruct the previous frame (N frame). This disclosure describes the systems and methods used to transmit information with repeating frames. According to the methods described, when using a bandwidth spanning scheme, an audio frame may contain four types of data: low-band encoding, high-band side information, repeating encoding information associated with the low-band portion of the previous frame, and repeating encoding information associated with the high-band variants of the previous frame. The low-band and high-band side information of the current frame may be collectively referred to as the "primary" encoding. The repeating encoding information for both the low-band and high-band portions of the previous frame may be collectively referred to as the "partial copy." Therefore, a frame may contain bits of primary encoding for both the low-band and high-band portions, and it may also contain bits of partial copy for both the low-band and high-band portions of the previous frame. If a frame is erased (the previous frame was not received or was corrupted due to a network error), the receiver can use the redundant encryption information to reconstruct the previous frame. The number of bits allocated to each of the four data types—lowband, highband sidebar, lowband partial copy of the previous frame, and highband partial copy of the previous frame—can be dynamically adjusted based on the characteristics of the transmitted digital signal. Even if the previous frame is successfully received (in the case of a clear channel), the encoder may separate the bits of the initial encryption from the bits of the partial copy before decrypting the initial encryption bits. In one particular aspect, the frame cipher method involves a second audio frame at the computer's encoder, where the second audio frame follows the first audio frame in an audio signal. The second audio frame contains an initial set of bits allocated to the initial encryption information (low-band and high-band encoded variants) associated with the second audio frame. It also contains a second set of bits allocated to the recursive encryption information (partial copy) associated with the first audio frame. Furthermore, the second audio frame includes a pointer indicating the frame type (partial copy frame type) of the first audio frame. In response to the frame erasure condition associated with the first audio frame, the method involves determining the second set of bits of the second audio frame allocated to the recursive encryption information associated with the first audio frame, based on the pointer. Finally, the method involves decrypting the first audio frame based on the recursive encryption information. In another aspect, specifically presented, the frame decoding method involves receiving the first and second audio frames at the computer's decoder. The second audio frame is followed by the first by an audio signal. The second audio frame contains an initial number of bits for the initial encryption information associated with the second audio frame, a second number of bits for the repeated encryption information associated with the first audio frame, and an indicator of the type of the first audio frame. The method also involves decoding the first audio frame. Furthermore, the method involves determining the initial number of bits of the second audio frame that are allocated to the initial encryption information associated with the second audio frame, based on the indicator. Finally, the method involves decoding the second audio frame based on the initial encryption information.In one of the illustrative examples provided in particular, the method involves determining the first number of bits allocated to the initial coding information accompanying the second audio frame by subtracting the second number of bits allocated to the partial version of the second audio frame from the total number of bits (used to represent the second audio frame). In another aspect presented specifically, the frame coding method involves encoding the first audio frame of the received audio signal at the encoder of a first computing device and transmitting the first audio frame from the first computing device to a second computing device. The method also includes, based on the type of the first audio frame, the first number of bits of the second audio frame allocated to the initial encryption information accompanying the second audio frame and the second number of bits of the second audio frame allocated to the repeated encryption information accompanying the first audio frame. The second audio frame is followed by the first audio frame by an audio signal. The method also involves encoding the second audio frame and transmitting the second audio frame from the first computing device to a second computing device. The first audio frame includes the first number of bits for the initial encryption information, the second number of bits for the repeated encryption information, and an indicator of the type of the first audio frame. In another aspect specifically presented, a device is configured to receive the second audio frame. The second audio frame is followed by the first audio frame by an audio signal. The second audio frame contains an initial set of bits allocated to the initial cipher information associated with the second audio frame. It also contains a second set of bits allocated to the recursive cipher information associated with the first audio frame. The second audio frame also includes an indicator that reveals the type of the first audio frame. In response to the frame erasure condition associated with the first audio frame, the device also includes a dedicated encoder to determine the second set of bits of the second audio frame allocated to the recursive cipher information associated with the first audio frame, based on the indicator. The encoder is then configured to decrypt the first audio frame based on the recursive cipher information. In another aspect specifically presented, the device includes a receiver configured to receive the first audio frame and the second audio frame that follows it in an audio signal. The second audio frame contains an initial number of bits allocated to the initial encryption information associated with the second audio frame. It also contains a second number of bits allocated to the repeated encryption information associated with the first audio frame. The second audio frame also includes an indicator that shows the type of the first audio frame. The device also includes an encoder configured to encrypt the first audio frame and to determine, based on the indicator, the initial number of bits of the second audio frame allocated to the initial encryption information associated with the second audio frame. The encoder is configured to decrypt the second audio frame based on the initial encryption information. In another aspect specifically presented, the device includes an encoder configured to encode the first audio frame of an audio signal. The encoder is also configured, based on the type of the first audio frame, to specify the initial number of bits in the second audio frame allocated to the initial encryption information associated with the second audio frame and the second number of bits in the second audio frame allocated to the repeated encryption information associated with the first audio frame. The encoder is also configured to encode the second audio frame. The second audio frame is followed by the first audio frame by an audio signal. The first audio frame includes the initial number of bits for the initial encryption information, the second number of bits for the repeated encryption information, and an indicator of the type of the first audio frame. The device also includes a transmitter configured to send the first and second audio frames to the target device. The special features available in at least one of the disclosed illustrative examples include the ability to provide redundant encryption information about the preceding audio stream frame in the subsequent audio stream frame. The redundant encryption information included in the subsequent frame may enable the reconstruction of the preceding frame, particularly in cases where the preceding frame is corrupted or lost due to a network fault. Other aspects, features, and characteristics of the present invention will become clear upon review of the application in its entirety, including the following sections: a brief description of the forms, a detailed description, and the elements of protection. Brief explanation of the drawings Figure 1: A schematic diagram showing one particular illustrative example of a system that can be operated to send information about repeated frames. Figure 2: A diagram showing one illustrative example of a sound frame containing repeated encoding information specific to another sound frame. Figure 3: A diagram showing one more illustrative example of a sound frame containing repeated encoding information specific to another sound frame. Figure 4: A diagram showing one of the illustrative examples of a high-range codebook that acquires frames. Figure 5: A schematic diagram illustrating one particular example of a parallel path encoder configured to encode repeating frame information. Figure 6: A schematic diagram illustrating one particular example of a single-path decoder configured to decode repeated frame information. Figure 7 and Figure 8 are illustrations showing one example of how to decrypt a frame based on the repeated encryption information contained in the subsequent frame. Figure 9: This is an illustration showing one example of repeated encryption of frame-by-frame information. Figure 10: This is an illustrative diagram showing a wireless device used to carry out operational procedures in accordance with the systems and methods shown in Figures 1-9. Detailed description: The following illustrative examples are provided specifically in reference to the current disclosure, with reference to the drawings. Common reference numbers have been assigned to features shared in the description and drawings for the purpose of clarifying the illustrative examples shown in the drawings and descriptions. Referring to Figure 1, an example of a system designed to transmit repeating frame information is shown and is generally identified as 100. System 100 comprises a first computing device, 110, and a second computing device, 120. Both the first computing device, 110, and the second computing device, 120, can be configured to transmit data such as audio frames through a packet switching network. For example, a packet switching network might include a Voice over Internet Protocol (VoIP) network, a Voice over Long-Term Evolution (VoLTE) network, or other packet switching networks. In one of the illustrative examples, the first computing device, 110, and the second computing device, 120, each include a mobile phone, a computer (laptop, desktop, tablet, server, etc.), a media player, a gaming device, a receiver, a navigation device, a packet switching network component, and another device dedicated to transmitting audio data, or a combination of these. The first 110 computing device may include a 112 processor (a central processing unit (CPU) and a digital signal processor (DSP), or other, and memory 114. In one particular illustration, memory 114 stores the instructions that processor 112 executes to perform several of the operations described in this disclosure. The first 110 computing device may also include an encoder 116 and a transmitter 118. Encoder 116 may encode the audio frames transmitted by transmitter 118 (for example, over a packet-switched network). In an alternative illustration, the first 110 computing device may include a receiver with transmitter 118 or a transceiver configured to send and receive data. Encoder 116 may encode a sequence of audio frames, including those described as 131, 132, 133, and 134. In Figure 1, audio frames 131, 132, 133 and 134 are consecutive frames of an audio signal labeled (N-1), frame N, frame (N+1) and frame (N+2) respectively.For ease of reading, these frames are referred to as frame N-1, frame N, frame N+1, and frame N+2, respectively. It should be noted that although audio frames 131 through 134 are shown in Figure 1 in left-to-right order, this should not be interpreted as meaning that audio frames 131 through 134 are received in this order by a second computing device, 120. As explained in more detail in this disclosure, it is possible for audio frames to reach the target device in a disorganized order or to be lost due to a network error. All frames from 131 to 134 may contain a low-band signal and high-band variables. The low-band and frame variables may be collectively referred to as the frame's initial encoding. In one illustrative example, each frame from 131 to 134 has a fixed size, and the bandwidth (number of bits per frame) allocated to the low-band and high-band variables may be dynamically adjusted from frame to frame, as will be described in more detail later in this disclosure. To improve audio decoding performance under network errors, one or more frames from 131 to 134 may contain repeating encoding information specific to the preceding frame. This repeating encoding information may include repeating low-band and / or repeating high-band variables. The repeating low-band and high-band encoding information in relation to the preceding frame may be collectively referred to as a "partial copy" of the preceding frame.In one of the illustrative examples provided in particular, the bandwidth size (number of bits per frame) allocated to low-band repeating cipher information and high-band repeating cipher information can be dynamically modified from frame to frame, as will be described further in this disclosure. For example, Encoder 116 might encode the repeating encryption information of frame N132 into a subsequent frame N+OFFSET, where OFFSET is greater than or equal to 1. When frames are sent through a packet-switching network, all frames can be routed individually to the target machine, resulting in unordered arrivals. Thus, even though frame N132 (or part of it) is corrupted or fails to reach a second machine 120 (collectively referred to as the "frame erase" state with respect to frame N132), the N+OFFSET frame may still reach (or may have already reached) a second machine 120 intact. The repeating encryption information in the N+OFFSET frame can then be used by the second machine 120 to reconstruct frame N132 (or part of it) or to prevent the propagation of a bug that would cause a major failure.In the example shown in Figure 1, OFFSET is equal to 2. Accordingly, the repeating encryption information for frame N-1 131 is added to frame N+1 133, the repeating encryption information for frame N 132 is added to frame N+2 134, and so on. In alternative illustrative examples, the OFFSET parameter might have a value greater than 2. The value of the OFFSET parameter can be determined by an industry standard (e.g., the Enhanced Voice Services standard) using computers 110 and 120, and / or it can be determined based on measured or estimated network errors. In one of the illustrative examples shown in the figures, the first computer, 110, can be configured to determine whether or not to transmit repeating encryption information. For example, a computing device might determine whether or not to transmit repeated frame information with respect to frame N 132 in frame N+2 134 based on the “importance” factor associated with frame N 132, where the importance factor indicates the relative importance of frame N 132 in reducing or limiting aspects of the defect present in the audio signal if frame N 132 is lost during the transmission process.Accordingly, information about repeated frames can be sent based on variables controlled by the source and based on the network, channel, or states according to each frame. In one particular example, the 116 encoder dynamically modifies the low-band recursive information. For instance, as shown in Figure 1, the ratio of high-band to low-band recursive information is lower in frame N+1 133 than in frame N+2 134. In another example, the split between high-band and low-band recursive information ranges from [25%, 75%] to [5%, 95%]. Also, as shown in Figure 1, the ratio of high-band variables to low-band information in frame N-1 131 is lower than in frame N+1 133, and the ratio of high-band variables to low-band information in frame N+1 133 is lower than in frames N+1 132 and N+2 134. In an illustrative example, the bitrate of an audio frame might be 13.2 kbps if no recursive cipher information is included. To include recursive cipher information, the bitrate of the low-band and high-band variants of the audio frame can be reduced to 9.6 kbps. The remaining 3.6 kbps bandwidth can be used to encode the high-band and low-band recursive cipher information of the previous frame, where the split between the high-band and low-band recursive cipher information can dynamically vary from frame to frame between [25%, 75%] and [5%, 95%]. It should be noted that the bitrate and split are provided only as examples. In the illustrative examples provided, the methods described can be used with different bitrates and splits. In another illustrative example, the ratio of bits distributed between the recursive frame and the initial frame might be adaptive. For example, the initial frame might use 11.6 kilobytes per second (kbps) is used, while the repeating frame uses 1.6 kbps out of a total of 13.2 kbps. In another example, the initial frame might use 12.6 kbps, while the repeating frame uses 0.6 kbps out of a total of 13.2 kbps. Based on the "importance" factor, this dynamic allocation of bits can be achieved and may limit the degradation of the initial frame's quality under conditions of no network errors or good channel condition when some of the bits are used in repeating frame encoding. When determining the space to be allocated to high-band repeating information and low-band repeating information within a given frame (e.g., frame N+2 134), Encoder 116 may consider the characteristics of the packet-switching network being used and the specific frame and / or the preceding frame to which the repeating information is transmitted (e.g., frame N 132). Further examples of repeating information and dynamically modifying the space allocated to this repeating information within an audio frame are shown in Figures 2-9. A second computing device (120) may include a processor (122) and memory (124). In one of the illustrative examples provided, the memory stores the instructions that processor 122 executes to perform the various operations described in this disclosure. A second computing device (120) may also include a decoder (126) and a receiver (128). Decoder 126 may decode audio frames received by receiver 128 (for example, via a packet-switching network), such as audio frames 131, 132, 133, and / or 134. In alternative illustrative examples, a second computing device (120) may include a transmitter with receiver 128 or a transceiver configured to transmit and receive data. In one of the illustrative examples provided, a second computing device, 120, includes a buffer, shown in Figure 1, that acts as a de-jitter buffer, 129. The receiving device, 128, may store received data packets (audio frames) in the de-jitter buffer, 129. Because data packets transmitted over packet-switching networks may arrive in a disorganized state, the de-jitter buffer, 129, can be used to store and reorder received data packets with a data packet timestamp. In the absence of network errors, the decoder, 126, may be unable to fully or partially decode one or more data packets due to corruption or loss (they may not be received). For example, when transmitting audio frames from 131 to 134, frame N 132 may be lost. It is possible for the decoder 126 to reconstruct the missing frame N 132 from the repeated encoding information in frame N+2 134. Examples of repeated encoding information and the reconstruction of the missing audio frame are shown in more detail by reference to Figures 2-9.While in operation, the first computing device, 110, may encode and transmit audio frames 131 through 134 to a second computing device, 120, via a packet-switched network. The second computing device, 120, may temporarily store the audio frames in the defibrillation buffer 129. The decoder, 126, may retrieve the stored audio frames from the defibrillation buffer 129 and decode the audio frames. When the decoder, 126, determines its ability to decode a specific audio frame (or part of one) (due to the frame or part of it being corrupted or not received), the decoder, 126, may check the defibrillation buffer 129 for the availability of a frame containing the repeating encoding information specific to the corrupted / lost frame (the "future" frame that follows the corrupted / lost frame in the audio stream). If this future frame is available, the 126 decoder may use the recursive encryption information from the future frame to reconstruct and decode a specific audio frame (or part thereof).Therefore, the 100 system shown in Figure 1 may enable the transmission of repeated encryption information that can be used to improve the performance of voice decryption under poor network conditions. It is clear from the preceding description that many of the functions performed by System 100, as shown in Figure 1, are described as being carried out by specific components or units. However, this division into components and units is for illustrative purposes only. In another illustrative example, a function performed by one component or unit can be divided among several components or units. Also, in an alternative illustrative example, two or more components or units, as shown in Figure 1, can be combined into a single component or unit. Any of the components or units shown in Figure 1 can be implemented using either a device (e.g., a field-programmable gate array, an application-specific integrated circuit, a digital signal processor, a controller, or other) or a program (e.g., instructions executed by the processor), or a combination of both. Figures 2 and 3 illustrate examples of the acoustic frame 134. The acoustic frame 134 may include a low-band encoded segment, referred to as the "low band." The low band may include a low-band linear expectation filter and stimulus information. For example, the low band encoded segment may include the low band line spectral pair indicator and the low band excitation 201. In alternative illustrations, the low band of the acoustic frame may include different information. The acoustic frame 134 may also include high-band variables, referred to as the "high-band variables." High-band variables occupy less space than the encoded low band and include a set of variables that a decoder may use, in accordance with the acoustic signal encoding model, to reconstruct the high band segment of the acoustic frame. In the example shown in Figure 2, the high-band variables may include the transformed low band excitation 202, the high band gain shape 203, the high band gain frame 204, and the high band line spectral pair indicator 205.In alternative illustrative examples, the audio frame may include different high-range variants. In a particularly illustrative example, the low-band line spectral pair index, low-band stimulation 201, transformed low-band stimulation 202, high-band gain profile 203, high-band gain profile 204, and high-band line spectral pair index 205 are generated during audio analysis at the encoder (encoder 116 shown in Figure 1 or encoder 500 described by reference to Figure 5). For example, an audio signal may pass through the analysis filter bank, which separates the audio signal and transforms it into a low-band signal and a high-band signal. The low-band and high-band signals may or may not overlap. The low-band signal may enter the linear prediction analysis module, which encodes the spectral cover of the low-band signal as a set of linear prediction variables. The transformation module may convert the linear prediction variables into linear spectral pairs. A quantum indicator can determine the quantity of linear spectral pairs by identifying the entry in the linear spectral pair codebook that is "nearest" to the linear spectral pairs.The quantum indicator may output an input indicator to the codebook, such as the low-band linear spectral pair indicators shown in 201. The low-band analysis unit may also produce the low-band stimulation shown in 201 and the transformed low-band stimulation in 202. For example, the low-band stimulation could be a coded signal generated by quantizing the residual signal for the linear prediction when the linear prediction analysis unit performs the linear prediction operation. The residual signal for the linear prediction may represent a prediction error. The high-band analysis unit may receive a high-band signal from the analysis filter bank and a low-band stimulation signal from the low-band analysis unit. The high-band analysis unit may produce a high-band linear spectral pair index 205 using linear prediction coefficient coding and a quantization process similar to that used to produce a low-band linear spectral pair index and low-band stimulation 201. The high-band linear spectral pair index 205 may occupy fewer bits than the low-band linear spectral pair index. The high-band analysis unit may also produce a high-band gain shape 203 and a high-band gain frame 204. Both the high-band gain shape 203 and the high-band gain frame 204 may enable a decoder (e.g., the 126 decoder shown in Figure 1 or the decoder described by reference to Figure 6) to modify the high-band gain shape and frame to more accurately reproduce the high-band signal. When repeating frame cipher information is enabled, audio frame 134 also includes repeating cipher information for low-band 214 and high-band 210 for another audio frame. Audio frame 134 may also include an indicator of frame 215's type. As shown in more detail by reference to Figures 5 and 6, the indicator of frame 215's type in one of the illustrations is a 3-bit indicator that points to another audio frame type and the number of bits from audio frame 134 allocated to the repeating cipher information for low-band 214 and high-band 210. In one of the illustrations presented specifically, the repeating cipher information for low-band 214 and high-band 210 may be optional. High-band repeating cipher information 210 may include a significant high-band gain 211 indicator, a high-band gain frame indicator 212, and a high-band linear spectrum pair indicator 213, as shown in Figure 2.In alternative illustrative examples, the high-band 210 encoding information may include a different indicator or a combination of indicators. For example, the high-band line spectrum pair indicator 213 may be included in the high-band 210 recursive encoding information for an ultra-broadband connection, while it may be omitted for a broadband connection. In another illustrative example, the high-band gain shape indicator 211 and / or the high-band gain frame indicator 212 may be omitted for certain frame types. In one of the illustrative examples provided, the 211 bandgap index might be a single-bit index associated with the high-bandgap of the preceding audio frame (e.g., frame N132). The encoder might adjust the value of the 211 high-bandgap index based on the relationship between the high-band segments of frame N132 and frame N+2134. For example, the standard high-band relationship between frames N132 and N+2134 can be estimated using the following equation: , Where XN(k)k is the gain shape value for the Nth frame. In one example, one or more subframes can be used to define four gain shape values for each frame (for example, k varies from 1 to 4). If the relationship value is greater than the minimum (0.75), the encoder sets the value of the high-band gain shape index 211 to the first value (GS_bit=1). When the high-band gain shape index 211 is set to the first value, the encoder may reuse the high-band gain shape 203 of the N+2134 frame as the estimated high-band gain shape for the N132 frame during the decryption / regeneration of the N132 frame. If the relationship value is less than the minimum, the encoder sets the value of the high-band gain shape index 211 to the second value (GS_bit=0). When the high-band gain shape indicator 211 is set to the second value, the decoder may use the fixed gain shape as the estimated gain shape or may perform some other prediction methods to estimate the N132 frame gain shape. In one of the illustrative examples provided, the encoder might determine the value of the GS_bit 211 index based on the distance of the codebook index rather than, or in addition to, the GS_bit relationship. For example, the encoder might access the codebook of the GS_bit used to determine the amount of information for GS_bit 203. The encoder might determine the first codebook index associated with the GS_bit of frame N132 and the second codebook index associated with the GS_bit of frame N+2134. The encoder might then set the value of the GS_bit 211 index (GS_bit=1 or GS_bit=0) based on the distance (at least the mean squared error distance) between the codebook indexes. The 212 high-gain frame indicator may be a single-bit indicator or a multi-bit indicator. In one illustrative example, the encoder dynamically adjusts the size of the 212 high-gain frame indicator. For instance, a packet-switching network might be used to transmit various types of audio frames, including audible, general, transitional, and inaudible frames. It may be useful to use a dynamic range or a range-based range to determine how much of the gain for inaudible frames exceeds the range used for audible / general / transitional frames. A coarser gain frame may be sufficient to represent the high-to-low-gain ratio for audible / general / transitional frames. Accordingly, if frame N 132 is an inaudible frame, the encoder might allocate a larger initial number of bits (from 3 to 6 bits) to the 212 high-gain frame indicator.If frame N 132 is not an inaudible frame, the encoder may allocate a second, lower number of bits (1 to 2 bits) to the high-gain frame index 212. In the example shown in Figure 2, a larger number of bits (3 to 6 bits) are allocated to the high-gain frame index 212. In contrast, Figure 3 illustrates a smaller allocation of bits (1 to 2 bits) to the high-gain frame index 312 than to the high-gain frame index 212 shown in Figure 2. Because fewer bits are allocated to the high-gain frame index 312, additional bits may be available to represent the low-band repeat cipher information 314, in addition to the repeat cipher information for the low-band 214 shown in Figure 2. Alternatively, additional bits may be allocated to the low-band or high-band variants of the N+2 134 frame. In Figures 2 and 3, this flexibility in bit allocation is illustrated using three dividing lines 250, 260, and 270. The first 250 split line separates the initial encryption information from the recursive encryption information and can be adjusted to the right or left as the encoder adjusts the ratio of the initial encryption bits to the recursive encryption bits.The second partition line, 260, separates low-band and high-band variables within the initial cipher information and can be adjusted up or down as the encoder modifies the low-band bits to the high-band variable bits within the initial cipher information. The third partition line, 270, separates low-band recursive cipher information from high-band recursive cipher information and can also be adjusted up or down as the encoder modifies the ratio of high-band recursive bits to low-band recursive bits. In one particular illustrative example, the encoder might adjust the number of bits allocated to the four frame segments (by "moving" the 250, 260, and 270 segments) based on the "importance" and / or type of frame N132 and / or frame N+2134. To illustrate, the allocation of bits among the four frame segments might be based on a balance between the importance of the preceding frame (the relevant repeating encoding information is included in the frame) and the reduced audio quality resulting from having fewer bits available to represent the frame's initial encoding information. The inability to decode one type of frame might be more noticeable to the listener than the inability to decode another type. Thus, some frames might be considered to have a more "important" audio signal than others. For example, the first audio stream might have a higher "importance" than the second, since mis-decoding the first frame might result in more noticeable decoding defects than mis-decoding the second.More bits can be allocated to the recursive encryption information of a significant frame than to the recursive encryption information of an unsignificant frame. Alternatively, fewer bits can be allocated to the recursive encryption information of a significant frame than to the unsignificant frame. For example, speech frames can be categorized into "fully predictive," noise-stimulated linear prediction, "general," and "non-prediction-based" types. Fully predictive frames may correspond to audible speech and may constitute 50% or more of the active frames in an audio signal corresponding to speech-based transmission. Noise-stimulated linear prediction frames may correspond to inaudible data and constitute 10% to 20% of the frames. The remaining 30% to 40% of frames may be generic or non-prediction-based frames. Generic frames may be a mixture of different frame modes that include formatted codebook information and static codebook information, such as codebook indicators. Non-prediction-based frames may correspond to audio transitions that may include static codebook information. Generic and non-prediction-based frames may be more "self-containing" than fully predictive and noise-stimulated linear prediction frames.Therefore, if a generic or non-prediction-based frame is corrupted or not received, the decoder's ability to rely on other frames to reproduce the frame may be reduced. Consequently, generic or non-prediction-based frames may be more important, while fully prediction-based frames and noise-induced linear prediction frames may be less important for that particular frame (the effect of fully prediction-based frames and noise-induced linear prediction frames may vary with respect to the future frame). In the example shown in Figure 2, frame N+2134 contains redundant cipher information relative to frame N132. If frame N132 is not considered significant, more bits can be allocated to the redundant cipher information (the first 250-bit split line can be moved to the left). If frame N+2134 is not considered significant, fewer bits can be allocated to the redundant cipher information (the first 250-bit split line can be moved to the right) to reduce the regression in the quality of frame N+2134. Therefore, in the illustrations where frame N+2134 is significant and frame N132 is not, fewer bits may be allocated, or none at all, to the redundant cipher information. Conversely, in the illustrations where frame N+2134 is not significant and frame N132 is significant, more bits may be allocated to the redundant cipher information.Accordingly, the number of bits allocated to high-band variables and / or low-band recursive cipher information and / or high-band recursive cipher information can be determined based on the N132 frame type and / or the N+2134 frame type. In one of the illustrative examples provided, when the first number of bits (3 to 6 bits) is allocated to the 212 high-gain frame index, the first number of bits is used to represent the codebook index. When the second number of bits (1 bit) is allocated to the 212 high-gain frame index, the second number of bits is used to indicate the half of the high-gain frame related to frame N132. For example, with reference to Figure 4, audio frames 131 to 134 may have high-gain frame values of 1.6, 3.6, 1.6, and 1.0, respectively, and the codebook for a high-gain frame may contain 8 pointers. If frame N 132 is inaudible, three bits are allocated to the high-gain frame pointer 212 with the value "100," which is a binary representation of codebook pointer 4 corresponding to a high-gain frame value of 3.6. Otherwise, one bit is allocated to the high-gain frame pointer 212 with the value "1," indicating a high-gain frame value of 3.6 in the first part (the upper half corresponding to pointers 4 to 7) of the codebook. The value can be set to "zero" if the high-gain frame value is in the second part (the lower half corresponding to pointers 0 to 3) of the codebook. The decoder may use the high-band gain frame value of the previous frame (frame N-1) with information indicating that the high-band gain frame value of frame N falls in the upper half of the codebook to evaluate the high-band gain frame value of frame N. Therefore, in one of the illustrative examples provided in particular, the 212 high-gain frame index can be customized and adjusted by the encoder in accordance with the initial code in the form of the following C: / * If the repeating frame is of type NELP * / If (st->rf_frame_type == RF_NELP) / * Frame gain, which is encoded using 5 bits for NELP frames * / First step: Disable the high-range gain indicator for the recurring frame; Step two: Convert the acquired value from the record range to an actual value (10^acquirement) when necessary; Else / * If the recurring frame is of the full, general, or non-prediction type * / Smoothness factor = 0.0f; / *Frame Acquisition* / Key (acquisition indicator) / * encrypted using 2 bits* / Status 0: Gain frame = 0.5f; / * if the gain index equals 0 * / If (previous frame gain <= 1.25) { smoothness factor = 0.8f;} Case 1: Gain frame = 2.0f; ; / * if the gain index equals 1 * / If (previous frame gain > 1.25 && <= 3) { smoothness factor = 0.8f;} Case 2: Gain frame = 4.0f; ; / * If the gain index equals 2 * / If (previous frame gain > 3 && <= 6) { smoothness factor = 0.8f;} Case 3: Gain frame = 8.0f; ; / * If the gain index equals 3 * / If (previous frame gain > 6 && <= 16) { smoothness factor = 0.8f;} Gain frame = (1-Fluency factor)*Acquisition factor + Fluency factor*(Acquisition of previous frame); The 213 high-band LBS indicator may contain a single bit to tell the receiver how to derive the high-band LBS indicators for frame N132. To determine the value of the 213 high-band LBS indicator, the encoder can evaluate the difference in the high-band LBS indicator between frames using a spectral distortion metric between frame N132 and frame N+2134. Alternatively, the distance between the codebook indicator and the high-band LBS indicators for the audio frames can be used. When the spectral difference between frame N and frame N+2 is less than the specified minimum (2 dB), the encoder can set the 213 high-band LBS indicator to the first value (HBLSP_bit=0). When the high-band linear spectral pair indicator 213 is set to the first value, the decoder may use the high-band linear spectral pair indicator 205 for frame N+2 as an estimated indicator for the high-band linear spectral pair of frame N.When the spectral difference is greater than or equal to a specified minimum threshold (2 dB), the encoder may set the 213 high-band linear spectral pair index to the second value (HBLSP_bit=1). When the 213 high-band linear spectral pair index is set to the second value, the decoder may use the N-frame high-band linear spectral pair index through extrapolation or interpolation. For example, if the spectral difference is within the minimum threshold (2 dB < difference < 4 dB), the decoder may derive the N-frame high-band linear spectral pair index by extrapolating the index from frame N-1 to frame N+2. If the spectral difference is outside the minimum threshold (>= 4 dB), the decoder may derive the N-frame high-band linear spectral pair index by interpolating from the preceding frames (frame N-1 and frame N-2). To adjust the value of the high-band linear spectral pair index 213 in one alternative illustration, the encoder might determine the difference (delta) between the high-band linear spectral pair index of frame N and frame N+2. The encoder might then adjust the value of the high-band linear spectral pair index 213 based on this difference and use the high-band linear spectral pair index 213 to derive the high-band linear spectral pairs of frame N from the high-band linear spectral pairs of frame N+2. In another alternative illustration, the high-band linear spectral pair index 123 is not included in the redundant encryption information. Therefore, as shown by reference to Figures 2 to 4, the encoder may determine the space occupied by the high-band 210 repeating encryption information and may adjust the values of the high-band 210 repeating encryption information to enable the decoder to reconstruct the missing frame (or part of it). Figure 5 illustrates one of the examples specifically provided for a 500 encoder. In this example, the 500 encoder corresponds to the 116 encoder shown in Figure 1. The 500 encoder comprises two encoding paths operating in parallel: a 510 initial encoding path and a 520 recursive encoding path (also referred to as the "partial copy"). The 510 and 520 encoding paths are connected to a 540 frame component (or bit multiplexer). In Figure 5, the 510 and 520 encoding paths are initialized to communicate through a 530 shared memory. The 530 shared memory may correspond to a cache-based memory, a register-based memory, or other processor (digital signal processor) memory. In alternative examples, the 510 and 520 encoding paths may communicate using a different mechanism. During operation, the data for the audio frames to be encoded can be supplied to the initial encoding path 510 and the recursive encoding path 520. For example, Figure 5 shows the supply of data for frames 501, 502, 503, and 504 in relation to frame N-2 551, frame N 132, frame N+2 134, and frame N+4 554, respectively, to encoding paths 510 and 520. The data for the interference frames (frame N-1 131, frame N+1 133, and frame N+3) are omitted for clarity. The initial encoding path 510 may produce the initial encoding information for the audio frames, and the recursive encoding path 520 may produce the recursive information for the audio frames. It is possible for a bit multiplier or frame component 540 to sequence the bits received by encoding paths 510 and 520 to produce the encoded audio frames. In the example shown in Figure 5, the frame component produces frame N-2 551, frame N 132, frame N+2 134, and frame N+4 554, all of which are equipped with a data packet aggregation and transmission system for communication with the target device. The encoding operations performed by the initial 510 encoding path may depend on those performed by the recursive 520 encoding path, and vice versa. For example, an encoder 500 might encode audio frames at a rate of 13.2 kbps, with each frame containing 264 bits (in alternative illustrative examples, a different bit rate and number of bits could be used). The initial 510 encoding path might determine the number of bits available from the 264 bits to encode the initial encoding information (low-band and high-band variables) of the frame, based on the bits used by the recursive 520 encoding the recursive encoding information of the preceding frame. The recursive 520 encodes the recursive encoding information of the frame based on the variables determined by the initial 510 encoding path during the frame's initial encoding.Therefore, as shown using shared memory 530 in Figure 5, the initial cipher path 510 may send low / high band variants to the recursive cipher path 520, and the recursive cipher path 520 may send a number of bits used in the recursive frame cipher to the initial cipher path 510. When the initial cipherpath 510 receives the frame 551 data for frame N-2 551, it may determine the number of bits that the recursive cipherpath 520 uses to perform the recursive cipher for frame N-4 (not shown). The example in Figure 5 shows that the recursive cipher for frame N-4 is not performed. Therefore, the initial cipherpath 510 may allocate all 264 available bits to the bitwise cipher information generated from the frame 501 data, and frame N-2 551 may contain the 264 encoded bits received from the initial cipherpath 510. To illustrate, as shown in Figures 2 and 3, these 264 bits may include line-spectral pair indices, initialized cipherbook information, fixed cipherbook information, stimulus information, transformed stimulus information, gain shape information, and / or gain frame information, among other alternatives. In parallel with the operations performed by the initial 510 encryption path for the 501 frame data, the 520 recursive encryption path determines the number of bits to be used in the recursive encryption of the N-2 551 frame.In the example shown in Figure 5, no repeat encoding was performed for the N-2 551 frame (the N-2 551 frame was marked as "not important"). In one of the illustrations, the repeat encoding path 520 specifies the number of bits to be used for repeat encoding the frame based on the frame type. For example, 41 bits can be used for NELP repeat encoding, 58 bits for fully predictive repeat encoding, and 72 bits for general repeat encoding (different numbers of bits can be used for different frame types in the alternative illustrations). The low / high band repeat frame information represented when using 41 bits, 58 bits, 72 bits, or other bits can be defined in an industry standard (e.g., the 3G Partnership's Enhanced Voice Services standard). When the initial cipher path 510 receives the frame 502 data of frame N-132, it may specify the number of bits used for the iterative cipher of frame N-2 551. Since no iterative cipher is performed on frame N-2 551, the initial cipher path 510 may use all 264 available bits to represent the low-band and high-band variables derived from the frame 502 data. The output of frame N-132 extracted by the frame component 540 may contain 264 encoded bits received from the initial cipher path 510. The iterative cipher path 520 may use 41 bits for the iterative cipher of frame N-132 (frame N-132 may be an NELP frame). 41 bits can be used in particular to represent the “important” low-band / high-band variables determined by the initial 510 coding path during the initial coding of the N 132 frame. For clarity and as shown by reference to Figures 2 and 3, the coding information for the iterator may include gain shape information, gain frame information and / or line spectral pair information, among other alternatives.The 41-bit redundant encryption can be stored with respect to frame N 132 (in shared memory for 530) for later use. When primary encoding path 510 receives frame data 503 for frame N+2 134, it determines (based on data stored in shared memory 530) to use 41 bits for the redundant encoding of frame N+2 134. Therefore, primary encoding path 510 might use 264 - 41 = 223 bits for encoding low-band and high-band variants of frame N+2 134. Redundant encoding path 520 might determine to use 72 bits for the redundant encoding of frame N+2 134 (frame N+2 134 might be a shared frame). The 72-bit redundant encoding of frame N+2 134, which might represent variants of frame N+2 134 defined by the primary encoding path, can be stored for later use. Frame 540 component may perform the initial 223-bit encryption sequence received from the initial 510 encryption path, repeating the 41-bit encryption stored beforehand for frame N132 to produce frame N+2134, as shown. When the initial cipher path 510 receives the frame data for frame N+4 554, it may determine the 72 bits used for the recursive encoding of frame N+2 134. Accordingly, initial cipher path 510 may use 264 - 72 = 192 bits to encode the low-band information and high-band variables of frame N+4 554. In parallel, recursive path 520 may perform the recursive encoding of frame N+4 554. Frame component 540 may perform the 192-bit initial cipher sequence received from initial cipher path 510 using the previously stored 72-bit recursive encoding of frame N+2 134 to produce frame N+4 554, as shown. In one of the illustrative examples provided, the last three bits represent the frame type indicator with respect to the recursive cipher information contained within the frame. For example, since frame N-2 551 and encoded frame N 132 do not contain any recursive cipher information for another frame, the last three bits of frame N-2 551 and frame N 132 may have the first value (000). Since frame N+2 134 contains 41-bit recursive cipher information and frame N is of type NELP, the last three bits of frame N+2 134 may have the second value (001 or another 3-bit characteristic). Since frame N+4 554 contains 72-bit recursive cipher information and frame N+2 134 is of type generic, the last three bits of frame N+4 554 may have the third value (010 or another 3-bit characteristic). Additional values for a 3-bit frame type indicator can be used to indicate other frame types and to transmit other information by signals (frequency-based subdomains).Therefore, as shown in the example, the last three bits of each frame indicate the type of the preceding frame and the number of bits of recursive encryption information from that frame included in the current frame. Accordingly, 261 of the 264 bits can be shared between the initial encryption path 510 and the recursive encryption path 520, with the remaining three bits retained as an indicator of the recursive frame type. The encoded audio frames can be transmitted from the source device (the first computing device, 110, shown in Figure 1) to the target device (the second computing device, 120, shown in Figure 1), which may decode the received audio frames. For example, Figure 6 shows an illustrative example of a 600 decoding device decoding the received audio frames. The 600 decoding device may correspond to the 126 encoding device shown in Figure 1. The 600 encoding device includes a 610 defibrillation buffer (corresponding to the 129 defibrillation buffer shown in Figure 1). While the 500 encoding device includes two parallel decoding paths, 510 and 520, the decoding device includes a single decoding path, 620. Since the audio frames are received by the receiver, they can be stored in the de-jitter buffer 610. As illustrated in Figure 1, and due to network conditions, frames transmitted from the source device may arrive at the target device out of order, corrupted, or not at all. The decoding path 620 may retrieve frames from the de-jitter buffer 610 according to the frame sequence (based on the number of frame sequences or other sequence information contained in the audio frames). For example, the decoding path 620 may attempt to retrieve and decode frame N-2 551 before frame N-132, frame N-132 before frame N+2 134, and frame N+2 134 before frame N+4 554. For clarity, the decoding of overlapping frames (frame N-1 131, frame N+1 133, and frame N+3) is not shown in Figure 6. To begin decrypting frame N-2 551, decryption path 620 may check if frame N-2 551 is available in defibrillation buffer 610. In the example shown in Figure 6, frame N-2 551 is available in defibrillation buffer 610. Decryption path 620 may determine how many bits from frame N-2 551 are used in the recursive cipher information of another frame. For example, based on the last three bits of frame N-2 134 being 000 (as shown in Figure 5), decryption path 620 may determine that there are no bits in frame N-2 134 that represent recursive frame information. Therefore, the 620 decryption path may retrieve the full 261 bits of frame N-2 551, as shown in 651, and may produce decoded 601 data. This decoded 601 data can then be presented to an output device (speaker) for playback. It will be estimated that, based on the quality of the encryption operation performed by the 500 encoder and the quality of the decryption operation performed by the 600 decoder, the 601 data may be identical to or very close to the 501 data shown in Figure 5.During the decryption of frame N-2 551 based on a 261 initial bit count, the decryption variables can be stored specifically in 622 initial decryption memory for use in decrypting the next frame. In the example shown in Figure 6, frame N132 is not available in the 610 Defibrillator Buffer. Alternatively, decryption path 620 might determine that frame N132 is available in the 610 Defibrillator Buffer, but an error might occur during the decryption of the initial bits of frame N132. In either case, decryption path 620 might check for repeating frame information specific to frame N132 in the 610 Defibrillator Buffer. For example, based on a known offset of 2 frames between the initial and repeating encoding information (other offsets such as 3, 5, or 7 can be used in illustrative examples), decryption path 620 might check for frame N+2134 in the 610 Defibrillator Buffer. If frame N+2134 is also not available, decryption path 620 might initiate an error masking procedure to produce decrypted information for frame N132. However, in the example As shown in Figure 6, frame N+2 134 is available in defibrillation buffer 610.Based on the last three bits of frame N+2 134 with the value 001 (as shown in Figure 5), decryption path 620 may determine that the 41 bits of frame N+2 134 represent the repeat encryption information for frame N 132. Decryption path 620 may retrieve the 41 bits of the repeat encryption for frame N 132, as shown in 652, and may produce data 602. Thus, decryption path 620 may determine the number of bits of the repeat encryption available and retrieve the repeat encryption bits based on the specified limit (for example, if the repeat encryption bits are for Y, decryption path 620 retrieves the last bits of Y for the frame or packet stored in the 610 dejim buffer associated with the packet sequence number specified by OFFSET). In Figure 6, the data decrypted from the repeat encryption information (data 602) is shown using a schematic. During the decryption of the N 132 frame based on the 41-bit recursive encryption information, specific variables can be stored in the 624 recursive decryption memory for later use.In one alternative illustrative example, the 624 recurrent decryption memory may overlap or match the 622 initial encryption memory. Therefore, decryption path 620 may maintain separate memories for prime-bit decryption and recursive-bit decryption. In one particular illustration, data from prime-bit decryption memory 622 can be used during the decryption of other prime-bits but not during the decryption of recursive-bits. Similarly, data from recursive-bit decryption memory 624 can be used during the decryption of recursive-bits but not during the decryption of prime-bits. In an alternative illustration, data from prime-bit decryption memory 622 can be used to decrypt recursive-bits and / or data from recursive-bit decryption memory 624 can be used during the decryption of prime-bits. For example, variables taken from several previously decrypted frames can be used during extrapolation and / or predicting the parameter of the "current" frame. Decryption route 620 may decrypt frame N+2 134 and frame N+4 554, available in the 610 defibrillation buffer, as shown in relation to frame N-2 551. Based on the last three bits of frame N+2 134, valued at 001 (as shown in Figure 5), decryption route 620 may retrieve 264 - 41 = 223 initial bits of frame N+2 134, as shown in 653, to produce the decrypted data 603. Based on the last three bits of frame N+4 554, valued at 010 (as shown in Figure 5), decryption route 620 may retrieve 264 - 72 = 192 initial bits of frame N+4 134, as shown in 653, to produce the decrypted data 604. It should be noted that the 600 decoder may also use a partial version of the frame type indicator when operating in "empty channel" modes. For example, when the 610 defibrillator receives frame N132, there may be no erasure state for frame N132. However, the 600 decoder may evaluate the frame type indicator to determine how many bits of frame N+2134 are primary encryption bits and how many bits of frame N+2134 are partial version bits of frame N132. The 620 decoder path may then decode frame N+2134 based on the primary encryption bits. The bits of the partial copy of frame N 132 can be discarded because frame N 132 was received and successfully decoded before frame N+2 134 was decoded. Therefore, the 600 decoder may process duplicate frame information in noisy channel modes (during which the frame is dropped and recreated) as well as in empty channel modes. It should be noted that, for the sake of clarity, the 51 and 520 encryption paths shown in Figure 5 and the decryption path shown in Figure 6 are depicted as block components. However, it should be understood that the initial 510 encryption path, the repeated 520 encryption path, and / or the 620 decryption path may contain subcomponents that perform the encryption and / or decryption operations shown with reference to Figures 1-4. For example, one or more of the 510, 520, or 620 paths may contain an analysis filter bank, a linear prediction analysis module, a quantum determinant, a high-band analysis module, a formatted cipherbook, a fixed cipherbook, or other components. In some of the illustrative examples provided, in particular, one or more of the 510 and 520 encryption paths may contain decryption components that are also included in the 620 decryption path (for example, a "local decryptor" for the 500 encryption device). Therefore, the figures show examples of a 500 encoder and a 600 decoder that can be used to encode and decode recursive frame information. Sending the recursive encoding bits of a frame in a lag frame can improve audio reconstruction (synthesis) at the target device under poor network conditions. For example, the recursive encoding bits can be used to reconstruct the frame if the target device fails to receive it. In another example, if an error occurs while decoding the initial bits of a specific frame, the frame's recursive encoding bits can be retrieved from another frame and used as a replacement for, or in conjunction with, the initial bits. Referring to Figures 7-8, an illustration of one of the examples provided specifically demonstrates a frame decryption method based on the repeated encryption information contained in a subsequent frame, generally identified by the number 700. In one example, method 700 can be executed on the target machine (a second computing machine, 120, shown in Figure 1) and / or the decryptor (a decryptor, 600, shown in Figure 6). Method 700 involves receiving the second audio frame at the decoder (e.g., via a packet switching network) at 702. The second audio frame follows the first audio frame in an audio signal. The second audio frame includes an initial set of bits for the initial encryption information associated with the second frame, a second set of bits for the repeated encryption information associated with the first frame, and an indicator of the type of the first audio frame. For example, in Figure 6, the decoder might receive frame N+2 134, which follows frame N 132, in an audio signal. Method 700 also involves storing the second audio frame in the defibrillator buffer of 704. For example, as shown in Figure 6, frame N+2 134 can be stored in defibrillator buffer 610. Method 700 involves determining whether the frame-erasing condition accompanies the first audio frame in 706. In response to determining whether the frame-erasing condition accompanies the first audio frame (the first audio frame being dropped or corrupted due to poor channel modes), Method 700 also involves determining the second number of bits of the second audio frame allocated to the recursive cipher information accompanying the first audio frame in 708, based on the indicator. For example, as shown in Figure 6, decoding path 620 might determine that frame N 132 is not available in defibrillator buffer 610 and, based on the frame-type indicator in frame N+2 134, might determine that 41 bits of frame N+2 134 represent the recursive cipher information of frame N 132. Method 700 involves decoding the first audio frame based on the repeated encryption information in 710. For example, as shown in Figure 6, the decoding path 620 might decode the missing frame N 132 or close to it based on the 41 bits of repeated encryption information included in frame N+2 134. If the frame erasure condition is not associated with the first audio frame, method 700 involves decoding the first audio frame based on the initial coding information present in the first audio frame in 712. For example, under the empty channel condition, frame N 132 may be pre-received and stored in the deflector buffer 610, and the decoding path 620 may decode frame N 132 based on the initial coding bits of frame N 132. Regardless of whether the first audio frame is encoded using recursive or initial encryption information, Method 700 may involve determining the first number of bits of the second audio frame allocated to the initial encryption information associated with the second audio frame in Method 714, based on the indicator. Method 700 may also involve decrypting the second audio frame based on the initial encryption information in Method 716. One example specifically demonstrating the possibility of performing one or more operations during the decryption of the second audio frame (frame N132) based on the recursive cipher information contained in the second audio frame (frame N+2134) is shown in more detail in Figure 8. Therefore, one or more of the operations shown in Figure 8 can be performed as part of operation 710, as shown in Figure 7. In one illustrative example, one or more of the operations shown in Figure 8 can be omitted. It should be noted that Figure 8 illustrates high-band decryption based on recursive cipher information. Although not shown in Figure 8, low-band decryption based on recursive cipher information can also be performed by the decryptor during operation 710, as shown in Figure 7. The decoder may determine the gain shape index value included in the repeated encryption information in 810. When the gain shape index is set to the first value, the decoder may use the high-wave gain shape of the second audio frame as the estimated gain shape of the first audio frame in 812. For example, with reference to shapes 2 and 3, the decoder may use the high-band gain shape 203. When the gain shape index is set to the second value, the decoder may use the fixed gain shape as the estimated gain shape or use other prediction methods to estimate the initial audio frame shape in 814. The decoder may also determine the number of bits allocated to the high-band gain frame indicator in the 820 recursive cipher information. When allocating the first (larger) number of bits, the decoder may determine the high-band gain frame for the first audio frame using the high-band gain frame indicator as a cipherbook indicator in 822. When allocating the second (smaller) number of bits, such as one bit, the decoder may determine the high-band gain frame for the first audio frame by accessing the specified portion (top or bottom half) of the cipherbook in 824. The decoder may also determine the value of the high-band linear spectral pair index at 830. When the high-band linear spectral pair index is set to the first value, the decoder may use the high-band linear spectral pair index (or high-band linear spectral pair) of the second audio frame as the estimated high-band linear spectral pair index (or estimated high-band linear spectral pair) of the first audio frame at 832. When the high-band linear spectral pair index is set, the decoder may determine whether there is spectral distortion between the first and second audio frames within the allowable limit at 834. When the spectral distortion is within the allowable limit, the decoder may determine the high-band linear spectral pair index (or high-band linear spectral pair) of the first audio frame by extrapolation (extrapolation between frame N-1 131 and frame N+2 134) at 836.When the spectral distortion is outside the permissible limit, the decoder may determine the high-band linear spectral pair index (or high-band linear spectral pair) of the first acoustic frame by extrapolation (extrapolation from frame N-2 551 and frame N-1 131) at 838. In some of the illustrative examples provided, the 700 method shown in Figures 7 and 8 can be implemented using a device (e.g., a field-programmable gate array, a circuit embedded in a specific application, or other) of a processing unit such as a central processing unit (CPU), digital signal processor (DSP), or controller, or through a device with firmware, or a combination thereof. For example, the 700 method shown in Figures 7 and 8 can be implemented through a processor executing instructions, as illustrated in Figure 10. Referring to Figure 9, an illustration of one of the examples provided specifically demonstrates the method of encrypting the recurrent encryption information contained in a subsequent frame and generally identified by the number 900. In one example, method 900 can be executed at the target machine (a second computing machine, 110, shown in Figure 1) and / or the encryption machine (an encryption machine, 500, shown in Figure 5). Method 900 involves encoding and transmitting the first audio frame in the audio signal in 902. For example, as shown in Figure 5, the encoder might encode and transmit frame N132. Method 900 also involves determining the initial number of bits of the audio frame allocated to the initial encryption information accompanying the second audio frame in 904, based on the type of the first audio frame. The first audio frame follows the second audio frame in an audio signal. The second number of bits of the second audio frame allocated to the repeated encryption information accompanying the first audio frame is also determined. For example, as shown in Figure 5, the encoder might, based on the type of frame N132, allocate 41 bits of frame N+2134 to the repeated encryption information of frame N132 and allocate 223 bits of frame N+2134 to the initial encryption information of frame N+2134. Method 900 includes encoding the second audio frame in 906. The second audio frame includes the first number of bits for the initial encryption information, the second number of bits for the repeated encryption information, and an indicator that shows the type of the first audio frame. For example, the encoder might set the value of a gain shape indicator that contains one bit in 908. The value can be set based on the parameter between the high-band segments of the first and second audio frames and / or the distance between the codebook indicators associated with the high-band gain shapes of the first and second audio frames. The encoder may allocate a specific number of bits to the high-gain frame index in 910. This specific number of bits can be determined based on whether the first audio frame is inaudible or not. The encoder may also allocate bits to a specific value based on the codebook (the codebook for the high-gain frame is shown in Figure 4). The encoder may adjust the value of the single-bit high-band linear spectral pair indicator based on the spectral distortion between the first and second audio frames and / or the distance between the codebook indicators associated with the high-band linear spectral pairs of the first and second audio frames in 912. Alternatively, the encoder may determine the difference (delta) between the high-band linear spectral pairs with respect to the first and second audio frames and adjust the value of the high-band linear spectral pair indicator based on the difference in 914. In alternative illustrative examples, the encoder may determine different recursive cipher information. However, it should be noted that the preceding examples of certain types of indicators, whether single-bit or multi-bit, are provided as examples and not exhaustive. In alternative illustrative examples, different types of initial and / or recursive cipher information may be represented using different numbers of bits. Method 900 also involves sending the second audio frame in 916. For example, as shown in Figure 1, transmitter 118 might send frame N+2 134 to receiver 128, where frame N+2 134 contains repeating cipher information specific to frame N 132. In some of the examples provided, in particular, Method 900 can be implemented using a device (e.g., a field-programmable gate array device, a circuit embedded in a specific application, or other) of a processing unit such as a central processing unit (CPU), digital signal processor (DSP), or controller, or through a device with firmware, or a combination thereof. Method 900, as shown in Figure 9, can be implemented, for example, through a processor executing the instructions, as shown in Figure 10. It should be noted that the order of operations shown in Figures 7 through 9 is for illustrative purposes only and is not exhaustive. In alternative illustrative examples, some operations may be performed in a different order and / or simultaneously (or at least partially simultaneously). With reference to Figure 10, there is a diagram illustrating one of the examples provided specifically for a wireless communication device, generally designated as 1000. Device 1000 includes a primary processor, 1010 (central processing unit), connected to memory, 1032 (computer-readable storage device). Device 1000 also includes a secondary processor, 1080 (digital signal processor). Memory 1032 may contain 1060 instructions that can be executed by the primary processor, 1010, and / or the secondary processor, 1080, to perform the methods and operations described in this disclosure, such as those shown in Figures 7-9. The second 1080 processor may include a 1087 voice encoder, a 1088 voice decoder, and 1085 memory that stores one or more 1086 codebooks (low-band linear spectral pair codebook, high-band linear spectral pair codebook, high-band gain shape codebook, high-band gain frame codebook, etc.). One or more 1086 codebooks may contain a formatted cipherbook, a fixed cipherbook, or both. In one illustrative example, the audio encoder is the 116 encoder shown in Figure 1 and / or the 500 encoder shown in Figure 5, and the audio decoder 1088 is the 126 decoder shown in Figure 1 and / or the 600 decoder shown in Figure 6. Memory 1085 includes the defibrillator buffer 129 shown in Figure 1 and the shared memory 530 shown in Figure 6 and / or the defibrillator buffer 610 shown in Figure 6.In alternative illustrations, the 1087 audio encoder and / or the 1088 audio decoder might be externally connected to the second 1088 processor (which could be embedded in the first 1010 processor or a different processor or device). The 1087 audio encoder and the 1088 audio decoder could be implemented via a dedicated device (a circuitry set) through a processor that executes instructions to perform one or more tasks, or a combination thereof.For example, a 1032 or 1085 memory device may be a random access memory "RAM", magnetoresistive random access memory "MRAM", spin-torque transfer MRAM "STT-MRAM", flash memory, read-only memory "ROM", programmable read-only memory "PROM", erasable programmable read-only memory "EEPROM", registers, a hard disk, a removable disk, optical disc memory (compact disc read-only memory "CD-ROM", digital video disc "DVD", Blu-ray disc, or other).The memory device may contain instructions (Instruction 1060) which, when executed by the computer (Processor 1 1010 and / or Processor 2 1080), may cause the computer to perform many of the operations specified in this disclosure. Figure 10 also shows the 1026 monitor controller connected to the first processor, 1010, and the 1028 monitor. The 1034 coder / decoder (CODEC) can be connected to the first processor, 1010, and the second processor, 1080, as shown. The 1036 speaker and the 1038 microphone can be connected to the 1034 coder / decoder. In one of the illustrative examples provided, the 1034 coder / decoder is an analog peripheral component for audio processing. For example, the 1034 coder / decoder might perform analog gain modulation and variable adjustment of the signals it receives from the 1038 microphone and the signals transmitted to the 1036 speaker. The 1034 coder / decoder might also include analog-to-digital and digital-to-analog converters. In one of the illustrative examples provided in particular, the 1034 encoder / decoder may also include one or more signal modulation devices and signal processing filters.In specific illustrative examples, the 1034 encoder / decoder includes memory to store input data received from the microphone 1038 and to store output data sent to the speaker 1036. Figure 10 also shows a wireless controller 1040 connected to the first processor 1010 and the antenna 1042. In one of the illustrations provided in particular, the first processor 1010, the second processor 1080, the display controller 1026, the memory 1032, the encoder / decoder 1034, and the wireless controller 1040 are included in a packaged device or system-on-chip device (for example, a mobile station modem "MSM") 1022. In one of the illustrations provided in particular, an input device 1030, such as a touchscreen and / or keyboard, and a power supply 1044 are connected to a system-on-chip device 1022.In one of the other illustrative examples presented in particular and as shown in Figure 10, the monitor 1028, input device 1030, speaker 1036, microphone 1038, antenna 1042, and power supply are connected externally to the system device on the 1022 chip. However, the monitor 1028, input device 1030, speaker 1036, microphone 1038, antenna 1042, and power supply 1044 can each be connected to a component in the system device on the 1022 chip, such as an interface or controller. In conjunction with the illustrative examples, a device is disclosed that contains a means of receiving the second audio frame, where the second audio frame follows the first audio frame in an audio signal. The second audio frame includes an initial number of bits allocated to the initial cipher information associated with the second audio frame, a second number of bits allocated to the repeated cipher information associated with the first audio frame, and an indicator that identifies the type of the first audio frame. For example, the means of receiving might include the receiver 128 shown in Figure 1, the antenna 1042 shown in Figure 10, the wireless controller 1040 shown in Figure 10, and one or more devices configured to receive the audio frame, or a combination thereof. The device might also include a means of determining the second number of bits of the second audio frame allocated to the repeated cipher information associated with the first audio frame, based on the indicator.For example, the selection mechanism might include the 122 processor shown in Figure 1, the 126 decoder shown in Figure 1, the 600 decoder shown in Figure 6, the first 1010 processor shown in Figure 10, the second 1080 processor shown in Figure 10, the 1088 audio decoder shown in Figure 10, and one or more devices configured to specify the number of bits allocated to the recursive encryption information or a combination thereof. The device also includes a mechanism for decoding the first audio frame based on the recursive encryption information. For example, the decoding mechanism might include the decoder shown in Figure 1, the 600 decoder shown in Figure 6, the first 1010 processor shown in Figure 10, the second 1080 processor shown in Figure 10, the 1088 audio decoder shown in Figure 10, and one or more devices configured to specify the number of bits allocated to the recursive encryption information or a combination thereof. A second device was disclosed that includes a means of encoding the first and second audio frames in an audio signal, where the second audio frame follows the first. For example, the encoding means might include Encoder 116 (Figure 1), Encoder 500 (Figure 5), Processor 1010 (Figure 10), Processor 1080 (Figure 10), Encoder 1087 (Figure 10), and one or more devices configured to encode the audio frame, or a combination thereof. Depending on the type of the first audio frame, the device also includes the first number of second audio frame bits allocated for the initial encoding information associated with the second audio frame and the second number of second audio frame bits allocated for the repeated encoding information associated with the first audio frame.For example, the selection device might include the 112 processor shown in Figure 1, the 116 encoder shown in Figure 1, the 500 encoder shown in Figure 1, the first processor 1010 shown in Figure 10, the second processor 1080 shown in Figure 10, the 1087 audio encoder shown in Figure 10, and one or more devices configured to specify the number of bits allocated to the initial encryption information or a combination thereof. The device also includes a means of transmitting the first and second audio frames to the target device. The first audio frame contains the initial number of bits for the initial encryption information, the second number of bits for the repeated encryption information, and an indicator of the type of the first audio frame. For example, the transmission device might include the 118 transmitter shown in Figure 1, the 1042 antenna shown in Figure 10, the 1040 radio controller shown in Figure 10, and one or more devices configured to transmit the audio frame or a combination thereof. Experts in the field may appreciate that the illustrative logic templates, shapes, modules, circuits, and algorithmic steps described in relation to the illustrative examples disclosed in this document can be implemented using an electronic device, a computer program executed by a processing device such as a device processor, or a combination of both. Many of the illustrative components, templates, shapes, modules, circuits, and steps described above are generally described in relation to their relevant functional properties. Whether this functional property is implemented as a hardware or executable computer program depends on the specific application and the design constraints imposed on the system as a whole. Experts may be able to implement the functional property in various ways for each specific application, but these implementation decisions should not be interpreted as exceeding the scope of this disclosure. The steps of the method or algorithm shown in relation to the illustrative examples can be directly incorporated into a device or program module that can be executed by a processor, or a combination of both. The program module may reside in a memory device (a computer-readable or processor-readable storage device) such as random access memory (RAM), magnetoresistive random access memory (MRAM), spin-torque transfer memory (STT-MRAM), flash memory, read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EEPROM), registers, a hard disk, a removable disk, or optical disc memory.The memory device shown, for example, is connected to the processor so that the processor can read information sent from the memory device and copy information sent to the memory device. Alternatively, the memory device may be integrated into the processor. Both the processor and the storage medium may reside in an integrated circuit within a single application. The integrated circuit may reside within a single application on a computer or a user peripheral. Alternatively, the processor and storage medium may reside as separate components on a computer or a user peripheral. Storage that is readable by a computer or a processor is not in the form of a signal. The preceding description of the disclosed illustrative examples is provided to enable a person with expertise in the field to create or use these examples. It is evident to such a person that many modifications will be made to these examples, and the principles outlined in this disclosure can be applied to other examples without exceeding the scope of the disclosure. Accordingly, this disclosure is not limited to the illustrative examples provided but extends as broadly as possible, consistent with the principles and novelty attributes defined by the following safeguards.
Claims
The safeguards include: 1- A method for encoding a frame, which involves: Encoding the first audio frame of an audio signal at a dedicated encoder on a first computing device. The first audio frame includes a frame type that classifies it into one of a set of categories, including a voiced speech frame, an unvoiced frame, a voice transition frame, and a mixed-pattern frame containing both adaptive codebook information and fixed codebook information; transmitting the first audio frame from the first computing device to a second computing device; and determining, based on which category the frame type classifies the first audio frame as the first audio frame, an initial number of second audio frame bits to allocate the initial coding information associated with the second audio frame and a second number of second audio frame bits to allocate the recursive coding information associated with the first audio frame, where the audio frame followsThe second audio frame is the first audio frame in the audio signal; the second audio frame is encoded, where the second audio frame includes the first number of bits of initial cipher information, the second number of bits of recursive cipher information, and an indicator of the type of the first audio frame; and the second audio frame is transmitted from the first computing device to the second computing device. 2- The method according to safeguard element 1, where the frame type indicator of the first audio frame is included in the last three bits of the second audio frame. 3- The method according to safeguard element 1, where the recursive cipher information includes an indicator of a gain shape associated with the high-band gain shape of the first audio frame. The method also includes assigning a value to the gain shape indicator based on one or more of the following: i) correlation between the high-band portion of the first audio frame and the high-band portion of the second audio frame; and ii) distance4. The method according to safeguard element 1, where the redundant cipher information includes a high-band gain shape indicator associated with the high-band gain shape of the first audio frame.
5. The method according to safeguard element 4, where it also includes at least one of the following: i) When the first audio frame is an unaudible frame, the high-band gain shape indicator is set to a codebook indicator; and ii) When the first audio frame is not an unaudible frame, the high-band gain shape indicator is set to a value indicating whether the high-band gain shape of the first audio frame corresponds to a codebook indicator in the first part of a codebook indicator corresponding to high-band gain shapes or in the second part of a codebook corresponding to high-band gain shapes.For low cipherbook indices. 6- The method according to Security Element 1, where the recurrent cipherbook information includes a high-band line spectral pair (LSP) index associated with the high-band lines (LSPs) of the first audio frame, and the method also includes assigning a value to the high-band line spectral pair (LSP) index based on one or more of the following: spectral distortion between the first and second audio frames; and the distance between the first cipherbook index associated with the high-band line spectral pair (LSP) of the first audio frame and the second cipherbook index associated with the high-band lines (LSPs) of the second audio frame. 7- The method according to Security Element 1, where the recurrent cipherbook information includes a high-band line spectral pair (LSP) index associated with the high-band lines (LSPs) of the first audio frame, and the method also includes: determining the difference between the high-band linesSpectral pairs (LSPs) for the first audio frame and line spectral pairs (LSPs) for the second audio frame; and assigning a value to the line spectral pair (LSP) index based on the difference. 8- An apparatus comprising: an encoder configured to: encode the first audio frame of an audio signal, where the first audio frame includes a frame type that classifies the first audio frame into one of a set of categories including a voiced speech frame, an unvoiced frame, a voice transition frame, and a mixed-pattern frame that includes both adaptive codebook information and fixed codebook information; specifying, based on the assigned category from the set of categories into which the frame type of the audio frame classifies the first audio frame, an initial number of second audio frame bits to allocate the initial encoding information associated with the second audio frame and a second number of second audio frame bits to allocate the recursive encoding informationThe audio frame is accompanied by the first audio frame, with the second audio frame following the first in the audio signal. The second audio frame is encoded, containing the first set of bits of primary coding information, the second set of bits of redundant coding information, and an indicator of the type of the first audio frame. A transmitter is configured to send the first and second audio frames to a target device. The apparatus, according to protection element 8, consists of two parallel encoding paths: a primary encoding path and a redundant encoding path. The first set of bits of primary coding information is generated by the primary encoding path, and the second set of bits of redundant coding information is generated by the redundant encoding path.
10. Device according to Security Element 8 or Security Element 9, where the frame type indicator for the first audio frame is included in the last three bits of the second audio frame.
11. Device according to Security Element 8, where the redundant encoding information includes a gain shape indicator associated with the high-band gain shape of the first audio frame, and the device is also initialized to assign a value to the gain shape indicator based on one or more of the following: i) the correlation between the high-band portion of the first audio frame and the high-band portion of the second audio frame, and ii) the distance between a first codebook indicator associated with the high-band gain shape of the first audio frame and a second codebook indicator associated with the high-band gain shape of the second audio frame.
12. Device according to Security Element 8, where the redundant encoding information includes a high-band gain shape indicator associated with the high-band gain shape of the audio frame.The first audio frame. 13- A computer-readable storage medium containing instructions stored on it which, when executed by a computer, cause the computer to execute a method according to protection element 1.
