POP sound elimination method and device, storage medium and terminal equipment

By first identifying headphones in the terminal device and then identifying the charger, the POP sound problem generated when the TypeC headphone charging two-in-one adapter is inserted, and the effect of eliminating POP sound, extending the life of the headphones and improving the user experience is achieved.

CN119729276APending Publication Date: 2025-03-28SPREADTRUM COMMUNICATION (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311232058.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-21
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

After the mobile phone cancels the 3.5mm headphone interface, the TypeC headphones are easily burst sound (POP sound) when plugging in when the two-in-one adapter is plugged in, which may damage the headphones or affect the user experience.

Method used

By realizing the process of headphone recognition and charger recognition in the terminal device, ensure that the headphone recognition is completed and then connected to the charging path, thereby avoiding the level signal on the charging path to the headphones and eliminating the POP sound.

Benefits of technology

It effectively eliminates the POP sound when the adapter is inserted, extends the service life of the headphones, reduces the impact on human ear health, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119729276A_ABST
    Figure CN119729276A_ABST
Patent Text Reader

Abstract

The invention provides a POP sound elimination method and device, a storage medium and terminal equipment, and the method comprises the steps: responding to an adapter which is used for connecting an earphone and a charger to an external interface, and executing an earphone recognition process; a charger identification process is performed. According to the invention, the POP sound generated at the moment when the adapter is inserted can be eliminated, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a POP sound elimination method and device, a storage medium, and a terminal device. Background Art

[0002] At present, in order to pursue mobile terminals, such as thin and waterproof features, mobile phone manufacturers have gradually cancelled the conventional 3.5mm headphone jack. This change has resulted in the mobile phone having only one Type C interface, which can be connected to either a charger or headphones. To achieve charging and listening to music at the same time, you need to use a Type C headphone & charging two-in-one adapter.

[0003] However, there is a popping sound (POP sound) at the earphone end when the adapter is inserted into the mobile phone. POP sound refers to the transient impact caused by various operations when the audio device is powered on and off, and after the power is stable. This POP sound impact may even burn the earphone, or reduce the quality of the earphone and shorten its life. POP sound can also impact the eardrum of the human body and affect sensory comfort. Summary of the invention

[0004] This application can eliminate the POP sound generated when the adapter is inserted, improving the user experience.

[0005] In order to achieve the above objectives, this application provides the following technical solutions:

[0006] In a first aspect, a POP sound elimination method is provided, the POP sound elimination method comprising: in response to an adapter being connected to an external interface, executing an earphone identification process, the adapter being used to connect the earphone and a charger to the external interface; executing a charger identification process.

[0007] Optionally, executing the charger identification process includes: controlling a charging path connecting the adapter and the terminal device, and executing the charger identification process.

[0008] Optionally, before controlling the charging path connecting the adapter and the terminal device, the method further includes: determining whether the level on the power pin of the external interface reaches a target value.

[0009] Optionally, identifying the relevant parameters of the charger includes: identifying the relevant parameters of the charger when a level on a power pin of the external interface reaches a target value.

[0010] Optionally, the executing the charger identification process includes: identifying relevant parameters of the charger.

[0011] Optionally, the executing the headphone identification process includes: identifying relevant parameters of the headphone, and controlling the adapter switch to switch to the audio path, and the relevant parameters of the headphone are used to transmit audio signals.

[0012] Optionally, before identifying the relevant parameters of the headset, the method further includes: determining whether a level on a configuration channel pin of the external interface is a target level.

[0013] Optionally, identifying the relevant parameters of the headset includes: identifying the relevant parameters of the headset when a level on a configuration channel pin of the external interface is a target level.

[0014] In a second aspect, the present application also discloses a POP sound elimination device, which includes: a first identification module, used to execute a headphone identification process in response to an adapter being connected to an external interface, wherein the adapter is used to connect the earphone and the charger to the external interface; a second identification module, used to execute a charger identification process.

[0015] According to a third aspect, a computer-readable storage medium is provided, on which a computer program is stored. The computer program is executed by a processor to execute any one of the methods provided in the first aspect.

[0016] In a fourth aspect, a terminal device is provided, including a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor executes the computer program to execute any one of the methods provided in the first aspect.

[0017] According to a fifth aspect, a computer program product is provided, on which a computer program is stored, and the computer program is executed by a processor to execute any one of the methods provided in the first aspect or the second aspect.

[0018] In a sixth aspect, an embodiment of the present application further provides a chip (or a data transmission device) on which a computer program is stored, and when the computer program is executed by the chip, the steps of the above method are implemented.

[0019] In the seventh aspect, an embodiment of the present application also provides a system chip, which is applied to a terminal, and the chip system includes at least one processor and an interface circuit, the interface circuit and the at least one processor are interconnected through lines, and the at least one processor is used to execute instructions to execute any one of the methods provided in the first aspect.

[0020] Compared with the prior art, the technical solution of this application has the following beneficial effects:

[0021] In the technical solution of the present application, in response to the adapter being connected to the external interface, the earphone identification process is executed, and the adapter is used to connect the earphone and the charger to the external interface; the charger identification process is executed. The technical solution of the present application can avoid transmitting the level signal on the charging path to the earphone to generate POP sound by first identifying the earphone and then identifying the charger type, thereby achieving the purpose of eliminating the POP sound. In addition, the present application is simple and easy to implement, and can take into account the normal charging function of the terminal device and the normal playback function of the earphone, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 It is a flow chart of a POP sound elimination method provided in an embodiment of the present application;

[0023] Figure 2 is a schematic diagram of a terminal device connected to an adapter provided in an embodiment of the present application;

[0024] Figure 3 is a flow chart of another POP sound elimination method provided in an embodiment of the present application;

[0025] Figure 4 It is a structural diagram of a POP sound elimination configuration provided in an embodiment of the present application;

[0026] Figure 5 It is a hardware structure diagram of a POP sound elimination device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] As described in the background technology, there is a popping sound (POP sound) at the earphone end when the adapter is inserted into the mobile phone. POP sound refers to the transient impact caused by various operations when the audio device is powered on and off, and after the power is stable. This POP sound impact may even burn the earphone, or reduce the quality of the earphone and shorten its life. POP sound can also impact the eardrum of the human body, affecting sensory comfort.

