摘要:
An audio control system and method of an electronic device receives audio streams, but does not play the audio streams when one or more applications are in a mute mode. The system and method mixes the one or more of the audio streams if the volume of the one or more audio streams is not zero, and transmits the mixed audio streams to an audio processor of the electronic device.
摘要:
A method for listening to frequency modulation (FM) radio using a Bluetooth device receives analog audio signals from an FM chip and converts the analog audio signals into digital audio signals. The method further records audio files according to the digital audio signals and plays the audio files synchronously to generate audio data, and outputs the audio data to a Bluetooth chip which communicates with the Bluetooth device wirelessly.
摘要:
A fault tolerance system for one or two failed disks in a disk array includes a CPU, a disk array, and a bus. The disk array includes disks, each of which is logically divided into multiple blocks, wherein the blocks include data blocks, P parity blocks and Q parity blocks. The CPU, which is connected to the disk array through the bus, includes: an exclusive-or (XOR) unit for performing XOR operations on blocks of the disk array when generating P/Q parities or reconstructing failed data; a modulus operation unit for performing modulus operations; a shift operation unit for performing shift operations on the blocks of the disk array; and an address conversion unit for converting a logic address into a physical address. Related methods are also provided.
摘要:
A fault tolerance system for multiple failed disks in a disk array includes: a disk array (3), a processor (1), and an exclusive-or (XOR) unit (2). The disk array includes a plurality of disks (30), each of which is logically divided into multiple blocks. The blocks includes: a plurality of data blocks, which are stored in n disks and each is symbolically depicted as D(i,j); parity blocks depicted as P parity blocks and stored in an independent disk, for storing P parities which can be symbolically depicted as P(j); and parity blocks depicted as Q parity blocks and stored in another independent disk, for storing Q parities which can be symbolically depicted as Q(k). The processor is connected to the disk array through a bus (4), and is for performing modulus operations, shift operations, and address conversion operations. The exclusive-or (XOR) unit is for performing XOR operations on blocks of the disk array when generating P/Q parity or reconstructing failed data. A related method is also disclosed.
摘要:
A fault tolerance system for one or two failed disks in a disk array includes a CPU (1), a disk array (3), and a bus (4). The disk array includes a plurality of disks (30), each of which is logically divided into multiple blocks, wherein the blocks comprises a plurality of data blocks (3100), P parity blocks (3110) and Q parity blocks (3120). The CPU, which is connected to the disk array through the bus, includes: an exclusive-or (XOR) unit (2) for performing XOR operations on blocks of the disk array when generating P/Q parities or reconstructing failed data; a modulus operation unit (11) for performing modulus operations; a shift operation unit (12) for performing shift operations on the blocks of the disk array; and an address conversion unit (13) for converting a logical address into a physical address. Related methods are also disclosed.
摘要:
A method and an electronic device capable of saving power are disclosed. The electronic device includes a power save system, a media player application and an audio interface. The audio interface includes an audio driver module, and an audio processor. The power save system includes a monitor unit, and a control unit. The monitor unit monitors the current mode of the media player application. If the media player application is in the mute mode, the control unit transmits a power-save signal to switch off the audio processor to save power of the electronic device.
摘要:
An audio control system and method of an electronic device receives audio streams, but does not play the audio streams when one or more applications are in a mute mode. The system and method mixes the one or more of the audio streams if the volume of the one or more audio streams is not zero, and transmits the mixed audio streams to an audio processor of the electronic device.
摘要:
A system for prolonging usage lifetime of a non-volatile memory includes a non-volatile memory (1) and a host (2). The non-volatile memory is logically divided into a plurality of sectors (10), each of which stores a sector tag and data. The host includes a data writing module (20), a sector tag writing module (21), a sector tag checking module (22), and a data pointer (23). The data writing module is used for writing data into each sector, and reading data from each sector. The sector-tag writing module is used for writing a type of sector tag into each sector according to a sector tag writing rule. The sector tag checking module is used for checking a type of sector tag of each sector in order to determine a sector which data should be written into, and determine which type of sector tag should be written into the sector. The data pointer is used for pointing at a location of the sector to be read and written the sector tag and data. A related method is also disclosed.
摘要:
A system for synchronizing files between a local computer (1) and a remote server (3) is provided. The local computer includes: a path designating module (10) for designating a path of a source directory in the local computer and a path of an object directory in the remote server; a file list generating module (12) for generating a file list recording an organization of all sub-directories and files under the source directory; and a transmitting module (14) for transmitting the file list and files to be updated to the remote server. The remote server includes: a receiving module (30) for receiving the file list and the files to be updated; a comparing module (32) for comparing the organization recorded in the file list with an organization of the object directory; and a file synchronizing module (34) for synchronizing files in the object directory.
摘要:
A method for listening to frequency modulation (FM) radio using a Bluetooth device receives analog audio signals from an FM chip and converts the analog audio signals into digital audio signals. The method further records audio files according to the digital audio signals and plays the audio files synchronously to generate audio data, and outputs the audio data to a Bluetooth chip which communicates with the Bluetooth device wirelessly.