CN113890659A - Audio broadcasting method based on pipeline - Google Patents

Audio broadcasting method based on pipeline Download PDF

Info

Publication number
CN113890659A
CN113890659A CN202110598383.7A CN202110598383A CN113890659A CN 113890659 A CN113890659 A CN 113890659A CN 202110598383 A CN202110598383 A CN 202110598383A CN 113890659 A CN113890659 A CN 113890659A
Authority
CN
China
Prior art keywords
channel
audio
input
pipeline
output
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.)
Pending
Application number
CN202110598383.7A
Other languages
Chinese (zh)
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.)
Guangzhou Baolun Electronics Co Ltd
Original Assignee
Guangzhou Baolun Electronics 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 Guangzhou Baolun Electronics Co Ltd filed Critical Guangzhou Baolun Electronics Co Ltd
Publication of CN113890659A publication Critical patent/CN113890659A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H60/00Arrangements for broadcast applications with a direct linking to broadcast information or broadcast space-time; Broadcast-related systems
    • H04H60/02Arrangements for generating broadcast information; Arrangements for generating broadcast-related information with a direct linking to broadcast information or to broadcast space-time; Arrangements for simultaneous generation of broadcast information and broadcast-related information
    • 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/165Management of the audio stream, e.g. setting of volume, audio stream path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Acoustics & Sound (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses an audio broadcasting method based on a pipeline, which comprises the following steps: receiving an initiation signal of an input end; after receiving the initiating signal, establishing a plurality of pipelines, wherein each pipeline comprises an input channel and an output channel, the input channel is used for receiving the audio stream transmitted by the input end and transmitting the audio stream to the output channel, the output channel is used for transmitting the audio stream to the output equipment, and a plurality of corresponding partitions are preset for each output channel of the pipeline, and each partition is correspondingly connected with one output channel; allocating an input channel for the subtask according to the initiating signal; and after the input channels are allocated to the subtasks, receiving audio streams, wherein the audio streams comprise audio IDs, each audio ID corresponds to one input channel, identifying the audio IDs in the audio streams, sending the audio streams to the corresponding input channels, and further sending the audio streams to output equipment in the partitions corresponding to the input channels. The invention realizes freely splicing the interfaces on the business process, can dynamically adjust the business process and does not depend on increasing hardware cost.

Description

Audio broadcasting method based on pipeline
Technical Field
The invention relates to the technical field of multi-channel audio broadcasting, in particular to an audio broadcasting method based on a pipeline.
Background
In the conventional broadcasting system, if there are multiple audio sources that need to perform functions such as playing, target switching, or mixing, corresponding hardware circuit support is often required. In these conventional broadcasting systems, the input and output are often fixed, and once wired and configured, the system becomes effective for a long time, and is difficult to dynamically configure, and it is difficult to freely switch and achieve a good mixing effect. If a good sound mixing effect needs to be achieved, a special hardware circuit needs to be designed for implementation, but the hardware is often high in price and difficult to popularize and use. Therefore, there is a need for a broadcasting method that can conveniently perform multi-audio source splicing and mixing management without depending on well implementing various subtasks including broadcasting, talkback, monitoring, etc., thereby improving user experience and reducing cost.
Disclosure of Invention
Aiming at the defects of the prior art, the invention aims to provide a pipeline-based audio broadcasting method which can solve the problem of realizing splicing, switching and mixing of multiple audio sources without depending on hardware.
The technical scheme for realizing the purpose of the invention is as follows: a pipeline-based audio broadcasting method, comprising the steps of:
step 1: receiving an initiation signal of an input end;
step 2: after receiving the initiating signal, establishing a plurality of pipelines, wherein each pipeline comprises an input channel and an output channel, the input channel is used for receiving the audio stream transmitted by the input end and transmitting the audio stream to the output channel, the output channel is used for transmitting the audio stream to the output equipment, and a plurality of corresponding partitions are preset for each output channel of the pipeline, and each partition is correspondingly connected with one output channel;
and step 3: according to the initiating signals, distributing an input channel of a pipeline for the subtask corresponding to each initiating signal;
and 4, step 4: receiving an audio stream after assigning input channels to the subtasks, the audio stream including audio IDs, each audio ID corresponding to an input channel,
and identifying the audio ID in the audio stream, sending the audio stream to the corresponding input channel, and further sending the audio stream to the output equipment in the partition corresponding to the input channel.
Further, after the step 4 is executed, the method further comprises,
and 5: when at least two different audio streams exist in the same input channel in the pipeline, the audio streams are transmitted to all output devices in the corresponding subarea in the current input channel after being mixed.
Further, in step 3, when two subtasks need to occupy the same input channel at the same time, the input channel is allocated according to the priority of the subtasks, and the subtask with the higher priority preferentially occupies the input channel.
Further, the method also comprises the following steps of,
step S1: each input channel and each output channel correspond to a unique channel number, and the channel numbers of the input channel and the output channel are the same;
step S2: the audio ID comprises an equipment identifier of an input end for sending the audio stream and a channel number of an input channel to be allocated, and the audio stream is sent to the corresponding dredging channel according to the channel number;
wherein step S1 is performed in step 2, step S2 is performed in step 4, or both step S1 and step S2 are performed in step 4.
The invention has the beneficial effects that: the invention realizes freely splicing the interfaces on the business process by carrying out a pipeline mechanism on a software layer, and a user can dynamically adjust the business process according to the requirement, and the invention realizes sound mixing without depending on hardware, thereby reducing the cost.
Drawings
FIG. 1 is a schematic flow chart of the present invention.
Detailed Description
The invention is further described with reference to the accompanying drawings and the specific embodiments.
As shown in fig. 1, a method for pipeline-based audio broadcasting includes the steps of:
step 1: an initiation signal is received at an input, which typically includes an audio input device and a calling device. When the audio input device outputs an initiation signal to the server or other control center, it means that the audio input device needs to input an audio stream to the server or control center. Similarly, when the calling device outputs an initiation signal, it means that the calling device needs to establish a call for audio streaming with the called device.
Step 2: and after receiving the initiating signal, establishing a plurality of pipelines, wherein the pipelines comprise an input channel and an output channel, the input channel is used for receiving the audio stream transmitted by the input end and sending the audio stream to the output channel, and the output channel is used for sending the audio stream to the output equipment. And presetting a plurality of corresponding partitions for each output channel of the pipeline, distributing each output device in a corresponding partition, wherein each partition is correspondingly connected with one output channel, and the number of the output devices in each partition can be the same or different. The pipeline is a virtual logic component, and better management service is realized through the pipeline. The input end of the pipeline is connected with the input device and used for receiving the audio stream output by the input device, and the output end of the pipeline is connected with the output device and used for outputting the received audio stream to the output device in the corresponding partition. That is, the input channel of the pipeline is connected with the input device, and the output channel of the pipeline is connected with the output device.
The number of pipes to be established depends on the number of the initiating signals at the input end, but the larger the number of the initiating signals, the more the input end has the audio transmission service requirement, and the more pipes to be established are needed. In this embodiment, the number of the sound source channels of each pipe is four, that is, there are four sound source channels (corresponding to and supporting four input channels), but the output channels of the pipe are not limited, that is, the pipe may be connected to an unlimited number of output devices (i.e., a play terminal).
The partition is a free and flexible grouping form, supports a stub or a list, can add a large number of output devices into the partition to realize batch management, and can operate any one partition, namely all the output devices in the partition.
And step 3: and according to the initiating signals, allocating an input channel of one pipeline to the subtask corresponding to each initiating signal, wherein each input channel and each output channel correspond to a unique channel number, and the channel numbers of the input channel and the output channel are the same. For example, the initiating signal is a broadcast subtask initiated by the input device, or the initiating signal is a call subtask initiated by the calling device, and the broadcast and the call correspond to different subtasks and need to occupy an input channel respectively.
And 4, step 4: and after the pipeline is established and the input channel is allocated for the subtask, receiving the audio stream transmitted from the input end, wherein the audio stream comprises an audio ID. Usually, the audio ID needs to occupy 7 bytes, and the audio ID is composed of an identifier of a device where an input end for transmitting an audio stream is located and a channel number for allocating an input channel, that is, the audio ID is formed by connecting and combining a device identifier corresponding to a transmitting end and a channel number. For example, if an audio stream a has an input end identified by the device 00110110 and a channel number of 010, the audio ID corresponding to the audio stream a is 00110110010.
It should be noted that, for the audio stream format, the audio stream format in the pipeline is a PCM stream, and the audio stream is used as an input and has been subjected to a decapsulation operation before entering the pipeline.
And after receiving the audio stream, identifying the audio ID in the audio stream, sending the audio stream to the corresponding input channel according to the channel number in the audio stream ID, and further sending the audio stream to the output equipment in the partition corresponding to the input channel.
And 5: when at least two audio streams transmitted from different input devices exist in the same input channel in the pipeline, the audio streams are mixed and transmitted to all output devices in the corresponding subarea in the current input channel. That is, the input channel will mix these several audio streams and output the mixed audio stream to the output device for playing. For example, when a background music is played while voice broadcasting is performed, an audio stream of the voice broadcasting and an audio stream of the background music need to be mixed and output. The mixer for realizing mixing can be realized by adopting the existing FFmpeg open source software, wherein the FFmpeg internally comprises components such as a filter, an amix and the like, and the components support specific mixing operation.
Preferably, in step 3, when two subtasks need to occupy the same input channel at the same time, the input channel needs to be preferentially allocated according to the priority of the subtasks, and the subtask with a higher priority preferentially occupies the input channel. The priority levels of the subtasks can be distributed according to the priority levels of the input devices corresponding to the subtasks, if the priority level of the input device is high, the priority level of the corresponding bottle opener task is high, otherwise, the priority level is lower.
The invention realizes freely splicing the interfaces on the business process by carrying out a pipeline mechanism on a software layer, and a user can dynamically adjust the business process according to the requirement, and the invention realizes sound mixing without depending on hardware, thereby reducing the cost. In addition, the audio mixing and the service are integrated together, so that better coordination is achieved, a user can realize the audio mixing automatically according to the service requirement without carrying out complex hardware operation configuration. Overall, the system has high flexibility and automation operation, low cost and low dependence on equipment, and is applied to respective equipment.
The embodiments disclosed in this description are only an exemplification of the single-sided characteristics of the invention, and the scope of protection of the invention is not limited to these embodiments, and any other functionally equivalent embodiments fall within the scope of protection of the invention. Various other changes and modifications to the above-described embodiments and concepts will become apparent to those skilled in the art from the above description, and all such changes and modifications are intended to be included within the scope of the present invention as defined in the appended claims.

Claims (4)

1. A method for pipeline-based audio broadcasting, comprising the steps of:
step 1: receiving an initiation signal of an input end;
step 2: after receiving the initiating signal, establishing a plurality of pipelines, wherein each pipeline comprises an input channel and an output channel, the input channel is used for receiving the audio stream transmitted by the input end and transmitting the audio stream to the output channel, the output channel is used for transmitting the audio stream to the output equipment, and a plurality of corresponding partitions are preset for each output channel of the pipeline, and each partition is correspondingly connected with one output channel;
and step 3: according to the initiating signals, distributing an input channel of a pipeline for the subtask corresponding to each initiating signal;
and 4, step 4: receiving an audio stream after assigning input channels to the subtasks, the audio stream including audio IDs, each audio ID corresponding to an input channel,
and identifying the audio ID in the audio stream, sending the audio stream to the corresponding input channel, and further sending the audio stream to the output equipment in the partition corresponding to the input channel.
2. The pipeline-based audio broadcasting method of claim 1, further comprising, after performing the step 4,
and 5: when at least two different audio streams exist in the same input channel in the pipeline, the audio streams are transmitted to all output devices in the corresponding subarea in the current input channel after being mixed.
3. The method according to claim 1, wherein in step 3, when two subtasks need to occupy the same input channel at the same time, the input channel is allocated according to the priority of the subtask, and the subtask with higher priority preferentially occupies the input channel.
4. The pipeline-based audio broadcasting method of claim 1, further comprising,
step S1: each input channel and each output channel correspond to a unique channel number, and the channel numbers of the input channel and the output channel are the same;
step S2: the audio ID comprises an equipment identifier of an input end for sending the audio stream and a channel number of an input channel to be allocated, and the audio stream is sent to the corresponding dredging channel according to the channel number;
wherein step S1 is performed in step 2, step S2 is performed in step 4, or both step S1 and step S2 are performed in step 4.
CN202110598383.7A 2021-03-17 2021-05-28 Audio broadcasting method based on pipeline Pending CN113890659A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2021102887486 2021-03-17
CN202110288748 2021-03-17

Publications (1)

Publication Number Publication Date
CN113890659A true CN113890659A (en) 2022-01-04

Family

ID=79010130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110598383.7A Pending CN113890659A (en) 2021-03-17 2021-05-28 Audio broadcasting method based on pipeline

Country Status (2)

Country Link
CN (1) CN113890659A (en)
WO (1) WO2022193473A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116094934A (en) * 2023-02-08 2023-05-09 广州市保伦电子有限公司 Butt joint linkage method, device and system for broadcasting system
CN116208279A (en) * 2023-02-23 2023-06-02 南昌航天广信科技有限责任公司 Broadcast audio partition control method, system, computer and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868873A (en) * 2011-07-08 2013-01-09 中兴通讯股份有限公司 Remote presenting method, terminal and system
CN102868880A (en) * 2011-07-08 2013-01-09 中兴通讯股份有限公司 Media transmission method and system based on remote display
CN104009991A (en) * 2014-05-28 2014-08-27 广州华多网络科技有限公司 Audio communication system and method
CN110166155A (en) * 2019-05-14 2019-08-23 南京熊猫电子股份有限公司 A kind of emergent broadcast multichannel streaming media broadcast method and system
CN110166794A (en) * 2018-04-26 2019-08-23 腾讯科技(深圳)有限公司 A kind of live audio processing method, apparatus and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217325B (en) * 2007-12-27 2010-12-01 广州人民广播电台 A simulation method on integration, design, operation, measurement and control of broadcasting station
CN101783873A (en) * 2009-01-19 2010-07-21 北京视典无限传媒技术有限公司 Digital multimedia information transmission platform
US11175882B2 (en) * 2018-11-30 2021-11-16 Tyxit Sa Portable system for processing audio signals from multiple sources
CN209313845U (en) * 2019-01-31 2019-08-27 广州德勤龙健电子有限公司 IP network broadcaster
CN112085973A (en) * 2020-07-03 2020-12-15 南京熊猫电子股份有限公司 Implementation system and method of high-simulation short-wave radio station

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868873A (en) * 2011-07-08 2013-01-09 中兴通讯股份有限公司 Remote presenting method, terminal and system
CN102868880A (en) * 2011-07-08 2013-01-09 中兴通讯股份有限公司 Media transmission method and system based on remote display
CN104009991A (en) * 2014-05-28 2014-08-27 广州华多网络科技有限公司 Audio communication system and method
CN110166794A (en) * 2018-04-26 2019-08-23 腾讯科技(深圳)有限公司 A kind of live audio processing method, apparatus and system
CN110166155A (en) * 2019-05-14 2019-08-23 南京熊猫电子股份有限公司 A kind of emergent broadcast multichannel streaming media broadcast method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116094934A (en) * 2023-02-08 2023-05-09 广州市保伦电子有限公司 Butt joint linkage method, device and system for broadcasting system
CN116094934B (en) * 2023-02-08 2023-10-17 广东保伦电子股份有限公司 Butt joint linkage method, device and system for broadcasting system
CN116208279A (en) * 2023-02-23 2023-06-02 南昌航天广信科技有限责任公司 Broadcast audio partition control method, system, computer and storage medium

Also Published As

Publication number Publication date
WO2022193473A1 (en) 2022-09-22

Similar Documents

Publication Publication Date Title
CN113890659A (en) Audio broadcasting method based on pipeline
CN105161121B (en) To the control method and audio transfer control of audio peripheral hardware transmission audio
AU2003210624A1 (en) Digital linking of multiple microphone systems
EP2090019B1 (en) Local Area Network and Method for Configuring the Same Utilizing Catalogs
CN112542183B (en) Audio data processing method, device, equipment and storage medium
US8369541B2 (en) Distributed audio signal processing system having virtual channels
KR101558203B1 (en) Integrated digital broadcast system using multi sound mixing apparatus and extensible matrix apparatus
US8121057B1 (en) Wide area voice environment multi-channel communications system and method
CN108055577A (en) A kind of live streaming exchange method, system, device and electronic equipment
US20090307383A1 (en) Distributed audio signal processing system having logical channel groups
US7885716B2 (en) Audio/visual data communication system, audio/visual data transmitting device, and audio/visual data reproducing device
US20090299735A1 (en) Method for Transferring an Audio Stream Between a Plurality of Terminals
US8422701B2 (en) Distributed audio signal processing system
US20180097858A1 (en) Embedded side call sub-channel used in a telecommunication session
US8275474B2 (en) Flexible multichannel outputs for dual audio decode
CN114979507B (en) Method for selecting shortest multiplexing route of professional audiovisual industry joint control weighted path
US8036209B2 (en) Method and apparatus for announcement for session
KR101777749B1 (en) Real-time Multi-media transmission system and operating method thereof
CN112910827B (en) Multi-party interaction system, method and device, electronic equipment and storage medium
GB2367458A (en) Digital streaming multiplex architecture
JP2004187108A (en) Multipoint conference method, terminal status monitoring server and terminal
CN115643242A (en) Multi-channel audio data processing method and system
CN102131104A (en) Method for scrambling service
CN114630071A (en) Live broadcast processing method and device, terminal equipment and storage medium
CN115242757A (en) Data processing method and device, electronic equipment and storage medium

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: No. 56 Nanli East Road, Shiqi Town, Panyu District, Guangzhou City, Guangdong Province, 510000

Applicant after: Guangdong Baolun Electronics Co.,Ltd.

Address before: No.19 Chuangyuan Road, Zhongcun street, Panyu District, Guangzhou, Guangdong 510000

Applicant before: GUANGZHOU ITC ELECTRONIC TECHNOLOGY Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220104