IP Library Granted Patent US 10,667,052
Granted Patent B2
US 10,667,052 · App. 15/771,035 · Granted May 26, 2020

Speaker module, and audio compensation method and apparatus

Inventor: Dong Tang (Xi'an, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
H04R3/04H04R29/001H04R2420/05
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,667,052
App. No.
15/771,035
Granted
May 26, 2020
Kind
B2
Abstract

A speaker module, and an audio compensation method and apparatus and relates to the field of terminal technologies. The speaker module includes an audio component and a speaker board. A power contact, a ground contact, and a general-purpose input/output (GPIO) contact are disposed on the speaker board, and a connecting component is disposed between the audio component and the speaker board. A connection status of the GPIO contact is any one of the following. The connecting component is a conductor, and the GPIO contact is conducted to the power contact using the connecting component, the connecting component is a conductor, and the GPIO contact is conducted to the ground contact using the connecting component, or the connecting component is a non-conductor, and the GPIO contact is disconnected from both the power contact and the ground contact.

Claims (25)

1. An audio compensation method applied to an audio compensation apparatus comprising a speaker circuit, the method comprising:

obtaining an actual status parameter of a general-purpose input/output (GPIO) contact of the speaker circuit;

obtaining a coupling status of the GPIO contact based on the actual status parameter of the GPIO contact, wherein the coupling status is a pull-up state, a pull-down state, or a suspended state, and wherein the coupling status is different than the actual status parameter;

obtaining a first preset status parameter corresponding to the coupling status of the GPIO contact by querying, using the coupling status of the GPIO contact, a correspondence relating each of the pull-up state, the pull-down state, and the suspended state to respective preset status parameters;

comparing the actual status parameter to the first preset status parameter; and

compensating for an audio parameter of the audio compensation apparatus when the actual status parameter of the GPIO contact is equal to the first preset status parameter.

2. The method of claim 1 , further comprising skipping compensating for the audio parameter of the audio compensation apparatus when the actual status parameter of the GPIO contact is not equal to the first preset status parameter.

3. The method of claim 1 , wherein compensating for the audio parameter of the audio compensation apparatus comprises:

determining an identification identifier of the speaker circuit based on the coupling status of the GPIO contact indicated by the actual status parameter of the GPIO contact, wherein the identification identifier comprises an identifier of a manufacturer of the speaker circuit;

obtaining, based on the identification identifier of the speaker circuit, a compensation parameter corresponding to the identification identifier of the speaker circuit from a preset correspondence between identification identifiers and compensation parameters; and

compensating for the audio parameter of the audio compensation apparatus based on the compensation parameter corresponding to the identification identifier of the speaker circuit.

4. An audio compensation apparatus, comprising:

a speaker circuit;

a processor coupled to the speaker circuit; and

a memory coupled to the processor and configured to store code that, when executed by the processor, causes the processor to be configured to:

obtain an actual status parameter of a general-purpose input/output (GPIO) contact of the speaker circuit;

obtain a coupling status of the GPIO contact based on the actual status parameter of the GPIO contact, wherein the coupling status is either a pull-up state, a pull-down state, or a suspended state, and wherein the coupling status is different than the actual status parameter;

obtain a first preset status parameter corresponding to the coupling status of the GPIO contact by querying, using the coupling status of the GPIO contact, a correspondence relating each of the pull-up state, the pull-down state, and the suspended state to respective preset status parameters;

compare the actual status parameter to the first preset status parameter; and

compensate for an audio parameter of the audio compensation apparatus when the actual status parameter of the GPIO contact is equal to the preset status parameter.

5. The audio compensation apparatus of claim 4 , wherein the code further causes the processor to be configured to skip compensating for the audio parameter of the audio compensation apparatus when the actual status parameter of the GPIO contact is not equal to the first preset status parameter.

6. The audio compensation apparatus of claim 4 , wherein the code further causes the processor to be configured to:

determine an identification identifier of the speaker circuit based on the coupling status of the GPIO contact indicated by the actual status parameter of the GPIO contact, wherein the identification identifier comprises an identifier of a manufacturer of the speaker circuit;

obtain, based on the identification identifier of the speaker circuit, a compensation parameter corresponding to the identification identifier of the speaker circuit from a preset correspondence between identification identifiers and compensation parameters; and

compensate for the audio parameter of the audio compensation apparatus based on the compensation parameter corresponding to the identification identifier of the speaker circuit.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 13, 2021
From: HUAWEI TECHNOLOGIES CO., LTD.
To: HONOR DEVICE CO., LTD.
Reel/Frame 055919/0344 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 30, 2018
From: TANG, DONG
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 046755/0642 →
Continuity (1)
Related Publication 20190058945A1 · Feb 21, 2019