[0028] This application can avoid transmitting the level signal on the charging path to the earphone to generate POP sound by first identifying the earphone and then identifying the charger type, thereby achieving the purpose of eliminating POP sound; to a certain extent, it can extend the service life of the earphone, avoid the damage caused by POP sound to human ear health, and bring a good user experience to users. In addition, this application is simple and easy to implement, and can take into account the normal charging function of the terminal device and the normal playback function of the earphone, thereby improving the user experience.

[0029] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the specific embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0030] See also Figure 1 The method provided in this application specifically includes the following steps:

[0031] Step 101: In response to the adapter being connected to the external interface, a headset identification process is performed, wherein the adapter is used to connect the headset and the charger to the external interface, that is, the headset and the charger are connected to the external interface of the terminal device through the adapter.

[0032] Step 102: Execute a charger identification process.

[0033] Specifically, before executing step 102, the charging path connecting the adapter and the terminal device may be controlled. Specifically, the charging path connecting the adapter and the terminal device may be connected by controlling a switch in the terminal device. Figure 2 As shown, the switch in the terminal device is switched to the USB_D+ / D- port in the terminal device to form a charging path.

[0034] It should be pointed out that the serial numbers of the steps in this embodiment do not limit the execution order of the steps.

[0035] It is understandable that, in a specific implementation, the POP sound elimination method can be implemented in the form of a software program, which runs in a processor integrated inside a chip or a chip module. The method can also be implemented in the form of software combined with hardware, which is not limited in this application.

[0036] Specifically, each step of the above method can be performed by a terminal device, such as a mobile phone. Through the above steps, the terminal device can identify the earphone-related parameters of the adapter for outputting audio signals; the terminal device can identify the charger-related parameters for charging.

[0037] The external interface in this embodiment may be a Type C interface on the terminal device. The terminal device in this embodiment has only one external interface, and the terminal device can be connected to the headset and the charger at the same time by inserting the adapter into the external interface.

[0038] For details, please refer to Figure 2 , the adapter 30 is connected to the terminal device 20 through the external interface of the terminal device 20. The external interface of the terminal device 20 has a switch, such as Figure 2 The switch can selectively output a charging signal (shown as USB_D+ / D-) or an audio signal (shown as HPL / R) to the adapter 30.

[0039] The earphone 50 is connected to the terminal device 20 via the adapter 30 , and the charger 40 is connected to the terminal device 20 via the adapter 30 .

