Interface detection circuit, method, device, audio device and storage medium

By adding a socket detection pin to the RCA socket, the problem of RCA interface insertion detection is solved, enabling automatic switching of audio output and improving the functionality and user experience of audio devices.

CN115499767BActive Publication Date: 2026-01-30HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211232044.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-30
Publication Date
2026-01-30
Estimated Expiration
2042-09-30

AI Technical Summary

Technical Problem

In existing technologies, RCA interfaces cannot perform insertion detection, resulting in audio output not being able to switch automatically, and thus not being able to achieve automatic switching between built-in and external speakers.

Method used

Add a socket detection pin to the RCA socket. By detecting the state change of this pin, it can be determined whether the RCA interface is plugged in, thereby realizing automatic switching of audio output.

Benefits of technology

It implements RCA interface insertion detection to ensure that the audio output can automatically switch to the built-in speaker or the external speaker according to the interface status, thereby improving the flexibility of audio devices and the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115499767B_ABST
    Figure CN115499767B_ABST
Patent Text Reader

Abstract

This application discloses an interface detection circuit, method, apparatus, audio device, and storage medium. The interface detection circuit is built into the audio device and includes an RCA interface, which includes an RCA socket. The RCA socket includes an RCA jack, a ground pin disposed within the RCA jack, an RCA socket detection pin, and an audio signal output pin. When the RCA male connector is not inserted into the RCA jack, the RCA socket detection pin is in a first state; when the RCA male connector is inserted into the RCA jack, the RCA socket detection pin is in a second state. The first state and the second state are different. This application enables the detection of whether the RCA interface is inserted, and thus allows for targeted switching of audio output based on whether the RCA interface is inserted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of audio and video processing technology, and in particular to an interface detection circuit, method, apparatus, audio device, and storage medium. Background Technology

[0002] Currently, many audio devices output audio to external speakers via built-in RCA (Radio Corporation of America) interfaces. However, due to the pin characteristics of the RCA standard connector, insertion detection is not possible. As a result, when an external speaker, such as headphones, is plugged in, the audio device will still use the built-in speaker to play audio, or play audio from both simultaneously.

[0003] In other words, the existing technology cannot detect the insertion of RCA interfaces, which causes the audio output to fail to switch automatically. Summary of the Invention

[0004] In view of this, embodiments of this application provide an interface detection circuit, method, apparatus, audio device, and storage medium, aiming to design a detection scheme for insert detection of RCA interfaces, thereby realizing automatic switching of audio output.

[0005] This application embodiment provides an interface detection circuit, built into an audio device, the interface detection circuit comprising:

[0006] The RCA interface includes an RCA connector, which includes an RCA jack, a ground pin disposed within the RCA jack, an RCA connector detection pin, and an audio signal output pin. When the RCA male connector is not inserted into the RCA jack, the RCA connector detection pin is in a first state, and when the RCA male connector is inserted into the RCA jack, the RCA connector detection pin is in a second state. The first state and the second state are different.

[0007] In one possible implementation of this application, the first state includes a high-level state, and the second state includes a low-level state. When the RCA male connector is inserted into the RCA socket, the RCA connector detection pin is pushed by the RCA male connector and electrically connected to the ground pin, so that the RCA connector detection pin presents a low-level state. When the RCA male connector is not inserted into the RCA socket, the RCA connector detection pin and the ground pin are disconnected, so that the RCA connector detection pin presents a high-level state.

[0008] In one possible embodiment of this application, the RCA socket is provided with a conductive part, the ground pin is electrically connected to the conductive part, and the RCA socket detection pin is provided with a spring contact. The spring contact is in a suspended state. When the RCA male connector is inserted into the RCA socket, the spring contact is pushed by the RCA male connector and abuts against the conductive part, so that the spring contact and the ground pin are electrically connected, and the RCA socket detection pin is in a low-level state. When the RCA male connector is pulled out of the RCA socket, the spring contact separates from the conductive part, so that the spring contact is disconnected from the ground pin, and the RCA socket detection pin is in a high-level state.

