CN-115714950-B - Multi-voice scene switching voice terminal and control method thereof
Abstract
The application relates to a voice terminal for multi-voice scene switching, which comprises a processor, an audio chip, an audio switching module, a communication module and an interface module, wherein the interface module comprises a first audio interface and a second audio interface, the interface module is respectively connected with a display control computer and the audio chip through the audio switching module, the processor is respectively connected with the audio chip and the communication module, audio signals of the audio chip are accessed to a network after passing through the processor and the communication module, the audio switching module comprises at least one switch, the processor is used for controlling each switch to be in a first state according to the detected connection state of the interface module, so that the first audio interface is connected with the display control computer through audio signals, the second audio interface is connected with the audio chip through audio signals, and the processor is connected with a switching key, and controls each switch to be in a second state according to instruction signals of the switching key.
Inventors
- WAN YONG
- ZHU GUOSHENG
Assignees
- 邦彦技术股份有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20221116
Claims (8)
- 1. The voice terminal for switching the multi-voice scene is characterized by comprising a processor, an audio chip, an audio switching module, a communication module and an interface module, wherein the interface module comprises a first audio interface and a second audio interface, and the interface module is respectively connected with a display control computer and the audio chip through the audio switching module; the processor is respectively connected with the audio chip and the communication module, and the audio signal of the audio chip is accessed to the network after passing through the processor and the communication module; the audio switching module comprises four switching switches, and the processor is used for controlling each switching switch to be in a first state according to the detected connection state of the interface module, so that the first audio interface is connected with the display control computer through audio signals, and the second audio interface is connected with the audio chip through audio signals; The processor controls each switch to be in a second state according to the instruction signal of the switch key, so that the second audio interface is connected with the display control computer through audio signals, and the first audio interface is connected with the audio chip through audio signals; The change-over switch adopts double-pole double-throw relay, wherein: The two common ends of the first change-over switch are respectively connected with the audio signal input ends of the first audio interface and the second audio interface, the two normally closed ends are respectively connected with the audio signal input end of the display control computer and the audio chip, and the two normally open ends are respectively connected with the audio signal input end of the display control computer and the audio chip, so that the switching of the audio signal input of the first audio interface and the second audio interface between the display control computer and the audio chip is realized; The two common ends of the third change-over switch are respectively connected with the signal output end of the first audio interface, the two common ends of the fourth change-over switch are respectively connected with the signal output end of the second audio interface, the two normally closed ends are connected with the audio chip, and the switching of the audio signal output of the display control computer and the audio chip between the first audio interface and the second audio interface is realized.
- 2. The multi-voice scene-cut voice terminal according to claim 1, wherein the first audio interface and the second audio interface are each adapted to connect to an audio transceiver unit comprising a microphone and a speaker, the audio transceiver unit being a handle microphone, a headset or a microphone comprising a speaker.
- 3. The multi-voice scene-cut voice terminal according to claim 1, wherein the model of the processor is LS2K1000, the audio-frequency switch module comprises four switches, and the switches adopt relays; The GPIO7 pin of the processor is connected with the detection end of the first audio interface to detect whether the first audio interface has an audio receiving and transmitting component in place, and the GPIO8 pin of the processor is connected with the detection end of the second audio interface to detect whether the second audio interface has the audio receiving and transmitting component in place; the GPIO2 pin, the GPIO3 pin, the GPIO4 pin and the GPIO5 pin of the processor are respectively connected with coil pins of the four change-over switches so as to realize control of the change-over switches; The GPIO1 pin of the processor is connected with the switching key, and the USB_DP pin and the USB_DM pin are connected with the audio chip through a USB bus.
- 4. The multi-voice scene-cut voice terminal according to claim 1, wherein the model of the audio chip is AP8248A2, and the internal channel of the audio chip is switched by software configuration; The LINEIN R pin of the audio chip is connected with the first change-over switch and is used for receiving the audio signal input of the first audio interface and the second audio interface, and the DAC_R pin and the DAC_L pin of the audio chip are respectively connected with two normally open ends of the third change-over switch and are simultaneously connected with two normally closed ends of the fourth change-over switch.
- 5. The voice terminal of claim 4, further comprising a local microphone and a local speaker, wherein the local microphone is connected to the LINEIN R pin of the audio chip after passing through the operational amplifier, and the local speaker is connected to the dac_x pin of the audio chip after passing through the power amplifier.
- 6. The voice terminal for multi-voice scene switching according to claim 3, wherein the processor detects that the GPIO1 pin is connected to the power VCC through the first resistor R1 and is connected to one end of the switching key K5, the other end of the switching key K5 is grounded to GND, and the GPIO1 pin of the processor is at a low level when the switching key is pressed; The GPIO7 pin of the processor is connected to the power VCC through a second resistor R2 and is connected with the detection end of the first audio interface, when the audio receiving and transmitting component exists in the first audio interface, the detection end is conducted with the grounding end GND, so that the GPIO7 pin of the processor is in a low level; The GPIO8 pin of the processor is connected to the power VCC through a third resistor R3 and is connected with the detection end of the second audio interface, and when the audio receiving and transmitting component exists in the second audio interface, the detection end is conducted with the grounding end GND, so that the GPIO8 pin of the processor is in a low level.
- 7. The multi-voice scene-cut voice terminal according to claim 6, wherein when the GPIO7 pin and/or the GPIO8 pin of the processor are/is low, the GPIO2 pin, the GPIO3 pin, the GPIO4 pin and the GPIO5 pin of the processor are/is set to high so that the four switches are all switched to the first state; When the GPIO1 pin of the processor is at a low level, the GPIO2 pin, the GPIO3 pin, the GPIO4 pin and the GPIO5 pin of the processor are at a low level, so that the four change-over switches are all switched to a second state.
- 8. The control method of a voice terminal for multi-voice scene switching according to any one of claims 1 to 7, comprising the steps of: The processor detects whether the first audio interface is connected; the processor detects whether the second audio interface is connected; The processor controls each change-over switch to be in a first state according to the detected connection state of the first audio interface or the second audio interface, so that the first audio interface is connected with the display control computer through audio signals, and the second audio interface is connected with the audio chip through audio signals; The processor controls each change-over switch to be in a second state according to the instruction signal of the change-over key, so that the second audio interface is connected with the display control computer through audio signals, and the first audio interface is connected with the audio chip through audio signals.
Description
Multi-voice scene switching voice terminal and control method thereof Technical Field The invention belongs to the technical field of audio, and relates to a voice terminal for switching multiple voice scenes and a control method thereof. Background The voice terminal is used as a display control computer embedded standard module, provides a unified listening and transmitting equipment interface for the display control computer, and simultaneously has the function of connecting the Internet to communicate with the inside and outside telephone. In the related art, because the voice terminal is embedded in the display control computer, the voice terminal needs to meet the requirements that the voice terminal can communicate with the voice terminal and the voice of the display control computer is used, and meanwhile, the access switching of various audio devices such as a headset, a telephone transmitter, a local microphone and the like is also realized, if a perfect voice switching scheme is not available, abnormal voice is lost or abnormal, and the normal operation of functions is influenced easily. Disclosure of Invention The application aims to provide a voice terminal for switching multiple voice scenes, which aims to solve the problem that voice switching is difficult under the condition of using multiple voices. In order to achieve the purpose, the application adopts the technical scheme that. The technical scheme of the application provides a voice terminal for multi-voice scene switching, which comprises a processor, an audio chip, an audio switching module, a communication module and an interface module, wherein the interface module comprises a first audio interface and a second audio interface, and is respectively connected with a display control computer and the audio chip through the audio switching module; the processor is respectively connected with the audio chip and the communication module, and the audio signal of the audio chip is accessed to the network after passing through the processor and the communication module; the audio switching module comprises at least one switching switch, and the processor is used for controlling each switching switch to be in a first state according to the detected connection state of the interface module, so that the first audio interface is connected with the display control computer through audio signals, and the second audio interface is connected with the audio chip through audio signals; The processor controls each change-over switch to be in a second state according to the instruction signal of the change-over key, so that the second audio interface is connected with the display control computer through audio signals, and the first audio interface is connected with the audio chip through audio signals. According to the voice terminal, the audio switching module enables the input/output audio signals of the first audio interface and the second audio interface to be switched between the display control computer and the voice terminal. The audio frequency switching module defaults that the lower switch is in a first state, the audio frequency receiving and transmitting component of the first audio frequency interface is used by the display control computer, the audio frequency receiving and transmitting component of the second audio frequency interface is used by the voice terminal, and after the switching key is pressed, the switch of the audio frequency switching module is in a second state and is switched into the audio frequency receiving and transmitting component of the first audio frequency interface to be used by the voice terminal, and the audio frequency receiving and transmitting component of the second audio frequency interface is used by the display control computer. The voice terminals are also connected with the Internet through the processor and the communication module, and audio signals of the voice terminals are transmitted to other voice terminals through the Internet, so that the voice call function between the voice terminals is realized. In a certain implementation manner of the technical scheme, the first audio interface and the second audio interface are both used for connecting an audio receiving and transmitting component comprising a microphone and a loudspeaker, and the audio receiving and transmitting component is a handle microphone, a headset or a microphone comprising the loudspeaker. In one embodiment of the present invention, the changeover switch is a single pole double throw relay or a double pole double throw relay. In a certain implementation mode of the technical scheme, the model of the processor is LS2K1000, and the audio frequency switching module comprises four switching switches which adopt relays; The GPIO7 pin of the processor is connected with the detection end of the first audio interface to detect whether the first audio interface has an audio receiving and transmitting component in place, and the GPIO8 pin