[0040] In the prior art, after the adapter 30 is inserted into the terminal device 20 via the external interface, the terminal device 20 is powered on, and the process of identifying the charger 40 is first performed, and then the process of identifying the earphone 50 is performed. When the terminal device 20 performs the process of identifying the charger 40, several high-level signals are generated on the charging line port in the terminal device 20, such as USB_D+. The transmission path of these high-level signals on the earphone 50 is the same as that of the audio signal, and they are transmitted to the earphone 50 before the earphone recognizes and transmits them. The earphone 50 converts this signal into a sound signal and plays it, generating a POP sound.

[0041] In order to avoid the generation of POP sound, in the present application, the terminal device first performs the headphone identification process and then the charger identification process when performing headphone identification and charger identification. In this way, since the headphone identification is performed first, when a high-level signal is generated on the charging line port, the path between the charging line port and the headphone is not connected, so the high-level signal will not be transmitted to the headphone 50, and thus no POP sound will be generated.

[0042] Specifically, after the adapter 30 is inserted into the terminal device 20 via the external interface, the configuration channel pin (Configuration Channel, CC pin) of the TypeC interface of the terminal device 20 will be shorted to the ground, which is a low level, and the power pin (VBUS pin) of the TypeC interface is a high level. Specifically, the TypeC interface has two CC pins, CC1 and CC2, which are used to identify the insertion direction of the connector (such as the adapter 30) and different inserted devices. Among them, the condition for earphone identification is that the configuration channel pin is a low level, and the condition for charger type identification is that the voltage on the power pin exceeds the target value, such as 4V.

[0043] More specifically, the headset can be a digital headset or an analog headset. The digital headset of the Type C interface is an upstream facing port (UFP) device, and the terminal device 20 is a downstream facing port (DFP) device. The two CC pins of the digital headset have a load Rd. For analog headsets, the protocol requires that the two CC pins of the analog headset adapter be directly grounded.

[0044] In a specific embodiment, please refer to Figure 3 , Figure 3 A specific process of eliminating POP sound is shown.

[0045] Before each step is executed, the adapter is connected to the terminal device, and the terminal device is powered on, that is, the power pin of the external interface is powered on.

[0046] In step 301, it is determined whether the level on the configuration channel pin of the external interface is a target level.

[0047] Specifically, the condition for headphone recognition is that the configuration channel pin is at a low level, so the level on the CC pin needs to be determined before identifying the relevant parameters of the headphone. Specifically, if the target level is a low level, it is necessary to determine whether the level on the CC pin is a low level. If yes, step 302 is executed, otherwise step 303 is executed.

[0048] In step 302, when the level on the configuration channel pin of the external interface is the target level, the relevant parameters of the headset are identified, and the switch in the terminal device is controlled to switch to the audio path. Specifically, the relevant parameters of the headset are used to transmit the audio in the terminal device 20 to the headset. For example, the relevant parameters of the headset include impedance, sensitivity, frequency response range, total harmonic distortion (Total Harmonic Distortion Plus Noise, THD+N), crosstalk, bottom noise, etc.

[0049] Refer to Figure 2 During the earphone identification process, the switch (TypeC Switch) can be switched to the audio path, that is, switched to HPL / R, to form an audio path between the terminal device 20 and the earphone 50.

[0050] Specifically, the headphone-related parameters may be the voltage on the CC pin, the pull-up resistor, the pull-down resistor, etc. Among them, the voltage on the CC pin can be used to determine whether a device (such as a headphone) has been inserted, the pull-down resistor on the CC pin can be used to determine the direction, and the pull-up resistor on the CC pin can be used to detect the voltage on the CC pin, and then determine whether it is flipped and the current capacity.

[0051] For more principles of earphone recognition, please refer to the prior art and will not be elaborated here.

[0052] In step 303, it is determined whether the level on the power pin of the external interface reaches the target value.

[0053] Specifically, the condition for the charger to identify is that the voltage on the power pin exceeds the target value, such as 4 V. Therefore, it is necessary to first determine the voltage on the power pin, and if it reaches the target value, step 304 is executed, otherwise the process ends.

[0054] In step 304 , when the level on the power pin of the external interface reaches the target value, relevant parameters of the charger are identified.

[0055] Specifically, the relevant parameters of the charger can be used for charging, that is, the relevant parameters of the charger are used to charge the terminal device 20. For example, the relevant parameters of the charger include charging protocol, output current, output voltage, etc.

[0056] Specifically, the process of identifying the relevant parameters of the charger can also be called charger type identification. The specific identification process includes starting the timer and the primary detection. After starting the timer, if the terminal device does not support data connectivity detection (DCD), the next step will be started after the timeout. If supported, the terminal device applies a current on USB D+, such as 7-3 microamperes. If the terminal device is connected to an SDP (ordinary USB port), the SDP has a pull-down resistor on the USB D+ line. At this time, the voltage on USB D+ is within a certain range. As long as the voltage detected by the terminal device on USB D+ is less than a certain value (such as 0.8V) and maintained for a certain time (such as 10ms), the DCD detection is successful and the next step begins.