[0009] In one possible embodiment of this application, the RCA connector is further provided with an insulating shell, and the RCA connector detection pin is provided with a fixing part. The fixing part abuts against the insulating shell, and the conductive part abuts against the insulating shell. The conductive part and the fixing part are isolated by the insulating shell so that the RCA connector detection pin and the conductive part are insulated from each other. The spring is a bent piece, and an insulating block is installed on the bent end of the spring. When the RCA male is inserted into the RCA socket, one end of the spring abuts against the conductive part, and the insulating block abuts against the RCA male, so that the RCA connector detection pin is electrically connected to the grounding pin, but not electrically connected to the RCA male.

[0010] In one possible embodiment of this application, the interface detection circuit is further configured to output an audio signal to the built-in speaker when it is determined that the RCA connector detection pin is in a first state; and to control the built-in speaker to turn off and output an audio signal to the external speaker connected to the RCA interface when it is determined that the RCA connector detection pin is in a second state.

[0011] In one possible embodiment of this application, the interface detection circuit further includes:

[0012] The main control chip is used to input the received audio signal to the audio processing chip, and also to control the opening or closing of the built-in speaker switch;

[0013] An audio processing chip is used to process the incoming audio signal and output an analog audio signal. It is also used to output an analog audio signal to the built-in speaker when it is determined that the RCA connector detection pin is in a first state, and to output an analog audio signal to the external speaker connected to the RCA interface when it is determined that the RCA connector detection pin is in a second state.

[0014] The built-in speaker switch is used to control whether the built-in speaker is turned on or off.

[0015] This application also provides an audio device, the audio device including the interface detection circuit as described in any one of the above statements; and...

[0016] A built-in speaker is provided for playing the audio signal when the RCA connector detection pin is in the first state.

[0017] This application also provides an interface detection method, the method comprising:

[0018] Determine the status of the RCA connector's detection pins;

[0019] If the RCA connector detection pin is in the first state, it is determined that the RCA is not in the insertion state, and an audio signal is output through the built-in speaker;

[0020] If the RCA connector detection pin is in the second state, it is determined that the RCA is in the inserted state, the built-in speaker is turned off, and an audio signal is output through the RCA.

[0021] This application also provides an interface detection device, the device comprising:

[0022] The determination module is used to determine the status of the RCA connector's detection pins;

[0023] The first activation module is used to determine that the RCA is not in the insertion state when the state of the RCA socket detection pin is in the first state, and to output an audio signal through the built-in speaker;

[0024] The second activation module is used to determine that the RCA is in the insertion state when the RCA socket detection pin is in the second state, turn off the built-in speaker, and output an audio signal through the RCA.

[0025] This application also provides an audio device, which is a physical node device. The audio device includes: a memory, a processor, and a program of the interface detection method stored in the memory and executable on the processor. When the program of the interface detection method is executed by the processor, it can implement the steps of the interface detection method as described above.

[0026] To achieve the above objectives, a storage medium is also provided, on which an interface detection program is stored, which, when executed by a processor, implements the steps of any of the interface detection methods described above.

[0027] This application provides an interface detection circuit, method, apparatus, audio device, and storage medium. Compared with the prior art, where the audio output cannot be automatically switched due to the inability to detect the insertion of the RCA interface, this application integrates the interface detection circuit into the audio device. The interface detection circuit includes an RCA interface, which includes an RCA socket. The RCA socket includes an RCA jack, a ground pin disposed in the RCA jack, an RCA socket detection pin, and an audio signal output pin. When the RCA male connector is not inserted into the RCA jack, the RCA socket detection pin is in a first state. When the RCA male connector is inserted into the RCA jack, the RCA socket detection pin is in a second state. The first state and the second state are different. In this application, the internal structure of the RCA connector is changed by adding a connector detection pin. This connector detection pin exhibits different states when the RCA male connector is inserted and not inserted, so that the insertion of the RCA interface can be detected. Then, the audio output is switched accordingly based on whether the RCA interface is inserted, thus solving the technical problem in the prior art that the insertion detection of the RCA interface is not possible, which causes the audio output to fail to switch automatically.

