CN112866828B - Audio transmission control method, device, sound card, system and readable storage medium - Google Patents

Audio transmission control method, device, sound card, system and readable storage medium Download PDF

Info

Publication number
CN112866828B
CN112866828B CN202011525992.1A CN202011525992A CN112866828B CN 112866828 B CN112866828 B CN 112866828B CN 202011525992 A CN202011525992 A CN 202011525992A CN 112866828 B CN112866828 B CN 112866828B
Authority
CN
China
Prior art keywords
audio transmission
headset
audio
assistant
live
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011525992.1A
Other languages
Chinese (zh)
Other versions
CN112866828A (en
Inventor
梁小江
李双宏
连光
蒲莉娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Chuangcheng Microelectronics Co ltd
Original Assignee
Shenzhen Chuangcheng Microelectronics Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Chuangcheng Microelectronics Co ltd filed Critical Shenzhen Chuangcheng Microelectronics Co ltd
Priority to CN202011525992.1A priority Critical patent/CN112866828B/en
Publication of CN112866828A publication Critical patent/CN112866828A/en
Application granted granted Critical
Publication of CN112866828B publication Critical patent/CN112866828B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q5/00Selecting arrangements wherein two or more subscriber stations are connected by the same line to the exchange
    • H04Q5/24Selecting arrangements wherein two or more subscriber stations are connected by the same line to the exchange for two-party-line systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/162Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Coupling Device And Connection With Printed Circuit (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides an audio transmission control method, a device, a sound card, a system and a readable storage medium, wherein a first audio transmission channel is formed between a main broadcasting headset and a live broadcasting terminal, a second audio transmission channel is formed between an assistant headset and the live broadcasting terminal, a third audio transmission channel is formed between the main broadcasting headset and the assistant headset, and when a channel switching instruction corresponding to the main broadcasting headset is detected, if the third audio transmission channel is in a disconnected state, the third audio transmission channel is communicated, so that the main broadcasting headset and the assistant headset perform audio data transmission through the third audio transmission channel; otherwise, the three audio transmission paths are disconnected, the first audio transmission path is communicated, the connection between the anchor headset and the live broadcast terminal is established, and the audio data acquired by the anchor headset is sent to the live broadcast terminal. The method communicates communication paths among members in the team in the live broadcast process, and realizes the internal communication between the anchor and the assistant in the live broadcast process.

Description

Audio transmission control method, device, sound card, system and readable storage medium
Technical Field
The invention relates to the technical field of data transmission, in particular to an audio transmission control method, an audio transmission control device, an audio card, an audio system and a readable storage medium.
Background
With the development of internet entertainment, the live broadcast industry is more and more favored by users, and therefore, an external live broadcast sound card matched for live broadcast is produced. The external live sound card is generally provided with rich audio input and output interfaces, and functions of earphone monitoring, microphone input, accompaniment input, mobile phone input/output and the like are provided. Through the external live broadcast sound card, the live broadcast operation is greatly facilitated, and the user experience is improved.
With the expansion and the refinement of the mobile phone live broadcasting team, the team is divided into tasks such as a main broadcast, a field, a director, and an assistant, for example, the main broadcast mainly enters the home to perform live broadcasting, and the assistant mainly monitors the live broadcasting state of the main broadcast, that is, the team members often need to cooperate with each other. In order to communicate between members in a team, in a conventional scheme, each member in the team is often provided with an intercom or other wireless communication device. However, to complete live broadcasting work, the members in the team often need to walk back and forth, especially the anchor, and when too many devices are carried, the members are easy to move inconveniently. Particularly, when the anchor is in the live broadcast process, if the anchor needs to talk with other members in the team, the anchor needs to replace the device at this time, which brings inconvenience to the anchor and also affects the live broadcast effect. For the assistant, when the assistant is in the monitoring working state, it needs to receive audio data from the audio transmitted to the audience, and at this time, if the anchor makes a request to the assistant, because the assistant wears earphones which are not talkback, the assistant cannot know the request of the anchor in time, and thus, the coordination work in the team is difficult to be smoothly performed.
Therefore, how to communicate the communication paths among the members in the live broadcast process team to realize smooth communication among the members in the team, and reducing inconvenience caused by the complicated operation of the communication in the team becomes a technical problem to be solved urgently.
Disclosure of Invention
Based on the above situation, a primary objective of the present invention is to provide an audio transmission control method, apparatus, sound card, system and storage medium, so as to communicate communication paths between members in a team during live broadcast, thereby achieving smooth communication between members in the team and reducing inconvenience caused by complicated operations of communication in the team.
The invention provides an audio transmission control method of a multi-channel live broadcast system, wherein the live broadcast system comprises a sound card, a main broadcast earphone, an assistant earphone and a live broadcast terminal, the main broadcast earphone forms a first audio transmission channel with the live broadcast terminal through the sound card, the assistant earphone forms a second audio transmission channel with the live broadcast terminal through the sound card, the main broadcast earphone forms a third audio transmission channel with the assistant earphone through the sound card, and the audio transmission control method of the multi-channel live broadcast system comprises the following steps:
s100, judging whether the third audio transmission channel is in a disconnected state or not after detecting a channel switching instruction corresponding to the main broadcasting headset; if the third audio transmission path is in the disconnected state, executing step S200; if the third audio transmission path is in a connected state, executing step S300;
s200, generating a first control instruction, wherein the first control instruction is used for communicating the third audio transmission channel, so that the main headset and the assistant headset perform audio data transmission through the third audio transmission channel;
and S300, generating a second control instruction, wherein the second control instruction is used for disconnecting the third audio transmission channel and generating a third control instruction, the third control instruction is used for communicating the first audio transmission channel, establishing the connection between the main broadcasting headset and the live broadcasting terminal, and sending the audio data acquired by the main broadcasting headset to the live broadcasting terminal.
Preferably, when the main microphone and the live broadcast terminal perform audio data transmission, the assistant microphone is in a monitoring mode to monitor audio data transmitted by the main microphone and the live broadcast terminal, and if it is detected that the first audio transmission path is in a disconnected state, a fourth control instruction is generated, where the fourth control instruction is used to communicate the second audio transmission path and send the audio data acquired by the assistant microphone to the live broadcast terminal.
Preferably, after step S300, the method further includes:
after the second audio transmission path is connected, if a connection instruction for connecting the third audio transmission path corresponding to the main microphone is detected, the first audio transmission path and the second audio transmission path are disconnected, and step S200 is executed.
Preferably, the sound card includes a terminal interface, the sound card establishes a connection with the live broadcast terminal through the terminal interface, and after step S200, the method further includes:
and sending data to be displayed to the live broadcast terminal within the corresponding time length communicated by the third audio transmission channel, so that the live broadcast terminal outputs the data to be displayed.
Preferably, the audio transmission control method further includes:
when detecting that the first audio transmission channel does not receive a microphone signal, generating a first low-power-consumption instruction, and controlling the first audio transmission channel to be in a low-power-consumption state according to the first low-power-consumption instruction;
and/or generating a second low-power-consumption instruction when detecting that the second audio transmission channel does not receive a microphone signal, and controlling the second audio transmission channel to be in a low-power-consumption state according to the second low-power-consumption instruction.
Before step S100, the method further includes:
and triggering a channel switching instruction corresponding to the main broadcasting headset after detecting that the main broadcasting corresponding to the main broadcasting headset presses a switching key triggering the channel switching instruction in the sound card.
The second aspect of the present invention also provides an audio transmission control apparatus, including:
the receiving module is used for receiving a channel switching instruction corresponding to the main broadcasting headset;
the judging module is used for judging whether a third audio transmission channel formed between the main broadcasting headset and the assistant headset is in a disconnected state or not after a channel switching instruction corresponding to the main broadcasting headset is detected;
a control instruction generating module, configured to generate a first control instruction when a determination result of the determining module is yes, so as to communicate with the third audio transmission path through the first control instruction, so that the main headset and the assistant headset perform audio data transmission through the third audio transmission path; and when the judgment result of the judgment module is negative, generating a second control instruction to disconnect the third audio transmission channel through the second control instruction, generating a third control instruction to communicate a first audio transmission channel formed between the main microphone and the live broadcast terminal through the third control instruction, establishing connection between the main microphone and the live broadcast terminal, and sending audio data acquired by the main microphone to the live broadcast terminal.
The third aspect of the present invention also provides a sound card comprising the audio transmission control device as described above.
The fourth aspect of the present invention further provides a multi-channel live broadcasting system, wherein the live broadcasting system comprises a main broadcasting headset, an assistant headset, a live broadcasting terminal and the sound card.
The fifth aspect of the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the audio transmission control method of the multi-channel live broadcast system as described above.
[ PROBLEMS ] the present invention
The live broadcasting system comprises a sound card, a main broadcasting headset, an assistant headset and a live broadcasting terminal, wherein the main broadcasting headset passes through a first audio transmission channel formed between the sound card and the live broadcasting terminal, the assistant headset passes through a second audio transmission channel formed between the sound card and the live broadcasting terminal, and the main broadcasting headset passes through a third audio transmission channel formed between the sound card and the assistant headset. When a channel switching instruction for switching the interactive mode is detected, namely after a channel switching instruction corresponding to the main microphone is detected, if the third audio transmission channel is in a disconnected state, generating a first control instruction to communicate the third audio transmission channel so that the main microphone and the assistant microphone carry out audio data transmission through the third audio transmission channel; if the third audio transmission channel is in a connected state, a second control instruction is generated to disconnect the third audio transmission channel, a third control instruction is generated to connect the first audio transmission channel, connection between the main broadcasting headset and the live broadcasting terminal is established, audio data acquired by the main broadcasting headset is sent to the live broadcasting terminal, a communication channel between members in a team in the live broadcasting process is communicated by connecting the third audio transmission channel, internal conversation between the main broadcasting and an assistant in the live broadcasting process is realized, smooth communication of the members in the team in the live broadcasting process is realized, tedious operation of communication in the team is reduced, and convenience of communication in the team is improved.
Other advantages of the present invention will be described in the detailed description, and those skilled in the art will understand the technical features and technical solutions presented in the description.
Drawings
Preferred embodiments of the present invention will be described below with reference to the accompanying drawings. In the figure:
fig. 1 is a flowchart of an embodiment of an audio transmission control method of a multi-channel live broadcast system according to the present invention;
fig. 2 is a schematic diagram of the interaction between the sound card, the main headset, the assistant headset and the live terminal in the embodiment of the present invention;
fig. 3 is a schematic structural diagram of a sound card in an embodiment of the present invention.
Detailed Description
It should be noted that step numbers (letter or number numbers) are used to refer to some specific method steps in the present invention only for the purpose of convenience and brevity of description, and the order of the method steps is not limited by letters or numbers in any way. It will be clear to a person skilled in the art that the order of the steps of the method concerned, as determined by the technology itself, should not be unduly limited by the presence of step numbers.
Fig. 1 is a flowchart of an audio transmission control method of a multi-channel live broadcast system according to an embodiment of the present invention, where the method includes the following steps.
Step S100, after a path switching instruction corresponding to the main microphone is detected, judging whether the third audio transmission path is in a disconnected state; if the third audio transmission path is in the disconnected state, executing step S200; if the third audio transmission path is in a connected state, step S300 is executed.
Referring to fig. 2 and 3, the multi-channel live broadcasting system includes a sound card, a main broadcasting headset, an assistant headset and a live broadcasting terminal, the main broadcasting headset and the assistant headset are in communication with the sound card, and the sound card is in communication with the live broadcasting terminal, wherein the live broadcasting terminal may be a part of the sound card or an external device connected with the sound card, that is, the live broadcasting terminal may be a device integrated with the sound card or an additional device connected to the sound card. The sound card comprises two wireless communication chips and a DSP (Digital Signal processing), wherein the wireless communication chips comprise a first wireless communication chip (namely, a wireless 1) and a second wireless communication chip (namely, a wireless 2). Wireless 1 is connected with the anchor headset, and with live between the terminal form the audio transmission route, the anchor headset passes through the sound card promptly can and live between the terminal form first audio transmission route, this moment, the process that audio data transmitted live the terminal from the anchor headset through first audio transmission route is: the main broadcasting headset → wireless 1 → audio processing module → switch 1 → live broadcasting terminal. Wireless 2 is connected with assistant's headset, and with form audio transmission route between the live terminal, and assistant's headset passes through the sound card promptly and forms second audio transmission route between the live terminal, and at this moment, the process that audio data transmitted live terminal from assistant's headset through second audio transmission route is: assistant earphone → wireless 2 → audio processing module → switch 2 → live broadcast terminal. An audio transmission path for the main headset and the assistant headset to transmit audio data to each other is provided between the wireless 1 and the wireless 2, that is, the main headset forms a third audio transmission path with the assistant headset through the sound card, and the process of the audio data on the third audio transmission path may be: assistant headset → wireless 2 → audio processing module → switch 4 → wireless 1 → podcast headset, or: the main headset → wireless 1 → audio processing module → switch 3 → wireless 2 → assistant headset.
Specifically, in this embodiment, the structures of the main headset and the assistant headset are the same, the headset at least includes a microphone input module, a key, a battery, a wireless module and a speaker, the microphone input module receives an analog audio signal, and then transmits the audio signal to the wireless module, and the wireless module transmits audio data to the sound card through a wireless connection mode. Specifically, the main headset transmits audio data to the sound card via the wireless 1, and the assistant headset transmits audio data to the sound card via the wireless 2. When the sound card receives the audio data sent by the sound card through the wireless module, the wireless module transmits the received audio data to the loudspeaker, and the audio data are output through the loudspeaker. The battery is used for supplying power to each module in the headset, the wireless module realizes the switching of the interaction mode by detecting the keys, and for example, a user wearing the headset can trigger a channel switching instruction by the keys. Specifically, the wireless module of the main microphone includes a third wireless communication chip, and the third wireless communication chip is connected to the wireless 1 to form a communication path, so that audio data transmission between the main microphone and the sound card is realized. The wireless module of the assistant headset comprises a fourth wireless communication chip, and the fourth wireless communication chip is connected with the wireless 2 to form a communication channel so as to realize audio data transmission between the assistant headset and the sound card. Therefore, the wireless communication chips in the embodiment are all connected in a one-to-one manner, and a single wireless communication chip does not exist for connecting two wireless communication chips, so that the matching time in the connection process of the wireless communication chips is reduced, the transmission time of audio data between the headset and the sound card is reduced, and the live broadcast delay time in the live broadcast process is reduced.
In this embodiment, a user wearing a main broadcasting headset is recorded as a main broadcasting, a user wearing an assistant headset is recorded as an assistant, and a user watching a live broadcasting is recorded as a viewer, and at this time, the interaction modes at least include the following: firstly, the anchor and the assistant are in communication, and at the moment, the audience cannot hear the communication between the anchor and the assistant; the anchor and the audience talk, the assistant can hear the talk between the anchor and the audience, but the assistant can not talk with the audience; thirdly, the main broadcasting station communicates with the audience, and the assistant also communicates with the audience; and fourthly, the anchor is disconnected, and the assistant and the audience talk. Specifically, the first mode may be designated as an assistant mode, and the second, third, and fourth modes may be designated as a anchor mode.
Besides the wireless 1, wireless 2 and DSP, the sound card can also comprise a power module, a switch module, a battery, a charging module, a charging port, an analog-to-digital converter, an operational amplifier, an audio input module (a switch 1, a switch 2, a switch 3 and a switch 4), a digital-to-analog converter, a potentiometer, a power tube and an audio output module. The charging port and the charging module are used for connecting an external power supply and charging the battery; the DSP is used for detecting whether audio data are input in the audio input module, supplying power to other modules in the sound card through the power supply module and judging whether the sound card enters a low power consumption state. The audio input module is connected with external audio equipment, the external audio equipment can be a mobile phone, a computer, a television or a game machine, and the like, and the audio input module can receive an analog audio signal of the external audio equipment and then amplify and output the analog audio signal to the analog-to-digital converter through the operational amplifier; the analog-to-digital converter converts the analog audio signal into a digital audio signal and outputs the digital audio signal to the DSP, and the DSP processes the digital audio signal and then sends the digital audio signal to the digital-to-analog converter; the digital-to-analog converter converts the digital audio signal into an analog audio signal, then sends the analog audio signal to the operational amplifier, and the operational amplifier amplifies the analog audio signal and outputs the amplified analog audio signal to the potentiometer; the potentiometer controls the size of the analog audio signal to be transmitted to the power tube, the analog audio signal is output to the audio output module after the power amplification of the power tube, the audio output module can be connected with a loudspeaker or an earphone, and it can be understood that the audio signal comprises audio data. Furthermore, the sound card can also transmit the analog audio signal to the main microphone through the wireless 1, so that the main microphone outputs the audio data corresponding to the analog audio signal, and transmit the analog audio signal to the assistant microphone through the wireless 2, so that the assistant microphone outputs the audio data corresponding to the analog audio signal. The wireless receiving and sending module comprises a wireless 1 and a wireless 2, the DSP is independently connected with the wireless 1 and the wireless 2, the audio data transmitted to the third wireless communication chip by the wireless 1 and the audio data transmitted to the fourth wireless communication chip by the wireless 2 are independent and do not interfere with each other, namely, the sound sources of the main earphone and the assistant earphone are different, so that the live broadcast effect is improved.
When the sound card detects a path switching instruction for switching the interactive mode, namely, a path switching instruction corresponding to the main microphone, the sound card judges whether the third audio transmission path is in a disconnected state. The path switch command is triggered by the anchor headset in response to the anchor. Specifically, the connection and disconnection of the respective transmission paths may be achieved by switches. Referring to fig. 3, a switch 3 and a switch 4 are provided in the third audio transmission path, and the third audio transmission path is connected or disconnected by the switch 3 and the switch 4. It will be appreciated that when either switch 3 or switch 4 is in the closed state, the third audio transmission path is in the on state; when the switch 3 and the switch 4 are in the off state, the third audio transmission path belongs to the off state, that is, the sound card can determine whether the third audio transmission path is in the off state according to the states of the switch 3 and the switch 4. It will be appreciated that in fig. 3, two switches, switch 3 and switch 4, are provided in the third audio transmission path, but in other embodiments only one switch may be provided in the third audio transmission path.
Further, the audio transmission control method of the multi-channel live broadcast system further comprises the following steps:
and triggering a channel switching instruction corresponding to the main broadcasting headset after detecting that the main broadcasting corresponding to the main broadcasting headset presses a switching key triggering the channel switching instruction in the sound card.
The sound card is provided with a switching key for triggering the channel switching instruction, and a user can trigger the channel switching instruction by pressing the switching key, for example, the user can trigger the channel switching instruction by pressing the switching key for a short time or a long time. The switching key for triggering the channel switching instruction can also be arranged in the main microphone, and the operation of triggering the channel switching instruction by the switching key in the main microphone and the switching key in the sound card can be the same or different. The switch key in the main microphone may be a touch key or a press key. Therefore, after the sound card detects that the anchor corresponding to the anchor headset presses the switching key of the triggering channel switching instruction in the sound card, the channel switching instruction corresponding to the anchor headset is triggered. Further, if the anchor presses the switch button in the anchor headset, the anchor headset will send the detected channel switch command to the sound card, and the sound card receives the channel switch command sent by the anchor headset.
Further, in the sound card, can set up the hole of accomodating main broadcasting headset and assistant headset, in accomodating the hole, set up the interface that charges, after the headset is put into the hole of accomodating, can charge to the headset.
Step S200, generating a first control instruction, where the first control instruction is used to communicate with the third audio transmission channel, so that the main headset and the assistant headset perform audio data transmission through the third audio transmission channel.
If the third audio transmission path is in the disconnected state, the sound card generates a first control instruction, and the first control instruction is used for communicating the third audio transmission path to enable the main headset and the assistant headset to carry out audio data transmission through the third audio transmission path, namely, the main headset can be used for communicating with the assistant by the main headset at the moment, and the assistant can also be used for communicating with the main headset by the assistant headset at the moment. Specifically, the DSP in the sound card generates the first control instruction. It should be noted that, in the sound card, a terminal interface is further included, the terminal interface is used to connect a live broadcast terminal, the live broadcast terminal may be a mobile phone, a computer, a television, or the like, and the live broadcast terminal is used to share live broadcast content with devices held by viewers. When the main broadcasting headset and the assistant headset transmit audio data through the third audio transmission path, if the assistant headset is in the monitoring mode and does not want viewers to hear the conversation between the main broadcasting headset and the assistant headset, at this time, the connection between the live broadcasting terminal and the main broadcasting headset may be disconnected, and specifically, the switch currently in the closed state may be disconnected, for example, the switch 1 may be disconnected, so as to disconnect the connection between the live broadcasting terminal and the main broadcasting headset, that is, disconnect the first audio transmission path, so that the audio data received by the wireless 1 cannot be transmitted to the live broadcasting terminal through the terminal interface. If the assistant headset is not in the listening mode, i.e. the second audio transmission path between the assistant headset and the live terminal is connected, it is necessary to open the switch 1 and the switch 2 to disconnect the first audio transmission path and the second audio transmission path if the viewer does not want to hear the conversation between the main broadcast and the assistant. It should be noted that two switches may also be disposed in the first audio transmission path, where one switch is used to control the connection or disconnection of the path corresponding to the live broadcast terminal from the main broadcast headset, and the other switch is used to control the connection or disconnection of the path corresponding to the main broadcast headset from the live broadcast terminal; two switches can also be arranged in the second audio transmission path, wherein one switch is used for controlling the connection or disconnection of the path corresponding to the assistant headset for sending the audio data to the live broadcast terminal, and the other switch is used for controlling the connection or disconnection of the path corresponding to the assistant headset for sending the audio data to the live broadcast terminal.
Step S300, generating a second control instruction, wherein the second control instruction is used for disconnecting the third audio transmission channel and generating a third control instruction, the third control instruction is used for communicating the first audio transmission channel, establishing the connection between the main broadcasting headset and the live broadcasting terminal, and sending the audio data acquired by the main broadcasting headset to the live broadcasting terminal.
Further, when the main broadcasting headset and the live broadcasting terminal perform audio data transmission, the assistant headset is in a monitoring mode to monitor audio data transmitted by the main broadcasting headset and the live broadcasting terminal, and if the first audio transmission channel is detected to be in a disconnected state, a fourth control instruction is generated and used for communicating the second audio transmission channel and sending the audio data acquired by the assistant headset to the live broadcasting terminal.
And if the third audio transmission channel is in a connected state, the sound card generates a second control instruction, the second control instruction is used for disconnecting the third audio transmission channel, and after the third audio transmission channel is disconnected, the sound card generates a third control instruction, the third control instruction is used for connecting the first audio transmission channel and establishing the connection between the main broadcasting headset and the live broadcasting terminal. Specifically, the DSP in the sound card generates the second control instruction and the third control instruction. It will be appreciated that when either switch 3 or switch 4 is in the closed state, this indicates that a connection between the main headset and the live terminal is established, i.e. that the first audio transmission path is connected; when the switch 1 is in the off state, it indicates that the connection between the main headset and the live terminal is not established, i.e., the first audio transmission path is not connected. Specifically, when the connection between the anchor headset and the live broadcast terminal is established, it indicates that the communication path between the wireless 1 and the terminal interface is connected, and at this time, the audio data acquired by the anchor headset may be sent to the wireless 1 through the third wireless communication chip, and then the audio data is sent to the live broadcast terminal connected to the terminal interface by the wireless 1. Therefore, after the connection between the main broadcasting headset and the live broadcasting terminal is established, the sound card can send the audio data sent by the main broadcasting headset to the live broadcasting terminal. In this embodiment, when the main headset and the live terminal perform audio data transmission, the assistant headset is in a monitoring mode to monitor audio data transmitted by the main headset and the live terminal. When the assistant headset is in the listening mode, the assistant headset may receive audio data transmitted between the main broadcasting headset and the live broadcasting terminal, but the assistant headset may not transmit the audio data to the live broadcasting terminal. When the assistant headset is in listening mode, the assistant may or may not be present in the live room.
The sound card can detect whether the first audio transmission path is in a disconnected state in real time or in a timed mode. And if the sound card detects that the first audio transmission channel is in a disconnected state, the sound card generates a fourth control instruction, and the fourth control instruction is used for establishing a communication channel between the assistant headset and the live broadcast terminal, namely, communicating the second audio transmission channel. Specifically, the communication path between the assistant headset and the live terminal can be established by controlling the switch 2 to be in the closed state, that is, when the switch 2 is in the closed state, it indicates that the second audio transmission path between the assistant headset and the live terminal is established, that is, the second audio transmission path is connected; when the second switch 2 is in the off state, it indicates that the second audio transmission path between the assistant headset and the live terminal is not established. Wherein the fourth control instruction is generated by the DSP in the sound card. When the communication channel between the assistant headset and the live broadcast terminal is established, the assistant headset acquires the audio data sent by the assistant, the audio data are sent to the sound card through the second audio transmission channel, and then the sound card sends the received audio data to the live broadcast terminal, so that the audio data transmission between the assistant headset and the live broadcast terminal is realized. It will be appreciated that when audio data transmission between the assistant headset and the live terminal is effected, the user of the assistant headset becomes the anchor, instead of the user of the anchor headset, interacting with the audience.
Further, after step S300, the method further includes:
after the second audio transmission path is connected, if a connection command for connecting the third audio transmission path corresponding to the main headset is detected, the first audio transmission path and the second audio transmission path are disconnected, and step S200 is executed.
Further, when the assistant headset is in the listening mode, the communication path between the assistant headset and the live terminal is disconnected. In this embodiment, when the sound card receives a connection instruction for connecting the assistant headset and the live broadcast terminal, the sound card establishes a connection between the assistant headset and the live broadcast terminal according to the connection instruction, that is, connects the second audio transmission path. The connection command can be triggered by the assistant through a key on the assistant headset, or by the anchor through a key on the anchor headset, or by the anchor or the assistant through a key on the sound card. When the second audio transmission channel is communicated, the sound card detects whether a communication instruction corresponding to the main microphone and communicating the third audio transmission channel is detected. It should be noted that the connection command corresponding to the main broadcast headset means that the connection is triggered by the main broadcast through a key on the main broadcast headset or a key on the sound card. If the sound card detects a communication instruction corresponding to the main microphone, the sound card disconnects the connection between the main microphone and the live broadcast terminal and disconnects the connection between the assistant microphone and the live broadcast terminal, namely, the first audio transmission channel and the second audio transmission channel are disconnected, and the connection between the wireless 1 and the wireless 2 is established to connect the third audio transmission channel, so that the main microphone and the assistant microphone transmit audio data through the third audio transmission channel.
Further, if the sound card detects a connection instruction corresponding to the assistant headset, the sound card only disconnects the connection between the assistant headset and the live broadcast terminal, and does not disconnect the connection between the main broadcast headset and the live broadcast terminal, that is, only disconnects the second audio transmission channel and does not disconnect the first audio transmission channel. It should be noted that, in this embodiment, the permission of the connection command corresponding to the main headset is higher than that of the assistant headset, and the connection command corresponding to the main headset may disconnect the connection between the main headset and the live terminal or may disconnect the connection between the assistant headset and the live terminal, but the connection command corresponding to the assistant headset may only disconnect the connection between the assistant headset and the live terminal. And after the connection between the assistant headset and the live broadcast terminal is established, if the sound card does not receive the communication instruction, the current state is kept.
In this embodiment, the live broadcasting system includes a sound card, a main broadcasting headset, an assistant headset, and a live broadcasting terminal, the main broadcasting headset forms a first audio transmission channel with the live broadcasting terminal through the sound card, the assistant headset forms a second audio transmission channel with the live broadcasting terminal through the sound card, and the main broadcasting headset forms a third audio transmission channel with the assistant headset through the sound card. When a channel switching instruction for switching the interactive mode is detected, namely a channel switching instruction corresponding to the main microphone is detected, if the third audio transmission channel is in a disconnected state, the third audio transmission channel is communicated, so that the main microphone and the assistant microphone carry out audio data transmission through the third audio transmission channel; if the third audio transmission channel is in a connected state, the third audio transmission channel is disconnected, the first audio transmission channel is connected, the connection between the anchor headset and the live broadcast terminal is established, audio data acquired by the anchor headset is sent to the live broadcast terminal, the communication channel between members in teams in the live broadcast process is connected through the third audio transmission channel, the internal conversation between the anchor headset and the assistant in the live broadcast process is realized, namely, the smooth communication of the members in the teams in the live broadcast process is realized, the tedious operation of communication in the teams is reduced, and the convenience of communication in the teams is improved.
Further, another embodiment of the audio transmission control method of the multi-channel live broadcasting system is provided.
Another embodiment of the audio transmission control method of the multi-channel live broadcasting system is different from the embodiment of the audio transmission control method of the multi-channel live broadcasting system in that the sound card includes a terminal interface, the sound card establishes a connection with the live broadcasting terminal through the terminal interface, and the step S200 further includes:
and sending data to be displayed to the live broadcast terminal within the corresponding time length communicated by the third audio transmission channel, so that the live broadcast terminal outputs the data to be displayed.
And in the time duration corresponding to the audio data transmission of the main broadcasting headset and the assistant headset through the third audio transmission channel, namely in the time duration corresponding to the communication of the third audio transmission channel, the sound card acquires the data to be displayed and sends the data to be displayed to the live broadcasting terminal, so that the live broadcasting terminal outputs the data to be displayed. The data to be displayed can be pre-stored in the sound card, or can be acquired from the cloud or other terminal equipment when needed, and the data to be displayed can be audio data, video data or picture data and the like. And after receiving the data to be displayed, the live broadcast terminal sends the data to be displayed to the equipment held by the audience and displays the data to be displayed in the screen of the equipment, so that the contents displayed by the live broadcast terminal and the content displayed by the terminal held by the audience are the same.
Further, when the data to be displayed is not pre-stored in the sound card, the sound card generates a display instruction within a time length corresponding to the time length for audio data transmission of the main headset and the assistant headset through the third audio transmission channel, and sends the display instruction to the live broadcast terminal. And after the live broadcast terminal receives the display instruction, the live broadcast terminal acquires pre-stored data to be displayed according to the display instruction, sends the data to be displayed to equipment held by audiences, and displays the data to be displayed in a screen of the equipment. It can be understood that the duration of time for which the live terminal outputs the data to be displayed is equal to the duration of time for which the main headset and the assistant headset perform audio data transmission through the third audio transmission path.
In this embodiment, through in the third audio transmission path intercommunication corresponds duration, make live broadcast terminal output treat the display data, avoid anchor and assistant when conversing, spectator only sees the anchor have the speech, but can not hear the words that the anchor said, realized that when anchor and assistant are conversing, spectator can see live broadcast terminal output treat the display data to improve anchor intelligence, improved spectator's experience effect.
Further, the audio transmission control method further includes:
when detecting that the first audio transmission channel does not receive a microphone signal, generating a first low-power-consumption instruction, and controlling the first audio transmission channel to be in a low-power-consumption state according to the first low-power-consumption instruction.
And generating a second low-power-consumption instruction when detecting that the second audio transmission channel does not receive the microphone signal, and controlling the second audio transmission channel to be in a low-power-consumption state according to the second low-power-consumption instruction.
Further, the sound card detects whether the first audio transmission path and/or the second audio transmission path receive the microphone signal in real time or in timing. It should be noted that when the first audio transmission path and/or the second audio transmission path receive a microphone signal, it indicates that audio data needs to be transmitted in the corresponding communication path; when the microphone signal is not received by the first audio transmission path and/or the second audio transmission path, it indicates that audio data does not need to be transmitted in the corresponding communication path. If the sound card detects that the first audio transmission channel does not receive the microphone signal, the sound card generates a first low-power-consumption instruction, and controls the first audio transmission channel to be in a low-power-consumption state according to the first low-power-consumption instruction, such that the first audio transmission channel is in a sleep state; and if the sound card detects that the first audio transmission channel receives the microphone signal, transmitting audio data through the first audio transmission channel. If the sound card detects that the second audio transmission channel does not receive the microphone signal, the sound card generates a second low-power-consumption instruction, and controls the second audio transmission channel to be in a low-power-consumption state according to the second low-power-consumption instruction, such that the second audio transmission channel is in a sleep state; and if the sound card detects that the second audio transmission channel receives the microphone signal, transmitting audio data through the second audio transmission channel.
The embodiment enables the first audio transmission channel to be in a low power consumption state when the first audio transmission channel does not need to transmit audio signals; when the second audio transmission channel does not need to transmit audio signals, the second audio transmission channel is in a low power consumption state, and therefore power consumption of the sound card in the live broadcast process is reduced.
The third embodiment of the present invention also provides an audio transmission control apparatus, including:
the receiving module is used for receiving a channel switching instruction corresponding to the main broadcasting headset;
the judging module is used for judging whether a third audio transmission channel formed between the main headset and the assistant headset is in a disconnected state or not after a channel switching instruction corresponding to the main headset is detected;
a control instruction generating module, configured to generate a first control instruction when the determination result of the determining module is yes, so as to communicate with the third audio transmission channel through the first control instruction, so that the main headset and the assistant headset perform audio data transmission through the third audio transmission channel; and when the judgment result of the judgment module is negative, generating a second control instruction to disconnect the third audio transmission channel through the second control instruction, generating a third control instruction to communicate a first audio transmission channel formed between the main microphone and the live broadcast terminal through the third control instruction, establishing connection between the main microphone and the live broadcast terminal, and sending audio data acquired by the main microphone to the live broadcast terminal.
Further, the control instruction generation module is further configured to, when the main microphone performs audio data transmission with a live broadcast terminal, enable the assistant microphone to be in a monitoring mode to monitor audio data transmitted by the main microphone and the live broadcast terminal, and if it is detected that the first audio transmission path is in a disconnected state, generate a fourth control instruction to communicate a second audio transmission path formed between the assistant microphone and the live broadcast terminal through the fourth control instruction, and send the audio data acquired by the assistant microphone to the live broadcast terminal.
Further, the sound card further comprises:
and the disconnection module is used for disconnecting the first audio transmission channel and the second audio transmission channel if a connection instruction corresponding to the main microphone and connecting the third audio transmission channel is detected after the second audio transmission channel is connected.
Further, including the terminal interface in the sound card, the sound card passes through the terminal interface and establishes being connected with live broadcast terminal, the sound card still includes:
and the sending module is used for sending the data to be displayed to the live broadcast terminal within the corresponding time length communicated by the third audio transmission channel so as to enable the live broadcast terminal to output the data to be displayed.
Further, the sound card further comprises:
the control module is used for generating a first low-power-consumption instruction when detecting that the first audio transmission channel does not receive a microphone signal, and controlling the first audio transmission channel to be in a low-power-consumption state according to the first low-power-consumption instruction; and generating a second low-power-consumption instruction when detecting that the second audio transmission channel does not receive the microphone signal, and controlling the second audio transmission channel to be in a low-power-consumption state according to the second low-power-consumption instruction.
Further, the audio transmission control apparatus further includes:
and the triggering module is used for triggering the channel switching instruction corresponding to the anchor headset after detecting that the anchor corresponding to the anchor headset presses the switching key for triggering the channel switching instruction in the sound card.
The specific implementation manner of the audio transmission control apparatus in the embodiment of the present invention is basically the same as that of each embodiment of the audio transmission control method in the multi-channel live broadcast system, and details are not repeated here.
The fourth embodiment of the present invention further provides a sound card, including the audio transmission control device as described above.
The specific implementation of the sound card of the present invention is basically the same as the above-mentioned embodiments of the audio transmission control method of the multi-channel live broadcast system, and will not be described again here.
The fifth embodiment of the invention further provides a multi-channel live broadcasting system, which comprises a main broadcasting headset, an assistant headset, a live broadcasting terminal and the sound card.
The specific implementation of the multi-channel live broadcasting device of the present invention is substantially the same as the sound card, and the details are not repeated herein.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for controlling audio transmission of a multi-channel live broadcast system as described above is implemented.
The specific implementation manner of the computer-readable storage medium of the present invention is substantially the same as that of each embodiment of the audio transmission control method of the multi-channel live broadcast system, and will not be described herein again.
It will be appreciated by those skilled in the art that the above-described preferred embodiments may be freely combined, superimposed, without conflict.
It will be understood that the embodiments described above are illustrative only and not restrictive, and that various obvious and equivalent modifications and substitutions for details described herein may be made by those skilled in the art without departing from the basic principles of the invention.

Claims (10)

1. An audio transmission control method of a multi-channel live system, wherein the live system comprises a sound card, a main broadcasting headset, an assistant headset and a live terminal, and is characterized in that the main broadcasting headset forms a first audio transmission channel with the live terminal through the sound card, the assistant headset forms a second audio transmission channel with the live terminal through the sound card, the main broadcasting headset forms a third audio transmission channel with the assistant headset through the sound card, and the multi-channel live system audio transmission control method comprises the following steps:
s100, after receiving a path switching instruction corresponding to the main broadcasting headset, judging whether the third audio transmission path is in a disconnected state; if the third audio transmission path is in the disconnected state, executing step S200; if the third audio transmission path is in a connected state, executing step S300;
s200, generating a first control instruction, wherein the first control instruction is used for communicating the third audio transmission channel, so that the main headset and the assistant headset perform audio data transmission through the third audio transmission channel;
and S300, generating a second control instruction, wherein the second control instruction is used for disconnecting the third audio transmission channel and generating a third control instruction, the third control instruction is used for communicating the first audio transmission channel, establishing the connection between the main broadcasting headset and the live broadcasting terminal, and sending the audio data acquired by the main broadcasting headset to the live broadcasting terminal.
2. The method for controlling audio transmission of a multi-channel live broadcast system of claim 1, further comprising:
when the main microphone and the live broadcast terminal carry out audio data transmission, the assistant microphone is in a monitoring mode to monitor audio data transmitted by the main microphone and the live broadcast terminal, if the first audio transmission channel is detected to be in a disconnected state, a fourth control instruction is generated, the fourth control instruction is used for communicating the second audio transmission channel, and the audio data acquired by the assistant microphone is sent to the live broadcast terminal.
3. The audio transmission control method of the multi-channel live broadcasting system according to claim 1, further comprising, after the step S300:
after the second audio transmission path is connected, if a connection command for connecting the third audio transmission path is detected, the first audio transmission path and the second audio transmission path are disconnected, and step S200 is executed.
4. The audio transmission control method of the multi-channel live broadcasting system according to claim 1, wherein the step S200 further includes:
and sending data to be displayed to the live broadcast terminal within the corresponding time length communicated by the third audio transmission channel, so that the live broadcast terminal outputs the data to be displayed.
5. The audio transmission control method of the multi-channel live broadcasting system according to claim 1, further comprising:
when detecting that the first audio transmission channel does not receive a microphone signal, generating a first low-power-consumption instruction, and controlling the first audio transmission channel to be in a low-power-consumption state according to the first low-power-consumption instruction;
and/or generating a second low-power-consumption instruction when detecting that the second audio transmission channel does not receive a microphone signal, and controlling the second audio transmission channel to be in a low-power-consumption state according to the second low-power-consumption instruction.
6. An audio transmission control apparatus, characterized in that the audio transmission control apparatus comprises:
the receiving module is used for receiving a channel switching instruction corresponding to the main broadcasting headset;
the judging module is used for judging whether a third audio transmission channel formed between the main headset and the assistant headset is in a disconnected state or not after the receiving module receives the channel switching instruction;
a control instruction generating module, configured to generate a first control instruction when a determination result of the determining module is yes, so as to communicate with the third audio transmission path through the first control instruction, so that the main headset and the assistant headset perform audio data transmission through the third audio transmission path; and when the judgment result of the judgment module is negative, generating a second control instruction to disconnect the third audio transmission channel through the second control instruction, generating a third control instruction to communicate a first audio transmission channel formed between the main broadcasting headset and the live broadcasting terminal through the third control instruction, establishing connection between the main broadcasting headset and the live broadcasting terminal, and sending audio data acquired by the main broadcasting headset to the live broadcasting terminal.
7. The control device according to claim 6, characterized in that:
the control instruction generating module is further configured to generate a fourth control instruction when the first audio transmission path and the third audio transmission path are both in a disconnected state, where the fourth control instruction is used to communicate a second audio transmission path formed between the assistant headset and the live broadcast terminal, and send audio data acquired by the assistant headset to the live broadcast terminal.
8. A sound card, characterized by comprising the audio transmission control apparatus according to claim 6 or 7.
9. A multi-channel live broadcast system, characterized in that the live broadcast system comprises a main broadcast headset, an assistant headset, a live broadcast terminal and a sound card according to claim 8.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out a method of controlling audio transmission of a multi-pass live broadcast system according to any one of claims 1-5.
CN202011525992.1A 2020-12-22 2020-12-22 Audio transmission control method, device, sound card, system and readable storage medium Active CN112866828B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011525992.1A CN112866828B (en) 2020-12-22 2020-12-22 Audio transmission control method, device, sound card, system and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011525992.1A CN112866828B (en) 2020-12-22 2020-12-22 Audio transmission control method, device, sound card, system and readable storage medium

Publications (2)

Publication Number Publication Date
CN112866828A CN112866828A (en) 2021-05-28
CN112866828B true CN112866828B (en) 2022-08-23

Family

ID=75997878

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011525992.1A Active CN112866828B (en) 2020-12-22 2020-12-22 Audio transmission control method, device, sound card, system and readable storage medium

Country Status (1)

Country Link
CN (1) CN112866828B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113542783B (en) * 2021-07-13 2023-06-06 北京字节跳动网络技术有限公司 Audio processing method, live broadcast equipment and live broadcast system
CN113741984A (en) * 2021-07-22 2021-12-03 深圳市智微智能科技股份有限公司 Android application layer sound card specifying method, system, terminal and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763505A (en) * 2013-12-31 2014-04-30 华为技术有限公司 Method and device suitable for screen direction switching in video call
CN106791894B (en) * 2016-11-26 2018-08-31 广州华多网络科技有限公司 A kind of method and apparatus playing live video
CN106713945B (en) * 2016-12-06 2020-05-12 广州华多网络科技有限公司 Client live broadcast processing method and device, live broadcast server and live broadcast system
CN107172443A (en) * 2017-06-29 2017-09-15 北京小米移动软件有限公司 Net cast methods, devices and systems
CN112104913B (en) * 2020-09-11 2023-09-26 腾讯科技(深圳)有限公司 Wheat connecting switching method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN112866828A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
CN112866828B (en) Audio transmission control method, device, sound card, system and readable storage medium
US20100128900A1 (en) Adapter accessory for electronic device sharing
US20070206829A1 (en) Audio headset
EP1443737A1 (en) Headset comprising a wireless communication device communicating with at least two remote devices
US20070070183A1 (en) Control apparatus and method
CN103327384A (en) Mode control method of interconnection system and interconnection system
JP2000124993A (en) Video telephone
CN110012179A (en) The operating method of electronic system
WO2006099189A2 (en) A communication apparatus
CN111294777A (en) Control method and communication method of Bluetooth audio transmitter
CN109194827A (en) A kind of terminal device, audio frequency signal output and system
US20040063452A1 (en) Electronic apparatus and method of switching connection destination of the same
US7992170B2 (en) Apparatus for providing electronic program guide information in a digital multimedia broadcast receiving terminal and a method therefor
CN110149620A (en) A kind of control method of intelligent earphone, device, intelligent earphone and storage medium
CN103376975A (en) Control method and device and mobile communication terminal
KR102127209B1 (en) System and method for processing communication of wireless earset
CN106708466A (en) Audio playing control method and device
CN217770320U (en) TWS earphone charging bin with audio switching function
CN106954111B (en) Bluetooth headset, Bluetooth headset system, audio content sending method and audio content receiving method
WO2017215118A1 (en) Earphone having information processing function, and terminal device and information processing system
US20090080494A1 (en) Communication system and communication method
CN214281644U (en) Live broadcast audio signal transmission circuit, sound card, live broadcast equipment and system
CN205407845U (en) Multifunctional conference system
KR20020041136A (en) An image display apparatus of moving communication terminal using television receiver
EP3082322B1 (en) Telephone device, telephone system, and control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant