Abstract:
An upstream bandwidth allocation method, apparatus, and system. The method includes obtaining, by a cable modem termination system (CMTS), a service flow attribute of each online cable modem (CM) of one or more online CMs, where the service flow attribute comprises at least one delay-sensitive service and a delay-insensitive service, allocating, by the CMTS, an upstream bandwidth to each online CM according to a received service request, and obtaining a remaining bandwidth that is a remaining part in a preset total bandwidth other than the upstream bandwidth that is allocated to each online CM according to the service request, allocating, by the CMTS, at least a part of the remaining bandwidth to a CM whose service flow attribute is a delay-sensitive service, and informing, by the CMTS, each online CM of the one or more online CMs of an upstream bandwidth allocation result.
Abstract:
A distributed data storage method, apparatus, and system. The method includes: splitting a data file to generate K data slices, splitting each data slice of the K data slices to generate M data blocks for each data slice, and performing check coding on the M data blocks by using a redundancy algorithm to generate N check blocks; determining, by using a random algorithm, a first physical storage node corresponding to one block of the M data blocks and the N check blocks, and determining at least M+1 different physical storage nodes based on the determined first physical storage node and according to a first rule-based sorting manner; and storing at least M+1 blocks of the M data blocks and the N check blocks onto the at least M+1 different storage nodes, where K, M, and N are integers.
Abstract:
A distributed data storage method, apparatus, and system for reducing a data loss that may result from a single-point failure. The method includes: splitting a data file to generate K data slices, splitting each data slice of the K data slices to generate M data blocks for each data slice, and performing check coding on the M data blocks by using a redundancy algorithm to generate N check blocks; determining, by using a random algorithm, a first physical storage node corresponding to one block of the M data blocks and the N check blocks, and determining at least M+1 different physical storage nodes based on the determined first physical storage node and according to a first rule-based sorting manner; and storing at least M+1 blocks of the M data blocks and the N check blocks onto the at least M+1 different storage nodes, where K, M, and N are integers.
Abstract:
This disclosure discloses an audio encoding/decoding method and apparatus, a storage medium, and a computer program product, and belongs to the audio encoding/decoding field. In this solution, when an audio signal is a dual-channel signal, even if a bitstream includes a left-channel bitstream and a right-channel bitstream, based on a channel decoding mode, the left-channel bitstream is decoded but the right-channel bitstream is not decoded, or the right-channel bitstream is decoded but the left-channel bitstream is not decoded in a decoding process. Therefore, power consumption at a decoder side is reduced when resources at the decoder side are limited. Correspondingly, an encoder side can also sequentially encode left-channel data and right-channel data based on a condition met by the audio signal, rather than necessarily performing encoding in a dual-channel interleaving encoding scheme or a dual-channel deinterleaving encoding scheme.
Abstract:
An audio signal processing method and apparatus, a storage medium, and a computer program product are provided. An optimal sub-band division manner is selected from a plurality of sub-band division manners based on a characteristic of an audio signal. In other words, the sub-band division manner has a signal adaptation characteristic, and can adapt to an encoding bit rate of the audio signal. Specifically, a total scale value corresponding to each sub-band division manner is determined based on spectral values of the audio signal in sub-bands obtained through division, a bandwidth of each sub-band, and the encoding bit rate of the audio signal, and an optimal target sub-band division manner is selected based on the total scale value, to obtain an optimal sub-band set. Subsequently, spectral envelope shaping is performed based on a scale factor of each sub-band in the optimal sub-band set, to improve coding effect and compression efficiency.
Abstract:
An upstream bandwidth allocation method, apparatus, and system. The method includes obtaining, by a cable modem termination system (CMTS), a service flow attribute of each online cable modem (CM) of one or more online CMs, where the service flow attribute comprises at least one delay-sensitive service and a delay-insensitive service, allocating, by the CMTS, an upstream bandwidth to each online CM according to a received service request, and obtaining a remaining bandwidth that is a remaining part in a preset total bandwidth other than the upstream bandwidth that is allocated to each online CM according to the service request, allocating, by the CMTS, at least a part of the remaining bandwidth to a CM whose service flow attribute is a delay-sensitive service, and informing, by the CMTS, each online CM of the one or more online CMs of an upstream bandwidth allocation result.
Abstract:
A distributed data storage method, apparatus, and system. The method includes: splitting a data file to generate K data slices, splitting each data slice of the K data slices to generate M data blocks for each data slice, and performing check coding on the M data blocks by using a redundancy algorithm to generate N check blocks; determining, by using a random algorithm, a first physical storage node corresponding to one block of the M data blocks and the N check blocks, and determining at least M+1 different physical storage nodes based on the determined first physical storage node and according to a first rule-based sorting manner; and storing at least M+1 blocks of the M data blocks and the N check blocks onto the at least M+1 different storage nodes, where K, M, and N are integers.
Abstract:
A distributed data storage method, apparatus, and system for reducing a data loss that may result from a single-point failure. The method includes: splitting a data file to generate K data slices, splitting each data slice of the K data slices to generate M data blocks for each data slice, and performing check coding on the M data blocks by using a redundancy algorithm to generate N check blocks; determining, by using a random algorithm, a first physical storage node corresponding to one block of the M data blocks and the N check blocks, and determining at least M+1 different physical storage nodes based on the determined first physical storage node and according to a first rule-based sorting manner; and storing at least M+1 blocks of the M data blocks and the N check blocks onto the at least M+1 different storage nodes, where K, M, and N are integers.