[0028] This application provides an interface detection circuit, method, apparatus, audio device, and storage medium. Compared to existing technologies where the inability to detect RCA interface insertion prevents automatic audio output switching, this application determines the state of the RCA connector detection pins. If the RCA connector detection pins are in a first state, it is determined that the RCA is not inserted, and an audio signal is output through the built-in speaker. If the RCA connector detection pins are in a second state, it is determined that the RCA is inserted, the built-in speaker is turned off, and an audio signal is output through the RCA. This application utilizes the connector detection pins in the RCA to detect whether the RCA interface is inserted by observing different states of the detection pins. Therefore, targeted audio output switching is performed based on whether the RCA interface is inserted, solving the technical problem in existing technologies where the inability to detect RCA interface insertion prevents automatic audio output switching. Attached Figure Description

[0029] Figure 1 This is a functional schematic diagram of an embodiment of the interface detection circuit of this application applied to an audio device;

[0030] Figure 2 This is a flowchart illustrating the first embodiment of the interface detection method of this application;

[0031] Figure 3 This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiments of this application;

[0032] Figure 4This is a schematic diagram of the first scenario involving the interface detection circuit of this application;

[0033] Figure 5 This is a schematic diagram of the second scenario involving the interface detection circuit of this application.

[0034] Explanation of icon numbers:

[0035]

[0036] Detailed Implementation

[0037] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0038] It should be noted that if the embodiments of this application involve directional indicators (such as up, down, left, right, front, back, etc.), the directional indicators are only used to explain the relative positional relationship and movement of the components in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indicators will also change accordingly.

[0039] Furthermore, if the embodiments of this application involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, features defined with "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the technical solutions of various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. If the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed in this application.

[0040] This invention proposes an interface detection circuit for use in audio devices, such as televisions, computers, and mobile phones.

[0041] As an example, the audio device could also be a device with internal sound output capability and an external audio cable to extend the sound output; there is no specific limitation.

[0042] As an example, many audio devices output audio via RCA connectors. However, due to the pin characteristics of standardized RCA connectors, insertion detection is not possible. Consequently, even when an RCA connector is inserted, the audio device will still use its built-in speaker for audio playback, or both the built-in speaker and the RCA connector will play audio simultaneously. In other words, existing technology cannot perform RCA insertion detection, resulting in a technical problem where audio output cannot be automatically switched.

[0043] Reference Figure 1 To address the aforementioned issues, in one embodiment of the present invention, an interface circuit is provided. This interface detection circuit includes: an RCA interface 10, an RCA connector 11, an RCA socket (not shown in the figure) within the RCA connector 11, a grounding pin 111, an RCA connector detection pin 112, and an audio signal output pin 113 disposed within the RCA socket. When the RCA male connector 60 is not inserted into the RCA socket, the RCA connector detection pin is in a first state; when the RCA male connector 60 is inserted into the RCA socket, the RCA connector detection pin is in a second state. The first state and the second state are different.

[0044] As an example, both the first and second states are level states.

[0045] As an example, the first state of the RCA connector detection pin can be that the level of the RCA connector detection pin is 5V, or the first state of the RCA connector detection pin can be that the level of the RCA connector detection pin is 2V.

[0046] As an example, when the RCA connector detection pin is in a first state, the voltage level of the RCA connector detection pin is 5V or 2V, and when the RCA connector detection pin is in a second state, the voltage level of the RCA connector detection pin is 0V.

[0047] As an example, the first state and the second state can be current states (corresponding to the first state being the first current state and the second state being the second current state), wherein the first current state and the second current state are different.

[0048] like Figure 4 , Figure 5 As shown, the grounding pin 111 is in the GND state. When the RCA male connector 60 is inserted into the RCA socket, the RCA socket detection pin is in the GND state (grounded state).

[0049] In this application, the internal structure of the RCA connector is changed by adding a connector detection pin. This connector detection pin exhibits different states when the RCA male connector 60 is inserted and not inserted, so that whether the RCA interface is inserted can be detected. Then, the audio output is switched accordingly based on whether the RCA interface is inserted, thus solving the technical problem in the prior art that the insertion detection of the RCA interface is not possible, which causes the audio output to fail to switch automatically.

