# US 12,764,449 B2 · Bluetooth audio playback method, electronic device, and storage medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 12,764,449 B2
- Document ID: US12764449B2
- Status: Granted
- Kind: B2
- Application number: 18/703,967
- Filed: 2022-12-19
- Published: 2025-01-02
- Granted: 2026-10-13
- Earliest claimed: 2022-03-22
- Assignees: Honor Device Co., Ltd.
- Applicants: Honor Device Co., Ltd.
- Inventors: Jiyang Dong; Fukai Wang; Pengfei Huang
- Web page: https://patentgrep.com/patent/US12764449B2

## CPC

- H04R 1/10: Earpieces; Attachments therefor {; Earphones; Monophonic headphones (H04R1/28 takes precedence; stereophonic headphones H04R5/033)}
- G06F 3/165: {Management of the audio stream, e.g. setting of volume, audio stream path}
- H04R 2420/07: Applications of wireless loudspeakers or wireless microphones
- H04R: LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS (producing sounds with frequency not determined by supply frequency G10K)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A Bluetooth audio playback method is applied to an electronic device. The electronic device is communicatively connected to a Bluetooth device. An application of the electronic device acquires audio data based on a playing command, creates Track tracks of the audio data based on the playing command, and determines a quantity of the Track tracks. The application sends a playing instruction to the Bluetooth device when determining that the quantity of the Track tracks increases, where the playing instruction is used for setting an audio status of the Bluetooth device to playing. The application sends a pause instruction to the Bluetooth device when the quantity of the Track tracks decreases, where the pause instruction is used for setting the audio status of the Bluetooth device to pause.

## Claims

### Claim 1

A Bluetooth audio playback method, applied to an electronic device, wherein the electronic device is communicatively connected to a Bluetooth device, and the method comprises:
determining a quantity of Track tracks in response to an operation instruction on the electronic device by a user, wherein the quantity of the Track tracks is determined by an audio manager in an audio framework layer of the electronic device, and wherein the audio manager creates Track tracks for audio data based on a playing command and deletes Track tracks when determining that playback of the audio data ends;
generating, by the audio manager, quantity update information of the Track tracks when creating or deleting the Track tracks;
sending a playing instruction to the Bluetooth device when determining, based on the quantity update information, that the quantity of the Track tracks increases, wherein the playing instruction is used for setting an audio status of the Bluetooth device to playing; and
sending a pause instruction to the Bluetooth device when determining, based on the quantity of the Track tracks decreases, wherein the pause instruction is used for setting the audio status of the Bluetooth device to pause.

### Claim 2 (depends on 1)

The Bluetooth audio playback method according to claim 1, wherein the determining a quantity of Track tracks in response to an operation instruction on the electronic device by a user comprises:
acquiring, by the audio manager, the playing command from a media application, creating the Track tracks of the audio data based on the playing command, and determining the quantity of the Track tracks.

### Claim 3 (depends on 2)

The Bluetooth audio playback method according to claim 2, wherein the sending a playing instruction to the Bluetooth device when determining the quantity of the Track tracks increases comprises:
acquiring, by a hardware abstraction layer of the electronic device, the quantity of the Track tracks from the audio framework layer;
sending, by the hardware abstraction layer, the audio status being playing to a Bluetooth protocol stack of the hardware abstraction layer when determining that the quantity of the Track tracks increases; and
sending, by the Bluetooth protocol stack, the playing instruction to the Bluetooth device in response to the audio status being playing.

### Claim 4 (depends on 1)

The Bluetooth audio playback method according to claim 1, wherein the sending a pause instruction to the Bluetooth device when determining the quantity of the Track tracks decreases comprises:
sending, by a hardware abstraction layer of the electronic device, the audio status being pause to a Bluetooth protocol stack when determining that the quantity of the Track tracks decreases; and
sending, by the Bluetooth protocol stack, the pause instruction to the Bluetooth device in response to the audio status being pause.

### Claim 5 (depends on 1)

The Bluetooth audio playback method according to claim 1, wherein the determining a quantity of Track tracks in response to an operation instruction on the electronic device by a user comprises:
acquiring, by the audio manager, a pause command from an application; and
deleting, by the audio manager, the Track tracks based on the pause command, and determining the quantity of the Track tracks.

### Claim 6 (depends on 1)

The Bluetooth audio playback method according to claim 1, wherein the determining a quantity of Track tracks in response to an operation instruction on the electronic device by a user comprises:
in response to an operation of switching from audio data of a first playing scenario to audio data of a second playing scenario of an application, deleting, by the audio manager, Track tracks of the audio data of the first playing scenario, and creating Track tracks of the audio data of the second playing scenario, wherein the audio data of the first playing scenario and the audio data of the second playing scenario are not continuous.

### Claim 7 (depends on 1)

The Bluetooth audio playback method according to claim 1, wherein the sending a playing instruction to the Bluetooth device when the quantity of the Track tracks increases comprises:
sending the playing instruction to the Bluetooth device when the quantity of the Track tracks is changed from 0 to 1.

### Claim 8 (depends on 1)

The Bluetooth audio playback method according to claim 1, wherein the sending a pause instruction to the Bluetooth device when the quantity of the Track tracks decreases comprises:
sending the pause instruction to the Bluetooth device when the quantity of the Track tracks is changed from 1 to 0.