[0057] During the first detection, the terminal device applies a source voltage, such as 0.5-0.7V, to USB D+, and then starts to detect the voltage on USB D-. If the voltage on USB D- is less than the reference voltage (such as 0.25-0.4V), it means that the terminal device is connected to a normal USB port. If the voltage on USB D- is greater than the reference voltage, it means that the terminal device is connected to a dedicated charging port (Dedicate Charging Port, DCP). There may be two situations at this time. One is that the terminal device immediately starts enumeration, establishes a connection, and determines the charging current through configuration. The other is that the terminal device starts a secondary detection and applies another voltage, such as 0.5-0.7V, to USB D-. Then detect the voltage on USB D+. If the voltage on USB D+ is greater than the reference voltage, it means that the terminal device is connected to a dedicated charging port DCP. If the voltage on USB D+ is less than the reference voltage, it means that the terminal device is connected to a USB port with strong charging capabilities (Charging Downstream Port, CDP).

[0058] It should be noted that for more specific implementations of earphone identification and charger type identification, reference can be made to the prior art and will not be repeated here.

[0059] For more specific implementation methods of the embodiments of the present application, please refer to the aforementioned embodiments, which will not be repeated here.

[0060] Please refer to Figure 4 , Figure 4 A POP sound elimination device 40 is shown, and the POP sound elimination device 40 may include:

[0061] The first identification module 401 is used to perform a headset identification process in response to the adapter being connected to the external interface, and specifically to identify relevant parameters of the headset, the adapter being used to connect the headset and the charger to the external interface, and the relevant parameters of the headset being used to transmit the audio signal.

[0062] The second identification module 403 is used to execute a charger identification process, and specifically to identify relevant parameters of the charger.

[0063] Furthermore, the POP sound elimination device 40 may also include a control module 402, and the control module 402 is used to control the switching switch in the terminal device to switch to the charging path.

[0064] In a specific implementation, the above-mentioned POP sound elimination device 40 can correspond to a chip with a POP sound elimination function in a terminal device, such as a system-on-a-chip (SOC), a baseband chip, etc.; or correspond to a chip module with a POP sound elimination function in a terminal device; or correspond to a chip module with a data processing function chip, or correspond to a terminal device.

[0065] For other related descriptions about the POP sound elimination device 40, reference can be made to the related descriptions in the aforementioned embodiments, which will not be repeated here.

[0066] Regarding the various modules / units included in the various devices and products described in the above embodiments, they can be software modules / units, or hardware modules / units, or they can be partially software modules / units and partially hardware modules / units. For example, for various devices and products applied to or integrated in a chip, the various modules / units included therein can all be implemented in the form of hardware such as circuits, or at least some of the modules / units can be implemented in the form of software programs, which run on a processor integrated inside the chip, and the remaining (if any) modules / units can be implemented in the form of hardware such as circuits; for various devices and products applied to or integrated in a chip module, the various modules / units included therein can all be implemented in the form of hardware such as circuits, and different modules / units can be located in the same component of the chip module (such as a chip, circuit module, etc.) or in different components, or at least some of the modules / units can be implemented in the form of software programs. It is implemented in the form of a software program, which runs on a processor integrated inside the chip module, and the remaining (if any) modules / units can be implemented in hardware such as circuits; for various devices and products applied to or integrated in the terminal equipment, the various modules / units contained therein can be implemented in hardware such as circuits, and different modules / units can be located in the same component (for example, chip, circuit module, etc.) or in different components in the terminal equipment, or, at least some modules / units can be implemented in the form of a software program, which runs on a processor integrated inside the terminal equipment, and the remaining (if any) modules / units can be implemented in hardware such as circuits.

[0067] The present application also discloses a storage medium, which is a computer-readable storage medium and stores a computer program, which can be executed when the computer program is run. Figures 1 to 3 The steps of the method shown in . The storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc. The storage medium may also include a non-volatile memory (non-volatile) or a non-transitory memory, etc.

[0068] Please refer to Figure 5 The embodiment of the present application also provides a hardware structure diagram of a communication device. The device includes a processor 501, a memory 502 and a transceiver 503.