[0050] As an example, when the RCA male connector 60 is inserted into the RCA socket, the RCA socket detection pin 112 is pushed by the RCA male connector 60 and electrically connected to the ground pin 111, so that the level of the RCA socket detection pin 112 is in a second state. When the RCA male connector 60 is not inserted into the RCA socket, the RCA socket detection pin and the ground pin are disconnected, so that the RCA socket detection pin is in a high level state.

[0051] As an example, when the RCA male connector 60 is not inserted into the RCA socket, the RCA connector detection pin and the ground pin are in an initial state of being disconnected from electrical connection. When the RCA male connector is inserted into the RCA socket, the RCA connector detection pin and the ground pin are in a working state of mutual contact. During the insertion and removal of the RCA connector, the RCA connector detection pin 112 has an elastic element. Specifically, when the RCA male connector is inserted into the RCA socket, the elastic element of the RCA connector detection pin 112 is pushed by the RCA male connector 60 and electrically connected to the ground pin 111. When the RCA male connector 60 is pulled out of the RCA socket, the elastic element of the RCA connector detection pin 112 returns to its original state and is disconnected from the ground pin.

[0052] As an example, when the RCA male connector is inserted into the RCA socket but not fully inserted, the RCA socket detection pin and the ground pin are disconnected, so that the RCA socket detection pin is in a high-level state.

[0053] As an example, when the RCA male connector is pulled out but not completely successfully, the RCA connector detection pin and the ground pin are electrically connected to make the RCA connector detection pin present a low level state.

[0054] As an example, such as Figure 4 , Figure 5As shown, the RCA socket has a conductive part 114 inside, and the ground pin 111 is electrically connected to the conductive part 114. The RCA socket detection pin 112 is provided with a spring contact 1122. The spring contact is in a suspended state. When the RCA male connector 60 is inserted into the RCA socket, the spring contact is pushed by the RCA male connector 60 and abuts against the conductive part 114, so that the spring contact 1122 and the ground pin 111 are electrically connected, so that the RCA socket detection pin is in a low level state. When the RCA male connector is pulled out of the RCA socket, the spring contact 1121 separates from the conductive part 114, so that the spring contact 1121 is disconnected from the ground pin 111, so that the spring contact 1121 is in a high level state.

[0055] As an example, such as Figure 5 As shown, the RCA connector is also provided with an insulating shell 116, and the RCA connector detection pin 112 is provided with a fixing part 1121. The fixing part 1121 abuts against the insulating shell 116, and the conductive part 114 abuts against the insulating shell 116. The conductive part 114 and the fixing part 1121 are isolated by the insulating shell 116 so that the RCA connector detection pin 112 and the conductive part 114 are insulated from each other. The spring piece 1122 is a bent piece, and an insulating block 115 is installed on the bent end of the spring piece 1122. When the RCA male connector is inserted into the RCA socket, one end of the spring piece 1122 abuts against the conductive part 114, and the insulating block 115 abuts against the RCA male connector 60, so that the RCA connector detection pin 112 is electrically connected to the grounding pin 111, but not electrically connected to the RCA male connector 60.

[0056] This application provides an interface detection circuit, method, apparatus, audio device, and storage medium. Compared with the prior art, where the audio output cannot be automatically switched due to the inability to detect the insertion of the RCA interface, this application integrates the interface detection circuit into the audio device. The interface detection circuit includes an RCA interface, which includes an RCA socket. The RCA socket includes an RCA jack, a ground pin disposed in the RCA jack, an RCA socket detection pin, and an audio signal output pin. When the RCA male connector is not inserted into the RCA jack, the RCA socket detection pin is in a first state. When the RCA male connector is inserted into the RCA jack, the RCA socket detection pin is in a second state. The first state and the second state are different. In this application, the internal structure of the RCA connector is changed by adding a connector detection pin. This connector detection pin exhibits different states when the RCA male connector is inserted and not inserted, so that the insertion of the RCA interface can be detected. Then, the audio output is switched accordingly based on whether the RCA interface is inserted, thus solving the technical problem in the prior art that the insertion detection of the RCA interface is not possible, which causes the audio output to fail to switch automatically.