### Claim 9

An electronic device, comprising a processor and a memory, wherein the processor is coupled to the memory;
the memory is configured to store program instructions; and
the processor is configured to read the program instructions stored in the memory to cause the electronic device to perform following operations:
determining a quantity of Track tracks in response to an operation instruction on the electronic device by a user, wherein the quantity of the Track tracks is determined by an audio manager in an audio framework layer of the electronic device, and wherein the audio manager creates Track tracks for audio data based on a playing command and deletes Track tracks when determining that playback of the audio data ends;
generating, by the audio manager, quantity update information of the Track tracks when creating or deleting the Track tracks;
sending a playing instruction to a Bluetooth device when determining, based on the quantity update information, the quantity of the Track tracks increases, wherein the playing instruction is used for setting an audio status of the Bluetooth device to playing; and
sending a pause instruction to the Bluetooth device when determining, based on the quantity update information, the quantity of the Track tracks decreases, wherein the pause instruction is used for setting the audio status of the Bluetooth device to pause.

### Claim 10

A non-transitory computer-readable storage medium storing program instructions, which when executed by a processor, cause the processor to perform operations, the operations comprising:
determining a quantity of Track tracks in response to an operation instruction on an electronic device by a user, wherein the quantity of the Track tracks is determined by an audio manager in an audio framework layer of the electronic device, and wherein the audio manager creates Track tracks for audio data based on a playing command and deletes Track tracks when determining that playback of the audio data ends;
generating, by the audio manager, quantity update information of the Track tracks when creating or deleting the Track tracks;
sending a playing instruction to a Bluetooth device when determining, based on the quantity update information, the quantity of the Track tracks increases, wherein the playing instruction is used for setting an audio status of the Bluetooth device to playing; and
sending a pause instruction to the Bluetooth device when determining, based on the quantity update information, the quantity of the Track tracks decreases, wherein the pause instruction is used for setting the audio status of the Bluetooth device to pause.

### Claim 11 (depends on 9)

The electronic device according to claim 9, wherein the determining a quantity of Track tracks in response to an operation instruction on the electronic device by a user comprises:
acquiring, by the audio manager, the playing command from a media application, creating the Track tracks of the audio data based on the playing command, and determining the quantity of the Track tracks.

### Claim 12 (depends on 11)

The electronic device according to claim 11, wherein the sending a playing instruction to the Bluetooth device when determining the quantity of the Track tracks increases comprises:
acquiring, by a hardware abstraction layer of the electronic device, the quantity of the Track tracks from the audio framework layer;
sending, by the hardware abstraction layer, the audio status being playing to a Bluetooth protocol stack of the hardware abstraction layer when determining that the quantity of the Track tracks increases; and
sending, by the Bluetooth protocol stack, the playing instruction to the Bluetooth device in response to the audio status being playing.

### Claim 13 (depends on 9)

The electronic device according to claim 9, wherein the sending a pause instruction to the Bluetooth device when determining the quantity of the Track tracks decreases comprises:
sending, by a hardware abstraction layer of the electronic device, the audio status being pause to a Bluetooth protocol stack when determining that the quantity of the Track tracks decreases; and
sending, by the Bluetooth protocol stack, the pause instruction to the Bluetooth device in response to the audio status being pause.

### Claim 14 (depends on 9)

The electronic device according to claim 9, wherein the determining a quantity of Track tracks in response to an operation instruction on the electronic device by a user comprises:
acquiring, by the audio manager, a pause command from a media application; and
deleting, by the audio manager, the Track tracks based on the pause command, and determining the quantity of the Track tracks.

### Claim 15 (depends on 9)

The electronic device according to claim 9, wherein the determining a quantity of Track tracks in response to an operation instruction on the electronic device by a user comprises:
in response to an operation of switching from audio data of a first playing scenario to audio data of a second playing scenario of an application, deleting, by the audio manager, Track tracks of the audio data of the first playing scenario, and creating Track tracks of the audio data of the second playing scenario, wherein the audio data of the first playing scenario and the audio data of the second playing scenario are not continuous.

### Claim 16 (depends on 9)

The electronic device according to claim 9, wherein the sending a playing instruction to the Bluetooth device when determining the quantity of the Track tracks increases comprises:
sending the playing instruction to the Bluetooth device when the quantity of the Track tracks is changed from 0 to 1.

### Claim 17 (depends on 9)

The electronic device according to claim 9, wherein the sending a pause instruction to the Bluetooth device when determining the quantity of the Track tracks decreases comprises:
sending the pause instruction to the Bluetooth device when the quantity of the Track tracks is changed from 1 to 0.

### Claim 18 (depends on 10)

The computer-readable storage medium to claim 10, wherein the determining a quantity of Track tracks in response to an operation instruction on the electronic device by a user comprises:
acquiring, by the audio manager, the playing command from an application, creating the Track tracks of the audio data based on the playing command, and determining the quantity of the Track tracks.

### Claim 19 (depends on 1)

The method according to claim 1, wherein sending the playing instruction and the pause instruction is performed independently of whether a media application of the electronic device is registered with a media session management mechanism.

### Claim 20 (depends on 9)

The electronic device according to claim 9, wherein sending the playing instruction and the pause instruction is performed independently of whether a media application of the electronic device is registered with a media session management mechanism.