[0069] Processor 501 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application. Processor 501 may also include multiple CPUs, and processor 501 may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. The processor here may refer to one or more devices, circuits, or processing cores for processing data (such as computer program instructions).

[0070] The memory 502 may be a ROM or other types of static storage devices that can store static information and instructions, a RAM or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer, and the embodiments of the present application do not impose any restrictions on this. The memory 502 may exist independently (in this case, the memory 502 may be located outside the device or inside the device), or it may be integrated with the processor 501. Among them, the memory 502 may contain a computer program code. The processor 501 is used to execute the computer program code stored in the memory 502, thereby realizing the method provided in the embodiments of the present application.

[0071] The processor 501, the memory 502 and the transceiver 503 are connected via a bus. The transceiver 503 is used to communicate with other devices or a communication network. Optionally, the transceiver 503 may include a transmitter and a receiver. The device used to implement the receiving function in the transceiver 503 can be regarded as a receiver, and the receiver is used to perform the receiving step in the embodiment of the present application. The device used to implement the sending function in the transceiver 503 can be regarded as a transmitter, and the transmitter is used to perform the sending step in the embodiment of the present application.

[0072] when Figure 5 The schematic diagram of the structure shown is used to illustrate the structure of the terminal device involved in the above embodiment. The processor 501 is used to control and manage the actions of the terminal device. For example, the processor 501 is used to support the terminal device to execute Figure 1 Step 101, step 102 and step 103 in , or Figure 3 The processor 501 may communicate with other network entities, for example, the network devices described above, through the transceiver 503. The memory 502 is used to store program codes and data of the terminal device.

[0073] It should be understood that the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article indicates that the associated objects before and after are in an "or" relationship.

[0074] The "plurality" appearing in the embodiments of the present application refers to two or more.

[0075] The first, second, etc. descriptions appearing in the embodiments of the present application are only used for illustration and distinction of the description objects. There is no order, nor do they indicate any special limitation on the number of devices in the embodiments of the present application, and cannot constitute any limitation on the embodiments of the present application.

[0076] The "connection" that appears in the embodiments of the present application refers to various connection methods such as direct connection or indirect connection to achieve communication between devices, and the embodiments of the present application do not impose any limitations on this.

[0077] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented using software, the above embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means.

[0078] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0079] In the several embodiments provided in the present application, it should be understood that the disclosed methods, devices and systems can be implemented in other ways. For example, the device embodiments described above are merely schematic; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0080] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0081] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0082] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform some steps of the method described in each embodiment of the present application.

[0083] Although the present application is disclosed as above, the present application is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application, so the protection scope of the present application shall be subject to the scope defined by the claims.

Claims

1. A method for eliminating POP sound, characterized in that: include: In response to the adapter being connected to the external interface, performing a headset recognition process, the adapter being used to connect the headset and the charger to the external interface; Perform the charger identification process.

2. The POP sound elimination method according to claim 1, characterized in that: The charger identification process includes: Controlling the charging path connecting the adapter and the terminal device, and executing the charger identification process.

3. The POP sound elimination method according to claim 2, characterized in that: Before controlling the charging path connecting the adapter and the terminal device, the method further includes: It is determined whether the level on the power pin of the external interface reaches a target value.

4. The POP sound elimination method according to claim 3, characterized in that: The parameters related to identifying the charger include: When the level on the power pin of the external interface reaches a target value, relevant parameters of the charger are identified.

5. The POP sound elimination method according to claim 1, characterized in that: The charger identification process includes: Relevant parameters of the charger are identified.

6. The POP sound elimination method according to claim 1, characterized in that: The earphone recognition process includes: Relevant parameters of the earphone are identified, and the adapter switch is controlled to switch to the audio path, wherein the relevant parameters of the earphone are used to transmit the audio signal.

7. The POP sound elimination method according to claim 6, characterized in that: Before identifying the relevant parameters of the headset, the method further includes: It is determined whether the level on the configuration channel pin of the external interface is a target level.

8. The POP sound elimination method according to claim 7, characterized in that: The parameters related to identifying the headset include: When the level on the configuration channel pin of the external interface is at a target level, relevant parameters of the headset are identified.

9. A POP sound elimination device, characterized in that: include: A first identification module, configured to execute a headset identification process in response to an adapter being connected to an external interface, wherein the adapter is used to connect the headset and a charger to the external interface; The second identification module is used to execute a charger identification process.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the POP sound elimination method according to any one of claims 1 to 8 are executed.

11. A terminal device, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor runs the computer program, the steps of the POP sound elimination method according to any one of claims 1 to 8 are performed.