[0057] Furthermore, based on the above embodiments of this application, another embodiment of this application is provided. In this embodiment, the interface detection circuit (not shown in the figure) is also used to control the output of the accessed audio signal.

[0058] As an example, the interface detection circuit is also used to control the output switching of the incoming audio signal.

[0059] As an example, the interface detection circuit is also configured to output an audio signal to the built-in speaker 40 when it is determined that the RCA connector detection pin is in a first state; and to control the built-in speaker 40 to turn off and output an audio signal to the RCA interface when it is determined that the RCA connector detection pin is in a second state.

[0060] In this application, the insertion of an RCA cable can be detected based on different high and low voltage levels, thereby automatically switching the audio output to either the built-in speaker output or the RCA interface as needed.

[0061] The interface detection circuit also includes:

[0062] The main control chip is used to input the received audio signal to the audio processing chip, and also to control the opening or closing of the built-in speaker switch;

[0063] An audio processing chip is used to process the incoming audio signal and output an analog audio signal. It is also used to output an analog audio signal to the built-in speaker when it is determined that the RCA connector detection pin is in a first state, and to output an analog audio signal to the RCA interface when it is determined that the RCA connector detection pin is in a second state.

[0064] The built-in speaker switch is used to control whether the built-in speaker is turned on or off.

[0065] As an example, the first and second states can be level states.

[0066] As an example, the first and second states can be current states.

[0067] As an example, such as Figure 1 As shown, the main control chip 20 is used to input the incoming audio signal to the audio processing chip 30. After processing the incoming audio signal, the audio processing chip 30 outputs an analog audio signal. If the audio processing chip 30 determines that the RCA socket detection pin 112 is in the first state, it outputs an analog audio signal to the built-in speaker 40, and the main control chip 20 controls the built-in speaker 40 to turn on synchronously. If the audio processing chip determines that the RCA socket detection pin 112 is in the second state, it outputs an analog audio signal to the RCA interface. At the same time, the main control chip 20 controls the built-in speaker switch 40 to turn off. As an example, the main control chip 20 controls the built-in speaker to start or stop by controlling the opening and closing of the built-in speaker switch 50.

[0068] As an example, the RCA connector detection pin is provided with a spring clip, which is in a suspended state. When the RCA male connector 60 is inserted into the RCA connector 11, the spring clip is pushed by the RCA male connector 60 and comes into contact with the ground pin. When the audio processing chip 30 determines that the RCA connector detection pin 112 is in a first state, it outputs an audio analog signal to the built-in speaker 40, and the main control chip 20 controls the built-in speaker 40 to turn on synchronously. When the RCA male connector 60 is pulled out of the RCA connector, the spring clip separates from the ground pin. When the audio processing chip 30 determines that the RCA connector detection pin 112 is in a second state, it outputs an audio analog signal to the RCA interface, and the main control chip 20 controls the built-in speaker 40 to turn off synchronously.

[0069] In this embodiment, the insertion detection of RCA is achieved through the main control chip, the audio processing chip, and the built-in speaker switch, so that the audio output can be automatically switched.

[0070] Furthermore, based on the above embodiments of this application, another embodiment of this application is provided, in which the audio device includes the interface detection circuit as described above; and,

[0071] A built-in speaker is provided for playing the audio signal when the RCA connector detection pin is in the first state.

[0072] In this embodiment, the audio device includes the interface detection circuit as described above; and a built-in speaker, which is used to play the audio signal when the RCA connector detection pin is in the first state. The system aspect embodiment in this embodiment is basically the same as the interface detection circuit embodiment described above, and will not be repeated here.

[0073] Furthermore, based on the above embodiments of this application, another embodiment of this application is provided, in which the application is applied to the aforementioned audio device, with reference to... Figure 2 The method includes:

[0074] Step S10: Determine the status of the RCA connector detection pins;

[0075] Step S20: If the state of the RCA connector detection pin is in the first state, it is determined that the RCA is not in the insertion state, and an audio signal is output through the built-in speaker;

[0076] Step S30: If the RCA connector detection pin is in the second state, it is determined that the RCA is in the insertion state, the built-in speaker is turned off, and an audio signal is output through the RCA.

[0077] The method embodiment in this example is basically the same as the interface detection circuit embodiment described above, and will not be repeated here.

[0078] This application provides an interface detection circuit, method, apparatus, audio device, and storage medium. Compared to existing technologies where the inability to detect RCA insertion prevents automatic audio output switching, this application determines the state of the RCA connector detection pins. If the RCA connector detection pins are in a first state, it is determined that the RCA is not inserted, and an audio signal is output through the built-in speaker. If the RCA connector detection pins are in a second state, it is determined that the RCA is inserted, the built-in speaker is turned off, and an audio signal is output through the RCA. This application utilizes connector detection pins in the RCA to detect whether the RCA is inserted by observing different states of the detection pins. Therefore, audio output switching is performed based on whether the RCA is inserted, solving the technical problem in existing technologies where the inability to detect RCA insertion prevents automatic audio output switching.

[0079] Reference Figure 3 , Figure 3 This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiments of this application.

[0080] like Figure 3 As shown, the audio device may include: a processor 1001, a memory 1005, and a communication bus 1002. The communication bus 1002 is used to realize the connection and communication between the processor 1001 and the memory 1005.

[0081] Optionally, the audio device may also include a user interface, a network interface, a camera, RF (Radio Frequency) circuitry, sensors, a WiFi module, etc. The user interface may include a display screen, an input submodule such as a keyboard, and optionally, a standard wired or wireless interface. The network interface may include a standard wired or wireless interface (such as a Wi-Fi interface).

[0082] Those skilled in the art will understand that Figure 3 The audio device structure shown does not constitute a limitation on the audio device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0083] like Figure 3 As shown, the memory 1005, serving as a storage medium, may include an operating system, a network communication module, and an interface detection program. The operating system is a program that manages and controls the hardware and software resources of the audio device, supporting the operation of the interface detection program and other software and / or programs. The network communication module is used to enable communication between the various components within the memory 1005, as well as communication with other hardware and software in the interface detection system.

[0084] exist Figure 3 In the audio device shown, the processor 1001 is used to execute the interface detection program stored in the memory 1005 to implement the steps of the interface detection method described in any of the above claims.

[0085] The specific implementation of the audio device in this application is basically the same as the embodiments of the interface detection method described above, and will not be repeated here.

[0086] This application also provides an interface detection device, the device comprising:

[0087] The determination module is used to determine the status of the RCA connector's detection pins;

[0088] The first activation module is used to determine that the RCA is not in the insertion state when the state of the RCA socket detection pin is in the first state, and to output an audio signal through the built-in speaker;

[0089] The second activation module is used to determine that the RCA is in the insertion state when the RCA socket detection pin is in the second state, turn off the built-in speaker, and output an audio signal through the RCA.

[0090] The specific implementation of the interface detection device in this application is basically the same as the various embodiments of the interface detection method described above, and will not be repeated here.

[0091] This application provides a storage medium that stores one or more programs, which can be executed by one or more processors to implement the steps of the interface detection method described in any of the above claims.

[0092] The specific implementation of the storage medium in this application is basically the same as the embodiments of the interface detection method described above, and will not be repeated here.

[0093] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the interface detection method described above.

[0094] The specific implementation of the computer program product in this application is basically the same as the various embodiments of the interface detection method described above, and will not be repeated here.

[0095] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0096] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0097] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of a software plus hardware platform, or by hardware, but in many cases the former is a better implementation. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0098] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. An interface detection circuit, characterized by, The interface detection circuit is built in the audio device, and the interface detection circuit comprises: The RCA interface comprises an RCA socket, the RCA socket comprises an RCA jack, a grounding pin arranged in the RCA jack, an RCA socket detection pin arranged in the RCA jack, and an audio signal output pin arranged in the RCA jack, the RCA socket detection pin presents a first state when an RCA male head is not inserted into the RCA jack, and presents a second state when the RCA male head is inserted into the RCA jack, the first state and the second state are different, the first state comprises a high level state, and the second state comprises a low level state; When the RCA male head is inserted into the RCA jack, the RCA socket detection pin is pushed by the RCA male head and is electrically connected with the grounding pin, so that the RCA socket detection pin presents a low level state; A conductive part is arranged in the RCA jack, the grounding pin is electrically connected with the conductive part, and the RCA socket detection pin is provided with an elastic sheet, and the elastic sheet is in a suspended state; The RCA socket is further provided with an insulating shell, the RCA socket detection pin is provided with a fixing part, the fixing part is in abutment with the insulating shell, the conductive part is in abutment with the insulating shell, the conductive part and the fixing part are isolated by the insulating shell, so that the RCA socket detection pin and the conductive part are insulated, the elastic sheet is a bending piece, an insulating block is arranged on a bending end of the elastic sheet, when the RCA male head is inserted into the RCA jack, one end of the elastic sheet is in abutment with the conductive part, and the insulating block is in abutment with the RCA male head, so that the RCA socket detection pin is electrically connected with the grounding pin and is not electrically connected with the RCA male head.

2. The interface detection circuit of claim 1, wherein, When the RCA male head is not inserted into the RCA jack, the RCA socket detection pin and the grounding pin are in a state of being disconnected, so that the RCA socket detection pin presents a high level state.

3. The interface detection circuit of claim 2, wherein, When the RCA male head is inserted into the RCA jack, the elastic sheet is pushed by the RCA male head and is in abutment with the conductive part, so that the elastic sheet and the grounding pin are electrically connected, so that the RCA socket detection pin presents a low level state, when the RCA male head is pulled out of the RCA socket, the elastic sheet and the conductive part are separated from each other, so that the elastic sheet and the grounding pin are disconnected, so that the RCA socket detection pin presents a high level state.

4. The interface detection circuit of claim 1, wherein, The interface detection circuit is further used for outputting an audio signal to a built-in loudspeaker when it is determined that the RCA socket detection pin presents a first state, and controlling the built-in loudspeaker to be closed and outputting an audio signal to an external loudspeaker connected with the RCA interface when it is determined that the RCA socket detection pin presents a second state.

5. The interface detection circuit of claim 1, wherein, The interface detection circuit further comprises: A master control chip is used for inputting an accessed audio signal to an audio processing chip and is further used for controlling the built-in loudspeaker switch to be opened or closed. The audio processing chip is configured to process an accessed audio signal and output an audio analog signal, and is further configured to output the audio analog signal to a built-in speaker if it is determined that the RCA base detection pin is in a first state, and output the audio analog signal to an external speaker connected to the RCA interface if it is determined that the RCA base detection pin is in a second state. The built-in speaker switch is configured to control starting or stopping of the built-in speaker.

6. An audio device, comprising: The audio device comprises the interface detection circuit according to any one of claims 1-5; and The built-in speaker is configured to play the audio signal when the RCA base detection pin is in the first state.

7. An interface detection method, characterized by, The method is applied to the audio device according to claim 6, and the method comprises: determining a state of an RCA base detection pin; if the state of the RCA base detection pin is the first state, determining that the RCA is not in an inserted state, and outputting an audio signal through a built-in speaker; if the state of the RCA base detection pin is the second state, determining that the RCA is in the inserted state, stopping the built-in speaker, and outputting the audio signal through the RCA.

8. An interface detection apparatus for implementing the interface detection method of claim 7, characterized by The device comprises: a determining module configured to determine a state of an RCA base detection pin; a first starting module configured to, if the state of the RCA base detection pin is the first state, determine that the RCA is not in an inserted state, and output an audio signal through a built-in speaker; a second starting module configured to, if the state of the RCA base detection pin is the second state, determine that the RCA is in the inserted state, stop the built-in speaker, and output the audio signal through the RCA.

9. A storage medium, characterized by The storage medium has an interface detection program stored thereon, and the interface detection program, when executed by a processor, implements the steps of the interface detection method according to claim 7.

Citation Information

Patent Citations

  • Method and apparatus for detecting insertion of external audio outputting device in electronic device

    CN103686534A

  • Audio interface and electronic equipment

    CN109560413A

  • Audio input signal detection system and method, computer equipment and storage medium

    CN111857639A

  • Audio interface device and camera

    CN210142751U