WO2021227028A1 - Signal transmission method, apparatus and system, and storage medium - Google Patents

Signal transmission method, apparatus and system, and storage medium Download PDF

Info

Publication number
WO2021227028A1
WO2021227028A1 PCT/CN2020/090556 CN2020090556W WO2021227028A1 WO 2021227028 A1 WO2021227028 A1 WO 2021227028A1 CN 2020090556 W CN2020090556 W CN 2020090556W WO 2021227028 A1 WO2021227028 A1 WO 2021227028A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio
signal
audio device
transmission path
processing
Prior art date
Application number
PCT/CN2020/090556
Other languages
French (fr)
Chinese (zh)
Inventor
张立斌
袁庭球
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2020/090556 priority Critical patent/WO2021227028A1/en
Priority to CN202080092756.7A priority patent/CN114946177A/en
Publication of WO2021227028A1 publication Critical patent/WO2021227028A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/24Systems for the transmission of television signals using pulse code modulation
    • H04N7/52Systems for transmission of a pulse code modulated video signal with one or more other pulse code modulated signals, e.g. an audio signal or a synchronizing signal

Definitions

  • This application relates to the field of communication technology, and in particular to a signal transmission method, device and system, and storage medium.
  • Audio collaborative processing is a way of audio processing based on an audio processing network. Audio collaborative processing is an important trend in future audio processing, which can be applied to audio processing scenarios such as multi-device cooperative voice enhancement, multi-device cooperative three-dimensional (3D) sound field acquisition.
  • Audio collaborative processing is an important trend in future audio processing, which can be applied to audio processing scenarios such as multi-device cooperative voice enhancement, multi-device cooperative three-dimensional (3D) sound field acquisition.
  • the audio processing network includes multiple distributed audio devices.
  • the multiple audio devices can include an application audio device and multiple cooperative audio devices.
  • Each cooperative audio device can send the collected audio signal to the application audio device.
  • the application audio device performs audio applications based on the audio signals collected by itself and the audio signals sent by each cooperative audio device.
  • multiple cooperative audio devices each send audio signals to the application audio device.
  • Such an audio signal transmission method causes the transmission bandwidth of the audio signal (that is, the network bandwidth occupied by the transmission of the audio signal) to be relatively large.
  • the embodiments of the present application provide a signal transmission method, device, system, and storage medium, which help reduce the transmission bandwidth of audio signals.
  • the technical solution of this application is as follows:
  • a signal transmission method includes: acquiring an audio signal collected by a first audio device; The audio signal collected by the device and the audio signal sent by the previous hop device are mixed to obtain a mixed audio signal; the mixed audio signal is sent to the next hop device of the first audio device; wherein, the first audio device and the previous hop device The device and the next hop device are adjacent audio devices on the first transmission path in the audio processing network, and the first audio device is on the first transmission path except for the audio device at the starting point and the audio device at the destination point. Any audio device.
  • the audio device can mix the collected audio signal with the audio signal sent by the previous hop device and then send it to the next hop device until the audio signal collected by each audio device is sent to the target audio device (That is, the audio device at the destination point), therefore, compared to the solution in which each audio device sends the audio signal to the target audio device separately, it helps to reduce the transmission bandwidth of the audio signal.
  • mixing the audio signal collected by the first audio device and the audio signal sent by the previous hop device to obtain the mixed audio signal includes: using the audio processing function of the first audio device to collect the audio signal from the first audio device The audio signal is processed to obtain the processed signal of the first audio device; the processed signal of the first audio device and the audio signal sent by the previous hop device are superimposed to obtain a mixed audio signal.
  • the processed signal of the first audio device after the first audio device processes the audio signal collected by the first audio device to obtain the processed signal of the first audio device, the processed signal of the first audio device and the first audio
  • the audio signal sent by the previous hop device of the device is superimposed to obtain the mixed audio signal, without the need to restore the audio signal sent by the previous hop device of the first audio device, which helps to reduce the calculation of signal mixing by the first audio device quantity.
  • the audio signal sent by the previous hop device is a mixed signal of audio signals collected by at least two audio devices; the audio signal collected by the first audio device and the audio signal sent by the previous hop device are mixed to obtain a mixture
  • the audio signal includes: recovering the audio signal collected by the at least two audio devices from the audio signal sent by the last hop device; for each audio device of the first audio device and the at least two audio devices, The audio processing function of the audio device processes the audio signal collected by the audio device to obtain the processed signal of the audio device; superimposes the processed signal of the first audio device and the processed signal of the at least two audio devices to obtain a mixed audio signal .
  • the audio signal from the previous hop device of the first audio device is mixed.
  • the audio signals collected by at least two audio devices are recovered from the audio signals sent by the hop device (that is, the audio signals collected by each audio device are recovered from the audio signals sent by the previous hop device of the first audio device). It is convenient for the first audio device to use the audio signals collected by the at least two audio devices.
  • the method further includes: determining according to the source information carried in the audio signals sent by the last hop device
  • the audio signal sent by the previous hop device is a mixed signal of the audio signals collected by the at least two audio devices; accordingly, the audio signal collected by the at least two audio devices is recovered from the audio signal sent by the previous hop device , Including: recovering the audio signals collected by the at least two audio devices from the audio signals sent by the last hop device according to the audio processing functions of the at least two audio devices.
  • the first audio device determines at least one of the sources of the audio signal sent by the previous hop device of the first audio device according to the source information carried by the audio signal sent by the previous hop device of the first audio device.
  • Two audio devices can facilitate the first audio device to determine the audio processing functions of the at least two audio devices, so that the audio sent from the previous hop device of the first audio device according to the audio processing functions of the at least two audio devices.
  • the audio signals collected by the at least two audio devices are recovered from the signal.
  • the audio signal sent by the previous hop device is an audio signal collected by the previous hop device; the audio signal collected by the first audio device and the audio signal sent by the previous hop device are mixed to obtain a mixed audio signal, It includes: for each audio device of the first audio device and the previous hop device, using the audio processing function of the audio device to process the audio signal collected by the audio device to obtain the processed signal of the audio device; The processed signal of the first audio device and the processed signal of the previous hop device are superimposed to obtain a mixed audio signal.
  • the first audio device processes the audio signal collected by the first audio device according to the audio processing function of the first audio device, and according to the audio signal of the previous hop device of the first audio device
  • the processing function processes the audio signal collected by the previous hop device of the first audio device, which can facilitate the audio signal collected by the first audio device by the first audio device and the audio signal collected by the previous hop device of the first audio device Signal mixing.
  • the audio signal sent by the previous hop device is obtained by processing the audio signal collected by the previous hop device; the audio signal collected by the first audio device is mixed with the audio signal sent by the previous hop device Obtaining the mixed audio signal includes: recovering the audio signal collected by the previous hop device from the audio signal sent by the previous hop device; for each audio device in the first audio device and the previous hop device, using The audio processing function of the audio device processes the audio signal collected by the audio device to obtain the processed signal of the audio device; superimposes the processed signal of the first audio device and the processed signal of the previous hop device to obtain a mixed audio signal.
  • the audio signal from the previous hop device of the first audio device is mixed.
  • the audio signal collected by the previous hop device of the first audio device is recovered from the audio signal sent by the hop device, which may facilitate the first audio device to use the audio signal collected by the previous hop device of the first audio device.
  • the audio processing function of each audio device in the audio processing network is generated by the audio device and sent to other audio devices in the audio processing network; or, the audio processing function of each audio device in the audio processing network is The function is generated by the function processing device in the audio processing network and sent to each audio device in the audio processing network.
  • the audio device generates its own audio processing function and sends its own audio processing function to other audio devices, or the function processing device generates the audio processing function of each audio device and sends the audio processing to each audio device Function, it is convenient for each audio device to obtain the audio processing function of itself and other audio devices, so as to process the corresponding audio signal according to the audio processing function.
  • the method before using the audio processing function of the first audio device to process the audio signal collected by the first audio device, the method further includes: generating the audio processing function of the first audio device; or, receiving the function processing device The sent audio processing function of the first audio device.
  • the first audio device generates the audio processing function of the first audio device or receives the audio processing function of the first audio device sent by the function processing device, which can facilitate the first audio device to obtain its own audio processing function. Audio processing function.
  • generating the audio processing function of the first audio device includes: using a random number generation function to generate multiple random numbers; and generating the audio processing function of the first audio device according to the multiple random numbers.
  • the first audio device generates the audio processing function of the first audio device in a randomized manner, which can ensure that the audio processing function of the first audio device and the audio processing functions of other audio devices are as small as possible.
  • a signal transmission method includes: receiving a mixed audio signal sent by a previous hop device of a target audio device, where the mixed audio signal is a mixed signal of audio signals collected by at least two audio devices; The audio signals collected by the at least two audio devices are recovered from the mixed audio signal; wherein the target audio device and the previous hop device are adjacent audio devices on the first transmission path in the audio processing network.
  • the audio device on the first transmission path can mix the collected audio signal and the received audio signal and then send it to the next hop device, until the audio signal collected by each audio device is sent to the target Audio equipment, therefore, the mixed audio signal sent by the previous hop device of the target audio device received by the target audio device is a mixed signal of the audio signals collected by at least two audio devices.
  • the target audio device can receive the audio signals collected by each audio device by receiving the mixed audio signal, which helps to reduce the transmission bandwidth of the audio signal.
  • the method before recovering the audio signals collected by the at least two audio devices from the mixed audio signal, the method further includes: determining, according to the source information carried by the mixed audio signal, that the mixed audio signal is collected by the at least two audio devices.
  • recovering from the mixed audio signal the audio signal collected by the at least two audio devices includes: recovering from the mixed audio signal according to the audio processing functions of the at least two audio devices Audio signals collected by the at least two audio devices.
  • the target audio device determines that the mixed audio signal originates from at least two audio devices according to the source information carried by the mixed audio signal, which can facilitate the target audio device to determine the audio processing functions of the at least two audio devices,
  • the audio signals collected by the at least two audio devices are recovered from the mixed audio signal according to the audio processing functions of the at least two audio devices.
  • the audio processing function of each audio device in the audio processing network is generated by the audio device and sent to other audio devices in the audio processing network; or, the audio processing function of each audio device in the audio processing network is The function is generated by the function processing device in the audio processing network and sent to each audio device in the audio processing network.
  • the audio device generates its own audio processing function and sends its own audio processing function to other audio devices, or the function processing device generates the audio processing function of each audio device and sends the audio processing to each audio device Function, it is convenient for each audio device to obtain the audio processing function of itself and other audio devices, so as to process the corresponding audio signal according to the audio processing function.
  • the method before recovering the audio signals collected by the at least two audio devices from the mixed audio signal according to the audio processing functions of the at least two audio devices, the method includes: receiving the audio processing functions of the at least two audio devices.
  • the target audio device receives the audio processing functions of at least two audio devices, which can facilitate the target audio device to recover the at least two audio signals from the mixed audio signal according to the audio processing functions of the at least two audio devices. Audio signals collected by an audio device.
  • the method before receiving the mixed audio signal sent by the previous hop device of the target audio device, the method further includes: determining from the audio processing network that the destination point is at least one target transmission path of the target audio device, and the at least one target audio device
  • the transmission path includes a first transmission path; sending transmission instruction information to an audio device on each target transmission path, and the audio device on the target transmission path is used to transmit audio signals through the target transmission path according to the received transmission instruction information.
  • the target audio device determines at least one target transmission path to the target audio device, so that the audio device in the audio processing network transmits the audio signal to the target audio device through the at least one target transmission path, There is no need to transmit the audio signal to the target audio device through a transmission path other than the at least one target transmission path, which helps to reduce the transmission bandwidth of the audio signal.
  • determining from the audio processing network that the destination point is at least one target transmission path of the target audio device includes: selecting at least one transmission path from a plurality of transmission paths whose destination point is the target audio device in the audio processing network As the at least one target transmission path; correspondingly, sending transmission instruction information to the audio device on each target transmission path includes: sending removal instruction information to the audio device on each target transmission path, wherein The removal instruction information sent by the audio device instructs the audio device to remove the redundant transmission path in the multiple transmission paths and transmit the audio signal through the target transmission path, and the redundant transmission path is at least one of the multiple transmission paths A transmission path other than the target transmission path.
  • the target audio device instructs the audio device on the target transmission path to remove the redundant transmission path, which can prevent the audio device on the target transmission path from transmitting audio to the target audio device through the redundant transmission path Signal, helps reduce the transmission bandwidth of audio signals.
  • selecting at least one transmission path as the at least one target transmission path from the multiple transmission paths whose destination point is the target audio device in the audio processing network includes: receiving transmission through each transmission path of the multiple transmission paths Path detection signal, wherein the path detection signal transmitted through each transmission path contains the information of each audio device on the transmission path; according to the path detection signal transmitted through the multiple transmission paths, select from the multiple transmission paths At least one transmission path is used as the at least one target transmission path, where the at least one target transmission path is the transmission path with the least number of paths and the largest number of audio devices among the plurality of transmission paths.
  • the target audio device selects the transmission path with the smallest number of paths and the largest number of audio devices among the multiple transmission paths as the target transmission path, which helps to ensure the minimization of the transmission bandwidth of the audio signal.
  • selecting at least one transmission path as the at least one target transmission path from multiple transmission paths whose destination point is the target audio device in the audio processing network includes: for each transmission path in the multiple transmission paths, obtaining The current processing capabilities of each audio device on the transmission path; according to the current processing capabilities of the audio devices on the multiple transmission paths, at least one transmission path is selected from the multiple transmission paths as the at least one target transmission path, wherein, The current processing capability of the audio device on each target transmission path is stronger than the preset processing capability.
  • the target audio device selects the transmission path of the audio device whose current processing capability is stronger than the preset processing capability among multiple transmission paths as the target transmission path, which helps maintain the system stability of the audio processing network .
  • determining the destination point from the audio processing network as at least one target transmission path of the target audio device includes: acquiring topology information of the audio processing network and the current processing capabilities of each audio device in the audio processing network; The current processing capabilities of each audio device in the network, determine at least one cooperative audio device required by the target audio device from the audio processing network; according to the topology information of the audio processing network, set the destination point as the target audio device and include the at least one audio device At least one transmission path of the cooperative audio device is determined as the at least one target transmission path; accordingly, sending transmission instruction information to the audio device on each target transmission path includes: sending a device instruction to the audio device on each target transmission path Information, wherein the device indication information sent to the audio device indicates the next hop device of the audio device on the target transmission path.
  • a signal transmission device in a third aspect, includes: modules for executing the signal transmission method provided by the first aspect or any optional implementation of the first aspect.
  • a signal transmission device in a fourth aspect, includes: modules for executing the signal transmission method provided by the second aspect or any optional implementation of the second aspect.
  • a signal transmission device in a fifth aspect, includes a processor and a memory, the memory storing a program, and the processor is configured to call the program stored in the memory so that the signal transmission device executes A signal transmission method provided by one aspect or any optional implementation of the first aspect.
  • a signal transmission device in a sixth aspect, includes a processor and a memory.
  • the memory stores a program.
  • the processor is used to call the program stored in the memory to make the signal transmission device execute.
  • the second aspect or any optional implementation of the second aspect provides a signal transmission method.
  • a signal transmission system in a seventh aspect, includes: at least two audio devices, at least one of the at least two audio devices includes the signal transmission device as provided in the third or fourth aspect, or At least one of the at least two audio devices includes the signal transmission device as provided in the fifth aspect or the sixth aspect.
  • a computer-readable storage medium stores a computer program.
  • the computer program runs on a computer, the computer can execute any of the first aspect or the first aspect.
  • the signal transmission method provided in an optional manner, or the computer is caused to execute the signal transmission method provided in the second aspect or any optional manner of the second aspect.
  • a computer program product containing instructions is provided.
  • the computer program product runs on a computer, the computer executes the signal transmission method as provided in the first aspect or any of the optional methods of the first aspect Or, make the computer execute the signal transmission method as provided in the second aspect or any optional manner of the second aspect.
  • a chip in a tenth aspect, includes a programmable logic circuit and/or program instructions. When the chip is running, it is used to implement signal transmission as provided in the first aspect or any of the optional methods of the first aspect. Method, or implement the signal transmission method as provided in the second aspect or any optional manner of the second aspect.
  • the audio signal collected by the first audio device and the first audio device are The audio signal sent by the previous hop device of an audio device is mixed to obtain a mixed audio signal, and the mixed audio signal is sent to the next hop device of the first audio device. Since the audio device can mix the collected audio signal and the received audio signal and send it to the next hop device, until the audio signal collected by each audio device is sent to the target audio device, it is compared with each audio device separately to the target audio device.
  • the scheme of sending audio signals by audio equipment helps to reduce the transmission bandwidth of audio signals.
  • FIG. 1 is a schematic diagram of an implementation environment involved in various embodiments of the present application.
  • FIG. 2 is a flowchart of a method for determining a target transmission path from an audio processing network according to an embodiment of the present application
  • FIG. 3 is a flowchart of a method for selecting a target transmission path from multiple transmission paths according to an embodiment of the present application
  • FIG. 4 is a flowchart of another method for selecting a target transmission path from multiple transmission paths according to an embodiment of the present application
  • FIG. 5 is a flowchart of a method for determining a destination point as a target transmission path of a target audio device according to an embodiment of the present application
  • FIG. 6 is a schematic diagram of at least one target transmission path in an audio processing network provided by an embodiment of the present application.
  • FIG. 7 is a method flowchart of a signal transmission method provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of transmitting audio signals through a first transmission path according to an embodiment of the present application.
  • FIG. 9 is another schematic diagram of transmitting audio signals through a first transmission path according to an embodiment of the present application.
  • FIG. 10 is another schematic diagram of transmitting audio signals through a first transmission path according to an embodiment of the present application.
  • FIG. 11 is a flowchart of a method for mixing an audio signal collected by a first audio device with an audio signal sent by a previous hop device of the first audio device according to an embodiment of the present application;
  • FIG. 12 is a flowchart of another method for mixing an audio signal collected by a first audio device with an audio signal sent by a previous hop device of the first audio device according to an embodiment of the present application;
  • FIG. 13 is a flowchart of yet another method for mixing an audio signal collected by a first audio device with an audio signal sent by a previous hop device of the first audio device according to an embodiment of the present application;
  • FIG. 14 is a flowchart of yet another method for mixing an audio signal collected by a first audio device with an audio signal sent by a previous hop device of the first audio device according to an embodiment of the present application;
  • 15 is a schematic diagram of the logical structure of a signal transmission device provided by an embodiment of the present application.
  • 16 is a schematic diagram of the logical structure of another signal transmission device provided by an embodiment of the present application.
  • FIG. 17 is a schematic diagram of the hardware structure of a signal transmission device provided by an embodiment of the present application.
  • FIG. 1 shows a schematic diagram of an implementation environment involved in various embodiments of the present application.
  • the implementation environment provides an audio processing network.
  • the audio processing network may include multiple audio devices. Connect through wired network or wireless network communication.
  • the multiple audio devices can be fully interconnected (that is, each audio device in the multiple audio devices is communicatively connected with all other audio devices in the multiple audio devices) or partially interconnected (that is, , At least one of the plurality of audio devices is communicatively connected with some of the plurality of audio devices, and not communicatively connected with some of the audio devices).
  • the audio processing network includes audio equipment 01 to 05 (that is, audio equipment 01, audio equipment 02, audio equipment 03, audio equipment 04, and audio equipment 05) as an example.
  • audio Device 02 is communicatively connected with audio device 01, audio device 03, and audio device 04, but is not communicatively connected with audio device 05, so audio devices 01 to 05 are partially interconnected.
  • the wireless network may include, but is not limited to, a wireless fidelity (WIFI) network, a Bluetooth network, an infrared network, and a zigbee network.
  • the wired network may include, but is not limited to, a universal serial bus (universal serial bus, USB) network.
  • the audio device can be any device that can collect audio signals and/or process audio signals.
  • the audio device can be a smart phone, a tablet computer, a notebook computer, a desktop computer, a TV, a video expert compresses standard audio Level 3 (moving picture experts group audio layer III, MP3) players, motion picture experts compress standard audio level 4 (moving picture experts group audio layer IV, MP4) players, e-book readers, smart home equipment, headphones, smart toys , Smart bracelets, smart watches, virtual reality (VR) equipment and augmented reality (AR) equipment, etc.
  • the multiple audio devices may be the same type of audio devices.
  • the audio devices 01 to 05 are all smart phones, or the types of the multiple audio devices are not all the same.
  • the audio device 01 and the audio device 02 are both smart phones
  • the audio device 03 is a smart toy
  • the audio device 04 is a TV
  • the audio device 05 is a headset, which is not limited in the embodiment of the present application.
  • the multiple audio devices may be deployed in the same sound field space in a distributed manner, and the multiple audio devices may include an application audio device and a cooperative audio device.
  • the application audio device refers to a device that needs to apply audio signals.
  • a device refers to a device that processes audio signals with a cooperative application audio device.
  • the cooperative audio device can send the collected audio signal to the application audio device, and the supply audio device performs audio applications. It is easy to understand that the application audio device has at least the function of processing audio signals, and the cooperative audio device has at least the function of collecting audio signals.
  • the application audio device may also have the function of collecting audio signals.
  • the cooperative audio device It can also have the function of processing audio signals.
  • audio device 04 is an application audio device
  • audio devices 01 to 03 and audio device 05 are cooperative audio devices
  • audio devices 01 to 05 have audio collection functions and audio processing functions as an example.
  • the same sound field space may be a space (such as a room) where the same sound source is located.
  • the audio devices 01 to 05 are located in the room where the sound source A is located, and the audio devices 01 to 05 are located in the sound field space emitted by the sound source A.
  • multiple coordinated audio devices each send audio signals to the application audio device.
  • Such an audio signal transmission method results in a relatively large transmission bandwidth of the audio signal.
  • audio devices 01 to 03 and audio device 05 each send audio signals to audio device 04, so that audio devices 01 to 03 and audio device 05 send audio signals to audio device 04 will occupy the four-channel bandwidth of the audio processing network (audio Devices 01 to 03 and audio device 05 each occupy one channel of bandwidth), and the transmission bandwidth of audio signals is relatively large.
  • the audio signals collected by multiple cooperative audio devices can be mixed and sent to the application audio device through the target transmission path, so there is no need for each cooperative audio device to send audio signals to the application audio device separately.
  • audio device 03 can send the collected audio signal to audio device 02, audio device 02 mixes the audio signal sent by audio device 03 with the audio signal collected by itself and sends it to audio device 01, audio device 01 sends audio device 02 The audio signal and the audio signal collected by itself are mixed and sent to the audio device 04. In this way, there is no need for the audio device 03 and the audio device 02 to send the audio signal to the audio device 04 respectively, compared to the audio device 03 and the audio device 02 respectively.
  • the solution of sending audio signals by the audio equipment 04 can reduce the two-channel bandwidth and reduce the transmission bandwidth of the audio signals.
  • the communication connection between different audio devices may be the underlying link between the different audio devices, and the link for transmitting audio signals established by different audio devices based on the underlying link may be an audio link.
  • a bottom link is established between different audio devices that have an audio link, and an audio link is not necessarily established between different audio devices that have a bottom link.
  • a bottom link and an audio link are established between audio device 01 and audio device 02, and a bottom link is established between audio device 01 and audio device 03, but no audio link is established.
  • the audio link described in this paragraph is also the transmission path described in the following embodiments.
  • the audio processing network shown in FIG. 1 is only used as an example, and is not used to limit the technical solutions of the embodiments of the present application.
  • the number of audio devices can be configured as needed, and the Configure other devices in the audio processing network.
  • the audio processing network may also include a management device for managing the multiple audio devices.
  • the audio processing network may also include a server, etc., which is not limited in the embodiment of the present application.
  • the solution provided by the embodiments of the present application may include a path determination process and a signal transmission process.
  • the path determination process is used to determine from the audio processing network the destination point is at least one target transmission path of the target audio device, and the signal transmission process is used for each target.
  • the audio device on the transmission path transmits the audio signal to the target audio device through the target transmission path.
  • the transmission path may be the audio link described above.
  • the path determination process and the signal transmission process are separately described in two embodiments below.
  • the path determination process may be performed by a target audio device, and the target audio device may be an application audio device in an audio processing network.
  • FIG. 2 shows a flow chart of a method for determining a destination point as a target transmission path of a target audio device from an audio processing network provided by an embodiment of the present application.
  • the method can be applied to the method shown in FIG. Implementation environment. Referring to Figure 2, the method may include the following steps:
  • Step 201 Determine from the audio processing network that the destination point is at least one target transmission path of the target audio device.
  • the audio processing network may include multiple transmission paths whose destination points are the target audio device, and the target audio device may select at least one transmission path from the multiple transmission paths as the at least one target transmission path.
  • the target audio device may determine the destination point from the audio processing network as at least one target transmission path (or in other words) of the target audio device according to the topology information of the audio processing network and the current processing capabilities of each audio device in the audio processing network.
  • the establishment of the destination point is at least one target transmission path of the target audio device).
  • this step 201 may include the following two possible implementation manners:
  • the first implementation manner the target audio device selects at least one transmission path as the at least one target transmission path from among multiple transmission paths whose destination point is the target audio device in the audio processing network.
  • the target audio device may select at least one transmission path from the multiple transmission paths as the at least one target transmission path based on the path detection signal transmitted through the multiple transmission paths, or according to the audio on the multiple transmission paths For the current processing capability of the device, at least one transmission path is selected from the multiple transmission paths as the at least one target transmission path. Therefore, the first implementation manner of step 201 may include the following two optional implementation manners:
  • Embodiment 1 The target audio device selects at least one transmission path from the multiple transmission paths as the at least one target transmission path according to the path detection signal transmitted through the multiple transmission paths.
  • FIG. 3 shows a flow chart of a method for selecting at least one target transmission path from multiple transmission paths according to an embodiment of the present application.
  • the method may include the following steps:
  • Sub-step 2011A Receive a path detection signal transmitted through each of the multiple transmission paths, and the path detection signal transmitted through each transmission path includes information about each audio device on the transmission path.
  • the audio device on each of the multiple transmission paths sends a path detection signal to the target audio device through the transmission path where it is located, and the target audio device can receive the path detection signal transmitted through each transmission path.
  • the path detection signal transmitted through each transmission path contains the information of each audio device on the transmission path.
  • the information of the audio device may be, for example, the device identification of the audio device, which is not limited in the embodiment of the present application.
  • the audio device on each transmission path sends a path detection signal to the target audio device through the transmission path where it is located may include: the audio device at the starting point of each transmission path generates information containing the audio device (such as device identification) ), and send the path detection signal to the next hop device of the audio device on the transmission path.
  • the next hop device After the next hop device receives the path detection signal, it can add its own information (such as device identification) In the path detection signal, the path detection signal added with its own information is sent to the next hop device of the next hop device on the transmission path until the path detection signal is transmitted to the target audio device.
  • the next hop device of each audio device may be an audio device that is adjacent to the audio device on the transmission path where the audio device is located and is located behind the audio device in the direction of the transmission path.
  • the audio device 04 may be a target audio device, and multiple transmission paths of the audio device 04 whose destination point is the audio device 04 in the audio processing network may include:
  • Transmission path 1 Audio equipment 03->Audio equipment 02->Audio equipment 01->Audio equipment 04;
  • Transmission path 2 Audio equipment 03->Audio equipment 02->Audio equipment 04;
  • Transmission path 3 Audio equipment 03->Audio equipment 04;
  • Transmission path 4 Audio equipment 05->Audio equipment 04;
  • the audio device on the transmission path 1 sending a path detection signal to the audio device 04 through the transmission path 1 may include: the audio device 03 generates a path detection signal containing the device identification ID-03 of the audio device 03 , And send the path detection signal to the audio device 02 (the next hop device of the audio device 03). After the audio device 02 receives the path detection signal, it adds the device identification ID-02 of the audio device 02 to the path detection signal And send a path detection signal with ID-02 added to the audio device 01 (the next hop device of the audio device 02).
  • the device ID of the audio device 01 is ID-01 is added to the path detection signal, and the path detection signal with ID-01 added to the audio device 04 (the next hop device of the audio device 01) is sent to the audio device 04 (the next hop device of the audio device 01).
  • the audio device 04 receives the path detection signal through the
  • the path detection signal sent by the transmission path 1 includes the device identification ID-03 of the audio device 03, the device identification ID-02 of the audio device 02, and the device identification ID-01 of the audio device 01.
  • the path detection signal received by the audio device 04 and sent through the transmission path 2 includes the device identification ID-03 of the audio device 03 and the device identification ID-02 of the audio device 02.
  • the path detection signal received by the audio device 04 and sent through the transmission path 3 contains the device identification ID-03 of the audio device 03.
  • the path detection signal sent through the transmission path 4 received by the audio device 04 contains the device identification ID-05 of the audio device 05.
  • Sub-step 2012A according to the path detection signal transmitted through the multiple transmission paths, select at least one transmission path from the multiple transmission paths as at least one target transmission path, and the at least one target transmission path is among the multiple transmission paths, The transmission path with the smallest number of paths and the largest number of audio devices.
  • the target audio device may determine the number of audio devices on the transmission path based on the audio device information contained in the path detection signal transmitted through each transmission path, and according to the number of audio devices on the multiple transmission paths and The number of the plurality of transmission paths, at least one transmission path is selected from the plurality of transmission paths as at least one target transmission path, and the at least one target transmission path is among the plurality of transmission paths, the number of paths is the least and the number of audio devices included is the most The transmission path.
  • the at least one target transmission path is the transmission path with the smallest number of paths and the largest number of audio devices among the multiple transmission paths, which may refer to: the at least one target transmission path is a combination of the multiple transmission paths ( Each combination includes at least one transmission path), the number of audio devices is the largest (for example, the number of audio devices on the at least one target transmission path is equal to the sum of the number of all audio devices on the multiple transmission paths) and the number of paths is the least The transmission path in the combination.
  • the audio equipment 04 can select transmission path 1 and transmission path 4 as the target from the 4 transmission paths.
  • Transmission path the combination of transmission path 1 and transmission path 4 contains the largest number of audio devices (a total of 5 audio devices), and the combination of transmission path 1 and transmission path 4 is the combination of transmission path 1 to transmission path 4 with the least number of paths combination.
  • the path detection signal may be an audio signal, or a signal dedicated to path detection.
  • the target audio device selects the transmission path with the least number of paths and the largest number of audio devices among the multiple transmission paths as the target transmission path, which helps to ensure that the transmission bandwidth of the audio signal is minimized.
  • Embodiment 2 The target audio device selects at least one transmission path from the multiple transmission paths as the at least one target transmission path according to the current processing capabilities of the audio devices on the multiple transmission paths.
  • FIG. 4 shows a flowchart of another method for selecting at least one target transmission path from multiple transmission paths according to an embodiment of the present application.
  • the method may include the following steps :
  • Sub-step 2011B For each of the multiple transmission paths, obtain the current processing capability of each audio device on the transmission path.
  • each audio device in the audio processing network can send (for example, broadcast) its own processing capability information to other audio devices in the audio processing network in real time or periodically, and the processing capability that each audio device sends to other audio devices
  • the information is used to characterize the current processing capability of the audio device.
  • each audio device can broadcast its processing capability information to other audio devices every 10 seconds or 60 seconds.
  • the target audio device may determine the current processing capability of each audio device on the transmission path according to the most recently received processing capability information sent by each audio device on the transmission path.
  • the processing capability information may include at least one of a central processing unit (CPU) occupancy rate and absolute capability information, such as million instructions per second (MIPS). ), million operations per second (MOPS), or megabit code per second (MCPS). Among them, MIPS is also called the average execution speed of single-word fixed-point instructions.
  • MIPS is also called the average execution speed of single-word fixed-point instructions.
  • Sub-step 2012B According to the current processing capabilities of the audio devices on the multiple transmission paths, at least one transmission path is selected from the multiple transmission paths as at least one target transmission path, and the current processing of the audio equipment on each target transmission path Ability is stronger than the preset processing capacity.
  • the preset processing capability may be preset by the target audio device or the management device in the audio processing network before performing this sub-step 2012B, and the preset processing capability is used to measure the current processing capability of the audio device.
  • the target audio device may select the transmission path where the audio device with the current processing capability is stronger than the preset processing capability from the multiple transmission paths according to the current processing capabilities of the audio devices on the multiple transmission paths as the target transmission path.
  • the current processing capabilities of all audio devices on the target transmission path are stronger than the preset processing capabilities, or the number of audio devices on the target transmission path whose current processing capabilities are stronger than the preset processing capabilities and the number of audio devices on the target transmission path
  • the ratio of the number of all audio devices is greater than the preset ratio, that is, if the current processing capacity of a certain transmission path is stronger than the preset processing capacity of the audio equipment on the transmission path is greater than the preset ratio, the transmission The path may be used as the target transmission path.
  • the preset ratio may be 0.5, 0.6, 0.8, or the like.
  • the preset processing capability may be characterized by using preset processing capability information.
  • the preset processing capability information may be at least one of a CPU occupancy rate and absolute capability information, such as MIPS number, MOPS number or MCPS number.
  • audio device 04 target audio device
  • the audio device 04 may select the transmission path where the audio device 05 is located as the target transmission path, that is, select the aforementioned transmission path 4 as the target transmission path.
  • the target audio device selects the transmission path of the audio device whose current processing capability is stronger than the preset processing capability from multiple transmission paths as the target transmission path, which helps maintain the system stability of the audio processing network .
  • the audio device 04 selects the transmission path 1 and the transmission path 4 as the target transmission path as an example.
  • the distance between the audio device 04 and the audio device 05 may be relatively close.
  • the distance between the audio device 04 and the audio device 05 is relatively close.
  • the audio signal collected by the audio device 05 has a strong correlation with the audio signal collected by the audio device 04.
  • the audio signal collected by the audio device 05 is There is less useful information, so the audio device 04 may not select the transmission path 4, which is not limited in the embodiment of the present application.
  • the destination point is determined from the audio processing network as at least one target transmission path of the target audio device.
  • FIG. 5 shows a flow chart of a method for determining at least one target transmission path with a destination point as a target audio device provided by an embodiment of the present application.
  • the method may include the following steps :
  • Sub-step 2011C Acquire the topology information of the audio processing network and the current processing capabilities of each audio device in the audio processing network.
  • the management device of the audio processing network can maintain the topology information of the audio processing network, and the target audio device can obtain the topology information of the audio processing network from the management device, and the topology information can include the audio devices in the audio processing network.
  • the management device may be any audio device in the audio processing network (for example, it may be an application audio device) or a device dedicated to managing the audio processing network, which is not limited in the embodiment of the present application.
  • each audio device in the audio processing network can send its processing capability information to other audio devices in the audio processing network in real time or periodically.
  • each audio device can send information to other audio devices every 10 seconds or 60 seconds.
  • the audio device broadcasts its own processing capability information.
  • the target audio device may determine the current processing capability of each audio device in the audio processing network according to the processing capability information sent by each audio device that was received last time.
  • the processing capability information may include at least one of a CPU occupancy rate and absolute capability information, the absolute capability information, for example, the number of MIPS, the number of MOPS, or the number of MCPS.
  • Sub-step 2012C According to the current processing capabilities of each audio device in the audio processing network, determine at least one cooperative audio device required by the target audio device from the audio processing network.
  • the target audio device may determine at least one cooperative audio device required by the target audio device from the audio processing network according to business needs and the current processing capabilities of each audio device.
  • the at least one cooperative audio device may be capable of serving as the target audio device.
  • the business of audio equipment requires audio equipment that provides audio signals and has strong processing capabilities.
  • the target audio device can sort the audio devices that can provide audio signals to the target audio device in the audio processing network in the order of processing capability from strong to weak, and according to the sorting result, it will be able to provide audio to the target audio device.
  • the target audio device may determine at least one audio device whose current processing capability is stronger than a preset processing capability among audio devices capable of providing audio signals to the target audio device as the at least one cooperative audio device.
  • the preset processing capability may be characterized by preset processing capability information.
  • the preset processing capability information may be at least one of a CPU occupancy rate and absolute capability information, such as MIPS number, MOPS number, or MCPS. number.
  • audio device 04 may be the target audio device, the MIPS number of audio device 01 is greater than the preset MIPS number, the MOPS number of audio device 02 is greater than the preset MOPS number, and the CPU of audio device 03 is occupied The rate is greater than the preset CPU occupancy rate, and the MCPS number of audio device 05 is greater than the preset MCPS number, so audio device 04 can determine audio device 01, audio device 02, audio device 03, and audio device 05 as the audio device 04 At least one cooperative audio device is required.
  • Sub-step 2013C According to the topology information of the audio processing network, at least one transmission path including the at least one cooperative audio device with the destination point as the target audio device is determined as the at least one target transmission path.
  • the target audio device may determine, according to the topology information of the audio processing network, that the destination point is the target audio device and includes multiple transmission paths of the at least one cooperative audio device, and then select at least one transmission path from the multiple transmission paths A path serves as the at least one target transmission path, and the at least one target transmission path is the transmission path with the least number of paths among the multiple transmission paths whose destination is the target audio device and includes the at least one cooperative audio device, for example, the at least one A target transmission path is a transmission path in a combination of multiple transmission paths (each combination includes at least one transmission path) that includes the at least one cooperative audio device and has the least number of paths.
  • audio device 04 may be a target audio device, audio device 01, audio device 02, audio device 03, and audio device 05 are cooperative audio devices of audio device 04, and audio device 04 is based on the audio processing network
  • the multiple transmission paths that determine the destination point is the audio device 04 and include audio device 01, audio device 02, audio device 03, and audio device 05 may include:
  • Transmission path 1 Audio equipment 03->Audio equipment 02->Audio equipment 01->Audio equipment 04;
  • Transmission path 2 Audio equipment 03->Audio equipment 02->Audio equipment 04;
  • Transmission path 3 Audio equipment 03->Audio equipment 04;
  • Transmission path 4 Audio equipment 05->Audio equipment 04;
  • the audio device 04 may determine the transmission path 1 and the transmission path 4 as the target transmission path.
  • the combination of the transmission path 1 and the transmission path 4 includes the audio device 01, the audio device 02, the audio device 03, and the audio device 05, and the transmission path
  • the combination of 1 and the transmission path 4 is the combination with the least number of paths among the combinations of the transmission path 1 to the transmission path 4.
  • Step 202 Send transmission instruction information to the audio device on each target transmission path, and the audio device on each target transmission path is used to transmit the audio signal through the target transmission path according to the received transmission instruction information.
  • the target audio device After the target audio device determines from the audio processing network that the destination point is at least one target transmission path of the target audio device, it can send transmission instruction information to the audio device on each target transmission path to indicate the audio on each target transmission path The device transmits audio signals through the target transmission path.
  • this step 202 may include two possible implementation manners:
  • the first implementation method the target audio device sends removal instruction information to the audio device on each target transmission path, and the removal instruction information sent by the target audio device to the audio device on each target transmission path indicates that the audio device removal destination is The redundant transmission path among the multiple transmission paths of the target audio device and the audio signal is transmitted through the target transmission path, wherein the redundant transmission path is a transmission of the multiple transmission paths other than the at least one target transmission path path.
  • the first implementation manner may correspond to the first implementation manner in step 201.
  • the removal instruction information sent by the target audio device to each audio device may carry the path information of the at least one target transmission path (the path information of each transmission path may include the device identification of the audio device on the transmission path, and The connection relationship between audio devices on the transmission path), each audio device determines its own redundant transmission path according to the path information of the target transmission path carried in the received removal instruction information and the path information of the transmission path where it is located , And remove the redundant transmission path.
  • the removal instruction information sent by the target audio device to each audio device may carry path information of the redundant transmission path, and each audio device removes the redundant transmission according to the path information of the redundant transmission path carried in the received removal instruction information path. After the redundant transmission path is removed, the remaining transmission paths whose destination point is the target audio device are all target transmission paths, and each audio device can transmit audio signals through the target transmission path where it is located.
  • the destination point is the transmission path 1 to the transmission path 4 of the audio device 04, and the transmission path 1 and the transmission path 4 are the target transmission paths.
  • Path 2 and transmission path 3 are redundant transmission paths.
  • Audio device 04 can send removal instruction information to audio device 01, audio device 02, audio device 03, and audio device 05 on the target transmission path.
  • the removal instruction information can carry the transmission path 1 and the path information of transmission path 4 (or carry path information of transmission path 2 and transmission path 3), audio equipment 01, audio equipment 02, audio equipment 03, and audio equipment 05 remove transmission path 2 and transmission path according to the removal instruction information 3.
  • the audio equipment 01, the audio equipment 02, and the audio equipment 03 transmit audio signals to the audio equipment 04 through the transmission path 1, and the audio equipment 05 transmits the audio signals to the audio equipment 04 through the transmission path 2.
  • the target audio device can send the target audio device to the previous hop device of the target audio device on each redundant transmission path. Sending the removal instruction information, so that the previous hop device removes the transmission path with the target audio device, thereby removing the redundant transmission path.
  • the last hop device of the target audio device may be an audio device that is adjacent to the target audio device on the target transmission path and is located before the target audio device according to the direction of the target transmission path.
  • the audio device 04 can send to the audio device 02 (the previous hop device of the audio device 04 on the transmission path 2) and the audio device 03 (the previous hop device of the audio device 04 on the transmission path 3) respectively.
  • the removal instruction information instructs the audio device 02 to remove the transmission path 2 and instructs the audio device 03 to remove the transmission path 3.
  • removing the redundant transmission path may refer to removing the audio link corresponding to the redundant transmission path, and the underlying link may not be removed. By removing the redundant transmission path, the audio device can be prevented from passing through the redundancy.
  • the transmission path transmits the audio signal to the target audio device, which helps to reduce the transmission bandwidth of the audio signal.
  • the second implementation method the target audio device sends device indication information to the audio device on each target transmission path, and the device indication information sent by the target audio device to the audio device on each target transmission path indicates the audio on the target transmission path
  • the next hop device of the device each audio device can transmit an audio signal to the next hop device of the audio device according to the received device indication information.
  • the next hop device of the audio device may be an audio device adjacent to the audio device on the target transmission path and located behind the audio device in the direction of the target transmission path.
  • the second implementation manner may correspond to the second implementation manner in step 201.
  • the target audio device may send device indication information to each audio device on the target transmission path, and the target audio device sends device indication information to each audio device including the target transmission path and the audio The device identifier of the next hop device of the device to indicate the next hop device.
  • the target audio device may send device indication information including its own device identifier to the previous hop device of the target audio device on the target transmission path, so as to indicate itself to the previous hop device (That is, the target audio device); after receiving the device indication information, the previous hop device can send the device indication information including its own device identifier to the previous hop device of the previous hop device on the target transmission path, In this way, it indicates itself to the previous hop device, and so on, until the audio device at the starting point of the target transmission path receives the device indication information.
  • the transmission path 1 and the transmission path 4 are the target transmission paths of the audio device 04 as destination points.
  • the audio device 04 can send device indication information containing the device identification ID-04 of the audio device 04 to the audio device 01 to instruct the audio device 04 (that is, the audio device 01 on the transmission path 1).
  • One-hop device sending device indication information including the device identification ID-01 of the audio device 01 to the audio device 02 to indicate the audio device 01 (that is, the next hop device of the audio device 02 on the transmission path 1)
  • the device indication information including the device identification ID-02 of the audio device 02 is sent to the audio device 03 to indicate the audio device 02 (that is, the next hop device of the audio device 03 on the transmission path 1).
  • the audio device 04 may send device indication information including the device identification ID-04 of the audio device 04 to the audio device 01 (that is, the previous hop device of the audio device 04 on the transmission path 1) to indicate the audio device 04.
  • the audio device 01 After the audio device 01 receives the device instruction information, it can send the audio device 01's device identification ID-01 to the audio device 02 (that is, the previous hop device of the audio device 01 on the transmission path 1)
  • the device instruction information indicates the audio device 01.
  • the audio device 02 After receiving the device instruction information, the audio device 02 can send the audio device to the audio device 03 (that is, the previous hop device of the audio device 02 on the transmission path 1).
  • the device identification information of the device identification ID-03 of 03 indicates the audio device 03. The same is true for transmission path 4, and will not be repeated here.
  • the above steps 201 to 202 are the path determination process provided by the embodiment of the present application.
  • the target audio device can determine at least one target transmission path from the audio processing network.
  • FIG. 6, shows a schematic diagram of at least one target transmission path in an audio processing network provided by an embodiment of the present application.
  • the audio processing network includes a destination point of an audio device.
  • the two target transmission paths of 04, the two target transmission paths are: transmission path 1: audio equipment 03->audio equipment 02->audio equipment 01->audio equipment 04, and transmission path 4: audio equipment 05- >Audio equipment 04.
  • any target transmission path may be the first transmission path.
  • the first transmission path may be the transmission path 1 or the transmission path 4 shown in FIG. 6.
  • the signal transmission process will be described below by taking the audio device on the first transmission path transmitting the audio signal to the target audio device as an example.
  • FIG. 7 shows a method flowchart of a signal transmission method provided by an embodiment of the present application, and the signal transmission method can be applied to the implementation environment shown in FIG. 1.
  • the method may include the following steps:
  • Step 701 The previous hop device of the first audio device sends an audio signal to the first audio device.
  • the first audio device and the previous hop device of the first audio device may be any two adjacent audio devices on the first transmission path, and according to the direction of the first transmission path, the first audio device The previous hop device is located before the first audio device. It is easy to understand that the previous hop device of the first audio device may also have a previous hop device, and the previous hop device of the previous hop device of the first audio device may be located on the previous hop device of the first audio device Before. In the embodiments of the present application, for ease of description, the previous hop device of the first audio device may be called the second audio device, and the previous hop device of the first audio device may be called the third audio device.
  • the second audio device and the previous hop device of the first audio device described in the embodiments of this application refer to the same audio device
  • the third audio device and the previous hop device of the first audio device refers to the same audio device.
  • the third audio device, the second audio device, and the first audio device are arranged in the direction of the first transmission path.
  • the audio signal sent by the previous hop device of the first audio device to the first audio device may be an audio signal collected by a single audio device, or a mixed signal of audio signals collected by at least two audio devices.
  • the audio signal sent by the previous hop device of the first audio device to the first audio device may be the audio signal collected by the previous hop device of the first audio device, or the previous hop device of the first audio device.
  • the audio signal collected by the hop device is processed, or the audio signal sent by the previous hop device of the first audio device to the first audio device may be the audio signal collected by the previous hop device of the first audio device and the audio signal A mixed signal of the audio signal collected by the previous hop device of the first audio device, and even the audio signal sent by the previous hop device of the first audio device to the first audio device may be the first transmission A mixed signal of audio signals collected by n audio devices located before the first audio device on the path, where n is an integer greater than or equal to 3, which is not limited in the embodiment of the present application.
  • FIG. 8 to FIG. 10 show three schematic diagrams of transmitting audio signals through the first transmission path provided by the embodiments of the present application
  • FIG. 8 to FIG. 10 provide two first transmission paths.
  • the audio equipment at the starting point of the first transmission path is audio equipment 02
  • the audio equipment at the destination point is 04.
  • the direction of the first transmission path can be from audio equipment 02 to audio equipment 04.
  • the first audio device can be audio device 01
  • the last hop device of the first audio device can be audio device 02
  • the audio device 02 is the audio device at the starting point of the first transmission path, so the audio device 02 has no
  • the audio signal sent by the audio device 02 to the audio device 01 may be the audio signal collected by the audio device 02 or obtained by processing the audio signal collected by the audio device 02.
  • the audio device at the starting point of the first transmission path is audio device 03
  • the audio device at the destination point is 04.
  • the direction of the first transmission path can be from audio device 03 to audio device 04.
  • An audio device can be audio device 01, the previous hop device of the first audio device can be audio device 02, the previous hop device of the first audio device can be audio device 03, and audio device 03 is The audio device at the starting point of the first transmission path, so the audio device 03 has no previous hop device, and the audio signal sent by the audio device 02 to the audio device 01 can be the audio signal collected by the audio device 02 and the audio device 03. The mixed signal of the audio signal.
  • this step 701 may include three possible implementation manners:
  • the audio signal sent by the previous hop device of the first audio device to the first audio device is an audio signal collected by the previous hop device of the first audio device.
  • the previous hop device of the first audio device may have an audio collection component, and the previous hop device of the first audio device can collect audio signals through the audio collection component, and send the audio signal to the first audio device .
  • the audio signal collected by the previous hop device of the first audio device may be a digital signal.
  • the audio signal collected by the previous hop device of the first audio device may be a digitized audio sequence containing data of N sampling points.
  • each sampling point data may be represented by a fixed bit, and the fixed bit may be, for example, 16 bits.
  • the first audio device may be audio device 01
  • the previous hop device of the first audio device may be audio device 02
  • the audio device 02 can send the audio signal g2(n) to the audio device 01.
  • the second implementation manner the audio signal sent by the previous hop device of the first audio device to the first audio device is obtained by processing the audio signal collected by the previous hop device of the first audio device.
  • the previous hop device of the first audio device may collect the audio signal, then process the collected audio signal, and send the audio signal to the first audio device after the processing.
  • each audio device in the audio processing network may have an audio processing function, and the previous hop device of the first audio device may adopt the audio processing function of the previous hop device of the first audio device to the first audio
  • the audio signal collected by the last hop of the device is processed.
  • the previous hop device of the first audio device uses the audio processing function of the previous hop device of the first audio device to convolve the audio signal collected by the previous hop device of the first audio device.
  • the first audio device may be audio device 01
  • the previous hop device of the first audio device may be audio device 02
  • the audio signal collected by audio device 02 may be g2(n)
  • the audio processing function of audio device 02 can be h2(n)
  • audio device 02 can send audio signal y2(n) to audio device 01
  • y2(n) g2(n)*h2(n)
  • the symbol "*" means Convolution
  • the audio signal y2(n) is obtained by convolving the audio signal g2(n) collected by the audio device 02 according to the audio processing function h2(n) of the audio device 02.
  • the audio signal sent by the previous hop device of the first audio device to the first audio device is a mixed signal of audio signals collected by at least two audio devices.
  • the previous hop device of the first audio device may obtain audio signals collected by at least two audio devices, mix the audio signals collected by the at least two audio devices to obtain a mixed signal, and send the mixed signal to the first audio device The mixed signal.
  • each audio device in the audio processing network may have an audio processing function, and for each audio device of the at least two audio devices, the previous hop device of the first audio device may adopt the audio of the audio device The processing function processes the audio signal collected by the audio device to obtain a processed signal of the audio device, and superimposes the processed signals of the at least two audio devices to obtain a mixed signal.
  • the previous hop device of the first audio device may use the audio processing function of the audio device to convolve the audio signal collected by the audio device to obtain the The processing signal of the audio device.
  • the at least two audio devices may include the previous hop device (that is, the second audio device) of the first audio device and the previous hop device ( That is the third audio device).
  • the at least two audio devices are the previous hop device of the first audio device (that is, the second audio device) and the previous hop device of the previous hop device of the first audio device (that is, the third audio device).
  • Equipment as an example.
  • the second audio device can collect audio signals, and the second audio device can receive audio signals sent by the third audio device.
  • the second audio device can use the audio processing function of the second audio device to collect audio from the second audio device.
  • the signal is convolved to obtain the processed signal of the second audio device, and the audio processing function of the third audio device is used to convolve the audio signal collected by the third audio device to obtain the processed signal of the third audio device.
  • the second audio device superimposes the processed signal of the second audio device and the processed signal of the third audio device to obtain a mixed signal.
  • the first audio device is audio device 01
  • the previous hop device that is, the second audio device
  • the previous hop device of the first audio device is audio device 02
  • the previous hop device of the first audio device is audio device 02.
  • the last hop device of the hop device is audio device 03
  • the audio signal collected by audio device 02 can be g2(n)
  • the audio processing function of audio device 02 can be h2(n)
  • audio The processing signal of device 02 can be g2(n)*h2(n)
  • the audio signal collected by audio device 03 can be g3(n)
  • the audio processing function of audio device 03 can be h3(n)
  • the processing of audio device 03 The signal can be g3(n)*h3(n)
  • the audio signal g3(n) collected by the audio device 03 may be a digital signal, and the audio signal g3(n) may Contains N sampling point data, and each sampling point data can be represented by a fixed bit.
  • the audio signal g3(n) can be sent from the audio device 03 to the audio device 02 (that is, the previous hop device of the first audio device).
  • the process of sending the audio signal from the audio device 03 to the audio device 02 can refer to the step 701.
  • the first implementation manner and the second implementation manner are not described in detail in the embodiments of the present application.
  • the audio device 03 refers to the second implementation of step 701 to send an audio signal to the audio device 02, as shown in FIG.
  • the audio signal y3(n) obtained by processing the audio device 02 can first restore the audio signal g3(n) from the audio signal y3(n).
  • the embodiments of the present application describe the audio signal restoration process in detail below, and will not be repeated here.
  • source information can be added to the audio signal sent to the first audio device
  • the source information may be the device identifier of the audio device, indicating that the audio signal originates from the audio device indicated by the device identifier.
  • the source information added by the previous hop device of the first audio device to the audio signal sent to the first audio device includes at least the device identifier of the previous hop device of the first audio device, indicating the first audio device
  • the audio signal sent by the previous hop device of the device includes the audio signal collected by the previous hop device of the first audio device.
  • the source information added by the previous hop device of the first audio device to the audio signal sent to the first audio device may also include the previous hop device of the previous hop device of the first audio device (also That is, the device identifier of the third audio device), indicating that the audio signal sent by the previous hop device of the first audio device includes the audio signal collected by the previous hop device of the first audio device.
  • the source information added by the previous hop device of the first audio device to the audio signal sent to the first audio device includes the device identifier of the previous hop device of the first audio device and the device identification of the first audio device.
  • the device identifier of the previous hop device of the previous hop device indicating that the audio signal sent by the previous hop device of the first audio device is the audio signal collected by the previous hop device of the first audio device and the audio signal of the first audio device The mixed signal of the audio signal collected by the previous hop device.
  • Step 702 The first audio device receives the audio signal sent by the previous hop device of the first audio device.
  • the previous hop device corresponding to the first audio device (that is, the second audio device) sends an audio signal to the first audio device, and the first audio device can receive the audio sent by the previous hop device of the first audio device Signal.
  • the audio device 01 receives the audio signal g2(n) sent by the audio device 02, or, as shown in FIGS. 9 and 10, the audio device 01 receives the audio signal y2(n) sent by the audio device 02. ).
  • Step 703 The first audio device obtains the audio signal collected by the first audio device.
  • the first audio device may have an audio collection component, and the first audio device can collect audio signals through the audio collection component.
  • the audio signal collected by the first audio device may be a digital signal, and the audio signal collected by the first audio device may include N sampling point data, and each sampling point data may be represented by a fixed bit, and the fixed bit may be, for example, 16 bits. .
  • the first audio device may be audio device 01
  • Step 704 The first audio device mixes the audio signal collected by the first audio device and the audio signal sent by the previous hop device of the first audio device to obtain a mixed audio signal.
  • the audio signal sent by the previous hop device of the first audio device (that is, the second audio device) to the first audio device can be an audio signal collected by a single audio device, or at least two audio signals.
  • the first audio device may superimpose the audio signal collected by the first audio device and the audio signal sent to the first audio device by the previous hop device of the first audio device to obtain a mixed audio signal.
  • the audio signal collected by each audio device can be recovered from the audio signal sent by the previous hop device of the first audio device to the first audio device, and then the recovered audio device can collect the audio signal with the first audio device.
  • the audio signal is mixed to obtain a mixed audio signal.
  • this step 704 may include the following four possible implementation modes:
  • the audio signal sent by the last hop device of the first audio device is a mixed signal of the audio signals collected by at least two audio devices (for example, the audio signal sent by the last hop device of the first audio device is the first audio signal).
  • a mixed signal of the audio signal collected by the previous hop device of an audio device and the audio signal collected by the previous hop device of the first audio device), or sent by the previous hop device of the first audio device The audio signal is obtained by processing the audio signal collected by the previous hop device of the first audio device.
  • FIG. 11 shows a flow chart of a method for mixing an audio signal collected by a first audio device with an audio signal sent by the previous hop device of the first audio device according to an embodiment of the present application, see Figure 11, the method can include the following steps:
  • Sub-step 7041A Use the audio processing function of the first audio device to process the audio signal collected by the first audio device to obtain the processed signal of the first audio device.
  • the first audio device may use the audio processing function of the first audio device to convolve the audio signal collected by the first audio device to obtain the processed signal of the first audio device.
  • the audio signal collected by the first audio device may be g1(n), and the audio processing function of the first audio device may be h1(n), so the processed signal of the first audio device may be g1(n)* h1(n), the symbol "*" means convolution.
  • Sub-step 7042A superimpose the processed signal of the first audio device and the audio signal sent by the previous hop device of the first audio device to obtain a mixed audio signal.
  • the first audio device does not need to recover the original audio signal collected by each audio device from the audio signal sent by the previous hop device of the first audio device. Helps simplify the signal mixing process and reduce the amount of calculation in the signal mixing process.
  • the audio signal sent by the previous hop device of the first audio device is a mixed signal of audio signals collected by at least two audio devices.
  • FIG. 12 shows a flowchart of another method for mixing an audio signal collected by a first audio device with an audio signal sent by the previous hop device of the first audio device according to an embodiment of the present application.
  • the method may include the following steps:
  • Sub-step 7041B recover the audio signals collected by at least two audio devices from the audio signals sent by the last hop device of the first audio device.
  • the audio signal sent by the previous hop device of the first audio device can carry source information
  • the first audio device can be based on the audio signal sent by the previous hop device of the first audio device.
  • the source information carried by the signal determines that the audio signal sent by the last hop device of the first audio device is a mixed signal of the audio signals collected by at least two audio devices, and then the first audio signal can be obtained from the first audio device according to the audio processing functions of the at least two audio devices.
  • the audio signals collected by the at least two audio devices are recovered from the audio signals sent by the last hop device of an audio device.
  • the first audio device may respectively use the audio processing functions of the at least two audio devices to convolve the audio signal sent by the previous hop device of the first audio device to
  • the audio signal sent by the jumping device is separated into at least two signal parts corresponding to the at least two audio devices one-to-one, and then the audio signal collected by the audio device is recovered from the signal part corresponding to each audio device.
  • the first audio device separating the audio signal sent by the last hop device of the first audio device into at least two parts corresponding to the at least two audio devices one-to-one may include: For each audio device, the first audio device uses the audio processing function of the audio device to convolve the audio signal sent by the previous hop device of the first audio device to obtain the convolution signal corresponding to the audio device, and the audio device The corresponding convolution signal is also the signal part corresponding to the audio device separated from the audio signal sent by the previous hop device of the first audio device.
  • the first audio device recovering the audio signal collected by the audio device from the signal portion corresponding to each audio device may include: the first audio device converts the convolution signal corresponding to the audio device to the frequency domain for processing to obtain the audio device After the corresponding audio signal in the frequency domain is converted into the time domain, the audio signal collected by the audio device can be obtained.
  • the first audio device may use fast Fourier transform (FFT) or discrete cosine transform (DCT) to convert the convolution signal to the frequency domain, and use FFT inverse transform or DCT inverse transform Convert the audio signal in the frequency domain to the time domain.
  • FFT fast Fourier transform
  • DCT discrete cosine transform
  • the audio signal sent by the previous hop device of the first audio device to the first audio device may be a mixed signal of audio signals collected by at least two audio devices, and the at least two audio devices may include the The previous hop device of the first audio device (that is, the second audio device) and the previous hop device of the previous hop device of the first audio device (that is, the third audio device).
  • the at least two audio devices are the previous hop device of the first audio device (that is, the second audio device) and the previous hop device of the previous hop device of the first audio device (that is, the third audio device).
  • Equipment as an example.
  • the source information carried by the audio signal sent by the second audio device to the first audio device may include the device identification of the second audio device and the device identification of the third audio device, and the first audio device may be based on the device identification of the second audio device.
  • the identifier and the device identifier of the third audio device determine that the audio signal sent by the second audio device is a mixed signal of the audio signal collected by the second audio device and the audio signal collected by the third audio device.
  • the first audio device uses the audio processing function of the second audio device to convolve the audio signal sent by the second audio device to obtain the convolution signal corresponding to the second audio device, and uses the audio processing function of the third audio device Perform convolution on the audio signal sent by the third audio device to obtain a convolution signal corresponding to the third audio device.
  • the first audio device converts the convolution signal corresponding to the second audio device to the frequency domain for processing, obtains the audio signal corresponding to the second audio device in the frequency domain, and converts the convolution signal corresponding to the third audio device to the frequency domain. Processing in the frequency domain to obtain the audio signal corresponding to the third audio device in the frequency domain. After that, the first audio device converts the audio signal corresponding to the second audio device in the frequency domain to the time domain to obtain the audio signal collected by the second audio device. The audio signal is converted to the time domain corresponding to the audio signal of the third audio device in the frequency domain to obtain the audio signal collected by the third audio device.
  • the first audio device is audio device 01
  • the previous hop device that is, the second audio device
  • the previous hop device of the first audio device is audio device 02
  • the previous hop device of the first audio device is audio device 02.
  • the last hop device of the hop device (that is, the third audio device) is audio device 03
  • the audio signal y2(n) sent by audio device 02 to audio device 01 includes audio signal g2(n) and audio collected by audio device 02
  • the audio signal g3(n) collected by device 03, the audio processing function of audio device 02 can be h2(n), the audio processing function of audio device 03 can be h3(n), the audio signal sent by audio device 01 from audio device 02
  • the process of recovering the audio signal g2(n) collected by audio device 02 and the audio signal g3(n) collected by audio device 03 from y2(n) can be as follows:
  • the audio device 01 uses the audio processing function h2(n) of the audio device 02 and the audio processing function h3(n) of the audio device 03 to convolve the audio signal y2(n) sent by the audio device 02 to obtain the
  • the audio signal y2(n) sent by the audio device 02 separates the signal part of the audio device 02 and the signal part of the audio device 03.
  • the process of convolution is as follows:
  • the audio processing functions of different audio devices are uncorrelated, and the result of uncorrelated signal convolution is approximately 0. Therefore, in the above equations (1) and (2), g3(n)*h3(n )*h2(n) is approximately 0, g2(n)*h2(n)*h3(n) is approximately 0, so the above equations (1) and (2) can be approximately simplified to the following equations (3) and ( 4):
  • g2(n)*h2(n)*h2(n) is the signal part of audio device 02 (that is, the convolution signal corresponding to audio device 02), g3(n)*h3(n)*h3(n ) Is the signal part of the audio device 03 (that is, the convolution signal corresponding to the audio device 03).
  • Audio device 01 recovers the audio signal g2(n) collected by audio device 02 from the signal part of audio device 02 (that is, the convolution signal corresponding to audio device 02), from the signal part of audio device 03 (also That is, the audio signal g3(n) collected by the audio device 03 is recovered from the convolution signal corresponding to the audio device 03.
  • the recovery process is as follows:
  • Equation (5) and (6) are used to convert the convolution signal corresponding to audio device 02 and the convolution signal corresponding to audio device 03 to the frequency domain, respectively, to obtain the convolution signal and audio corresponding to audio device 02 in the frequency domain.
  • Y2(W) represents the frequency domain signal of the audio signal y2(n) (that is, the signal corresponding to the audio signal y2(n) in the frequency domain)
  • G2(w) represents the frequency domain signal of the audio signal g2(n) (also That is, the audio signal g2(n) corresponds to the signal in the frequency domain)
  • H2(w) represents the frequency domain function of the audio processing function h2(n) (that is, the audio processing function h2(n) corresponds to the function in the frequency domain)
  • G2(w)*H2(w)*H2(w) represents the frequency domain signal of the convolution signal g2(n)*h2(n)*h2(n), which is the corresponding volume of the audio device 02 in the frequency domain
  • G3(W) represents the frequency domain signal of the audio signal g3(n) (that is, the signal corresponding to the audio signal g3(n) in the frequency domain)
  • H3(W) represents the frequency
  • the following formula (9) is used to convert the corresponding audio signal G2(w) of the audio device 02 in the frequency domain to the time domain to obtain the audio signal g2(n) collected by the audio device 02
  • the following formula (10) is used to convert the audio device 03
  • the corresponding audio signal G3(w) in the frequency domain is converted to the time domain to obtain the audio signal g3(n) collected by the audio device 03.
  • Sub-step 7042B For each audio device of the first audio device and the at least two audio devices, use the audio processing function of the audio device to process the audio signal collected by the audio device to obtain the processed signal of the audio device.
  • the at least two audio devices are the previous hop device (that is, the second audio device) of the first audio device and the previous hop device (that is, the second audio device) of the first audio device
  • the third audio device is taken as an example.
  • the first audio device may use the audio processing function of the first audio device to convolve the audio signal collected by the first audio device to obtain the processing signal of the first audio device, and use the audio processing function of the second audio device to The audio signal collected by the second audio device is convolved to obtain the processed signal of the second audio device, and the audio processing function of the third audio device is used to convolve the audio signal collected by the third audio device to obtain the first audio signal.
  • Three audio equipment processing signals are used to use the audio processing function of the first audio device to convolve the audio signal collected by the first audio device to obtain the processing signal of the first audio device.
  • the first audio device is audio device 01
  • the previous hop device that is, the second audio device
  • the previous hop device of the first audio device is audio device 02
  • the previous hop device of the first audio device is audio device 02.
  • the last hop device of the hop device (that is, the third audio device) is the audio device 03.
  • the audio signal collected by the audio device 01 may be g1(n)
  • the audio processing function of the audio device 01 may be h1(n)
  • the processing signal of the audio device 01 may be g1(n)*h1(n).
  • the audio signal collected by the audio device 02 may be g2(n), the audio processing function of the audio device 02 may be h2(n), and the processing signal of the audio device 02 may be g2(n)*h2(n).
  • the audio signal collected by the audio device 03 may be g3(n), the audio processing function of the audio device 02 may be h3(n), and the audio processing signal of the audio device 03 may be g3(n)*h3(n).
  • the symbol "*" means convolution.
  • Sub-step 7043B superimpose the processed signal of the first audio device and the processed signal of the at least two audio devices to obtain a mixed audio signal.
  • the audio signal sent by the previous hop device of the first audio device is the audio signal collected by the previous hop device of the first audio device.
  • FIG. 13 shows a flowchart of still another method for mixing audio signals collected by a first audio device with audio signals sent by a previous hop device of the first audio device according to an embodiment of the present application.
  • the method may include the following steps:
  • Sub-step 7041C For each audio device in the first audio device and the previous hop device of the first audio device, use the audio processing function of the audio device to process the audio signal collected by the audio device to obtain the audio device Processing signal.
  • the audio signal sent by the previous hop device of the first audio device (that is, the second audio device) to the first audio device can carry source information, and the first audio device can be based on the previous hop of the first audio device.
  • the source information carried in the audio signal sent by the one-hop device determines that the audio signal sent by the previous hop device of the first audio device is the audio signal collected by the previous hop device of the first audio device.
  • the source information carried in the audio signal sent by the previous hop device of the first audio device to the first audio device includes the device identifier of the previous hop device of the first audio device, and the first audio device is based on the first audio device.
  • the device identifier of the previous hop device of the audio device determines that the audio signal sent by the previous hop device of the first audio device is the audio signal collected by the previous hop device of the first audio device.
  • the first audio device may use the audio processing function of the first audio device to convolve the audio signal collected by the first audio device to obtain the processed signal of the first audio device.
  • the audio processing function of the previous hop device convolves the audio signal collected by the previous hop device of the first audio device to obtain the processed signal of the previous hop device of the first audio device.
  • the first audio device is audio device 01
  • the previous hop device that is, the second audio device
  • the first audio device is audio device 01
  • the previous hop device that is, the second audio device
  • the audio signal collected by the audio device 01 may be g1(n)
  • the audio processing function of the audio device 01 may be h1(n)
  • the processing signal of the audio device 01 may be g1(n)*h1(n).
  • the audio signal collected by the audio device 02 may be g2(n)
  • the audio processing function of the audio device 02 may be h2(n)
  • the processing signal of the audio device 02 may be g2(n)*h2(n).
  • the symbol "*" means convolution.
  • Sub-step 7042C superimpose the processed signal of the first audio device and the processed signal of the previous hop device of the first audio device to obtain a mixed audio signal.
  • a fourth implementation manner the audio signal sent by the previous hop device of the first audio device is obtained by processing the audio signal collected by the previous hop device of the first audio device.
  • FIG. 14 shows a flow chart of another method for mixing an audio signal collected by a first audio device with an audio signal sent by a previous hop device of the first audio device according to an embodiment of the present application.
  • the method may include the following steps:
  • Sub-step 7041D recover the audio signal collected by the previous hop device of the first audio device from the audio signal sent by the previous hop device of the first audio device.
  • the audio signal sent by the previous hop device of the first audio device (that is, the second audio device) to the first audio device can carry source information, and the first audio device can be based on the previous hop of the first audio device.
  • the source information carried by the audio signal sent by the one-hop device determines that the audio signal sent by the previous-hop device of the first audio device is obtained by processing the audio signal collected by the previous-hop device of the first audio device.
  • the source information carried in the audio signal sent by the previous hop device of the first audio device to the first audio device includes the device identifier of the previous hop device of the first audio device, and the first audio device is based on the first audio device.
  • the device identifier of the previous hop device of the audio device determines that the audio signal sent by the previous hop device of the first audio device is obtained by processing the audio signal collected by the previous hop device of the first audio device.
  • the first audio device may restore the previous audio signal of the first audio device from the audio signal sent by the previous hop device of the first audio device according to the audio processing function of the previous hop device of the first audio device. Jump the audio signal collected by the device.
  • the first audio device may use the audio processing function of the previous hop device of the first audio device to convolve the audio signal sent by the previous hop device of the first audio device to obtain the upper hop of the first audio device.
  • the convolution signal corresponding to the one-hop device, and then the convolution signal corresponding to the previous hop device of the first audio device is converted to the frequency domain for processing, and the audio corresponding to the previous hop device of the first audio device in the frequency domain is obtained Then, the audio signal corresponding to the previous hop device of the first audio device in the frequency domain is converted to the time domain to obtain the audio signal collected by the previous hop device of the first audio device.
  • the first audio device is audio device 01
  • the previous hop device of the first audio device is audio device 02
  • audio device 02 sends audio device 01
  • the audio signal y2(n) is obtained by processing the audio signal g2(n) collected by the audio device 02
  • the audio processing function of the audio device 02 can be h2(n)
  • the audio device 01 sends the audio signal from the audio device 02
  • the process of recovering the audio signal g2(n) collected by audio device 02 from y2(n) can be as follows:
  • the audio device 01 uses the audio processing function h2(n) of the audio device 02 to convolve the audio signal y2(n) sent by the audio device 02 to obtain the convolution signal corresponding to the audio device 02.
  • the process of convolution is as follows:
  • g2(n)*h2(n)*h2(n) may be the convolution signal corresponding to the audio device 02.
  • the audio device 01 recovers the audio signal g2(n) collected by the audio device 02 from the convolution signal corresponding to the audio device 02. Among them, the recovery process is as follows:
  • the following equation (12) is used to convert the convolution signal corresponding to the audio device 02 to the frequency domain, and the convolution signal corresponding to the audio device 02 in the frequency domain is obtained.
  • Sub-step 7042D For each audio device in the first audio device and the previous hop device of the first audio device, use the audio processing function of the audio device to process the audio signal collected by the audio device to obtain the audio device Processing signal.
  • the first audio device may use the audio processing function of the first audio device to convolve the audio signal collected by the first audio device to obtain the processed signal of the first audio device.
  • the audio processing function of the previous hop device (that is, the second audio device) convolves the audio signal collected by the previous hop device of the first audio device to obtain the processed signal of the previous hop device of the first audio device .
  • the first audio device is audio device 01
  • the previous hop device that is, the second audio device
  • the audio signal collected by audio device 01 can be If it is g1(n), the audio processing function of the audio device 01 can be h1(n), and the processing signal of the audio device 01 can be g1(n)*h1(n).
  • the audio signal collected by the audio device 02 may be g2(n), the audio processing function of the audio device 02 may be h2(n), and the processing signal of the audio device 02 may be g2(n)*h2(n).
  • the symbol "*" means convolution.
  • Sub-step 7043D superimpose the processed signal of the first audio device and the processed signal of the previous hop device of the first audio device to obtain a mixed audio signal.
  • Step 705 The first audio device sends the mixed audio signal to the next hop device of the first audio device.
  • the mixed audio signal may be a mixed signal of audio signals collected by at least two audio devices.
  • the first audio device and the next hop device of the first audio device may be any two adjacent audio devices on the first transmission path, and according to the direction of the first transmission path, the next hop device of the first audio device The one-hop device is located after the first audio device.
  • the next hop device of the first audio device may be the target audio device or not the target audio device, the target audio device is the audio device at the destination point of the first transmission path, if the first audio device The next hop device of is the target audio device, and the first audio device is also the previous hop device of the target audio device.
  • source information may be added to the mixed audio signal to indicate the source of the mixed audio signal
  • the source information may be the device identifier of the audio device, indicating that the mixed audio signal originates from the audio device indicated by the device identifier.
  • the source information added by the first audio device to the mixed audio signal at least includes the device identifier of the first audio device, indicating that the mixed audio signal includes the audio signal collected by the first audio device.
  • the audio signal sent by the previous hop device of the first audio device that is, the second audio device
  • the source information of the audio signal sent by the previous hop device for example, the audio signal sent by the previous hop device of the first audio device to the first audio device already contains the device ID and the device ID of the previous hop device of the first audio device
  • the device identifier of the last hop device of the first audio device so the first audio device can add the device identifier of the first audio device to the mixed audio signal.
  • the first audio device can add the device identifier of the first audio device and the previous hop device of the first audio device (that is, the second audio device) to the mixed audio signal. ) And the device identification of the previous hop device (that is, the third audio device) of the previous hop device of the first audio device, indicating that the mixed audio signal is the audio signal collected by the first audio device, A mixed signal of the audio signal collected by the previous hop device of the audio device and the audio signal collected by the previous hop device of the first audio device.
  • the source information in the mixed audio signal y1(n) can include the device identification ID-01 of the audio device 01, the device identification ID-02 of the audio device 02 and the device identification ID-03 of the audio device 03, indicating
  • the mixed audio signal y1(n) is a mixed signal of the audio signal of the audio device 01, the audio signal of the audio device 02, and the audio signal of the audio device 03.
  • the first audio device may add the device identification of the first audio device and the previous hop device of the first audio device to the mixed audio signal ( That is, the device identifier of the second audio device), indicating that the mixed audio signal is a mixed signal of the audio signal collected by the first audio device and the audio signal collected by the previous hop device of the first audio device.
  • the source information in the mixed audio signal y1(n) may include the device identification ID-01 of the audio device 01 and the device identification ID-02 of the audio device 02, indicating that the mixed audio signal y1(n ) Is a mixed signal of the audio signal of audio device 01 and the audio signal of audio device 02.
  • Step 706 The next hop device of the first audio device receives the mixed audio signal sent by the first audio device.
  • the next hop device of the first audio device can receive the mixed audio signal sent by the first audio device .
  • the audio device 04 receives the mixed audio signal y1(n) sent by the audio device 01.
  • Step 707 The next hop device of the first audio device recovers the audio signals collected by at least two audio devices from the mixed audio signal.
  • the mixed audio signal is the audio signal collected by the first audio device from the first audio device and the previous hop device of the first audio device (that is, the second The audio device is obtained by mixing the audio signal sent by the audio signal sent by the first audio device, so the mixed audio signal is a mixed signal of audio signals collected by at least two audio devices.
  • the mixed audio signal may carry source information
  • the next hop device of the first audio device for example, the target audio device
  • the target audio device may determine that the mixed audio signal is the at least two audio devices according to the source information carried by the mixed audio signal
  • the collected audio signal is a mixed signal, and then the audio signal collected by the at least two audio devices is recovered from the mixed audio signal according to the audio processing functions of the at least two audio devices.
  • the mixed audio signal is the audio signal collected by the first audio device, the audio signal collected by the previous hop device of the first audio device (that is, the second audio device), and the previous audio signal of the first audio device.
  • the mixed signal of the audio signal collected by the previous hop device that is, the third audio device of the hop device as an example.
  • the next hop device of the first audio device may determine, according to the source information carried by the mixed audio signal, that the mixed audio signal is the audio signal collected by the first audio device and the audio signal collected by the second audio device And the mixed signal of the audio signal collected by the third audio device, and then from the mixed audio signal according to the audio processing function of the first audio device, the audio processing function of the second audio device, and the audio processing function of the third audio device.
  • the audio signal collected by the first audio device, the audio signal collected by the second audio device, and the audio signal collected by the third audio device are recovered.
  • the mixed audio signal is the audio signal collected by the first audio device and the audio signal collected by the previous hop device of the first audio device (that is, the second audio device).
  • the next hop device of the first audio device may determine, according to the source information carried by the mixed audio signal, that the mixed audio signal is the audio signal collected by the first audio device and the previous hop device of the first audio device.
  • the mixed signal of the collected audio signal, and then the audio collected by the first audio device is recovered from the mixed audio signal according to the audio processing function of the first audio device and the audio processing function of the previous hop device of the first audio device Signal and the audio signal collected by the previous hop device of the first audio device.
  • the next hop device of the first audio device recovers the audio signals collected by at least two audio devices from the mixed audio signal, which can refer to the foregoing sub-steps.
  • the implementation process of 7041B will not be repeated in this embodiment of the application.
  • the target audio device may be an application audio device in an audio processing network. After the target audio device recovers the audio signals collected by at least two audio devices from the mixed audio signal, the at least two audio devices may be used The collected audio signal. For example, the target audio device implements 3D sound playback or spatial voice enhancement based on the audio signals collected by the at least two audio devices.
  • the audio signal recovered by the target audio device may have redundant signals.
  • the target audio device may de-redundant the recovered audio signal before applying it. For example, if the audio signal recovered by the target audio device contains multiple audio signals of a certain audio device, then the audio signal of the certain audio device in the audio signal recovered by the target audio device has redundant signals, and the target audio device may De-redundancy of the audio signal of a certain audio device.
  • the target audio device may select one piece of audio signal from the multiple audio signals of the certain audio device as the audio signal of the certain audio device, and discard other audio signals in the multiple audio signals, so as to Multiple audio signals are de-redundant.
  • the target audio device may average multiple audio signals of the certain audio device, and use the averaged audio signal as the audio signal of the certain audio device to de-redundate the multiple audio signals.
  • This application implements The example does not limit this.
  • the target audio device may be the audio device 04, and the audio signal recovered by the audio device 04 includes two audio signals x1(n), and the audio device 04 can obtain the audio signal from the two audio signals x1.
  • the audio signal recovered by the audio device 04 includes three audio signals x2(n), and the audio device 04 may use the audio signal obtained by averaging the three audio signals x2(n) as the audio signal of the audio device 02.
  • the audio signal of each audio device recovered by the target audio device is an approximate signal of the audio signal collected by each audio device, and multiple audio signals of a certain audio device recovered by the target audio device may come from different sources.
  • the target audio device can select the audio signal recovered from the mixed audio signal with the least source as the audio signal of the certain audio device from the multiple audio signals, so as to reduce the selected audio signal and the certain audio signal. The difference in the audio signal collected by the audio device.
  • each audio device in the audio processing network has an audio processing function, and each audio device in the audio processing network can learn the audio processing functions of other audio devices to implement audio Signal mixing and recovery process.
  • the audio processing function of each audio device in the audio processing network is generated by the audio device and sent to other audio devices in the audio processing network; or, the audio processing function of each audio device in the audio processing network is The function is generated by the function processing device and sent to each audio device in the audio processing network.
  • each audio device can generate its own audio processing function and broadcast its own audio processing function to other audio devices in the audio processing network, or each audio device is connected to the audio processing network.
  • the post-audio processing network function processing device generates an audio processing function for the audio device, and broadcasts the audio processing function to the audio device in the audio processing network.
  • the function processing device may be any device in the audio processing network.
  • the function processing device may be the audio device at the starting point of the first transmission path, or the audio device at the destination point of the first transmission path. , Or the management device of the audio processing network, which is not limited in the embodiment of the present application.
  • the first audio device needs to obtain at least the audio processing function of the first audio device, and the first audio device may also obtain the previous jump of the first audio device.
  • the audio processing function of the device that is, the second audio device
  • the audio processing function of the previous hop device of the first audio device that is, the third audio device.
  • the next hop device of the first audio device (for example, the target audio device) needs to obtain the audio processing functions of the corresponding at least two audio devices, for example, the next hop device of the first audio device needs Acquire the audio processing function of the first audio device, the audio processing function of the second audio device, and the audio processing function of the third audio device.
  • acquiring the audio processing function of the first audio device by the first audio device may include: the first audio device generates the audio processing function of the first audio device; or, the first audio device receives the first audio processing function sent by the function processing device.
  • Obtaining the audio processing functions of the at least two audio devices by the next hop device of the first audio device may include: receiving the audio processing functions of the at least two audio devices by the next hop device of the first audio device For example, the next hop device of the first audio device receives the audio processing function of the first audio device sent by the first audio device, receives the audio processing function of the second audio device sent by the second audio device, and receives the audio processing function of the second audio device sent by the second audio device.
  • the processing function and the audio processing function of the third audio device are not limited in the embodiment of the present application.
  • the embodiment of the present application uses the first audio device to generate the audio processing function of the first audio device as an example to describe the generation process of the audio processing function.
  • generating the audio processing function of the first audio device by the first audio device may include: the first audio device generates a plurality of random numbers by using a random number generation function, and generates the output of the first audio device according to the plurality of random numbers.
  • Audio processing function can be, for example, the rand() function in the c language, and the rand() function can generate random numbers in the range of [0,32767].
  • the audio processing function of the first audio device may be a multi-dimensional random sequence composed of the multiple random numbers. For example, the audio processing function is a 20-dimensional random sequence.
  • the first audio device generating multiple random numbers using a random number generation function may include: the first audio device generating multiple random numbers using a rand() function.
  • the first audio device generating the audio processing function of the first audio device according to the multiple random numbers may include: the first audio device composes the multiple random numbers into a random sequence, and the random sequence is the audio of the first audio device Processing function.
  • the embodiment of the present application takes the first audio device to generate the audio processing function of the first audio device as an example to describe the generation process of the audio processing function, the process of any audio device generating its own audio processing function, and the function
  • the process of generating the audio processing function of each audio device by the processing device may refer to the process of generating the audio processing function of the first audio device by the first audio device, which will not be repeated in the embodiment of the present application.
  • the embodiments of the present application generate audio processing functions in a randomized manner, which can ensure that the audio processing functions of various audio devices are as uncorrelated as possible, which facilitates the mixing and restoration of audio signals.
  • the target audio device can determine from the audio processing network that the destination point is at least one target transmission path of the target audio device, and the audio device on each target transmission path can The audio signal is transmitted based on the signal transmission process provided by the embodiment shown in FIG. 7. It is easy to understand with reference to the embodiment shown in FIG. 7 that, on each target transmission path, each audio device except the audio device at the starting point and the audio device at the destination point can collect the audio signal collected by itself and the audio signal received.
  • the audio signal is helpful to reduce the transmission bandwidth of the audio signal compared to the solution of each audio device sending the audio signal to the target audio device separately.
  • the following describes the principle of reducing the transmission bandwidth of audio signals by the signal transmission method provided in the embodiments of the present application in conjunction with FIG. 1 and FIG. 10.
  • each of the audio signal x1(n), audio signal x2(n), and audio signal x3(n) when transmitted separately, occupies a network bandwidth of 16 ⁇ N bits, and the symbol " ⁇ " means multiplication sign.
  • audio device 01, audio device 02, and audio device 03 each send its own audio signal to audio device 04, audio device 01, audio device 02, and audio device 03 transmit audio signals to audio device 04.
  • the network bandwidth of is 16 ⁇ N ⁇ 3 bits, and the symbol " ⁇ " represents the multiplication sign.
  • the audio device 01 transmits the audio signal x1(n) to the audio device 02, and the audio device 02 mixes the audio signal x1(n) with the audio signal x2(n) and transmits it to the audio device 03, the audio device 03
  • the audio signal x1(n), audio signal x2(n) and audio signal x3(n) are mixed and transmitted to the audio device 04, then the mixed audio signal y1(n) received by the audio device 04 contains 3 ⁇ N samples
  • the mixed data of the 3 ⁇ N sampling points are: 3 sample points 0 mixed data y1(0), 3 sample points 1 mixed data y1(1), 3 sample points 2 Mixed data y1(2)...mixed data y1(N-1) of 3 sampling points N-1, the symbol " ⁇ " represents the multiplication sign. in:
  • y1(1) x1(1)*h1(1)+x2(1)*h2(1)+x3(1)*h3(1);
  • y1(2) x1(2)*h1(2)+x2(2)*h2(2)+x3(2)*h3(2);
  • y1(N-1) x1(N-1)*h1(N-1)+x2(N-1)*h2(N-1)+x3(N-1)*h3(N-1);
  • the symbol “*” means convolution, and the symbol “+” means superimposition.
  • y1(0) as an example, x1(0)*h1(0), x2(0)*h2(0), x3(0)*h3(0) are 16 bits respectively, and y1(0) is 3 16 bits The bit sampling point data is obtained through mathematical operations, and y1(0) is still 16 bits.
  • y1(1), y1(2)...y1(N-1) are all 16 bits, including y1(0), y1(1), y1(2)...y1(N-1)
  • the network bandwidth occupied by y1(n) during transmission is 16 ⁇ N bits, and the symbol “ ⁇ ” represents the multiplication sign.
  • the network bandwidth occupied by the transmission of the mixed audio signal y1(1) is equal to the network bandwidth of the audio signal collected by a single audio device (for example, audio signal x1(n), audio signal x2(n) or audio signal x3(n)). Therefore, compared to the solution in which the audio device 01, the audio device 02, and the audio device 03 each send its own audio signal to the audio device 04, the embodiment of the present application mixes the audio signals and transmits it, ensuring that the audio device 01 and the audio device 02 And the effective transmission of the audio signal collected by the audio device 03, and can reduce the transmission bandwidth of the audio signal.
  • the first audio device collects the audio signal
  • the first audio device is collected
  • the audio signal of is mixed with the audio signal sent by the previous hop device of the first audio device to obtain a mixed audio signal
  • the mixed audio signal is sent to the next hop device of the first audio device. Since the audio device can mix the collected audio signal and the received audio signal and send it to the next hop device, until the audio signal collected by each audio device is sent to the target audio device, it is compared with each audio device separately to the target audio device.
  • the scheme of sending audio signals by audio equipment helps to reduce the transmission bandwidth of audio signals.
  • FIG. 15 shows a schematic diagram of the logical structure of a signal transmission device 1500 provided by an embodiment of the present application.
  • the signal transmission device 1500 may be any audio device or the audio device in the implementation environment shown in FIG. Functional components in.
  • the signal transmission device 1500 may include but is not limited to:
  • the obtaining module 1510 is used to obtain the audio signal collected by the first audio device
  • the processing module 1520 is configured to, when the audio signal sent by the previous hop device of the first audio device is received, mix the audio signal collected by the first audio device and the audio signal sent by the previous hop device to obtain a mixed audio signal ;
  • the sending module 1530 is configured to send the mixed audio signal to the next hop device of the first audio device
  • the first audio device, the previous hop device, and the next hop device are adjacent audio devices on the first transmission path in the audio processing network.
  • processing module 1520 is configured to:
  • the audio signal sent by the last hop device is a mixed signal of audio signals collected by at least two audio devices; the processing module 1520 is configured to:
  • the processing signal of the first audio device and the processing signal of the at least two audio devices are superimposed to obtain a mixed audio signal.
  • processing module 1520 is configured to:
  • the audio signal sent by the last hop device Determining, according to the source information carried in the audio signal sent by the last hop device, that the audio signal sent by the last hop device is a mixed signal of the audio signals collected by the at least two audio devices;
  • the audio signals collected by the at least two audio devices are recovered from the audio signals sent by the last hop device according to the audio processing functions of the at least two audio devices.
  • the audio signal sent by the last hop device is an audio signal collected by the last hop device
  • the processing module 1520 is used for:
  • the processing signal of the first audio device and the processing signal of the previous hop device are superimposed to obtain a mixed audio signal.
  • the audio signal sent by the last hop device is obtained by processing the audio signal collected by the last hop device; the processing module 1520 is configured to:
  • the processing signal of the first audio device and the processing signal of the previous hop device are superimposed to obtain a mixed audio signal.
  • the audio processing function of each audio device in the audio processing network is generated by the audio device and sent to other audio devices in the audio processing network; or,
  • the audio processing function of each audio device in the audio processing network is generated by the function processing device in the audio processing network and sent to each audio device in the audio processing network.
  • the signal transmission device 1500 further includes:
  • the generating module 1540 is used to generate the audio processing function of the first audio device; or,
  • the receiving module 1550 is configured to receive the audio processing function of the first audio device sent by the function processing device.
  • the generating module 1540 is used to:
  • the audio processing function of the first audio device is generated according to the plurality of random numbers.
  • the processing module has the audio signal collected by the first audio device and the previous jump of the first audio device.
  • the audio signal sent by the device is mixed to obtain a mixed audio signal, and the sending module sends the mixed audio signal to the next hop device of the first audio device. Since the audio device can mix the collected audio signal and the received audio signal and send it to the next hop device, until the audio signal collected by each audio device is sent to the target audio device, it is compared with each audio device separately to the target audio device.
  • the scheme of sending audio signals by audio equipment helps to reduce the transmission bandwidth of audio signals.
  • FIG. 16 shows a schematic diagram of the logical structure of another signal transmission device 1600 provided by an embodiment of the present application.
  • the signal transmission device 1600 may be any audio device or the audio device in the implementation environment shown in FIG. The functional components in the device. Referring to FIG. 16, the signal transmission device 1600 may include, but is not limited to:
  • the receiving module 1610 is configured to receive a mixed audio signal sent by a previous hop device of the target audio device, where the mixed audio signal is a mixed signal of audio signals collected by at least two audio devices;
  • the processing module 1620 is configured to recover the audio signals of the at least two audio devices from the mixed audio signal
  • the target audio device and the last hop device are adjacent audio devices on the first transmission path in the audio processing network.
  • processing module 1620 is configured to:
  • the mixed audio signal is a mixed signal of audio signals collected by at least two audio devices
  • the audio signal collected by the at least two audio devices is recovered from the mixed audio signal according to the audio processing functions of the at least two audio devices.
  • the audio processing function of each audio device in the audio processing network is generated by the audio device and sent to other audio devices in the audio processing network; or,
  • the audio processing function of each audio device in the audio processing network is generated by the function processing device in the audio processing network and sent to each audio device in the audio processing network.
  • the receiving module 1610 is further configured to receive audio processing functions of the at least two audio devices.
  • the signal transmission device 1600 further includes:
  • the determining module 1630 is configured to determine from the audio processing network that the destination point is at least one target transmission path of the target audio device, and the at least one target transmission path includes the first transmission path;
  • the sending module 1640 is configured to send transmission instruction information to the audio device on each target transmission path, and the audio device on the target transmission path is used to transmit the audio signal through the target transmission path according to the received transmission instruction information.
  • the determining module 1630 is configured to select at least one transmission path as the at least one target transmission path from among multiple transmission paths where the destination point is the target audio device in the audio processing network;
  • the sending module 1640 is configured to send removal instruction information to the audio device on each target transmission path, where the removal instruction information sent to the audio device on the target transmission path instructs the audio device to remove the audio device in the multiple transmission paths.
  • the redundant transmission path and the audio signal are transmitted through the target transmission path, and the redundant transmission path is a transmission path other than the at least one target transmission path among the plurality of transmission paths.
  • the determining module 1630 is configured to:
  • At least one transmission path is selected from the multiple transmission paths as at least one target transmission path, where the at least one target transmission path is the number of paths among the multiple transmission paths The transmission path that contains the least number of audio devices.
  • the determining module 1630 is configured to:
  • At least one transmission path is selected from the multiple transmission paths as at least one target transmission path, where the current processing capabilities of the audio devices on each target transmission path are strong In the default processing capacity.
  • the determining module 1630 is configured to:
  • each audio device in the audio processing network determine from the audio processing network at least one cooperative audio device required by the target audio device;
  • the sending module 1640 is configured to send device indication information to the audio device on each target transmission path, where the device indication information sent to the audio device indicates the next hop device of the audio device on the target transmission path.
  • the audio device on the first transmission path can mix the collected audio signal and the received audio signal and then send it to the next hop device until each audio device is collected.
  • the audio signal is sent to the target audio device, so the mixed audio signal sent by the last hop device of the target audio device received by the target audio device is a mixed signal of the audio signals collected by at least two audio devices, compared to each audio device.
  • the solution of each sending audio signals to the target audio device separately, the target audio device can receive the audio signal collected by each audio device only by receiving the mixed audio signal, thereby helping to reduce the transmission bandwidth of the audio signal.
  • FIG. 17 shows a schematic diagram of the hardware structure of a signal transmission device 1700 provided by an embodiment of the present application.
  • the signal transmission device 1700 may be any audio device in the implementation environment shown in FIG. 1.
  • the signal transmission device 1700 includes a processor 1702, a memory 1704, a communication interface 1706, an audio collection component 1708, a bus 1710, a processor 1702, a memory 1704, a communication interface 1706, and an audio collection component 1708 that are communicatively connected to each other through a bus 1710.
  • the connection between the processor 1702, the memory 1704, the communication interface 1706, and the audio collection component 1708 shown in FIG. 17 is only exemplary.
  • the collection components 1708 may also be communicatively connected to each other by using other connection methods other than the bus 1710.
  • the memory 1704 can be used to store instructions 17042 and data 17044.
  • the memory 1704 may be various types of storage media, such as random access memory (RAM), read-only memory (ROM), and non-volatile RAM (non-volatile RAM).
  • RAM random access memory
  • ROM read-only memory
  • non-volatile RAM non-volatile RAM
  • NVRAM non-volatile RAM
  • programmable ROM programmable ROM, PROM
  • erasable PROM erasable PROM
  • EPROM electrically erasable PROM
  • flash memory optical memory and registers, etc.
  • the memory 1704 may include a hard disk and/or a memory.
  • the processor 1702 may be a general-purpose processor or a special-purpose processor.
  • the general-purpose processor may be a processor that executes specific steps and/or operations by reading and executing instructions (for example, instructions 17042) stored in a memory (for example, the memory 1704).
  • the general-purpose processor is in the process of executing the above-mentioned steps and/or operations.
  • Data (such as data 17044) stored in a memory (such as memory 1704) may be used in.
  • the general-purpose processor may be, for example, but not limited to a CPU.
  • the dedicated processor may be a processor specially designed to perform specific steps and/or operations.
  • the dedicated processor may be, for example, but not limited to, a digital signal processor (digital signal processor, DSP), an application specific integrated circuit (application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), programmable logic array (PLA), etc.
  • the processor 1702 may also be a combination of multiple processors, such as a multi-core processor.
  • the processor 1702 may include one or more circuits to execute all or part of the steps of the signal transmission method provided in the foregoing embodiments.
  • the communication interface 1706 may include input/output (input/output, I/O) interfaces, physical interfaces, logical interfaces, and other interfaces used to realize the interconnection of devices within the signal transmission device 1700, and used to realize the signal transmission device 1700. Interface for interconnection with other devices.
  • the physical interface can be a gigabit ethernet (GE), which can be used to interconnect the signal transmission device 1700 with other devices
  • the logical interface is an interface inside the signal transmission device 1700, which can be used to implement a signal transmission device
  • the internal devices of the 1700 are interconnected. It is easy to understand that the communication interface 1706 may be used for the signal transmission apparatus 1700 to communicate with other devices. For example, the communication interface 1706 is used for sending and receiving information between the signal transmission apparatus 1700 and other devices.
  • I/O input/output
  • the physical interface can be a gigabit ethernet (GE), which can be used to interconnect the signal transmission device 1700 with other devices
  • the logical interface is an interface inside
  • the audio collection component 1708 may be any component capable of collecting audio signals, and the audio collection component 1708 may be, for example, but not limited to, a microphone or a microphone array.
  • the signal transmission device 1700 may include a plurality of audio collection components 1708, and the multiple audio collection components 1708 may be arranged at different parts of the signal transmission device 1700 to collect stereo audio signals.
  • the bus 1710 may be of any type, and is used to implement the communication bus interconnecting the processor 1702, the memory 1704, the communication interface 1706, and the audio collection component 1708.
  • the bus 1710 may be a system bus.
  • the above-mentioned devices may be respectively arranged on independent chips, or at least partly or fully arranged on the same chip. Whether each device is independently arranged on different chips or integratedly arranged on one or more chips often depends on the requirements of product design, and the embodiments of the present application do not limit the implementation form of the above-mentioned devices.
  • the signal transmission device 1700 shown in FIG. 17 is only exemplary. In the implementation process, the signal transmission device 1700 may further include other components, which are not listed in the embodiment of the present application.
  • the signal transmission device 1700 shown in FIG. 17 may perform audio signal transmission by executing all or part of the steps of the signal transmission method provided in the foregoing embodiment.
  • An embodiment of the present application provides a signal transmission system.
  • the signal transmission system includes at least two audio devices, and at least one of the at least two audio devices includes the signal transmission device shown in any one of FIGS. 15 to 17.
  • the embodiments of the present application provide a computer-readable storage medium in which a computer program is stored, and when the computer program is run on a computer, the computer is caused to execute part of the signal transmission method provided by the above-mentioned embodiment Or all steps.
  • the embodiments of the present application provide a computer program product containing instructions.
  • the computer program product runs on a computer, the computer executes part or all of the steps of the signal transmission method provided in the above embodiments.
  • the embodiments of the present application provide a chip that includes a programmable logic circuit and/or program instructions, and when the chip is running, it is used to implement part or all of the steps of the signal transmission method provided in the foregoing embodiments.
  • the computer may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software it may be implemented in the form of a computer program product in whole or in part, and the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are generated in whole or in part.
  • the computer may be a general-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instructions may be transmitted from a website, computer, server, or data.
  • the center transmits to another website, computer, server, or data center through wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium, or a semiconductor medium (for example, a solid state hard disk).
  • first and second are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance.
  • at least one refers to one or more, and “multiple” refers to two or more, unless expressly defined otherwise.
  • the term “and/or” is merely an association relationship that describes associated objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone. three conditions.
  • the disclosed device and the like can be implemented in other structural manners.
  • the device embodiments described above are merely illustrative, for example, the division of units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or integrated. To another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
  • the units described as separate components may or may not be physically separate, and the components described as units may or may not be physical units, and may be located in one place or distributed to multiple network devices (such as terminal devices). )superior. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

Disclosed are a signal transmission method, apparatus and system, and a storage medium, which belong to the technical field of communications. The method comprises: acquiring an audio signal collected by a first audio device; when an audio signal sent by the previous-hop device of the first audio device is received, mixing the audio signal collected by the first audio device and the audio signal sent by the previous-hop device, so as to obtain a mixed audio signal; and sending the mixed audio signal to the next-hop device of the first audio device, wherein the first audio device, the previous-hop device and the next-hop device are adjacent audio devices on a first transmission path in an audio processing network. The present application facilitates reducing a transmission bandwidth of an audio signal.

Description

信号传输方法、装置及系统、存储介质Signal transmission method, device, system and storage medium 技术领域Technical field
本申请涉及通信技术领域,特别涉及一种信号传输方法、装置及系统、存储介质。This application relates to the field of communication technology, and in particular to a signal transmission method, device and system, and storage medium.
背景技术Background technique
音频协同处理是一种基于音频处理网络进行音频处理的方式。音频协同处理是未来音频处理的一个重要趋势,可以应用于多设备协作语音增强、多设备协作三维(three dimensional,3D)声场采集等音频处理场景。Audio collaborative processing is a way of audio processing based on an audio processing network. Audio collaborative processing is an important trend in future audio processing, which can be applied to audio processing scenarios such as multi-device cooperative voice enhancement, multi-device cooperative three-dimensional (3D) sound field acquisition.
音频处理网络包括分布式的多个音频设备,针对某一音频业务,该多个音频设备可以包括应用音频设备和多个协同音频设备,各个协同音频设备可以将采集的音频信号发送给应用音频设备,由应用音频设备根据自身采集的音频信号和各个协同音频设备发送的音频信号进行音频应用。目前,多个协同音频设备各自分别向应用音频设备发送音频信号,这样的音频信号传输方式导致音频信号的传输带宽(也即是传输音频信号占用的网络带宽)较大。The audio processing network includes multiple distributed audio devices. For a certain audio service, the multiple audio devices can include an application audio device and multiple cooperative audio devices. Each cooperative audio device can send the collected audio signal to the application audio device. , The application audio device performs audio applications based on the audio signals collected by itself and the audio signals sent by each cooperative audio device. At present, multiple cooperative audio devices each send audio signals to the application audio device. Such an audio signal transmission method causes the transmission bandwidth of the audio signal (that is, the network bandwidth occupied by the transmission of the audio signal) to be relatively large.
发明内容Summary of the invention
本申请实施例提供一种信号传输方法、装置及系统、存储介质,有助于降低音频信号的传输带宽。本申请的技术方案如下:The embodiments of the present application provide a signal transmission method, device, system, and storage medium, which help reduce the transmission bandwidth of audio signals. The technical solution of this application is as follows:
第一方面,提供了一种信号传输方法,该方法包括:获取第一音频设备采集的音频信号;当接收到该第一音频设备的上一跳设备发送的音频信号时,将该第一音频设备采集的音频信号和该上一跳设备发送的音频信号混合得到混合音频信号;向该第一音频设备的下一跳设备发送该混合音频信号;其中,该第一音频设备、该上一跳设备和该下一跳设备是音频处理网络中的第一传输路径上相邻的音频设备,该第一音频设备是该第一传输路径上除起始点的音频设备和目的点的音频设备之外的任一音频设备。In a first aspect, a signal transmission method is provided. The method includes: acquiring an audio signal collected by a first audio device; The audio signal collected by the device and the audio signal sent by the previous hop device are mixed to obtain a mixed audio signal; the mixed audio signal is sent to the next hop device of the first audio device; wherein, the first audio device and the previous hop device The device and the next hop device are adjacent audio devices on the first transmission path in the audio processing network, and the first audio device is on the first transmission path except for the audio device at the starting point and the audio device at the destination point. Any audio device.
本申请实施例提供的技术方案,由于音频设备可以将采集的音频信号和上一跳设备发送的音频信号混合后向下一跳设备发送,直至将各个音频设备采集的音频信号发送至目标音频设备(也即是目的点的音频设备),因此相比于各个音频设备各自分别向目标音频设备发送音频信号的方案,有助于降低音频信号的传输带宽。In the technical solution provided by the embodiments of the present application, the audio device can mix the collected audio signal with the audio signal sent by the previous hop device and then send it to the next hop device until the audio signal collected by each audio device is sent to the target audio device (That is, the audio device at the destination point), therefore, compared to the solution in which each audio device sends the audio signal to the target audio device separately, it helps to reduce the transmission bandwidth of the audio signal.
可选地,将该第一音频设备采集的音频信号和该上一跳设备发送的音频信号混合得到混合音频信号,包括:采用该第一音频设备的音频处理函数对该第一音频设备采集的音频信号进行处理,得到该第一音频设备的处理信号;将该第一音频设备的处理信号和该上一跳设备发送的音频信号叠加得到混合音频信号。Optionally, mixing the audio signal collected by the first audio device and the audio signal sent by the previous hop device to obtain the mixed audio signal includes: using the audio processing function of the first audio device to collect the audio signal from the first audio device The audio signal is processed to obtain the processed signal of the first audio device; the processed signal of the first audio device and the audio signal sent by the previous hop device are superimposed to obtain a mixed audio signal.
本申请实施例提供的技术方案,第一音频设备对该第一音频设备采集的音频信号进行处理得到该第一音频设备的处理信号后,将该第一音频设备的处理信号和该第一音频设备的上一跳设备发送的音频信号叠加得到混合音频信号,而不需对该第一音频设备的上一跳设备发送的音频信号进行恢复,有助于降低第一音频设备进行信号混合的计算量。In the technical solution provided by the embodiments of the present application, after the first audio device processes the audio signal collected by the first audio device to obtain the processed signal of the first audio device, the processed signal of the first audio device and the first audio The audio signal sent by the previous hop device of the device is superimposed to obtain the mixed audio signal, without the need to restore the audio signal sent by the previous hop device of the first audio device, which helps to reduce the calculation of signal mixing by the first audio device quantity.
可选地,该上一跳设备发送的音频信号是至少两个音频设备采集的音频信号的混合信号; 将该第一音频设备采集的音频信号和该上一跳设备发送的音频信号混合得到混合音频信号,包括:从该上一跳设备发送的音频信号中恢复出该至少两个音频设备采集的音频信号;对于该第一音频设备和该至少两个音频设备中的每个音频设备,采用该音频设备的音频处理函数对该音频设备采集的音频信号进行处理,得到该音频设备的处理信号;将该第一音频设备的处理信号和该至少两个音频设备的处理信号叠加得到混合音频信号。Optionally, the audio signal sent by the previous hop device is a mixed signal of audio signals collected by at least two audio devices; the audio signal collected by the first audio device and the audio signal sent by the previous hop device are mixed to obtain a mixture The audio signal includes: recovering the audio signal collected by the at least two audio devices from the audio signal sent by the last hop device; for each audio device of the first audio device and the at least two audio devices, The audio processing function of the audio device processes the audio signal collected by the audio device to obtain the processed signal of the audio device; superimposes the processed signal of the first audio device and the processed signal of the at least two audio devices to obtain a mixed audio signal .
本申请实施例提供的技术方案,第一音频设备将该第一音频设备采集的音频信号和该第一音频设备的上一跳设备发送的音频信号混合时,从该第一音频设备的上一跳设备发送的音频信号中恢复出至少两个音频设备采集的音频信号(也即是从该第一音频设备的上一跳设备发送的音频信号中恢复出各个音频设备采集的音频信号),可以便于第一音频设备应用该至少两个音频设备采集的音频信号。In the technical solution provided by the embodiments of the present application, when the first audio device mixes the audio signal collected by the first audio device with the audio signal sent by the previous hop device of the first audio device, the audio signal from the previous hop device of the first audio device is mixed. The audio signals collected by at least two audio devices are recovered from the audio signals sent by the hop device (that is, the audio signals collected by each audio device are recovered from the audio signals sent by the previous hop device of the first audio device). It is convenient for the first audio device to use the audio signals collected by the at least two audio devices.
可选地,在从该上一跳设备发送的音频信号中恢复出该至少两个音频设备采集的音频信号之前,该方法还包括:根据该上一跳设备发送的音频信号携带的来源信息确定该上一跳设备发送的音频信号是该至少两个音频设备采集的音频信号的混合信号;相应地,从该上一跳设备发送的音频信号中恢复出该至少两个音频设备采集的音频信号,包括:根据该至少两个音频设备的音频处理函数从该上一跳设备发送的音频信号中恢复出该至少两个音频设备采集的音频信号。Optionally, before the audio signals collected by the at least two audio devices are recovered from the audio signals sent by the last hop device, the method further includes: determining according to the source information carried in the audio signals sent by the last hop device The audio signal sent by the previous hop device is a mixed signal of the audio signals collected by the at least two audio devices; accordingly, the audio signal collected by the at least two audio devices is recovered from the audio signal sent by the previous hop device , Including: recovering the audio signals collected by the at least two audio devices from the audio signals sent by the last hop device according to the audio processing functions of the at least two audio devices.
本申请实施例提供的技术方案,第一音频设备根据该第一音频设备的上一跳设备发送的音频信号携带的来源信息确定该第一音频设备的上一跳设备发送的音频信号来源的至少两个音频设备,可以便于该第一音频设备确定该至少两个音频设备的音频处理函数,从而根据该至少两个音频设备的音频处理函数从该第一音频设备的上一跳设备发送的音频信号中恢复出该至少两个音频设备采集的音频信号。In the technical solution provided by the embodiments of the present application, the first audio device determines at least one of the sources of the audio signal sent by the previous hop device of the first audio device according to the source information carried by the audio signal sent by the previous hop device of the first audio device Two audio devices can facilitate the first audio device to determine the audio processing functions of the at least two audio devices, so that the audio sent from the previous hop device of the first audio device according to the audio processing functions of the at least two audio devices The audio signals collected by the at least two audio devices are recovered from the signal.
可选地,该上一跳设备发送的音频信号是该上一跳设备采集的音频信号;将该第一音频设备采集的音频信号和该上一跳设备发送的音频信号混合得到混合音频信号,包括:对于该第一音频设备和该上一跳设备中的每个音频设备,采用该音频设备的音频处理函数对该音频设备采集的音频信号进行处理,得到该音频设备的处理信号;将该第一音频设备的处理信号和该上一跳设备的处理信号叠加得到混合音频信号。Optionally, the audio signal sent by the previous hop device is an audio signal collected by the previous hop device; the audio signal collected by the first audio device and the audio signal sent by the previous hop device are mixed to obtain a mixed audio signal, It includes: for each audio device of the first audio device and the previous hop device, using the audio processing function of the audio device to process the audio signal collected by the audio device to obtain the processed signal of the audio device; The processed signal of the first audio device and the processed signal of the previous hop device are superimposed to obtain a mixed audio signal.
本申请实施例提供的技术方案,第一音频设备根据该第一音频设备的音频处理函数对该第一音频设备采集的音频信号进行处理,以及根据该第一音频设备的上一跳设备的音频处理函数对该第一音频设备的上一跳设备采集的音频信号进行处理,可以便于第一音频设备将该第一音频设备采集的音频信号和该第一音频设备的上一跳设备采集的音频信号混合。In the technical solution provided by the embodiment of the present application, the first audio device processes the audio signal collected by the first audio device according to the audio processing function of the first audio device, and according to the audio signal of the previous hop device of the first audio device The processing function processes the audio signal collected by the previous hop device of the first audio device, which can facilitate the audio signal collected by the first audio device by the first audio device and the audio signal collected by the previous hop device of the first audio device Signal mixing.
可选地,该上一跳设备发送的音频信号是对该上一跳设备采集的音频信号进行处理得到的;将该第一音频设备采集的音频信号和该上一跳设备发送的音频信号混合得到混合音频信号,包括:从该上一跳设备发送的音频信号中恢复出该上一跳设备采集的音频信号;对于该第一音频设备和该上一跳设备中的每个音频设备,采用该音频设备的音频处理函数对该音频设备采集的音频信号进行处理,得到该音频设备的处理信号;将该第一音频设备的处理信号和该上一跳设备的处理信号叠加得到混合音频信号。Optionally, the audio signal sent by the previous hop device is obtained by processing the audio signal collected by the previous hop device; the audio signal collected by the first audio device is mixed with the audio signal sent by the previous hop device Obtaining the mixed audio signal includes: recovering the audio signal collected by the previous hop device from the audio signal sent by the previous hop device; for each audio device in the first audio device and the previous hop device, using The audio processing function of the audio device processes the audio signal collected by the audio device to obtain the processed signal of the audio device; superimposes the processed signal of the first audio device and the processed signal of the previous hop device to obtain a mixed audio signal.
本申请实施例提供的技术方案,第一音频设备将该第一音频设备采集的音频信号和该第一音频设备的上一跳设备发送的音频信号混合时,从该第一音频设备的上一跳设备发送的音频信号中恢复出该第一音频设备的上一跳设备采集的音频信号,可以便于第一音频设备应用 该第一音频设备的上一跳设备采集的音频信号。In the technical solution provided by the embodiments of the present application, when the first audio device mixes the audio signal collected by the first audio device with the audio signal sent by the previous hop device of the first audio device, the audio signal from the previous hop device of the first audio device is mixed. The audio signal collected by the previous hop device of the first audio device is recovered from the audio signal sent by the hop device, which may facilitate the first audio device to use the audio signal collected by the previous hop device of the first audio device.
可选地,音频处理网络中的每个音频设备的音频处理函数由该音频设备生成并发送至该音频处理网络中的其他音频设备;或者,该音频处理网络中的每个音频设备的音频处理函数由该音频处理网络中的函数处理设备生成并发送至该音频处理网络中的各个音频设备。Optionally, the audio processing function of each audio device in the audio processing network is generated by the audio device and sent to other audio devices in the audio processing network; or, the audio processing function of each audio device in the audio processing network is The function is generated by the function processing device in the audio processing network and sent to each audio device in the audio processing network.
本申请实施例提供的技术方案,音频设备生成自身的音频处理函数并向其他音频设备发送自身的音频处理函数,或者,函数处理设备生成各个音频设备的音频处理函数并向各个音频设备发送音频处理函数,可以便于每个音频设备获取到自身以及其他音频设备的音频处理函数,从而根据音频处理函数对相应的音频信号进行处理。In the technical solution provided by the embodiments of the present application, the audio device generates its own audio processing function and sends its own audio processing function to other audio devices, or the function processing device generates the audio processing function of each audio device and sends the audio processing to each audio device Function, it is convenient for each audio device to obtain the audio processing function of itself and other audio devices, so as to process the corresponding audio signal according to the audio processing function.
可选地,在采用第一音频设备的音频处理函数对该第一音频设备采集的音频信号进行处理之前,该方法还包括:生成该第一音频设备的音频处理函数;或者,接收函数处理设备发送的该第一音频设备的音频处理函数。Optionally, before using the audio processing function of the first audio device to process the audio signal collected by the first audio device, the method further includes: generating the audio processing function of the first audio device; or, receiving the function processing device The sent audio processing function of the first audio device.
本申请实施例提供的技术方案,第一音频设备生成该第一音频设备的音频处理函数或者接收函数处理设备发送的该第一音频设备的音频处理函数,可以便于第一音频设备获取到自身的音频处理函数。In the technical solution provided by the embodiments of the present application, the first audio device generates the audio processing function of the first audio device or receives the audio processing function of the first audio device sent by the function processing device, which can facilitate the first audio device to obtain its own audio processing function. Audio processing function.
可选地,生成该第一音频设备的音频处理函数,包括:采用随机数生成函数生成多个随机数;根据该多个随机数生成该第一音频设备的音频处理函数。Optionally, generating the audio processing function of the first audio device includes: using a random number generation function to generate multiple random numbers; and generating the audio processing function of the first audio device according to the multiple random numbers.
本申请实施例提供的技术方案,第一音频设备采用随机化的方式生成该第一音频设备的音频处理函数,可以保证该第一音频设备的音频处理函数与其他音频设备的音频处理函数尽量不相关。In the technical solution provided by the embodiments of the present application, the first audio device generates the audio processing function of the first audio device in a randomized manner, which can ensure that the audio processing function of the first audio device and the audio processing functions of other audio devices are as small as possible. Related.
第二方面,提供了一种信号传输方法,该方法包括:接收目标音频设备的上一跳设备发送的混合音频信号,该混合音频信号是至少两个音频设备采集的音频信号的混合信号;从该混合音频信号中恢复出该至少两个音频设备采集的音频信号;其中,该目标音频设备和该上一跳设备是音频处理网络中的第一传输路径上相邻的音频设备。In a second aspect, a signal transmission method is provided. The method includes: receiving a mixed audio signal sent by a previous hop device of a target audio device, where the mixed audio signal is a mixed signal of audio signals collected by at least two audio devices; The audio signals collected by the at least two audio devices are recovered from the mixed audio signal; wherein the target audio device and the previous hop device are adjacent audio devices on the first transmission path in the audio processing network.
本申请实施例提供的技术方案,第一传输路径上的音频设备可以将采集的音频信号和接收到的音频信号混合后向下一跳设备发送,直至将各个音频设备采集的音频信号发送至目标音频设备,因此目标音频设备接收到的该目标音频设备的上一跳设备发送的混合音频信号是至少两个音频设备采集的音频信号的混合信号,相比于各个音频设备各自分别向目标音频设备发送音频信号的方案,目标音频设备通过接收该混合音频信号就能接收到各个音频设备采集的音频信号,有助于降低音频信号的传输带宽。In the technical solution provided by the embodiments of the present application, the audio device on the first transmission path can mix the collected audio signal and the received audio signal and then send it to the next hop device, until the audio signal collected by each audio device is sent to the target Audio equipment, therefore, the mixed audio signal sent by the previous hop device of the target audio device received by the target audio device is a mixed signal of the audio signals collected by at least two audio devices. In the scheme of sending audio signals, the target audio device can receive the audio signals collected by each audio device by receiving the mixed audio signal, which helps to reduce the transmission bandwidth of the audio signal.
可选地,在从混合音频信号中恢复出至少两个音频设备采集的音频信号之前,该方法还包括:根据该混合音频信号携带的来源信息确定该混合音频信号是该至少两个音频设备采集的音频信号的混合信号;相应地,从该混合音频信号中恢复出该至少两个音频设备采集的音频信号,包括:根据该至少两个音频设备的音频处理函数从该混合音频信号中恢复出该至少两个音频设备采集的音频信号。Optionally, before recovering the audio signals collected by the at least two audio devices from the mixed audio signal, the method further includes: determining, according to the source information carried by the mixed audio signal, that the mixed audio signal is collected by the at least two audio devices Correspondingly, recovering from the mixed audio signal the audio signal collected by the at least two audio devices includes: recovering from the mixed audio signal according to the audio processing functions of the at least two audio devices Audio signals collected by the at least two audio devices.
本申请实施例提供的技术方案,目标音频设备根据混合音频信号携带的来源信息确定该混合音频信号来源于至少两个音频设备,可以便于目标音频设备确定该至少两个音频设备的音频处理函数,从而根据该至少两个音频设备的音频处理函数从该混合音频信号中恢复出该至少两个音频设备采集的音频信号。In the technical solution provided by the embodiments of the present application, the target audio device determines that the mixed audio signal originates from at least two audio devices according to the source information carried by the mixed audio signal, which can facilitate the target audio device to determine the audio processing functions of the at least two audio devices, Thus, the audio signals collected by the at least two audio devices are recovered from the mixed audio signal according to the audio processing functions of the at least two audio devices.
可选地,音频处理网络中的每个音频设备的音频处理函数由该音频设备生成并发送至该 音频处理网络中的其他音频设备;或者,该音频处理网络中的每个音频设备的音频处理函数由该音频处理网络中的函数处理设备生成并发送至该音频处理网络中的各个音频设备。Optionally, the audio processing function of each audio device in the audio processing network is generated by the audio device and sent to other audio devices in the audio processing network; or, the audio processing function of each audio device in the audio processing network is The function is generated by the function processing device in the audio processing network and sent to each audio device in the audio processing network.
本申请实施例提供的技术方案,音频设备生成自身的音频处理函数并向其他音频设备发送自身的音频处理函数,或者,函数处理设备生成各个音频设备的音频处理函数并向各个音频设备发送音频处理函数,可以便于每个音频设备获取到自身以及其他音频设备的音频处理函数,从而根据音频处理函数对相应的音频信号进行处理。In the technical solution provided by the embodiments of the present application, the audio device generates its own audio processing function and sends its own audio processing function to other audio devices, or the function processing device generates the audio processing function of each audio device and sends the audio processing to each audio device Function, it is convenient for each audio device to obtain the audio processing function of itself and other audio devices, so as to process the corresponding audio signal according to the audio processing function.
可选地,在根据至少两个音频设备的音频处理函数从混合音频信号中恢复出该至少两个音频设备采集的音频信号之前,包括:接收该至少两个音频设备的音频处理函数。Optionally, before recovering the audio signals collected by the at least two audio devices from the mixed audio signal according to the audio processing functions of the at least two audio devices, the method includes: receiving the audio processing functions of the at least two audio devices.
本申请实施例提供的技术方案,目标音频设备通过接收至少两个音频设备的音频处理函数,可以便于目标音频设备根据该至少两个音频设备的音频处理函数从混合音频信号中恢复出该至少两个音频设备采集的音频信号。In the technical solution provided by the embodiments of the present application, the target audio device receives the audio processing functions of at least two audio devices, which can facilitate the target audio device to recover the at least two audio signals from the mixed audio signal according to the audio processing functions of the at least two audio devices. Audio signals collected by an audio device.
可选地,在接收目标音频设备的上一跳设备发送的混合音频信号之前,该方法还包括:从音频处理网络中确定目的点为该目标音频设备的至少一条目标传输路径,该至少一条目标传输路径包括第一传输路径;向每条目标传输路径上的音频设备发送传输指示信息,该目标传输路径上的音频设备用于根据接收到的传输指示信息通过该目标传输路径传输音频信号。Optionally, before receiving the mixed audio signal sent by the previous hop device of the target audio device, the method further includes: determining from the audio processing network that the destination point is at least one target transmission path of the target audio device, and the at least one target audio device The transmission path includes a first transmission path; sending transmission instruction information to an audio device on each target transmission path, and the audio device on the target transmission path is used to transmit audio signals through the target transmission path according to the received transmission instruction information.
本申请实施例提供的技术方案,目标音频设备通过确定到达该目标音频设备的至少一条目标传输路径,使音频处理网络中的音频设备通过该至少一条目标传输路径向该目标音频设备传输音频信号,而无需通过除该至少一条目标传输路径之外的传输路径向该目标音频设备传输音频信号,有助于降低音频信号的传输带宽。In the technical solution provided by the embodiments of the present application, the target audio device determines at least one target transmission path to the target audio device, so that the audio device in the audio processing network transmits the audio signal to the target audio device through the at least one target transmission path, There is no need to transmit the audio signal to the target audio device through a transmission path other than the at least one target transmission path, which helps to reduce the transmission bandwidth of the audio signal.
可选地,从音频处理网络中确定目的点为目标音频设备的至少一条目标传输路径,包括:从该音频处理网络中目的点为该目标音频设备的多条传输路径中,选择至少一条传输路径作为该至少一条目标传输路径;相应地,向每条目标传输路径上的音频设备发送传输指示信息,包括:向每条目标传输路径上的音频设备发送拆除指示信息,其中,向目标传输路径上的音频设备发送的拆除指示信息指示该音频设备拆除该多条传输路径中的冗余传输路径且通过该目标传输路径传输音频信号,该冗余传输路径是该多条传输路径中除该至少一条目标传输路径之外的传输路径。Optionally, determining from the audio processing network that the destination point is at least one target transmission path of the target audio device includes: selecting at least one transmission path from a plurality of transmission paths whose destination point is the target audio device in the audio processing network As the at least one target transmission path; correspondingly, sending transmission instruction information to the audio device on each target transmission path includes: sending removal instruction information to the audio device on each target transmission path, wherein The removal instruction information sent by the audio device instructs the audio device to remove the redundant transmission path in the multiple transmission paths and transmit the audio signal through the target transmission path, and the redundant transmission path is at least one of the multiple transmission paths A transmission path other than the target transmission path.
本申请实施例提供的技术方案,目标音频设备通过指示目标传输路径上的音频设备拆除冗余传输路径,可以避免该目标传输路径上的音频设备通过该冗余传输路径向该目标音频设备传输音频信号,有助于降低音频信号的传输带宽。In the technical solution provided by the embodiments of the present application, the target audio device instructs the audio device on the target transmission path to remove the redundant transmission path, which can prevent the audio device on the target transmission path from transmitting audio to the target audio device through the redundant transmission path Signal, helps reduce the transmission bandwidth of audio signals.
可选地,从音频处理网络中目的点为目标音频设备的多条传输路径中,选择至少一条传输路径作为至少一条目标传输路径,包括:接收通过该多条传输路径中的每条传输路径传输的路径探测信号,其中,通过每条传输路径传输的路径探测信号包含该传输路径上的各个音频设备的信息;根据通过该多条传输路径传输的路径探测信号,从该多条传输路径中选择至少一条传输路径作为该至少一条目标传输路径,其中,该至少一条目标传输路径是该多条传输路径中,路径数量最少且包含的音频设备数量最多的传输路径。Optionally, selecting at least one transmission path as the at least one target transmission path from the multiple transmission paths whose destination point is the target audio device in the audio processing network includes: receiving transmission through each transmission path of the multiple transmission paths Path detection signal, wherein the path detection signal transmitted through each transmission path contains the information of each audio device on the transmission path; according to the path detection signal transmitted through the multiple transmission paths, select from the multiple transmission paths At least one transmission path is used as the at least one target transmission path, where the at least one target transmission path is the transmission path with the least number of paths and the largest number of audio devices among the plurality of transmission paths.
本申请实施例提供的技术方案,目标音频设备选择多条传输路径中路径数量最少且包含的音频设备数量最多的传输路径作为目标传输路径,有助于保证音频信号的传输带宽的最小化。In the technical solution provided by the embodiments of the present application, the target audio device selects the transmission path with the smallest number of paths and the largest number of audio devices among the multiple transmission paths as the target transmission path, which helps to ensure the minimization of the transmission bandwidth of the audio signal.
可选地,从音频处理网络中目的点为目标音频设备的多条传输路径中,选择至少一条传 输路径作为至少一条目标传输路径,包括:对于该多条传输路径中的每条传输路径,获取该传输路径上的各个音频设备的当前处理能力;根据该多条传输路径上的音频设备的当前处理能力,从该多条传输路径中选择至少一条传输路径作为该至少一条目标传输路径,其中,每条该目标传输路径上的音频设备的当前处理能力强于预设处理能力。Optionally, selecting at least one transmission path as the at least one target transmission path from multiple transmission paths whose destination point is the target audio device in the audio processing network includes: for each transmission path in the multiple transmission paths, obtaining The current processing capabilities of each audio device on the transmission path; according to the current processing capabilities of the audio devices on the multiple transmission paths, at least one transmission path is selected from the multiple transmission paths as the at least one target transmission path, wherein, The current processing capability of the audio device on each target transmission path is stronger than the preset processing capability.
本申请实施例提供的技术方案,目标音频设备选择多条传输路径中当前处理能力强于预设处理能力的音频设备所在的传输路径作为目标传输路径,有助于维护音频处理网络的系统稳定性。In the technical solution provided by the embodiments of the present application, the target audio device selects the transmission path of the audio device whose current processing capability is stronger than the preset processing capability among multiple transmission paths as the target transmission path, which helps maintain the system stability of the audio processing network .
可选地,从音频处理网络中确定目的点为目标音频设备的至少一条目标传输路径,包括:获取音频处理网络的拓扑信息和该音频处理网络中的各个音频设备的当前处理能力;根据音频处理网络中的各个音频设备的当前处理能力,从该音频处理网络中确定目标音频设备所需的至少一个协同音频设备;根据音频处理网络的拓扑信息,将目的点为目标音频设备且包含该至少一个协同音频设备的至少一个传输路径确定为该至少一条目标传输路径;相应地,向每条目标传输路径上的音频设备发送传输指示信息,包括:向每条目标传输路径上的音频设备发送设备指示信息,其中,向音频设备发送的设备指示信息指示该目标传输路径上该音频设备的下一跳设备。Optionally, determining the destination point from the audio processing network as at least one target transmission path of the target audio device includes: acquiring topology information of the audio processing network and the current processing capabilities of each audio device in the audio processing network; The current processing capabilities of each audio device in the network, determine at least one cooperative audio device required by the target audio device from the audio processing network; according to the topology information of the audio processing network, set the destination point as the target audio device and include the at least one audio device At least one transmission path of the cooperative audio device is determined as the at least one target transmission path; accordingly, sending transmission instruction information to the audio device on each target transmission path includes: sending a device instruction to the audio device on each target transmission path Information, wherein the device indication information sent to the audio device indicates the next hop device of the audio device on the target transmission path.
第三方面,提供了一种信号传输装置,该信号传输装置包括:用于执行第一方面或第一方面的任一可选实现方式提供的信号传输方法的各个模块。In a third aspect, a signal transmission device is provided. The signal transmission device includes: modules for executing the signal transmission method provided by the first aspect or any optional implementation of the first aspect.
第四方面,提供了一种信号传输装置,该信号传输装置包括:用于执行第二方面或第二方面的任一可选实现方式提供的信号传输方法的各个模块。In a fourth aspect, a signal transmission device is provided. The signal transmission device includes: modules for executing the signal transmission method provided by the second aspect or any optional implementation of the second aspect.
第五方面,提供了一种信号传输装置,该信号传输装置包括:处理器和存储器,该存储器中存储有程序,该处理器用于调用该存储器中存储的程序,使得该信号传输装置执行如第一方面或第一方面的任一可选实现方式提供的信号传输方法。In a fifth aspect, a signal transmission device is provided. The signal transmission device includes a processor and a memory, the memory storing a program, and the processor is configured to call the program stored in the memory so that the signal transmission device executes A signal transmission method provided by one aspect or any optional implementation of the first aspect.
第六方面,提供了一种信号传输装置,该信号传输装置包括:处理器和存储器,该存储器中存储有程序,该处理器用于调用该存储器中存储的程序,使得该信号传输装置执行如第二方面或第二方面的任一可选实现方式提供的信号传输方法。In a sixth aspect, a signal transmission device is provided. The signal transmission device includes a processor and a memory. The memory stores a program. The processor is used to call the program stored in the memory to make the signal transmission device execute The second aspect or any optional implementation of the second aspect provides a signal transmission method.
第七方面,提供了一种信号传输系统,该信号传输系统包括:至少两个音频设备,该至少两个音频设备中的至少一个包括如第三方面或第四方面提供的信号传输装置,或者,该至少两个音频设备中的至少一个包括如第五方面或第六方面提供的信号传输装置。In a seventh aspect, a signal transmission system is provided, the signal transmission system includes: at least two audio devices, at least one of the at least two audio devices includes the signal transmission device as provided in the third or fourth aspect, or At least one of the at least two audio devices includes the signal transmission device as provided in the fifth aspect or the sixth aspect.
第八方面,提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,当该计算机程序在计算机上运行时,使得该计算机执行如第一方面或第一方面的任一可选方式所提供的信号传输方法,或者,使得该计算机执行如第二方面或第二方面的任一可选方式所提供的信号传输方法。In an eighth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program. When the computer program runs on a computer, the computer can execute any of the first aspect or the first aspect. The signal transmission method provided in an optional manner, or the computer is caused to execute the signal transmission method provided in the second aspect or any optional manner of the second aspect.
第九方面,提供了一种包含指令的计算机程序产品,当该计算机程序产品在计算机上运行时,使得该计算机执行如第一方面或第一方面的任一可选方式所提供的信号传输方法,或者,使得该计算机执行如第二方面或第二方面的任一可选方式所提供的信号传输方法。In a ninth aspect, a computer program product containing instructions is provided. When the computer program product runs on a computer, the computer executes the signal transmission method as provided in the first aspect or any of the optional methods of the first aspect Or, make the computer execute the signal transmission method as provided in the second aspect or any optional manner of the second aspect.
第十方面,提供了一种芯片,该芯片包括可编程逻辑电路和/或程序指令,当该芯片运行时用于实现如第一方面或第一方面的任一可选方式所提供的信号传输方法,或者,实现如第二方面或第二方面的任一可选方式所提供的信号传输方法。In a tenth aspect, a chip is provided. The chip includes a programmable logic circuit and/or program instructions. When the chip is running, it is used to implement signal transmission as provided in the first aspect or any of the optional methods of the first aspect. Method, or implement the signal transmission method as provided in the second aspect or any optional manner of the second aspect.
本申请实施例提供的技术方案带来的有益效果至少可以包括:The beneficial effects brought about by the technical solutions provided by the embodiments of the present application may at least include:
本申请实施例提供的技术方案,第一音频设备采集音频信号后,当接收到该第一音频设备的上一跳设备发送的音频信号时,将该第一音频设备采集的音频信号和该第一音频设备的上一跳设备发送的音频信号混合得到混合音频信号,并向该第一音频设备的下一跳设备发送该混合音频信号。由于音频设备可以将采集的音频信号和接收到的音频信号混合后向下一跳设备发送,直至将各个音频设备采集的音频信号发送至目标音频设备,因此相比于各个音频设备各自分别向目标音频设备发送音频信号的方案,有助于降低音频信号的传输带宽。In the technical solution provided by the embodiment of the present application, after the first audio device collects the audio signal, when the audio signal sent by the previous hop device of the first audio device is received, the audio signal collected by the first audio device and the first audio device are The audio signal sent by the previous hop device of an audio device is mixed to obtain a mixed audio signal, and the mixed audio signal is sent to the next hop device of the first audio device. Since the audio device can mix the collected audio signal and the received audio signal and send it to the next hop device, until the audio signal collected by each audio device is sent to the target audio device, it is compared with each audio device separately to the target audio device. The scheme of sending audio signals by audio equipment helps to reduce the transmission bandwidth of audio signals.
附图说明Description of the drawings
图1是本申请各个实施例涉及的一种实施环境的示意图;FIG. 1 is a schematic diagram of an implementation environment involved in various embodiments of the present application;
图2是本申请实施例提供的一种从音频处理网络中确定目标传输路径的方法流程图;FIG. 2 is a flowchart of a method for determining a target transmission path from an audio processing network according to an embodiment of the present application;
图3是本申请实施例提供的一种从多条传输路径中选择目标传输路径的方法流程图;FIG. 3 is a flowchart of a method for selecting a target transmission path from multiple transmission paths according to an embodiment of the present application;
图4是本申请实施例提供的另一种从多条传输路径中选择目标传输路径的方法流程图;FIG. 4 is a flowchart of another method for selecting a target transmission path from multiple transmission paths according to an embodiment of the present application;
图5是本申请实施例提供的一种确定目的点为目标音频设备的目标传输路径的方法流程图;FIG. 5 is a flowchart of a method for determining a destination point as a target transmission path of a target audio device according to an embodiment of the present application;
图6是本申请实施例提供的一种音频处理网络中的至少一条目标传输路径的示意图;FIG. 6 is a schematic diagram of at least one target transmission path in an audio processing network provided by an embodiment of the present application;
图7是本申请实施例提供的一种信号传输方法的方法流程图;FIG. 7 is a method flowchart of a signal transmission method provided by an embodiment of the present application;
图8是本申请实施例提供的一种通过第一传输路径传输音频信号的示意图;FIG. 8 is a schematic diagram of transmitting audio signals through a first transmission path according to an embodiment of the present application;
图9是本申请实施例提供的另一种通过第一传输路径传输音频信号的示意图;FIG. 9 is another schematic diagram of transmitting audio signals through a first transmission path according to an embodiment of the present application;
图10是本申请实施例提供的再一种通过第一传输路径传输音频信号的示意图;FIG. 10 is another schematic diagram of transmitting audio signals through a first transmission path according to an embodiment of the present application;
图11是本申请实施例提供的一种将第一音频设备采集的音频信号和第一音频设备的上一跳设备发送的音频信号混合的方法流程图;FIG. 11 is a flowchart of a method for mixing an audio signal collected by a first audio device with an audio signal sent by a previous hop device of the first audio device according to an embodiment of the present application;
图12是本申请实施例提供的另一种将第一音频设备采集的音频信号和第一音频设备的上一跳设备发送的音频信号混合的方法流程图;FIG. 12 is a flowchart of another method for mixing an audio signal collected by a first audio device with an audio signal sent by a previous hop device of the first audio device according to an embodiment of the present application;
图13是本申请实施例提供的再一种将第一音频设备采集的音频信号和第一音频设备的上一跳设备发送的音频信号混合的方法流程图;FIG. 13 is a flowchart of yet another method for mixing an audio signal collected by a first audio device with an audio signal sent by a previous hop device of the first audio device according to an embodiment of the present application;
图14是本申请实施例提供的又一种将第一音频设备采集的音频信号和第一音频设备的上一跳设备发送的音频信号混合的方法流程图;FIG. 14 is a flowchart of yet another method for mixing an audio signal collected by a first audio device with an audio signal sent by a previous hop device of the first audio device according to an embodiment of the present application;
图15是本申请实施例提供的一种信号传输装置的逻辑结构示意图;15 is a schematic diagram of the logical structure of a signal transmission device provided by an embodiment of the present application;
图16是本申请实施例提供的另一种信号传输装置的逻辑结构示意图;16 is a schematic diagram of the logical structure of another signal transmission device provided by an embodiment of the present application;
图17是本申请实施例提供的一种信号传输装置的硬件结构示意图。FIG. 17 is a schematic diagram of the hardware structure of a signal transmission device provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的原理、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the principles, technical solutions, and advantages of the present application clearer, the implementation manners of the present application will be described in further detail below in conjunction with the accompanying drawings.
请参考图1,其示出了本申请各个实施例涉及的一种实施环境的示意图,该实施环境提供一种音频处理网络,该音频处理网络可以包括多个音频设备,该多个音频设备可以通过有线网络或无线网络通信连接。根据业务需要,该多个音频设备可以全互联(也即是,该多个音频设备中的每个音频设备与该多个音频设备中的其他所有音频设备通信连接)或部分互联(也即是,该多个音频设备中的至少一个与该多个音频设备中的部分音频设备通信连接,与 部分音频设备未通信连接)。本申请实施例以该音频处理网络包括音频设备01~05(也即是音频设备01、音频设备02、音频设备03、音频设备04和音频设备05)为例说明,如图1所示,音频设备02分别与音频设备01、音频设备03和音频设备04通信连接,但是未与音频设备05通信连接,因此音频设备01~05部分互联。其中,该无线网络可以包括但不限于无线保真(wireless fidelity,WIFI)网络、蓝牙网络、红外网络、紫蜂(zigbee)网络,有线网络可以包括但不限于通用串行总线(universal serial bus,USB)网络。Please refer to FIG. 1, which shows a schematic diagram of an implementation environment involved in various embodiments of the present application. The implementation environment provides an audio processing network. The audio processing network may include multiple audio devices. Connect through wired network or wireless network communication. According to business needs, the multiple audio devices can be fully interconnected (that is, each audio device in the multiple audio devices is communicatively connected with all other audio devices in the multiple audio devices) or partially interconnected (that is, , At least one of the plurality of audio devices is communicatively connected with some of the plurality of audio devices, and not communicatively connected with some of the audio devices). In the embodiment of the application, the audio processing network includes audio equipment 01 to 05 (that is, audio equipment 01, audio equipment 02, audio equipment 03, audio equipment 04, and audio equipment 05) as an example. As shown in FIG. 1, audio Device 02 is communicatively connected with audio device 01, audio device 03, and audio device 04, but is not communicatively connected with audio device 05, so audio devices 01 to 05 are partially interconnected. The wireless network may include, but is not limited to, a wireless fidelity (WIFI) network, a Bluetooth network, an infrared network, and a zigbee network. The wired network may include, but is not limited to, a universal serial bus (universal serial bus, USB) network.
其中,音频设备可以是任何能够采集音频信号和/或对音频信号进行处理的设备,例如,该音频设备可以是智能手机、平板电脑、笔记本电脑、台式电脑、电视机、动态影像专家压缩标准音频层面3(moving picture experts group audio layerⅢ,MP3)播放器、动态影像专家压缩标准音频层面4(moving picture experts group audio layer IV,MP4)播放器、电子书阅读器、智能家居设备、耳机、智能玩具、智能手环、智能手表、虚拟现实(virtual reality,VR)设备以及增强现实(augmented reality,AR)设备等。在本申请实施例提供的该音频处理网络中,该多个音频设备可以是相同类型的音频设备,例如,音频设备01~05均为智能手机,或者,该多个音频设备的类型不全相同,例如,音频设备01和音频设备02均是智能手机,音频设备03是智能玩具,音频设备04是电视机,音频设备05是耳机,本申请实施例对此不作限定。Among them, the audio device can be any device that can collect audio signals and/or process audio signals. For example, the audio device can be a smart phone, a tablet computer, a notebook computer, a desktop computer, a TV, a video expert compresses standard audio Level 3 (moving picture experts group audio layer Ⅲ, MP3) players, motion picture experts compress standard audio level 4 (moving picture experts group audio layer IV, MP4) players, e-book readers, smart home equipment, headphones, smart toys , Smart bracelets, smart watches, virtual reality (VR) equipment and augmented reality (AR) equipment, etc. In the audio processing network provided by the embodiment of the present application, the multiple audio devices may be the same type of audio devices. For example, the audio devices 01 to 05 are all smart phones, or the types of the multiple audio devices are not all the same. For example, the audio device 01 and the audio device 02 are both smart phones, the audio device 03 is a smart toy, the audio device 04 is a TV, and the audio device 05 is a headset, which is not limited in the embodiment of the present application.
可选地,该多个音频设备可以分布式部署在同一声场空间中,且该多个音频设备中可以包括应用音频设备和协同音频设备,应用音频设备是指需要应用音频信号的设备,协同音频设备是指协同应用音频设备对音频信号进行处理的设备,协同音频设备可以将采集的音频信号发送给应用音频设备,供应用音频设备进行音频应用。容易理解,该应用音频设备至少具有对音频信号进行处理的功能,该协同音频设备至少具有采集音频信号的功能,可选地,该应用音频设备还可以具有采集音频信号的功能,该协同音频设备还可以具有对音频信号进行处理的功能。示例地,本申请实施例以音频设备04是应用音频设备,音频设备01~03以及音频设备05均是协同音频设备,且音频设备01~05均具有音频采集功能和音频处理功能为例说明。其中,同一声场空间可以是同一声源所在空间(例如房间),例如音频设备01~05处于声源A所在房间中,则音频设备01~05处于声源A发出的声场空间中。Optionally, the multiple audio devices may be deployed in the same sound field space in a distributed manner, and the multiple audio devices may include an application audio device and a cooperative audio device. The application audio device refers to a device that needs to apply audio signals. A device refers to a device that processes audio signals with a cooperative application audio device. The cooperative audio device can send the collected audio signal to the application audio device, and the supply audio device performs audio applications. It is easy to understand that the application audio device has at least the function of processing audio signals, and the cooperative audio device has at least the function of collecting audio signals. Optionally, the application audio device may also have the function of collecting audio signals. The cooperative audio device It can also have the function of processing audio signals. For example, in the embodiment of the present application, audio device 04 is an application audio device, audio devices 01 to 03 and audio device 05 are cooperative audio devices, and audio devices 01 to 05 have audio collection functions and audio processing functions as an example. Wherein, the same sound field space may be a space (such as a room) where the same sound source is located. For example, the audio devices 01 to 05 are located in the room where the sound source A is located, and the audio devices 01 to 05 are located in the sound field space emitted by the sound source A.
目前,在音频处理网络中,多个协同音频设备各自分别向应用音频设备发送音频信号,这样的音频信号传输方式导致音频信号的传输带宽较大。例如,音频设备01~03以及音频设备05各自分别向音频设备04发送音频信号,这样音频设备01~03以及音频设备05向音频设备04发送音频信号会占用该音频处理网络的四路带宽(音频设备01~03以及音频设备05各占一路带宽),音频信号的传输带宽较大。本申请实施例提供的信号传输方案中,可以通过目标传输路径将多个协同音频设备采集的音频信号混合发送给应用音频设备,这样无需每个协同音频设备分别向应用音频设备发送音频信号,有助于降低音频信号的传输带宽。例如,音频设备03可以将采集的音频信号发送给音频设备02,音频设备02将音频设备03发送的音频信号和自身采集的音频信号混合后发送给音频设备01,音频设备01将音频设备02发送的音频信号和自身采集的音频信号混合后发送给音频设备04,这样一来,无需音频设备03和音频设备02分别向音频设备04发送音频信号,相比于音频设备03和音频设备02分别向音频设备04发送音频信号的方案,可以减少两路带宽,降低音频信号的传输带宽。At present, in an audio processing network, multiple coordinated audio devices each send audio signals to the application audio device. Such an audio signal transmission method results in a relatively large transmission bandwidth of the audio signal. For example, audio devices 01 to 03 and audio device 05 each send audio signals to audio device 04, so that audio devices 01 to 03 and audio device 05 send audio signals to audio device 04 will occupy the four-channel bandwidth of the audio processing network (audio Devices 01 to 03 and audio device 05 each occupy one channel of bandwidth), and the transmission bandwidth of audio signals is relatively large. In the signal transmission solution provided by the embodiment of the present application, the audio signals collected by multiple cooperative audio devices can be mixed and sent to the application audio device through the target transmission path, so there is no need for each cooperative audio device to send audio signals to the application audio device separately. Helps reduce the transmission bandwidth of audio signals. For example, audio device 03 can send the collected audio signal to audio device 02, audio device 02 mixes the audio signal sent by audio device 03 with the audio signal collected by itself and sends it to audio device 01, audio device 01 sends audio device 02 The audio signal and the audio signal collected by itself are mixed and sent to the audio device 04. In this way, there is no need for the audio device 03 and the audio device 02 to send the audio signal to the audio device 04 respectively, compared to the audio device 03 and the audio device 02 respectively. The solution of sending audio signals by the audio equipment 04 can reduce the two-channel bandwidth and reduce the transmission bandwidth of the audio signals.
值得说明的是,不同音频设备之间的通信连接可以是该不同音频设备之间的底层链路, 不同音频设备基于该底层链路建立的用于传输音频信号的链路可以是音频链路,容易理解,建立有音频链路的不同音频设备之间建立有底层链路,建立有底层链路的不同音频设备之间并不必然建立有音频链路。示例地,如图1所示,音频设备01与音频设备02之间建立有底层链路和音频链路,音频设备01与音频设备03之间建立有底层链路,但未建立有音频链路。本段所述的音频链路也即是后文实施例中所述的传输路径。It is worth noting that the communication connection between different audio devices may be the underlying link between the different audio devices, and the link for transmitting audio signals established by different audio devices based on the underlying link may be an audio link. It is easy to understand that a bottom link is established between different audio devices that have an audio link, and an audio link is not necessarily established between different audio devices that have a bottom link. For example, as shown in Figure 1, a bottom link and an audio link are established between audio device 01 and audio device 02, and a bottom link is established between audio device 01 and audio device 03, but no audio link is established. . The audio link described in this paragraph is also the transmission path described in the following embodiments.
本领域技术人员容易理解,图1所示音频处理网络仅用于举例,并非用于限制本申请实施例的技术方案,在实现过程中,可以根据需要来配置音频设备的数量,还可以在该音频处理网络中配置其他设备。例如,该音频处理网络还可以包括用于管理该多个音频设备的管理设备,再例如,该音频处理网络还可以包括服务器等,本申请实施例对此不作限定。Those skilled in the art can easily understand that the audio processing network shown in FIG. 1 is only used as an example, and is not used to limit the technical solutions of the embodiments of the present application. In the implementation process, the number of audio devices can be configured as needed, and the Configure other devices in the audio processing network. For example, the audio processing network may also include a management device for managing the multiple audio devices. For another example, the audio processing network may also include a server, etc., which is not limited in the embodiment of the present application.
本申请实施例提供的方案可以包括路径确定过程和信号传输过程,路径确定过程用于从音频处理网络中确定出目的点为目标音频设备的至少一条目标传输路径,信号传输过程用于每条目标传输路径上的音频设备通过该目标传输路径向目标音频设备传输音频信号。其中,该传输路径可以是上文所述的音频链路。下面分两个实施例对路径确定过程和信号传输过程分别进行说明。The solution provided by the embodiments of the present application may include a path determination process and a signal transmission process. The path determination process is used to determine from the audio processing network the destination point is at least one target transmission path of the target audio device, and the signal transmission process is used for each target. The audio device on the transmission path transmits the audio signal to the target audio device through the target transmission path. Wherein, the transmission path may be the audio link described above. The path determination process and the signal transmission process are separately described in two embodiments below.
首先,介绍本申请实施例中的路径确定过程。该路径确定过程可以由目标音频设备执行,该目标音频设备可以是音频处理网络中的应用音频设备。First, the path determination process in the embodiment of the present application is introduced. The path determination process may be performed by a target audio device, and the target audio device may be an application audio device in an audio processing network.
示例地,请参考图2,其示出了本申请实施例提供的一种从音频处理网络中确定目的点为目标音频设备的目标传输路径的方法流程图,该方法可以应用于图1所示实施环境。参见图2,该方法可以包括如下几个步骤:For example, please refer to FIG. 2, which shows a flow chart of a method for determining a destination point as a target transmission path of a target audio device from an audio processing network provided by an embodiment of the present application. The method can be applied to the method shown in FIG. Implementation environment. Referring to Figure 2, the method may include the following steps:
步骤201、从音频处理网络中确定目的点为目标音频设备的至少一条目标传输路径。Step 201: Determine from the audio processing network that the destination point is at least one target transmission path of the target audio device.
在本申请实施例中,音频处理网络中可以包括目的点为目标音频设备的多条传输路径,目标音频设备可以从该多条传输路径中选择至少一条传输路径作为该至少一条目标传输路径。或者,目标音频设备可以根据音频处理网络的拓扑信息和该音频处理网络中的各个音频设备的当前处理能力,从该音频处理网络中确定目的点为目标音频设备的至少一条目标传输路径(或者说建立目的点为目标音频设备的至少一条目标传输路径)。对应于该两种情况,该步骤201可以包括以下两种可能的实现方式:In the embodiment of the present application, the audio processing network may include multiple transmission paths whose destination points are the target audio device, and the target audio device may select at least one transmission path from the multiple transmission paths as the at least one target transmission path. Alternatively, the target audio device may determine the destination point from the audio processing network as at least one target transmission path (or in other words) of the target audio device according to the topology information of the audio processing network and the current processing capabilities of each audio device in the audio processing network. The establishment of the destination point is at least one target transmission path of the target audio device). Corresponding to the two cases, this step 201 may include the following two possible implementation manners:
第一种实现方式:目标音频设备从音频处理网络中目的点为该目标音频设备的多条传输路径中,选择至少一条传输路径作为该至少一条目标传输路径。The first implementation manner: the target audio device selects at least one transmission path as the at least one target transmission path from among multiple transmission paths whose destination point is the target audio device in the audio processing network.
可选地,目标音频设备可以根据通过多条传输路径传输的路径探测信号,从该多条传输路径中选择至少一条传输路径作为至少一条目标传输路径,或者,根据该多条传输路径上的音频设备的当前处理能力,从该多条传输路径中选择至少一条传输路径作为至少一条目标传输路径。因此,该步骤201的第一种实现方式可以包括下述两种可选的实施方式:Optionally, the target audio device may select at least one transmission path from the multiple transmission paths as the at least one target transmission path based on the path detection signal transmitted through the multiple transmission paths, or according to the audio on the multiple transmission paths For the current processing capability of the device, at least one transmission path is selected from the multiple transmission paths as the at least one target transmission path. Therefore, the first implementation manner of step 201 may include the following two optional implementation manners:
实施方式一:目标音频设备根据通过多条传输路径传输的路径探测信号,从该多条传输路径中选择至少一条传输路径作为至少一条目标传输路径。Embodiment 1: The target audio device selects at least one transmission path from the multiple transmission paths as the at least one target transmission path according to the path detection signal transmitted through the multiple transmission paths.
示例地,请参考图3,其示出了本申请实施例提供的一种从多条传输路径中选择至少一条目标传输路径的方法流程图,参见图3,该方法可以包括如下几个步骤:For example, please refer to FIG. 3, which shows a flow chart of a method for selecting at least one target transmission path from multiple transmission paths according to an embodiment of the present application. Referring to FIG. 3, the method may include the following steps:
子步骤2011A、接收通过多条传输路径中的每条传输路径传输的路径探测信号,通过每条传输路径传输的路径探测信号包含该传输路径上的各个音频设备的信息。 Sub-step 2011A: Receive a path detection signal transmitted through each of the multiple transmission paths, and the path detection signal transmitted through each transmission path includes information about each audio device on the transmission path.
该多条传输路径中的每条传输路径上的音频设备通过其所在的传输路径向目标音频设备发送路径探测信号,目标音频设备可以接收通过每条传输路径传输的路径探测信号。其中,通过每条传输路径传输的路径探测信号包含该传输路径上的各个音频设备的信息,该音频设备的信息例如可以是该音频设备的设备标识等,本申请实施例对此不作限定。The audio device on each of the multiple transmission paths sends a path detection signal to the target audio device through the transmission path where it is located, and the target audio device can receive the path detection signal transmitted through each transmission path. Wherein, the path detection signal transmitted through each transmission path contains the information of each audio device on the transmission path. The information of the audio device may be, for example, the device identification of the audio device, which is not limited in the embodiment of the present application.
可选地,每条传输路径上的音频设备通过其所在的传输路径向目标音频设备发送路径探测信号可以包括:每条传输路径的起始点的音频设备生成包含该音频设备的信息(例如设备标识)的路径探测信号,并向该传输路径上该音频设备的下一跳设备发送该路径探测信号,该下一跳设备接收到该路径探测信号后,可以将自身的信息(例如设备标识)添加在该路径探测信号中,并向该传输路径上该下一跳设备的下一跳设备发送添加有自身的信息的路径探测信号,直至将路径探测信号传输至目标音频设备。其中,每个音频设备的下一跳设备可以是该音频设备所在传输路径上与该音频设备相邻且按照该传输路径的方向位于该音频设备之后的音频设备。Optionally, the audio device on each transmission path sends a path detection signal to the target audio device through the transmission path where it is located may include: the audio device at the starting point of each transmission path generates information containing the audio device (such as device identification) ), and send the path detection signal to the next hop device of the audio device on the transmission path. After the next hop device receives the path detection signal, it can add its own information (such as device identification) In the path detection signal, the path detection signal added with its own information is sent to the next hop device of the next hop device on the transmission path until the path detection signal is transmitted to the target audio device. Wherein, the next hop device of each audio device may be an audio device that is adjacent to the audio device on the transmission path where the audio device is located and is located behind the audio device in the direction of the transmission path.
示例地,以图1为例,音频设备04可以是目标音频设备,该音频处理网络中目的点为音频设备04的多条传输路径可以包括:For example, taking FIG. 1 as an example, the audio device 04 may be a target audio device, and multiple transmission paths of the audio device 04 whose destination point is the audio device 04 in the audio processing network may include:
传输路径1:音频设备03->音频设备02->音频设备01->音频设备04;Transmission path 1: Audio equipment 03->Audio equipment 02->Audio equipment 01->Audio equipment 04;
传输路径2:音频设备03->音频设备02->音频设备04;Transmission path 2: Audio equipment 03->Audio equipment 02->Audio equipment 04;
传输路径3:音频设备03->音频设备04;Transmission path 3: Audio equipment 03->Audio equipment 04;
传输路径4:音频设备05->音频设备04;Transmission path 4: Audio equipment 05->Audio equipment 04;
以传输路径1为例,该传输路径1上的音频设备通过该传输路径1向音频设备04发送路径探测信号可以包括:音频设备03生成包含该音频设备03的设备标识ID-03的路径探测信号,并向音频设备02(音频设备03的下一跳设备)发送该路径探测信号,音频设备02接收到该路径探测信号后,将该音频设备02的设备标识ID-02添加在该路径探测信号中,并向音频设备01(音频设备02的下一跳设备)发送添加有该设备标识ID-02的路径探测信号,音频设备01接收到该路径探测信号后,将该音频设备01的设备标识ID-01添加在该路径探测信号中,并向音频设备04(音频设备01的下一跳设备)发送添加有该设备标识ID-01的路径探测信号,最终,音频设备04接收到的通过该传输路径1发送的路径探测信号包含音频设备03的设备标识ID-03、音频设备02的设备标识ID-02和音频设备01的设备标识ID-01。Taking transmission path 1 as an example, the audio device on the transmission path 1 sending a path detection signal to the audio device 04 through the transmission path 1 may include: the audio device 03 generates a path detection signal containing the device identification ID-03 of the audio device 03 , And send the path detection signal to the audio device 02 (the next hop device of the audio device 03). After the audio device 02 receives the path detection signal, it adds the device identification ID-02 of the audio device 02 to the path detection signal And send a path detection signal with ID-02 added to the audio device 01 (the next hop device of the audio device 02). After the audio device 01 receives the path detection signal, the device ID of the audio device 01 is ID-01 is added to the path detection signal, and the path detection signal with ID-01 added to the audio device 04 (the next hop device of the audio device 01) is sent to the audio device 04 (the next hop device of the audio device 01). Finally, the audio device 04 receives the path detection signal through the The path detection signal sent by the transmission path 1 includes the device identification ID-03 of the audio device 03, the device identification ID-02 of the audio device 02, and the device identification ID-01 of the audio device 01.
同理,音频设备04接收到的通过传输路径2发送的路径探测信号包含音频设备03的设备标识ID-03和音频设备02的设备标识ID-02。音频设备04接收到的通过传输路径3发送的路径探测信号包含音频设备03的设备标识ID-03。音频设备04接收到的通过传输路径4发送的路径探测信号包含音频设备05的设备标识ID-05。Similarly, the path detection signal received by the audio device 04 and sent through the transmission path 2 includes the device identification ID-03 of the audio device 03 and the device identification ID-02 of the audio device 02. The path detection signal received by the audio device 04 and sent through the transmission path 3 contains the device identification ID-03 of the audio device 03. The path detection signal sent through the transmission path 4 received by the audio device 04 contains the device identification ID-05 of the audio device 05.
子步骤2012A、根据通过该多条传输路径传输的路径探测信号,从该多条传输路径中选择至少一条传输路径作为至少一条目标传输路径,该至少一条目标传输路径是该多条传输路径中,路径数量最少且包含的音频设备数量最多的传输路径。 Sub-step 2012A, according to the path detection signal transmitted through the multiple transmission paths, select at least one transmission path from the multiple transmission paths as at least one target transmission path, and the at least one target transmission path is among the multiple transmission paths, The transmission path with the smallest number of paths and the largest number of audio devices.
可选地,目标音频设备可以根据通过每条传输路径传输的路径探测信号包含的音频设备的信息,确定该传输路径上的音频设备的数量,根据该多条传输路径上的音频设备的数量以及该多条传输路径的数量,从该多条传输路径选择至少一条传输路径作为至少一条目标传输路径,该至少一条目标传输路径是该多条传输路径中,路径数量最少且包含的音频设备数量最多的传输路径。其中,该至少一条目标传输路径是该多条传输路径中,路径数量最少且包 含的音频设备数量最多的传输路径可以是指:该至少一条目标传输路径是该多条传输路径的多个组合(每个组合包括至少一条传输路径)中,音频设备的数量最多(例如该至少一条目标传输路径上的音频设备的数量等于该多条传输路径上的所有音频设备的数量之和)且路径数量最少的组合中的传输路径。Optionally, the target audio device may determine the number of audio devices on the transmission path based on the audio device information contained in the path detection signal transmitted through each transmission path, and according to the number of audio devices on the multiple transmission paths and The number of the plurality of transmission paths, at least one transmission path is selected from the plurality of transmission paths as at least one target transmission path, and the at least one target transmission path is among the plurality of transmission paths, the number of paths is the least and the number of audio devices included is the most The transmission path. Wherein, the at least one target transmission path is the transmission path with the smallest number of paths and the largest number of audio devices among the multiple transmission paths, which may refer to: the at least one target transmission path is a combination of the multiple transmission paths ( Each combination includes at least one transmission path), the number of audio devices is the largest (for example, the number of audio devices on the at least one target transmission path is equal to the sum of the number of all audio devices on the multiple transmission paths) and the number of paths is the least The transmission path in the combination.
示例地,以上述传输路径1~传输路径4为例,传输路径1上的音频设备的数量为4,传输路径2上的音频设备的数量为3,传输路径3和传输路径4上的音频设备的数量分别为2,音频设备04可以根据传输路径1~传输路径4上的音频设备的数量以及该4条传输路径的数量,从该4条传输路径中选择传输路径1和传输路径4作为目标传输路径。其中,传输路径1和传输路径4的组合包含的音频设备数量最多(总共5个音频设备),且传输路径1和传输路径4的组合是传输路径1~传输路径4的组合中路径数量最少的组合。For example, taking the above transmission path 1 to transmission path 4 as an example, the number of audio devices on transmission path 1 is 4, the number of audio devices on transmission path 2 is 3, and the number of audio devices on transmission path 3 and transmission path 4 According to the number of audio devices on transmission path 1 to transmission path 4 and the number of the 4 transmission paths, the audio equipment 04 can select transmission path 1 and transmission path 4 as the target from the 4 transmission paths. Transmission path. Among them, the combination of transmission path 1 and transmission path 4 contains the largest number of audio devices (a total of 5 audio devices), and the combination of transmission path 1 and transmission path 4 is the combination of transmission path 1 to transmission path 4 with the least number of paths combination.
本申请实施例中,该路径探测信号可以是音频信号,或者是专用于进行路径探测的信号。目标音频设备选择多条传输路径中路径数量最少且包含的音频设备数量最多的传输路径作为目标传输路径,有助于保证音频信号的传输带宽的最小化。In the embodiment of the present application, the path detection signal may be an audio signal, or a signal dedicated to path detection. The target audio device selects the transmission path with the least number of paths and the largest number of audio devices among the multiple transmission paths as the target transmission path, which helps to ensure that the transmission bandwidth of the audio signal is minimized.
实施方式二:目标音频设备根据多条传输路径上的音频设备的当前处理能力,从该多条传输路径中选择至少一条传输路径作为至少一条目标传输路径。Embodiment 2: The target audio device selects at least one transmission path from the multiple transmission paths as the at least one target transmission path according to the current processing capabilities of the audio devices on the multiple transmission paths.
示例地,请参考图4,其示出了本申请实施例提供的另一种从多条传输路径中选择至少一条目标传输路径的方法流程图,参见图4,该方法可以包括如下几个步骤:For example, please refer to FIG. 4, which shows a flowchart of another method for selecting at least one target transmission path from multiple transmission paths according to an embodiment of the present application. Referring to FIG. 4, the method may include the following steps :
子步骤2011B、对于多条传输路径中的每条传输路径,获取该传输路径上的各个音频设备的当前处理能力。 Sub-step 2011B: For each of the multiple transmission paths, obtain the current processing capability of each audio device on the transmission path.
可选地,音频处理网络中的每个音频设备可以实时或者周期性向该音频处理网络中的其他音频设备发送(例如广播)自身的处理能力信息,每个音频设备向其他音频设备发送的处理能力信息用于表征该音频设备的当前处理能力,例如,每个音频设备可以每隔10秒或者60秒向其他音频设备广播自身的处理能力信息。对于每条传输路径,目标音频设备可以根据最近一次接收到的该传输路径上的各个音频设备发送的处理能力信息,确定该传输路径上的各个音频设备的当前处理能力。可选地,该处理能力信息可以包括中央处理器(central processing unit,CPU)占用率和绝对能力信息中的至少一种,该绝对能力信息例如每秒百万条指令(million instructions per second,MIPS)数、每秒百万次运算(million operation per second,MOPS)数或每秒兆个码元(megabit code per second,MCPS)数,其中,MIPS又称单字长定点指令平均执行速度。Optionally, each audio device in the audio processing network can send (for example, broadcast) its own processing capability information to other audio devices in the audio processing network in real time or periodically, and the processing capability that each audio device sends to other audio devices The information is used to characterize the current processing capability of the audio device. For example, each audio device can broadcast its processing capability information to other audio devices every 10 seconds or 60 seconds. For each transmission path, the target audio device may determine the current processing capability of each audio device on the transmission path according to the most recently received processing capability information sent by each audio device on the transmission path. Optionally, the processing capability information may include at least one of a central processing unit (CPU) occupancy rate and absolute capability information, such as million instructions per second (MIPS). ), million operations per second (MOPS), or megabit code per second (MCPS). Among them, MIPS is also called the average execution speed of single-word fixed-point instructions.
子步骤2012B、根据该多条传输路径上的音频设备的当前处理能力,从该多条传输路径中选择至少一条传输路径作为至少一条目标传输路径,每条目标传输路径上的音频设备的当前处理能力强于预设处理能力。 Sub-step 2012B. According to the current processing capabilities of the audio devices on the multiple transmission paths, at least one transmission path is selected from the multiple transmission paths as at least one target transmission path, and the current processing of the audio equipment on each target transmission path Ability is stronger than the preset processing capacity.
其中,预设处理能力可以是在执行该子步骤2012B之前,目标音频设备或者音频处理网络中的管理设备预先设定的,该预设处理能力用于衡量音频设备的当前处理能力的强弱。The preset processing capability may be preset by the target audio device or the management device in the audio processing network before performing this sub-step 2012B, and the preset processing capability is used to measure the current processing capability of the audio device.
可选地,目标音频设备可以根据多条传输路径上的音频设备的当前处理能力,从该多条传输路径中,选择当前处理能力强于预设处理能力的音频设备所在的传输路径作为目标传输路径。可选地,目标传输路径上的所有音频设备的当前处理能力均强于预设处理能力,或者,目标传输路径上当前处理能力强于预设处理能力的音频设备的数量与该目标传输路径上的所有音频设备的数量的比值大于预设比值,也即是,如果某一传输路径上当前处理能力强于预 设处理能力的音频设备在该传输路径上的占比大于预设比值,该传输路径可以作为目标传输路径,示例地,该预设比值可以是0.5、0.6或0.8等。可选地,该预设处理能力可以采用预设的处理能力信息来表征,该预设的处理能力信息可以是CPU占用率和绝对能力信息中的至少一种,该绝对能力信息例如MIPS数、MOPS数或MCPS数。Optionally, the target audio device may select the transmission path where the audio device with the current processing capability is stronger than the preset processing capability from the multiple transmission paths according to the current processing capabilities of the audio devices on the multiple transmission paths as the target transmission path. Optionally, the current processing capabilities of all audio devices on the target transmission path are stronger than the preset processing capabilities, or the number of audio devices on the target transmission path whose current processing capabilities are stronger than the preset processing capabilities and the number of audio devices on the target transmission path The ratio of the number of all audio devices is greater than the preset ratio, that is, if the current processing capacity of a certain transmission path is stronger than the preset processing capacity of the audio equipment on the transmission path is greater than the preset ratio, the transmission The path may be used as the target transmission path. For example, the preset ratio may be 0.5, 0.6, 0.8, or the like. Optionally, the preset processing capability may be characterized by using preset processing capability information. The preset processing capability information may be at least one of a CPU occupancy rate and absolute capability information, such as MIPS number, MOPS number or MCPS number.
示例地,继续以上述传输路径1~传输路径4为例,假设音频设备01的CPU占用率大于预设的CPU占用率,则音频设备04(目标音频设备)可以选择音频设备01所在的传输路径作为目标传输路径,也即是,选择上述传输路径1作为目标传输路径。假设音频设备05的MIPS数大于预设的MIPS数,则音频设备04可以选择音频设备05所在的传输路径作为目标传输路径,也即是,选择上述传输路径4作为目标传输路径。As an example, continue to take the above transmission path 1 to transmission path 4 as an example. Assuming that the CPU occupancy rate of audio device 01 is greater than the preset CPU occupancy rate, audio device 04 (target audio device) can select the transmission path where audio device 01 is located As the target transmission path, that is, the aforementioned transmission path 1 is selected as the target transmission path. Assuming that the MIPS number of the audio device 05 is greater than the preset MIPS number, the audio device 04 may select the transmission path where the audio device 05 is located as the target transmission path, that is, select the aforementioned transmission path 4 as the target transmission path.
在本申请实施例中,目标音频设备从多条传输路径中,选择当前处理能力强于预设处理能力的音频设备所在的传输路径作为目标传输路径,有助于维护音频处理网络的系统稳定性。In the embodiment of the present application, the target audio device selects the transmission path of the audio device whose current processing capability is stronger than the preset processing capability from multiple transmission paths as the target transmission path, which helps maintain the system stability of the audio processing network .
值得说明的是,本申请实施例以音频设备04选择传输路径1和传输路径4作为目标传输路径为例说明的,实际应用中,音频设备04与音频设备05之间的距离可能较近,若音频设备04与音频设备05之间的距离较近,音频设备05采集的音频信号和音频设备04采集的音频信号的相关性较强,对于音频设备04而言,音频设备05采集的音频信号的有用信息较少,因此音频设备04也可以不选择传输路径4,本申请实施例对此不作限定。It is worth noting that, in the embodiment of this application, the audio device 04 selects the transmission path 1 and the transmission path 4 as the target transmission path as an example. In actual applications, the distance between the audio device 04 and the audio device 05 may be relatively close. The distance between the audio device 04 and the audio device 05 is relatively close. The audio signal collected by the audio device 05 has a strong correlation with the audio signal collected by the audio device 04. For the audio device 04, the audio signal collected by the audio device 05 is There is less useful information, so the audio device 04 may not select the transmission path 4, which is not limited in the embodiment of the present application.
第二种实现方式:根据音频处理网络的拓扑信息和该音频处理网络中的各个音频设备的当前处理能力从音频处理网络中确定目的点为目标音频设备的至少一条目标传输路径。The second implementation manner: According to the topology information of the audio processing network and the current processing capability of each audio device in the audio processing network, the destination point is determined from the audio processing network as at least one target transmission path of the target audio device.
示例地,请参考图5,其示出了本申请实施例提供的一种确定目的点为目标音频设备的至少一条目标传输路径的方法流程图,参见图5,该方法可以包括如下几个步骤:For example, please refer to FIG. 5, which shows a flow chart of a method for determining at least one target transmission path with a destination point as a target audio device provided by an embodiment of the present application. Referring to FIG. 5, the method may include the following steps :
子步骤2011C、获取音频处理网络的拓扑信息和该音频处理网络中的各个音频设备的当前处理能力。 Sub-step 2011C: Acquire the topology information of the audio processing network and the current processing capabilities of each audio device in the audio processing network.
可选地,音频处理网络的管理设备可以维护该音频处理网络的拓扑信息,目标音频设备可以从该管理设备获取该音频处理网络的拓扑信息,该拓扑信息可以包括该音频处理网络中的音频设备之间的连接关系。其中,该管理设备可以是该音频处理网络中的任一音频设备(例如可以是应用音频设备)或者是专用于管理该音频处理网络的设备,本申请实施例对此不作限定。Optionally, the management device of the audio processing network can maintain the topology information of the audio processing network, and the target audio device can obtain the topology information of the audio processing network from the management device, and the topology information can include the audio devices in the audio processing network. The connection relationship between. The management device may be any audio device in the audio processing network (for example, it may be an application audio device) or a device dedicated to managing the audio processing network, which is not limited in the embodiment of the present application.
可选地,音频处理网络中的每个音频设备可以实时或者周期性向该音频处理网络中的其他音频设备发送自身的处理能力信息,例如,每个音频设备可以每隔10秒或者60秒向其他音频设备广播自身的处理能力信息。目标音频设备可以根据最近一次接收到的各个音频设备发送的处理能力信息,确定该音频处理网络中的各个音频设备的当前处理能力。其中,该处理能力信息可以包括CPU占用率和绝对能力信息中的至少一种,该绝对能力信息例如MIPS数、MOPS数或MCPS数。Optionally, each audio device in the audio processing network can send its processing capability information to other audio devices in the audio processing network in real time or periodically. For example, each audio device can send information to other audio devices every 10 seconds or 60 seconds. The audio device broadcasts its own processing capability information. The target audio device may determine the current processing capability of each audio device in the audio processing network according to the processing capability information sent by each audio device that was received last time. Wherein, the processing capability information may include at least one of a CPU occupancy rate and absolute capability information, the absolute capability information, for example, the number of MIPS, the number of MOPS, or the number of MCPS.
子步骤2012C、根据音频处理网络中的各个音频设备的当前处理能力,从该音频处理网络中确定目标音频设备所需的至少一个协同音频设备。 Sub-step 2012C: According to the current processing capabilities of each audio device in the audio processing network, determine at least one cooperative audio device required by the target audio device from the audio processing network.
可选地,目标音频设备可以根据业务需要以及各个音频设备的当前处理能力,从该音频处理网络中确定目标音频设备所需的至少一个协同音频设备,该至少一个协同音频设备可以是能够为目标音频设备的业务需要提供音频信号,且当前处理能力较强的音频设备。Optionally, the target audio device may determine at least one cooperative audio device required by the target audio device from the audio processing network according to business needs and the current processing capabilities of each audio device. The at least one cooperative audio device may be capable of serving as the target audio device. The business of audio equipment requires audio equipment that provides audio signals and has strong processing capabilities.
可选地,目标音频设备可以按照处理能力从强到弱的顺序对音频处理网络中,能够为该 目标音频设备提供音频信号的音频设备进行排序,根据排序结果将能够为该目标音频设备提供音频信号的音频设备中,处理能力排序靠前的至少一个音频设备确定为该至少一个协同音频设备。或者,目标音频设备可以将能够为目标音频设备提供音频信号的音频设备中,当前处理能力强于预设处理能力的至少一个音频设备确定为该至少一个协同音频设备。该预设处理能力可以采用预设的处理能力信息来表征,该预设的处理能力信息可以是CPU占用率和绝对能力信息中的至少一种,该绝对能力信息例如MIPS数、MOPS数或MCPS数。Optionally, the target audio device can sort the audio devices that can provide audio signals to the target audio device in the audio processing network in the order of processing capability from strong to weak, and according to the sorting result, it will be able to provide audio to the target audio device. Among the audio devices of the signal, at least one audio device with the highest processing capability is determined to be the at least one cooperative audio device. Alternatively, the target audio device may determine at least one audio device whose current processing capability is stronger than a preset processing capability among audio devices capable of providing audio signals to the target audio device as the at least one cooperative audio device. The preset processing capability may be characterized by preset processing capability information. The preset processing capability information may be at least one of a CPU occupancy rate and absolute capability information, such as MIPS number, MOPS number, or MCPS. number.
示例地,以图1为例,音频设备04可以是目标音频设备,音频设备01的MIPS数大于预设的MIPS数,音频设备02的MOPS数大于预设的MOPS数,音频设备03的CPU占用率大于预设的CPU占用率,音频设备05的MCPS数大于预设的MCPS数,因此音频设备04可以将音频设备01、音频设备02、音频设备03和音频设备05确定为该音频设备04所需的至少一个协同音频设备。For example, taking Figure 1 as an example, audio device 04 may be the target audio device, the MIPS number of audio device 01 is greater than the preset MIPS number, the MOPS number of audio device 02 is greater than the preset MOPS number, and the CPU of audio device 03 is occupied The rate is greater than the preset CPU occupancy rate, and the MCPS number of audio device 05 is greater than the preset MCPS number, so audio device 04 can determine audio device 01, audio device 02, audio device 03, and audio device 05 as the audio device 04 At least one cooperative audio device is required.
子步骤2013C、根据音频处理网络的拓扑信息,将目的点为目标音频设备且包含该至少一个协同音频设备的至少一个传输路径确定为至少一条目标传输路径。 Sub-step 2013C: According to the topology information of the audio processing network, at least one transmission path including the at least one cooperative audio device with the destination point as the target audio device is determined as the at least one target transmission path.
可选地,目标音频设备可以根据音频处理网络的拓扑信息,确定目的点为该目标音频设备且包含该至少一个协同音频设备的多条传输路径,然后从该多条传输路径中选择至少一条传输路径作为该至少一条目标传输路径,该至少一条目标传输路径是目的点为该目标音频设备且包含该至少一个协同音频设备的该多条传输路径中,路径数量最少的传输路径,例如,该至少一条目标传输路径是该多条传输路径的多个组合(每个组合包括至少一条传输路径)中,包含该至少一个协同音频设备且路径数量最少的组合中的传输路径。Optionally, the target audio device may determine, according to the topology information of the audio processing network, that the destination point is the target audio device and includes multiple transmission paths of the at least one cooperative audio device, and then select at least one transmission path from the multiple transmission paths A path serves as the at least one target transmission path, and the at least one target transmission path is the transmission path with the least number of paths among the multiple transmission paths whose destination is the target audio device and includes the at least one cooperative audio device, for example, the at least one A target transmission path is a transmission path in a combination of multiple transmission paths (each combination includes at least one transmission path) that includes the at least one cooperative audio device and has the least number of paths.
示例地,以图1为例,音频设备04可以是目标音频设备,音频设备01、音频设备02、音频设备03和音频设备05是该音频设备04的协同音频设备,音频设备04根据音频处理网络的拓扑信息,确定目的点为该音频设备04且包含音频设备01、音频设备02、音频设备03和音频设备05的多条传输路径可以包括:For example, taking Figure 1 as an example, audio device 04 may be a target audio device, audio device 01, audio device 02, audio device 03, and audio device 05 are cooperative audio devices of audio device 04, and audio device 04 is based on the audio processing network The multiple transmission paths that determine the destination point is the audio device 04 and include audio device 01, audio device 02, audio device 03, and audio device 05 may include:
传输路径1:音频设备03->音频设备02->音频设备01->音频设备04;Transmission path 1: Audio equipment 03->Audio equipment 02->Audio equipment 01->Audio equipment 04;
传输路径2:音频设备03->音频设备02->音频设备04;Transmission path 2: Audio equipment 03->Audio equipment 02->Audio equipment 04;
传输路径3:音频设备03->音频设备04;Transmission path 3: Audio equipment 03->Audio equipment 04;
传输路径4:音频设备05->音频设备04;Transmission path 4: Audio equipment 05->Audio equipment 04;
音频设备04可以将传输路径1和传输路径4确定为目标传输路径,该传输路径1和该传输路径4的组合包含音频设备01、音频设备02、音频设备03和音频设备05,且该传输路径1和该传输路径4的组合是该传输路径1~传输路径4的组合中路径数量最少的组合。The audio device 04 may determine the transmission path 1 and the transmission path 4 as the target transmission path. The combination of the transmission path 1 and the transmission path 4 includes the audio device 01, the audio device 02, the audio device 03, and the audio device 05, and the transmission path The combination of 1 and the transmission path 4 is the combination with the least number of paths among the combinations of the transmission path 1 to the transmission path 4.
步骤202、向每条目标传输路径上的音频设备发送传输指示信息,每条目标传输路径上的音频设备用于根据接收到的传输指示信息通过该目标传输路径传输音频信号。Step 202: Send transmission instruction information to the audio device on each target transmission path, and the audio device on each target transmission path is used to transmit the audio signal through the target transmission path according to the received transmission instruction information.
目标音频设备从音频处理网络中确定出目的点为目标音频设备的至少一条目标传输路径后,可以向每条目标传输路径上的音频设备发送传输指示信息,以指示每条目标传输路径上的音频设备通过该目标传输路径传输音频信号。After the target audio device determines from the audio processing network that the destination point is at least one target transmission path of the target audio device, it can send transmission instruction information to the audio device on each target transmission path to indicate the audio on each target transmission path The device transmits audio signals through the target transmission path.
可选地,该步骤202可以包括两种可能的实现方式:Optionally, this step 202 may include two possible implementation manners:
第一种实现方式:目标音频设备向每条目标传输路径上的音频设备发送拆除指示信息,目标音频设备向每条目标传输路径上的音频设备发送的拆除指示信息指示该音频设备拆除目的点为该目标音频设备的多条传输路径中的冗余传输路径且通过该目标传输路径传输音频信 号,其中,该冗余传输路径是该多条传输路径中除该至少一条目标传输路径之外的传输路径。可选地,该第一种实现方式可以与步骤201中的第一种实现方式对应。The first implementation method: the target audio device sends removal instruction information to the audio device on each target transmission path, and the removal instruction information sent by the target audio device to the audio device on each target transmission path indicates that the audio device removal destination is The redundant transmission path among the multiple transmission paths of the target audio device and the audio signal is transmitted through the target transmission path, wherein the redundant transmission path is a transmission of the multiple transmission paths other than the at least one target transmission path path. Optionally, the first implementation manner may correspond to the first implementation manner in step 201.
可选地,目标音频设备向每个音频设备发送的拆除指示信息可以携带该至少一条目标传输路径的路径信息(每条传输路径的路径信息可以包括该传输路径上的音频设备的设备标识,以及该传输路径上的音频设备之间的连接关系),每个音频设备根据接收到的拆除指示信息携带的目标传输路径的路径信息以及自身所在的传输路径的路径信息确定自身所在的冗余传输路径,并拆除该冗余传输路径。或者,目标音频设备向每个音频设备发送的拆除指示信息可以携带冗余传输路径的路径信息,每个音频设备根据接收到的拆除指示信息携带的冗余传输路径的路径信息拆除该冗余传输路径。拆除冗余传输路径后,目的点为目标音频设备的剩余传输路径均为目标传输路径,每个音频设备可以通过其所在的目标传输路径传输音频信号。Optionally, the removal instruction information sent by the target audio device to each audio device may carry the path information of the at least one target transmission path (the path information of each transmission path may include the device identification of the audio device on the transmission path, and The connection relationship between audio devices on the transmission path), each audio device determines its own redundant transmission path according to the path information of the target transmission path carried in the received removal instruction information and the path information of the transmission path where it is located , And remove the redundant transmission path. Alternatively, the removal instruction information sent by the target audio device to each audio device may carry path information of the redundant transmission path, and each audio device removes the redundant transmission according to the path information of the redundant transmission path carried in the received removal instruction information path. After the redundant transmission path is removed, the remaining transmission paths whose destination point is the target audio device are all target transmission paths, and each audio device can transmit audio signals through the target transmission path where it is located.
示例地,以图1为例,对应于步骤201中的第一种实现方式,目的点为音频设备04的传输路径1~传输路径4中,传输路径1和传输路径4为目标传输路径,传输路径2和传输路径3为冗余传输路径,音频设备04可以向目标传输路径上的音频设备01、音频设备02、音频设备03和音频设备05发送拆除指示信息,该拆除指示信息可以携带传输路径1和传输路径4的路径信息(或者携带传输路径2和传输路径3的路径信息),音频设备01、音频设备02、音频设备03和音频设备05根据该拆除指示信息拆除传输路径2和传输路径3。拆除传输路径2和传输路径3之后,音频设备01、音频设备02和音频设备03通过传输路径1向音频设备04传输音频信号,音频设备05通过传输路径2向音频设备04传输音频信号。For example, taking Figure 1 as an example, corresponding to the first implementation in step 201, the destination point is the transmission path 1 to the transmission path 4 of the audio device 04, and the transmission path 1 and the transmission path 4 are the target transmission paths. Path 2 and transmission path 3 are redundant transmission paths. Audio device 04 can send removal instruction information to audio device 01, audio device 02, audio device 03, and audio device 05 on the target transmission path. The removal instruction information can carry the transmission path 1 and the path information of transmission path 4 (or carry path information of transmission path 2 and transmission path 3), audio equipment 01, audio equipment 02, audio equipment 03, and audio equipment 05 remove transmission path 2 and transmission path according to the removal instruction information 3. After the transmission path 2 and the transmission path 3 are removed, the audio equipment 01, the audio equipment 02, and the audio equipment 03 transmit audio signals to the audio equipment 04 through the transmission path 1, and the audio equipment 05 transmits the audio signals to the audio equipment 04 through the transmission path 2.
值得说明的是,本申请实施例提供的拆除冗余传输路径的实现方式仅仅是示例性的,实际应用中,目标音频设备可以向每条冗余传输路径上该目标音频设备的上一跳设备发送拆除指示信息,使该上一跳设备拆除与该目标音频设备之间的传输路径,从而拆除该冗余传输路径。其中,目标音频设备的上一跳设备可以是该目标传输路径上与该目标音频设备相邻且按照该目标传输路径的方向位于该目标音频设备之前的音频设备。以图1为例,音频设备04可以向音频设备02(传输路径2上该音频设备04的上一跳设备)和音频设备03(传输路径3上该音频设备04的上一跳设备)分别发送拆除指示信息,指示音频设备02拆除传输路径2,指示音频设备03拆除传输路径3。在本申请实施例中,拆除冗余传输路径可以是指拆除该冗余传输路径相应的音频链路,可以不拆除底层链路,通过拆除该冗余传输路径,可以避免音频设备通过该冗余传输路径向目标音频设备传输音频信号,有助于降低音频信号的传输带宽。It is worth noting that the implementation of removing redundant transmission paths provided by the embodiments of the present application is only exemplary. In actual applications, the target audio device can send the target audio device to the previous hop device of the target audio device on each redundant transmission path. Sending the removal instruction information, so that the previous hop device removes the transmission path with the target audio device, thereby removing the redundant transmission path. Wherein, the last hop device of the target audio device may be an audio device that is adjacent to the target audio device on the target transmission path and is located before the target audio device according to the direction of the target transmission path. Taking Figure 1 as an example, the audio device 04 can send to the audio device 02 (the previous hop device of the audio device 04 on the transmission path 2) and the audio device 03 (the previous hop device of the audio device 04 on the transmission path 3) respectively. The removal instruction information instructs the audio device 02 to remove the transmission path 2 and instructs the audio device 03 to remove the transmission path 3. In the embodiment of the present application, removing the redundant transmission path may refer to removing the audio link corresponding to the redundant transmission path, and the underlying link may not be removed. By removing the redundant transmission path, the audio device can be prevented from passing through the redundancy. The transmission path transmits the audio signal to the target audio device, which helps to reduce the transmission bandwidth of the audio signal.
第二种实现方式:目标音频设备向每条目标传输路径上的音频设备发送设备指示信息,目标音频设备向每条目标传输路径上的音频设备发送的设备指示信息指示该目标传输路径上该音频设备的下一跳设备,每个音频设备可以根据接收到的设备指示信息,向该音频设备的下一跳设备传输音频信号。其中,该音频设备的下一跳设备可以是该目标传输路径上与该音频设备相邻且按照该目标传输路径的方向位于该音频设备之后的音频设备。可选地,该第二种实现方式可以与步骤201中的第二种实现方式对应。The second implementation method: the target audio device sends device indication information to the audio device on each target transmission path, and the device indication information sent by the target audio device to the audio device on each target transmission path indicates the audio on the target transmission path The next hop device of the device, each audio device can transmit an audio signal to the next hop device of the audio device according to the received device indication information. The next hop device of the audio device may be an audio device adjacent to the audio device on the target transmission path and located behind the audio device in the direction of the target transmission path. Optionally, the second implementation manner may correspond to the second implementation manner in step 201.
可选地,对于每条目标传输路径,目标音频设备可以向该目标传输路径上的每个音频设备发送设备指示信息,目标音频设备向每个音频设备发送设备指示信息包含该目标传输路径该音频设备的下一跳设备的设备标识,以此来指示该下一跳设备。或者,对于每条目标传输路径,目标音频设备可以向该目标传输路径上该目标音频设备的上一跳设备发送包含自身的设备标识的设备指示信息,以此来向该上一跳设备指示自身(也即是目标音频设备);该上 一跳设备接收到该设备指示信息后,可以向该目标传输路径上该上一跳设备的上一跳设备发送包含自身的设备标识的设备指示信息,以此来向该上一跳设备指示自身,依次类推,直至该目标传输路径的起始点的音频设备接收到设备指示信息。Optionally, for each target transmission path, the target audio device may send device indication information to each audio device on the target transmission path, and the target audio device sends device indication information to each audio device including the target transmission path and the audio The device identifier of the next hop device of the device to indicate the next hop device. Or, for each target transmission path, the target audio device may send device indication information including its own device identifier to the previous hop device of the target audio device on the target transmission path, so as to indicate itself to the previous hop device (That is, the target audio device); after receiving the device indication information, the previous hop device can send the device indication information including its own device identifier to the previous hop device of the previous hop device on the target transmission path, In this way, it indicates itself to the previous hop device, and so on, until the audio device at the starting point of the target transmission path receives the device indication information.
示例地,以图1为例,对应于步骤201的第二种实现方式,传输路径1和传输路径4为目的点为音频设备04的目标传输路径。对于传输路径1,音频设备04可以向音频设备01发送包含该音频设备04的设备标识ID-04的设备指示信息来指示该音频设备04(也即是该传输路径1上该音频设备01的下一跳设备),向音频设备02发送包含音频设备01的设备标识ID-01的设备指示信息来指示该音频设备01(也即是该传输路径1上该音频设备02的下一跳设备),向音频设备03发送包含音频设备02的设备标识ID-02的设备指示信息来指示该音频设备02(也即是该传输路径1上该音频设备03的下一跳设备)。或者,音频设备04可以向音频设备01(也即是该传输路径1上该音频设备04的上一跳设备)发送包含该音频设备04的设备标识ID-04的设备指示信息来指示该音频设备04,音频设备01接收到该设备指示信息后,可以向音频设备02(也即是该传输路径1上该音频设备01的上一跳设备)发送包含该音频设备01的设备标识ID-01的设备指示信息来指示该音频设备01,音频设备02接收到该设备指示信息后,可以向音频设备03(也即是该传输路径1上该音频设备02的上一跳设备)发送包含该音频设备03的设备标识ID-03的设备指示信息来指示该音频设备03。传输路径4同理,在此不再赘述。Illustratively, taking FIG. 1 as an example, corresponding to the second implementation manner of step 201, the transmission path 1 and the transmission path 4 are the target transmission paths of the audio device 04 as destination points. For transmission path 1, the audio device 04 can send device indication information containing the device identification ID-04 of the audio device 04 to the audio device 01 to instruct the audio device 04 (that is, the audio device 01 on the transmission path 1). One-hop device), sending device indication information including the device identification ID-01 of the audio device 01 to the audio device 02 to indicate the audio device 01 (that is, the next hop device of the audio device 02 on the transmission path 1), The device indication information including the device identification ID-02 of the audio device 02 is sent to the audio device 03 to indicate the audio device 02 (that is, the next hop device of the audio device 03 on the transmission path 1). Alternatively, the audio device 04 may send device indication information including the device identification ID-04 of the audio device 04 to the audio device 01 (that is, the previous hop device of the audio device 04 on the transmission path 1) to indicate the audio device 04. After the audio device 01 receives the device instruction information, it can send the audio device 01's device identification ID-01 to the audio device 02 (that is, the previous hop device of the audio device 01 on the transmission path 1) The device instruction information indicates the audio device 01. After receiving the device instruction information, the audio device 02 can send the audio device to the audio device 03 (that is, the previous hop device of the audio device 02 on the transmission path 1). The device identification information of the device identification ID-03 of 03 indicates the audio device 03. The same is true for transmission path 4, and will not be repeated here.
上述步骤201至步骤202是本申请实施例提供的路径确定过程,经过上述步骤201至步骤202,目标音频设备可以从音频处理网络中确定出至少一条目标传输路径。示例地,请参考图6,其示出了本申请实施例提供的一种音频处理网络中的至少一条目标传输路径的示意图,如图6所示,该音频处理网络中包括目的点为音频设备04的两条目标传输路径,该两条目标传输路径分别为:传输路径1:音频设备03->音频设备02->音频设备01->音频设备04,和,传输路径4:音频设备05->音频设备04。目标音频设备从音频处理网络中确定出的至少一条目标传输路径中,任一条目标传输路径可以是第一传输路径。例如,该第一传输路径可以是图6所示的传输路径1或传输路径4。下面以第一传输路径上的音频设备向目标音频设备传输音频信号为例来对信号传输过程进行说明。The above steps 201 to 202 are the path determination process provided by the embodiment of the present application. After the above steps 201 to 202, the target audio device can determine at least one target transmission path from the audio processing network. For example, please refer to FIG. 6, which shows a schematic diagram of at least one target transmission path in an audio processing network provided by an embodiment of the present application. As shown in FIG. 6, the audio processing network includes a destination point of an audio device. The two target transmission paths of 04, the two target transmission paths are: transmission path 1: audio equipment 03->audio equipment 02->audio equipment 01->audio equipment 04, and transmission path 4: audio equipment 05- >Audio equipment 04. Among at least one target transmission path determined by the target audio device from the audio processing network, any target transmission path may be the first transmission path. For example, the first transmission path may be the transmission path 1 or the transmission path 4 shown in FIG. 6. The signal transmission process will be described below by taking the audio device on the first transmission path transmitting the audio signal to the target audio device as an example.
示例地,请参考图7,其示出了本申请实施例提供的一种信号传输方法的方法流程图,该信号传输方法可以应用于图1所示实施环境。参见图7,该方法可以包括如下几个步骤:For example, please refer to FIG. 7, which shows a method flowchart of a signal transmission method provided by an embodiment of the present application, and the signal transmission method can be applied to the implementation environment shown in FIG. 1. Referring to Figure 7, the method may include the following steps:
步骤701、第一音频设备的上一跳设备向第一音频设备发送音频信号。Step 701: The previous hop device of the first audio device sends an audio signal to the first audio device.
可选地,第一音频设备和该第一音频设备的上一跳设备可以是第一传输路径上任意相邻的两个音频设备,且按照该第一传输路径的方向,该第一音频设备的上一跳设备位于该第一音频设备之前。容易理解的是,该第一音频设备的上一跳设备也可以具有上一跳设备,该第一音频设备的上一跳设备的上一跳设备可以位于该第一音频设备的上一跳设备之前。在本申请实施例中,为了便于描述,可以将第一音频设备的上一跳设备称为第二音频设备,将第一音频设备的上一跳设备的上一跳设备称为第三音频设备,也即是,本申请实施例中所描述的第二音频设备与第一音频设备的上一跳设备指的是同一音频设备,第三音频设备与第一音频设备的上一跳设备的上一跳设备指的是同一音频设备,示例地,第三音频设备、第二音频设备和第一音频设备按照第一传输路径的方向排布。Optionally, the first audio device and the previous hop device of the first audio device may be any two adjacent audio devices on the first transmission path, and according to the direction of the first transmission path, the first audio device The previous hop device is located before the first audio device. It is easy to understand that the previous hop device of the first audio device may also have a previous hop device, and the previous hop device of the previous hop device of the first audio device may be located on the previous hop device of the first audio device Before. In the embodiments of the present application, for ease of description, the previous hop device of the first audio device may be called the second audio device, and the previous hop device of the first audio device may be called the third audio device. That is, the second audio device and the previous hop device of the first audio device described in the embodiments of this application refer to the same audio device, and the third audio device and the previous hop device of the first audio device The one-hop device refers to the same audio device. For example, the third audio device, the second audio device, and the first audio device are arranged in the direction of the first transmission path.
可选地,第一音频设备的上一跳设备向该第一音频设备发送的音频信号可以是单个音频 设备采集的音频信号,也可以是至少两个音频设备采集的音频信号的混合信号。例如,该第一音频设备的上一跳设备向该第一音频设备发送的音频信号可以是该第一音频设备的上一跳设备采集的音频信号,或者是对该第一音频设备的上一跳设备采集的音频信号进行处理得到的,或者该第一音频设备的上一跳设备向该第一音频设备发送的音频信号可以是该第一音频设备的上一跳设备采集的音频信号和该第一音频设备的上一跳设备的上一跳设备采集的音频信号的混合信号,甚至,该第一音频设备的上一跳设备向该第一音频设备发送的音频信号可以是该第一传输路径上位于该第一音频设备之前的n个音频设备采集的音频信号的混合信号,n为大于或等于3的整数,本申请实施例对此不作限定。Optionally, the audio signal sent by the previous hop device of the first audio device to the first audio device may be an audio signal collected by a single audio device, or a mixed signal of audio signals collected by at least two audio devices. For example, the audio signal sent by the previous hop device of the first audio device to the first audio device may be the audio signal collected by the previous hop device of the first audio device, or the previous hop device of the first audio device. The audio signal collected by the hop device is processed, or the audio signal sent by the previous hop device of the first audio device to the first audio device may be the audio signal collected by the previous hop device of the first audio device and the audio signal A mixed signal of the audio signal collected by the previous hop device of the first audio device, and even the audio signal sent by the previous hop device of the first audio device to the first audio device may be the first transmission A mixed signal of audio signals collected by n audio devices located before the first audio device on the path, where n is an integer greater than or equal to 3, which is not limited in the embodiment of the present application.
示例地,请参考图8至图10,其示出了本申请实施例提供的三种通过第一传输路径传输音频信号的示意图,该图8至图10提供了两种第一传输路径。如图8和图9所示,第一传输路径的起始点的音频设备为音频设备02,目的点的音频设备为04,该第一传输路径的方向可以为从音频设备02到音频设备04的方向,第一音频设备可以是音频设备01,第一音频设备的上一跳设备可以是音频设备02,该音频设备02是该第一传输路径的起始点的音频设备,因此该音频设备02无上一跳设备,该音频设备02向音频设备01发送的音频信号可以是该音频设备02采集的音频信号,或者是对该音频设备02采集的音频信号进行处理得到的。如图10所示,第一传输路径的起始点的音频设备为音频设备03,目的点的音频设备为04,该第一传输路径的方向可以为从音频设备03到音频设备04的方向,第一音频设备可以是音频设备01,该第一音频设备的上一跳设备可以是音频设备02,该第一音频设备的上一跳设备的上一跳设备可以是音频设备03,音频设备03是该第一传输路径的起始点的音频设备,因此该音频设备03无上一跳设备,音频设备02向音频设备01发送的音频信号可以是该音频设备02采集的音频信号和该音频设备03采集的音频信号的混合信号。For example, please refer to FIG. 8 to FIG. 10, which show three schematic diagrams of transmitting audio signals through the first transmission path provided by the embodiments of the present application, and FIG. 8 to FIG. 10 provide two first transmission paths. As shown in Figures 8 and 9, the audio equipment at the starting point of the first transmission path is audio equipment 02, and the audio equipment at the destination point is 04. The direction of the first transmission path can be from audio equipment 02 to audio equipment 04. Direction, the first audio device can be audio device 01, the last hop device of the first audio device can be audio device 02, and the audio device 02 is the audio device at the starting point of the first transmission path, so the audio device 02 has no For the last hop device, the audio signal sent by the audio device 02 to the audio device 01 may be the audio signal collected by the audio device 02 or obtained by processing the audio signal collected by the audio device 02. As shown in Figure 10, the audio device at the starting point of the first transmission path is audio device 03, and the audio device at the destination point is 04. The direction of the first transmission path can be from audio device 03 to audio device 04. An audio device can be audio device 01, the previous hop device of the first audio device can be audio device 02, the previous hop device of the first audio device can be audio device 03, and audio device 03 is The audio device at the starting point of the first transmission path, so the audio device 03 has no previous hop device, and the audio signal sent by the audio device 02 to the audio device 01 can be the audio signal collected by the audio device 02 and the audio device 03. The mixed signal of the audio signal.
在申请实施例中,针对第一音频设备的上一跳设备向该第一音频设备发送的音频信号的不同,该步骤701可以包括三种可能的实现方式:In the application embodiment, in view of the difference in the audio signal sent by the previous hop device of the first audio device to the first audio device, this step 701 may include three possible implementation manners:
第一种实现方式:第一音频设备的上一跳设备向该第一音频设备发送的音频信号是该第一音频设备的上一跳设备采集的音频信号。The first implementation manner: the audio signal sent by the previous hop device of the first audio device to the first audio device is an audio signal collected by the previous hop device of the first audio device.
可选地,第一音频设备的上一跳设备可以具有音频采集组件,该第一音频设备的上一跳设备可以通过该音频采集组件采集音频信号,并向该第一音频设备发送该音频信号。该第一音频设备的上一跳设备采集的音频信号可以是数字信号,例如,该第一音频设备的上一跳设备采集的音频信号可以是数字化的音频序列,包含N个采样点数据。其中,每个采样点数据可以采用固定比特表示,该固定比特例如可以是16比特。Optionally, the previous hop device of the first audio device may have an audio collection component, and the previous hop device of the first audio device can collect audio signals through the audio collection component, and send the audio signal to the first audio device . The audio signal collected by the previous hop device of the first audio device may be a digital signal. For example, the audio signal collected by the previous hop device of the first audio device may be a digitized audio sequence containing data of N sampling points. Wherein, each sampling point data may be represented by a fixed bit, and the fixed bit may be, for example, 16 bits.
示例地,如图8所示,第一音频设备可以是音频设备01,该第一音频设备的上一跳设备可以是音频设备02,音频设备02采集的音频信号可以是g2(n),n=0,1,…,N-1,音频设备02可以向音频设备01发送该音频信号g2(n)。For example, as shown in FIG. 8, the first audio device may be audio device 01, the previous hop device of the first audio device may be audio device 02, and the audio signal collected by audio device 02 may be g2(n), n =0,1,...,N-1, the audio device 02 can send the audio signal g2(n) to the audio device 01.
第二种实现方式:第一音频设备的上一跳设备向该第一音频设备发送的音频信号是对该第一音频设备的上一跳设备采集的音频信号进行处理得到的。The second implementation manner: the audio signal sent by the previous hop device of the first audio device to the first audio device is obtained by processing the audio signal collected by the previous hop device of the first audio device.
可选地,第一音频设备的上一跳设备可以采集音频信号,然后对采集的音频信号进行处理,并在处理后向第一音频设备发送音频信号。可选地,音频处理网络中的每个音频设备可以具有音频处理函数,该第一音频设备的上一跳设备可以采用该第一音频设备的上一跳设备的音频处理函数对该第一音频设备的上一跳设备采集的音频信号进行处理。例如,该第一音 频设备的上一跳设备采用该第一音频设备的上一跳设备的音频处理函数对该第一音频设备的上一跳设备采集的音频信号进行卷积。Optionally, the previous hop device of the first audio device may collect the audio signal, then process the collected audio signal, and send the audio signal to the first audio device after the processing. Optionally, each audio device in the audio processing network may have an audio processing function, and the previous hop device of the first audio device may adopt the audio processing function of the previous hop device of the first audio device to the first audio The audio signal collected by the last hop of the device is processed. For example, the previous hop device of the first audio device uses the audio processing function of the previous hop device of the first audio device to convolve the audio signal collected by the previous hop device of the first audio device.
示例地,如图9所示,第一音频设备可以是音频设备01,该第一音频设备的上一跳设备可以是音频设备02,音频设备02采集的音频信号可以是g2(n),该音频设备02的音频处理函数可以是h2(n),音频设备02可以向音频设备01发送音频信号y2(n),y2(n)=g2(n)*h2(n),符号“*”表示卷积,该音频信号y2(n)是根据音频设备02的音频处理函数h2(n)对音频设备02采集的音频信号g2(n)卷积得到的。For example, as shown in FIG. 9, the first audio device may be audio device 01, the previous hop device of the first audio device may be audio device 02, and the audio signal collected by audio device 02 may be g2(n), which The audio processing function of audio device 02 can be h2(n), audio device 02 can send audio signal y2(n) to audio device 01, y2(n)=g2(n)*h2(n), the symbol "*" means Convolution, the audio signal y2(n) is obtained by convolving the audio signal g2(n) collected by the audio device 02 according to the audio processing function h2(n) of the audio device 02.
第三种实现方式:第一音频设备的上一跳设备向该第一音频设备发送的音频信号是至少两个音频设备采集的音频信号的混合信号。A third implementation manner: the audio signal sent by the previous hop device of the first audio device to the first audio device is a mixed signal of audio signals collected by at least two audio devices.
可选地,该第一音频设备的上一跳设备可以获取至少两个音频设备采集的音频信号,将该至少两个音频设备采集的音频信号混合得到混合信号,并向该第一音频设备发送该混合信号。可选地,音频处理网络中的每个音频设备可以具有音频处理函数,对于该至少两个音频设备中的每个音频设备,该第一音频设备的上一跳设备可以采用该音频设备的音频处理函数对该音频设备采集的音频信号进行处理得到该音频设备的处理信号,将该至少两个音频设备的处理信号叠加得到混合信号。可选地,对于该至少两个音频设备中的每个音频设备,该第一音频设备的上一跳设备可以采用该音频设备的音频处理函数对该音频设备采集的音频信号进行卷积得到该音频设备的处理信号。Optionally, the previous hop device of the first audio device may obtain audio signals collected by at least two audio devices, mix the audio signals collected by the at least two audio devices to obtain a mixed signal, and send the mixed signal to the first audio device The mixed signal. Optionally, each audio device in the audio processing network may have an audio processing function, and for each audio device of the at least two audio devices, the previous hop device of the first audio device may adopt the audio of the audio device The processing function processes the audio signal collected by the audio device to obtain a processed signal of the audio device, and superimposes the processed signals of the at least two audio devices to obtain a mixed signal. Optionally, for each audio device of the at least two audio devices, the previous hop device of the first audio device may use the audio processing function of the audio device to convolve the audio signal collected by the audio device to obtain the The processing signal of the audio device.
在本申请实施例中,该至少两个音频设备可以包括第一音频设备的上一跳设备(也即是第二音频设备)和该第一音频设备的上一跳设备的上一跳设备(也即是第三音频设备)。以该至少两个音频设备是该第一音频设备的上一跳设备(也即是第二音频设备)和该第一音频设备的上一跳设备的上一跳设备(也即是第三音频设备)为例。第二音频设备可以采集音频信号,并且该第二音频设备可以接收第三音频设备发送的音频信号,第二音频设备可以采用该第二音频设备的音频处理函数对该第二音频设备采集的音频信号进行卷积得到该第二音频设备的处理信号,采用该第三音频设备的音频处理函数对该第三音频设备采集的音频信号进行卷积得到该第三音频设备的处理信号,之后,该第二音频设备将该第二音频设备的处理信号和该第三音频设备的处理信号叠加得到混合信号。In the embodiment of the present application, the at least two audio devices may include the previous hop device (that is, the second audio device) of the first audio device and the previous hop device ( That is the third audio device). The at least two audio devices are the previous hop device of the first audio device (that is, the second audio device) and the previous hop device of the previous hop device of the first audio device (that is, the third audio device). Equipment) as an example. The second audio device can collect audio signals, and the second audio device can receive audio signals sent by the third audio device. The second audio device can use the audio processing function of the second audio device to collect audio from the second audio device. The signal is convolved to obtain the processed signal of the second audio device, and the audio processing function of the third audio device is used to convolve the audio signal collected by the third audio device to obtain the processed signal of the third audio device. The second audio device superimposes the processed signal of the second audio device and the processed signal of the third audio device to obtain a mixed signal.
示例地,如图10所示,第一音频设备是音频设备01,该第一音频设备的上一跳设备(也即是第二音频设备)是音频设备02,该第一音频设备的上一跳设备的上一跳设备(也即是第三音频设备)是音频设备03,音频设备02采集的音频信号可以是g2(n),音频设备02的音频处理函数可以是h2(n),音频设备02的处理信号可以是g2(n)*h2(n),音频设备03采集的音频信号可以是g3(n),音频设备03的音频处理函数可以是h3(n),音频设备03的处理信号可以是g3(n)*h3(n),音频设备02可以向音频设备01发送音频信号y2(n),y2(n)=g2(n)*h2(n)+g3(n)*h3(n),符号“*”表示卷积,表示“+”表示叠加,该音频信号y2(n)是音频设备02采集的音频信号g2(n)和音频设备03采集的音频信号g3(n)的混合信号。For example, as shown in FIG. 10, the first audio device is audio device 01, and the previous hop device (that is, the second audio device) of the first audio device is audio device 02, and the previous hop device of the first audio device is audio device 02. The last hop device of the hop device (that is, the third audio device) is audio device 03, the audio signal collected by audio device 02 can be g2(n), the audio processing function of audio device 02 can be h2(n), audio The processing signal of device 02 can be g2(n)*h2(n), the audio signal collected by audio device 03 can be g3(n), the audio processing function of audio device 03 can be h3(n), the processing of audio device 03 The signal can be g3(n)*h3(n), audio device 02 can send audio signal y2(n) to audio device 01, y2(n)=g2(n)*h2(n)+g3(n)*h3 (n), the symbol "*" means convolution, means "+" means superposition, the audio signal y2(n) is the audio signal g2(n) collected by audio device 02 and the audio signal g3(n) collected by audio device 03 Mixed signal.
本领域技术人员容易理解,音频设备03(也即是第一音频设备的上一跳设备的上一跳设备)采集的音频信号g3(n)可以是数字信号,该音频信号g3(n)可以包含N个采样点数据,每个采样点数据可以采用固定比特表示。音频信号g3(n)可以是音频设备03发送给音频设备02(也即是第一音频设备的上一跳设备)的,音频设备03向音频设备02发送音频信号的过程可以参考该步骤701的第一种实现方式和第二种实现方式,本申请实施例在此不再赘述。值 得说明的是,如果音频设备03参考该步骤701的第二种实现方式向音频设备02发送音频信号,如图10所示,音频设备03向音频设备02发送的可以是对音频信号g3(n)处理得到的音频信号y3(n),该音频设备02可以先从该音频信号y3(n)中恢复出音频信号g3(n)。本申请实施例在下文中详细介绍音频信号的恢复过程,在此不再赘述。Those skilled in the art can easily understand that the audio signal g3(n) collected by the audio device 03 (that is, the previous hop device of the first audio device) may be a digital signal, and the audio signal g3(n) may Contains N sampling point data, and each sampling point data can be represented by a fixed bit. The audio signal g3(n) can be sent from the audio device 03 to the audio device 02 (that is, the previous hop device of the first audio device). The process of sending the audio signal from the audio device 03 to the audio device 02 can refer to the step 701. The first implementation manner and the second implementation manner are not described in detail in the embodiments of the present application. It is worth noting that if the audio device 03 refers to the second implementation of step 701 to send an audio signal to the audio device 02, as shown in FIG. ) The audio signal y3(n) obtained by processing, the audio device 02 can first restore the audio signal g3(n) from the audio signal y3(n). The embodiments of the present application describe the audio signal restoration process in detail below, and will not be repeated here.
值得说明的是,第一音频设备的上一跳设备(也即是第二音频设备)向该第一音频设备发送音频信号时,可以在发送给该第一音频设备的音频信号中添加来源信息以指示该音频信号的来源,该来源信息可以是音频设备的设备标识,表示该音频信号来源于该设备标识指示的音频设备。可选地,第一音频设备的上一跳设备在发送给该第一音频设备的音频信号中添加的来源信息至少包含该第一音频设备的上一跳设备的设备标识,指示该第一音频设备的上一跳设备发送的音频信号包含该第一音频设备的上一跳设备采集的音频信号。可选地,该第一音频设备的上一跳设备在发送给该第一音频设备的音频信号中添加的来源信息还可以包含该第一音频设备的上一跳设备的上一跳设备(也即是第三音频设备)的设备标识,指示该第一音频设备的上一跳设备发送的音频信号包含该第一音频设备的上一跳设备的上一跳设备采集的音频信号。示例地,该第一音频设备的上一跳设备在发送给该第一音频设备的音频信号中添加的来源信息包含该第一音频设备的上一跳设备的设备标识和该第一音频设备的上一跳设备的上一跳设备的设备标识,指示该第一音频设备的上一跳设备发送的音频信号是该第一音频设备的上一跳设备采集的音频信号和该第一音频设备的上一跳设备的上一跳设备采集的音频信号的混合信号。It is worth noting that when the previous hop device of the first audio device (that is, the second audio device) sends an audio signal to the first audio device, source information can be added to the audio signal sent to the first audio device To indicate the source of the audio signal, the source information may be the device identifier of the audio device, indicating that the audio signal originates from the audio device indicated by the device identifier. Optionally, the source information added by the previous hop device of the first audio device to the audio signal sent to the first audio device includes at least the device identifier of the previous hop device of the first audio device, indicating the first audio device The audio signal sent by the previous hop device of the device includes the audio signal collected by the previous hop device of the first audio device. Optionally, the source information added by the previous hop device of the first audio device to the audio signal sent to the first audio device may also include the previous hop device of the previous hop device of the first audio device (also That is, the device identifier of the third audio device), indicating that the audio signal sent by the previous hop device of the first audio device includes the audio signal collected by the previous hop device of the first audio device. Exemplarily, the source information added by the previous hop device of the first audio device to the audio signal sent to the first audio device includes the device identifier of the previous hop device of the first audio device and the device identification of the first audio device. The device identifier of the previous hop device of the previous hop device, indicating that the audio signal sent by the previous hop device of the first audio device is the audio signal collected by the previous hop device of the first audio device and the audio signal of the first audio device The mixed signal of the audio signal collected by the previous hop device.
步骤702、第一音频设备接收第一音频设备的上一跳设备发送的音频信号。Step 702: The first audio device receives the audio signal sent by the previous hop device of the first audio device.
对应于第一音频设备的上一跳设备(也即是第二音频设备)向该第一音频设备发送音频信号,该第一音频设备可以接收该第一音频设备的上一跳设备发送的音频信号。The previous hop device corresponding to the first audio device (that is, the second audio device) sends an audio signal to the first audio device, and the first audio device can receive the audio sent by the previous hop device of the first audio device Signal.
示例地,如图8所示,音频设备01接收音频设备02发送的音频信号g2(n),或者,如图9和图10所示,音频设备01接收音频设备02发送的音频信号y2(n)。For example, as shown in FIG. 8, the audio device 01 receives the audio signal g2(n) sent by the audio device 02, or, as shown in FIGS. 9 and 10, the audio device 01 receives the audio signal y2(n) sent by the audio device 02. ).
步骤703、第一音频设备获取第一音频设备采集的音频信号。Step 703: The first audio device obtains the audio signal collected by the first audio device.
可选地,第一音频设备可以具有音频采集组件,该第一音频设备可以通过该音频采集组件采集音频信号。该第一音频设备采集的音频信号可以是数字信号,该第一音频设备采集的音频信号可以包含N个采样点数据,每个采样点数据可以采用固定比特表示,该固定比特例如可以是16比特。Optionally, the first audio device may have an audio collection component, and the first audio device can collect audio signals through the audio collection component. The audio signal collected by the first audio device may be a digital signal, and the audio signal collected by the first audio device may include N sampling point data, and each sampling point data may be represented by a fixed bit, and the fixed bit may be, for example, 16 bits. .
示例地,如图8至图10所示,第一音频设备可以是音频设备01,该音频设备01采集的音频信号可以是g1(n),n=0,1,…,N-1。For example, as shown in FIGS. 8 to 10, the first audio device may be audio device 01, and the audio signal collected by audio device 01 may be g1(n), n=0,1,...,N-1.
步骤704、第一音频设备将第一音频设备采集的音频信号和该第一音频设备的上一跳设备发送的音频信号混合得到混合音频信号。Step 704: The first audio device mixes the audio signal collected by the first audio device and the audio signal sent by the previous hop device of the first audio device to obtain a mixed audio signal.
如前所述,第一音频设备的上一跳设备(也即是第二音频设备)发送给该第一音频设备的音频信号可以是单个音频设备采集的音频信号,也可以是至少两个音频设备采集的音频信号的混合信号。在本申请实施例中,第一音频设备可以将该第一音频设备采集的音频信号和该第一音频设备的上一跳设备发送给该第一音频设备的音频信号叠加得到混合音频信号,也可以从该第一音频设备的上一跳设备发送给该第一音频设备的音频信号中恢复出各个音频设备采集的音频信号,再将恢复出来的各个音频设备采集音频信号与第一音频设备采集的音频信号混合得到混合音频信号。根据该第一音频设备的上一跳设备发送的音频信号的不同以及 混合方式的不同,该步骤704可以包括以下四种可能的实现方式:As mentioned earlier, the audio signal sent by the previous hop device of the first audio device (that is, the second audio device) to the first audio device can be an audio signal collected by a single audio device, or at least two audio signals. The mixed signal of the audio signal collected by the device. In the embodiment of the present application, the first audio device may superimpose the audio signal collected by the first audio device and the audio signal sent to the first audio device by the previous hop device of the first audio device to obtain a mixed audio signal. The audio signal collected by each audio device can be recovered from the audio signal sent by the previous hop device of the first audio device to the first audio device, and then the recovered audio device can collect the audio signal with the first audio device. The audio signal is mixed to obtain a mixed audio signal. According to the difference in the audio signal sent by the previous hop device of the first audio device and the difference in the mixing mode, this step 704 may include the following four possible implementation modes:
第一种实现方式:第一音频设备的上一跳设备发送的音频信号是至少两个音频设备采集的音频信号的混合信号(例如第一音频设备的上一跳设备发送的音频信号是该第一音频设备的上一跳设备采集的音频信号和该第一音频设备的上一跳设备的上一跳设备采集的音频信号的混合信号),或者,第一音频设备的上一跳设备发送的音频信号是对该第一音频设备的上一跳设备采集的音频信号进行处理得到的。The first implementation manner: the audio signal sent by the last hop device of the first audio device is a mixed signal of the audio signals collected by at least two audio devices (for example, the audio signal sent by the last hop device of the first audio device is the first audio signal). A mixed signal of the audio signal collected by the previous hop device of an audio device and the audio signal collected by the previous hop device of the first audio device), or sent by the previous hop device of the first audio device The audio signal is obtained by processing the audio signal collected by the previous hop device of the first audio device.
示例地,请参考图11,其示出了本申请实施例提供的一种将第一音频设备采集的音频信号和第一音频设备的上一跳设备发送的音频信号混合的方法流程图,参见图11,该方法可以包括如下几个步骤:For example, please refer to FIG. 11, which shows a flow chart of a method for mixing an audio signal collected by a first audio device with an audio signal sent by the previous hop device of the first audio device according to an embodiment of the present application, see Figure 11, the method can include the following steps:
子步骤7041A、采用第一音频设备的音频处理函数对该第一音频设备采集的音频信号进行处理,得到该第一音频设备的处理信号。 Sub-step 7041A: Use the audio processing function of the first audio device to process the audio signal collected by the first audio device to obtain the processed signal of the first audio device.
可选地,第一音频设备可以采用该第一音频设备的音频处理函数对该第一音频设备采集的音频信号进行卷积,得到该第一音频设备的处理信号。Optionally, the first audio device may use the audio processing function of the first audio device to convolve the audio signal collected by the first audio device to obtain the processed signal of the first audio device.
示例地,第一音频设备采集的音频信号可以是g1(n),该第一音频设备的音频处理函数可以是h1(n),因此该第一音频设备的处理信号可以是g1(n)*h1(n),符号“*”表示卷积。For example, the audio signal collected by the first audio device may be g1(n), and the audio processing function of the first audio device may be h1(n), so the processed signal of the first audio device may be g1(n)* h1(n), the symbol "*" means convolution.
子步骤7042A、将该第一音频设备的处理信号和该第一音频设备的上一跳设备发送的音频信号叠加得到混合音频信号。 Sub-step 7042A: superimpose the processed signal of the first audio device and the audio signal sent by the previous hop device of the first audio device to obtain a mixed audio signal.
示例地,该混合音频信号可以是y1(n),y1(n)=y2(n)+g1(n)*h1(n),符号“*”表示卷积,符号“+”表示叠加。For example, the mixed audio signal may be y1(n), y1(n)=y2(n)+g1(n)*h1(n), the symbol "*" represents convolution, and the symbol "+" represents superimposition.
值得说明的是,该步骤704的第一种实现方式中,第一音频设备无需从该第一音频设备的上一跳设备发送的音频信号中恢复出各个音频设备采集的原始的音频信号,有助于简化信号混合过程,降低信号混合过程的计算量。It is worth noting that in the first implementation of step 704, the first audio device does not need to recover the original audio signal collected by each audio device from the audio signal sent by the previous hop device of the first audio device. Helps simplify the signal mixing process and reduce the amount of calculation in the signal mixing process.
第二种实现方式:第一音频设备的上一跳设备发送的音频信号是至少两个音频设备采集的音频信号的混合信号。The second implementation manner: the audio signal sent by the previous hop device of the first audio device is a mixed signal of audio signals collected by at least two audio devices.
示例地,请参考图12,其示出了本申请实施例提供的另一种将第一音频设备采集的音频信号和第一音频设备的上一跳设备发送的音频信号混合的方法流程图,参见图12,该方法可以包括如下几个步骤:For example, please refer to FIG. 12, which shows a flowchart of another method for mixing an audio signal collected by a first audio device with an audio signal sent by the previous hop device of the first audio device according to an embodiment of the present application. Referring to Figure 12, the method may include the following steps:
子步骤7041B、从第一音频设备的上一跳设备发送的音频信号中恢复出至少两个音频设备采集的音频信号。 Sub-step 7041B: recover the audio signals collected by at least two audio devices from the audio signals sent by the last hop device of the first audio device.
可选地,第一音频设备的上一跳设备(也即是第二音频设备)发送的音频信号可以携带来源信息,第一音频设备可以根据该第一音频设备的上一跳设备发送的音频信号携带的来源信息确定该第一音频设备的上一跳设备发送的音频信号是至少两个音频设备采集的音频信号的混合信号,然后可以根据该至少两个音频设备的音频处理函数从该第一音频设备的上一跳设备发送的音频信号中恢复出该至少两个音频设备采集的音频信号。可选地,第一音频设备可以分别采用该至少两个音频设备的音频处理函数对该第一音频设备的上一跳设备发送的音频信号进行卷积,以将该第一音频设备的上一跳设备发送的音频信号分离成与该至少两个音频设备一一对应的至少两个信号部分,然后从每个音频设备对应的信号部分中恢复出该音频设备采集的音频信号。Optionally, the audio signal sent by the previous hop device of the first audio device (that is, the second audio device) can carry source information, and the first audio device can be based on the audio signal sent by the previous hop device of the first audio device. The source information carried by the signal determines that the audio signal sent by the last hop device of the first audio device is a mixed signal of the audio signals collected by at least two audio devices, and then the first audio signal can be obtained from the first audio device according to the audio processing functions of the at least two audio devices. The audio signals collected by the at least two audio devices are recovered from the audio signals sent by the last hop device of an audio device. Optionally, the first audio device may respectively use the audio processing functions of the at least two audio devices to convolve the audio signal sent by the previous hop device of the first audio device to The audio signal sent by the jumping device is separated into at least two signal parts corresponding to the at least two audio devices one-to-one, and then the audio signal collected by the audio device is recovered from the signal part corresponding to each audio device.
可选地,第一音频设备将该第一音频设备的上一跳设备发送的音频信号分离成与该至少 两个音频设备一一对应的至少两部分可以包括:对于该至少两个音频设备中的每个音频设备,第一音频设备采用该音频设备的音频处理函数对该第一音频设备的上一跳设备发送的音频信号进行卷积,得到该音频设备对应的卷积信号,该音频设备对应的卷积信号也即是从该第一音频设备的上一跳设备发送的音频信号中分离出的与该音频设备对应的信号部分。第一音频设备从每个音频设备对应的信号部分中恢复出该音频设备采集的音频信号可以包括:第一音频设备将该音频设备对应的卷积信号转换到频域进行处理,得到该音频设备在频域内对应的音频信号,之后将该音频设备在频域内对应的音频信号转换到时域,即可得到该音频设备采集的音频信号。可选地,第一音频设备可以采用快速傅里叶变换(fast Fourier transform,FFT)或离散余弦变换(discrete cosine transform,DCT)将卷积信号转换到频域,采用FFT反变换或DCT反变换将频域内的音频信号转换到时域。Optionally, the first audio device separating the audio signal sent by the last hop device of the first audio device into at least two parts corresponding to the at least two audio devices one-to-one may include: For each audio device, the first audio device uses the audio processing function of the audio device to convolve the audio signal sent by the previous hop device of the first audio device to obtain the convolution signal corresponding to the audio device, and the audio device The corresponding convolution signal is also the signal part corresponding to the audio device separated from the audio signal sent by the previous hop device of the first audio device. The first audio device recovering the audio signal collected by the audio device from the signal portion corresponding to each audio device may include: the first audio device converts the convolution signal corresponding to the audio device to the frequency domain for processing to obtain the audio device After the corresponding audio signal in the frequency domain is converted into the time domain, the audio signal collected by the audio device can be obtained. Optionally, the first audio device may use fast Fourier transform (FFT) or discrete cosine transform (DCT) to convert the convolution signal to the frequency domain, and use FFT inverse transform or DCT inverse transform Convert the audio signal in the frequency domain to the time domain.
在本申请实施例中,第一音频设备的上一跳设备向该第一音频设备发送的音频信号可以是至少两个音频设备采集的音频信号的混合信号,该至少两个音频设备可以包括该第一音频设备的上一跳设备(也即是第二音频设备)和该第一音频设备的上一跳设备的上一跳设备(也即是第三音频设备)。以该至少两个音频设备是该第一音频设备的上一跳设备(也即是第二音频设备)和该第一音频设备的上一跳设备的上一跳设备(也即是第三音频设备)为例。第二音频设备向第一音频设备发送的音频信号携带的来源信息可以包含该第二音频设备的设备标识和该第三音频设备的设备标识,第一音频设备可以根据该第二音频设备的设备标识和该第三音频设备的设备标识,确定该第二音频设备发送的音频信号是该第二音频设备采集的音频信号和该第三音频设备采集的音频信号的混合信号。第一音频设备采用该第二音频设备的音频处理函数对该第二音频设备发送的音频信号进行卷积,得到该第二音频设备对应的卷积信号,采用该第三音频设备的音频处理函数对该第三音频设备发送的音频信号进行卷积,得到该第三音频设备对应的卷积信号。第一音频设备将该第二音频设备对应的卷积信号转换到频域进行处理,得到该第二音频设备在频域内对应的音频信号,将该第三音频设备对应的卷积信号转换到频域进行处理,得到该第三音频设备在频域内对应的音频信号,之后,第一音频设备将该第二音频设备在频域内对应的音频信号转换到时域,得到该第二音频设备采集的音频信号,将该第三音频设备在频域内对应的音频信号转换到时域,得到该第三音频设备采集的音频信号。In the embodiment of the present application, the audio signal sent by the previous hop device of the first audio device to the first audio device may be a mixed signal of audio signals collected by at least two audio devices, and the at least two audio devices may include the The previous hop device of the first audio device (that is, the second audio device) and the previous hop device of the previous hop device of the first audio device (that is, the third audio device). The at least two audio devices are the previous hop device of the first audio device (that is, the second audio device) and the previous hop device of the previous hop device of the first audio device (that is, the third audio device). Equipment) as an example. The source information carried by the audio signal sent by the second audio device to the first audio device may include the device identification of the second audio device and the device identification of the third audio device, and the first audio device may be based on the device identification of the second audio device. The identifier and the device identifier of the third audio device determine that the audio signal sent by the second audio device is a mixed signal of the audio signal collected by the second audio device and the audio signal collected by the third audio device. The first audio device uses the audio processing function of the second audio device to convolve the audio signal sent by the second audio device to obtain the convolution signal corresponding to the second audio device, and uses the audio processing function of the third audio device Perform convolution on the audio signal sent by the third audio device to obtain a convolution signal corresponding to the third audio device. The first audio device converts the convolution signal corresponding to the second audio device to the frequency domain for processing, obtains the audio signal corresponding to the second audio device in the frequency domain, and converts the convolution signal corresponding to the third audio device to the frequency domain. Processing in the frequency domain to obtain the audio signal corresponding to the third audio device in the frequency domain. After that, the first audio device converts the audio signal corresponding to the second audio device in the frequency domain to the time domain to obtain the audio signal collected by the second audio device. The audio signal is converted to the time domain corresponding to the audio signal of the third audio device in the frequency domain to obtain the audio signal collected by the third audio device.
示例地,如图10所示,第一音频设备是音频设备01,该第一音频设备的上一跳设备(也即是第二音频设备)是音频设备02,该第一音频设备的上一跳设备的上一跳设备(也即是第三音频设备)是音频设备03,音频设备02向音频设备01发送的音频信号y2(n)包含音频设备02采集的音频信号g2(n)和音频设备03采集的音频信号g3(n),音频设备02的音频处理函数可以是h2(n),音频设备03的音频处理函数可以是h3(n),音频设备01从音频设备02发送的音频信号y2(n)中恢复出音频设备02采集的音频信号g2(n)和音频设备03采集的音频信号g3(n)的过程可以如下:For example, as shown in FIG. 10, the first audio device is audio device 01, and the previous hop device (that is, the second audio device) of the first audio device is audio device 02, and the previous hop device of the first audio device is audio device 02. The last hop device of the hop device (that is, the third audio device) is audio device 03, and the audio signal y2(n) sent by audio device 02 to audio device 01 includes audio signal g2(n) and audio collected by audio device 02 The audio signal g3(n) collected by device 03, the audio processing function of audio device 02 can be h2(n), the audio processing function of audio device 03 can be h3(n), the audio signal sent by audio device 01 from audio device 02 The process of recovering the audio signal g2(n) collected by audio device 02 and the audio signal g3(n) collected by audio device 03 from y2(n) can be as follows:
1)、音频设备01分别采用音频设备02的音频处理函数h2(n)和音频设备03的音频处理函数h3(n)对音频设备02发送的音频信号y2(n)进行卷积,以从该音频设备02发送的音频信号y2(n)中分离出音频设备02的信号部分和音频设备03的信号部分。其中,卷积的过程如下:1) The audio device 01 uses the audio processing function h2(n) of the audio device 02 and the audio processing function h3(n) of the audio device 03 to convolve the audio signal y2(n) sent by the audio device 02 to obtain the The audio signal y2(n) sent by the audio device 02 separates the signal part of the audio device 02 and the signal part of the audio device 03. Among them, the process of convolution is as follows:
y2(n)*h2(n)=[g2(n)*h2(n)+g3(n)*h3(n)]*h2(n)   式(1);y2(n)*h2(n)=[g2(n)*h2(n)+g3(n)*h3(n)]*h2(n) Formula (1);
y2(n)*h3(n)=[g2(n)*h2(n)+g3(n)*h3(n)]*h3(n)   式(2);y2(n)*h3(n)=[g2(n)*h2(n)+g3(n)*h3(n)]*h3(n) Formula (2);
在本申请实施例中,不同音频设备的音频处理函数之间不相关,不相关信号卷积后结果近似为0,因此上式(1)和(2)中,g3(n)*h3(n)*h2(n)近似为0,g2(n)*h2(n)*h3(n)近似为0,从而,上式(1)和(2)可以近似简化为下式(3)和(4):In the embodiment of this application, the audio processing functions of different audio devices are uncorrelated, and the result of uncorrelated signal convolution is approximately 0. Therefore, in the above equations (1) and (2), g3(n)*h3(n )*h2(n) is approximately 0, g2(n)*h2(n)*h3(n) is approximately 0, so the above equations (1) and (2) can be approximately simplified to the following equations (3) and ( 4):
y2(n)*h2(n)=g2(n)*h2(n)*h2(n)    式(3);y2(n)*h2(n)=g2(n)*h2(n)*h2(n) Formula (3);
y2(n)*h3(n)=g3(n)*h3(n)*h3(n)    式(4);y2(n)*h3(n)=g3(n)*h3(n)*h3(n) Formula (4);
其中,g2(n)*h2(n)*h2(n)是音频设备02的信号部分(也即是音频设备02对应的卷积信号),g3(n)*h3(n)*h3(n)是音频设备03的信号部分(也即是音频设备03对应的卷积信号)。Among them, g2(n)*h2(n)*h2(n) is the signal part of audio device 02 (that is, the convolution signal corresponding to audio device 02), g3(n)*h3(n)*h3(n ) Is the signal part of the audio device 03 (that is, the convolution signal corresponding to the audio device 03).
2)、音频设备01从音频设备02的信号部分(也即是音频设备02对应的卷积信号)中恢复出音频设备02采集的音频信号g2(n),从音频设备03的信号部分(也即是音频设备03对应的卷积信号)中恢复出音频设备03采集的音频信号g3(n)。其中,恢复过程如下:2) Audio device 01 recovers the audio signal g2(n) collected by audio device 02 from the signal part of audio device 02 (that is, the convolution signal corresponding to audio device 02), from the signal part of audio device 03 (also That is, the audio signal g3(n) collected by the audio device 03 is recovered from the convolution signal corresponding to the audio device 03. Among them, the recovery process is as follows:
首先,采用下式(5)和(6)将音频设备02对应的卷积信号和音频设备03对应的卷积信号分别转换到频域,得到音频设备02在频域内对应的卷积信号和音频设备03在频域内对应的卷积信号。First, the following equations (5) and (6) are used to convert the convolution signal corresponding to audio device 02 and the convolution signal corresponding to audio device 03 to the frequency domain, respectively, to obtain the convolution signal and audio corresponding to audio device 02 in the frequency domain. The corresponding convolution signal of device 03 in the frequency domain.
y2(n)*h2(n)=g2(n)*h2(n)*h2(n)——>Y2(w)*H2(w)=G2(w)*H2(w)*H2(w)   式(5);y2(n)*h2(n)=g2(n)*h2(n)*h2(n)——>Y2(w)*H2(w)=G2(w)*H2(w)*H2(w ) Formula (5);
y2(n)*h3(n)=g3(n)*h3(n)*h3(n)——>Y2(W)*H3(W)=G3(W)*H3(W)*H3(W)   式(6);y2(n)*h3(n)=g3(n)*h3(n)*h3(n)——>Y2(W)*H3(W)=G3(W)*H3(W)*H3(W ) Formula (6);
Y2(W)表示音频信号y2(n)的频域信号(也即是音频信号y2(n)在频域内对应的信号),G2(w)表示音频信号g2(n)的频域信号(也即是音频信号g2(n)在频域内对应的信号),H2(w)表示音频处理函数h2(n)的频域函数(也即是音频处理函数h2(n)在频域内对应的函数),G2(w)*H2(w)*H2(w)表示卷积信号g2(n)*h2(n)*h2(n)的频域信号,也即是音频设备02在频域内对应的卷积信号,G3(W)表示音频信号g3(n)的频域信号(也即是音频信号g3(n)在频域内对应的信号),H3(W)表示音频处理函数h3(n)的频域函数(也即是音频处理函数h3(n)在频域内对应的函数),G3(w)*H3(w)*H3(w)表示卷积信号g3(n)*h3(n)*h3(n)的频域信号,也即是音频设备03在频域内对应的卷积信号。Y2(W) represents the frequency domain signal of the audio signal y2(n) (that is, the signal corresponding to the audio signal y2(n) in the frequency domain), and G2(w) represents the frequency domain signal of the audio signal g2(n) (also That is, the audio signal g2(n) corresponds to the signal in the frequency domain), H2(w) represents the frequency domain function of the audio processing function h2(n) (that is, the audio processing function h2(n) corresponds to the function in the frequency domain) , G2(w)*H2(w)*H2(w) represents the frequency domain signal of the convolution signal g2(n)*h2(n)*h2(n), which is the corresponding volume of the audio device 02 in the frequency domain Product signal, G3(W) represents the frequency domain signal of the audio signal g3(n) (that is, the signal corresponding to the audio signal g3(n) in the frequency domain), H3(W) represents the frequency of the audio processing function h3(n) Domain function (that is, the corresponding function of the audio processing function h3(n) in the frequency domain), G3(w)*H3(w)*H3(w) represents the convolution signal g3(n)*h3(n)*h3 The frequency domain signal of (n) is the corresponding convolution signal of the audio device 03 in the frequency domain.
接着,采用下式(7)对音频设备02在频域内对应的卷积信号除以该音频设备02的音频处理函数h2(n)的频域函数H2(w)的平方得到该音频设备02在频域内对应的音频信号G2(w),采用下式(8)对音频设备03在频域内对应的卷积信号除以该音频设备03的音频处理函数h2(n)的频域函数H3(w)的平方得到该音频设备03在频域内对应的音频信号G3(w)。其中,符号“/”表示除号。Next, use the following formula (7) to divide the corresponding convolution signal of the audio device 02 in the frequency domain by the square of the frequency domain function H2(w) of the audio processing function h2(n) of the audio device 02 to obtain the audio device 02 in For the corresponding audio signal G2(w) in the frequency domain, use the following formula (8) to divide the corresponding convolution signal of the audio device 03 in the frequency domain by the frequency domain function H3(w ) Is squared to obtain the audio signal G3(w) corresponding to the audio device 03 in the frequency domain. Among them, the symbol "/" represents the division sign.
Y2(w)*H2(w)/H2(w)*H2(w)=G2(w)*H2(w)*H2(w)/H2(w)*H2(w)=G2(w)    式(7);Y2(w)*H2(w)/H2(w)*H2(w)=G2(w)*H2(w)*H2(w)/H2(w)*H2(w)=G2(w) (7);
Y2(W)*H3(W)/H3(W)*H3(W)=G3(W)*H3(W)*H3(W)/H3(W)*H3(W)=G3(W)   式(8);Y2(W)*H3(W)/H3(W)*H3(W)=G3(W)*H3(W)*H3(W)/H3(W)*H3(W)=G3(W) (8);
最后,采用下式(9)将音频设备02在频域内对应的音频信号G2(w)转换到时域得到音频设备02采集的音频信号g2(n),采用下式(10)将音频设备03在频域内对应的音频信号G3(w)转换到时域得到音频设备03采集的音频信号g3(n)。Finally, the following formula (9) is used to convert the corresponding audio signal G2(w) of the audio device 02 in the frequency domain to the time domain to obtain the audio signal g2(n) collected by the audio device 02, and the following formula (10) is used to convert the audio device 03 The corresponding audio signal G3(w) in the frequency domain is converted to the time domain to obtain the audio signal g3(n) collected by the audio device 03.
G2(w)——>g2(n)   式(9);G2(w)——>g2(n) Formula (9);
G3(w)——>g3(n)   式(10)。G3(w)——>g3(n) Formula (10).
子步骤7042B、对于第一音频设备和该至少两个音频设备中的每个音频设备,采用该音频设备的音频处理函数对该音频设备采集的音频信号进行处理,得到该音频设备的处理信号。 Sub-step 7042B: For each audio device of the first audio device and the at least two audio devices, use the audio processing function of the audio device to process the audio signal collected by the audio device to obtain the processed signal of the audio device.
可选地,以该至少两个音频设备是第一音频设备的上一跳设备(也即是第二音频设备)和该第一音频设备的上一跳设备的上一跳设备(也即是第三音频设备)为例。第一音频设备 可以采用该第一音频设备的音频处理函数对该第一音频设备采集的音频信号进行卷积,得到该第一音频设备的处理信号,采用该第二音频设备的音频处理函数对该第二音频设备采集的音频信号进行卷积,得到该第二音频设备的处理信号,采用该第三音频设备的音频处理函数对该第三音频设备采集的音频信号进行卷积,得到该第三音频设备的处理信号。Optionally, the at least two audio devices are the previous hop device (that is, the second audio device) of the first audio device and the previous hop device (that is, the second audio device) of the first audio device The third audio device) is taken as an example. The first audio device may use the audio processing function of the first audio device to convolve the audio signal collected by the first audio device to obtain the processing signal of the first audio device, and use the audio processing function of the second audio device to The audio signal collected by the second audio device is convolved to obtain the processed signal of the second audio device, and the audio processing function of the third audio device is used to convolve the audio signal collected by the third audio device to obtain the first audio signal. Three audio equipment processing signals.
示例地,如图10所示,第一音频设备是音频设备01,该第一音频设备的上一跳设备(也即是第二音频设备)是音频设备02,该第一音频设备的上一跳设备的上一跳设备(也即是第三音频设备)是音频设备03。音频设备01采集的音频信号可以是g1(n),音频设备01的音频处理函数可以是h1(n),该音频设备01的处理信号可以是g1(n)*h1(n)。音频设备02采集的音频信号可以是g2(n),音频设备02的音频处理函数可以是h2(n),该音频设备02的处理信号可以是g2(n)*h2(n)。音频设备03采集的音频信号可以是g3(n),音频设备02的音频处理函数可以是h3(n),该音频设备03的音频处理信号可以是g3(n)*h3(n)。其中符号“*”表示卷积。For example, as shown in FIG. 10, the first audio device is audio device 01, and the previous hop device (that is, the second audio device) of the first audio device is audio device 02, and the previous hop device of the first audio device is audio device 02. The last hop device of the hop device (that is, the third audio device) is the audio device 03. The audio signal collected by the audio device 01 may be g1(n), the audio processing function of the audio device 01 may be h1(n), and the processing signal of the audio device 01 may be g1(n)*h1(n). The audio signal collected by the audio device 02 may be g2(n), the audio processing function of the audio device 02 may be h2(n), and the processing signal of the audio device 02 may be g2(n)*h2(n). The audio signal collected by the audio device 03 may be g3(n), the audio processing function of the audio device 02 may be h3(n), and the audio processing signal of the audio device 03 may be g3(n)*h3(n). The symbol "*" means convolution.
子步骤7043B、将第一音频设备的处理信号和该至少两个音频设备的处理信号叠加得到混合音频信号。 Sub-step 7043B: superimpose the processed signal of the first audio device and the processed signal of the at least two audio devices to obtain a mixed audio signal.
示例地,如图10所示,该混合音频信号可以是y1(n),y1(n)=g1(n)*h1(n)+g2(n)*h2(n)+g3(n)*h3(n),符号“*”表示卷积,符号“+”表示叠加。For example, as shown in FIG. 10, the mixed audio signal may be y1(n), y1(n)=g1(n)*h1(n)+g2(n)*h2(n)+g3(n)* h3(n), the symbol "*" means convolution, and the symbol "+" means superimposition.
第三种实现方式:第一音频设备的上一跳设备发送的音频信号是该第一音频设备的上一跳设备设备采集的音频信号。The third implementation manner: the audio signal sent by the previous hop device of the first audio device is the audio signal collected by the previous hop device of the first audio device.
示例地,请参考图13,其示出了本申请实施例提供的再一种将第一音频设备采集的音频信号和第一音频设备的上一跳设备发送的音频信号混合的方法流程图,参见图13,该方法可以包括如下几个步骤:For example, please refer to FIG. 13, which shows a flowchart of still another method for mixing audio signals collected by a first audio device with audio signals sent by a previous hop device of the first audio device according to an embodiment of the present application. Referring to Figure 13, the method may include the following steps:
子步骤7041C、对于第一音频设备和该第一音频设备的上一跳设备中的每个音频设备,采用该音频设备的音频处理函数对该音频设备采集的音频信号进行处理,得到该音频设备的处理信号。 Sub-step 7041C. For each audio device in the first audio device and the previous hop device of the first audio device, use the audio processing function of the audio device to process the audio signal collected by the audio device to obtain the audio device Processing signal.
可选地,第一音频设备的上一跳设备(也即是第二音频设备)向该第一音频设备发送的音频信号可以携带来源信息,第一音频设备可以根据该第一音频设备的上一跳设备发送的音频信号携带的来源信息确定该第一音频设备的上一跳设备发送的音频信号是该第一音频设备的上一跳设备采集的音频信号。示例地,该第一音频设备的上一跳设备向该第一音频设备发送的音频信号携带的来源信息包含该第一音频设备的上一跳设备的设备标识,第一音频设备根据该第一音频设备的上一跳设备的设备标识确定该第一音频设备的上一跳设备发送的音频信号是该第一音频设备的上一跳设备采集的音频信号。Optionally, the audio signal sent by the previous hop device of the first audio device (that is, the second audio device) to the first audio device can carry source information, and the first audio device can be based on the previous hop of the first audio device. The source information carried in the audio signal sent by the one-hop device determines that the audio signal sent by the previous hop device of the first audio device is the audio signal collected by the previous hop device of the first audio device. For example, the source information carried in the audio signal sent by the previous hop device of the first audio device to the first audio device includes the device identifier of the previous hop device of the first audio device, and the first audio device is based on the first audio device. The device identifier of the previous hop device of the audio device determines that the audio signal sent by the previous hop device of the first audio device is the audio signal collected by the previous hop device of the first audio device.
可选地,第一音频设备可以采用该第一音频设备的音频处理函数对该第一音频设备采集的音频信号进行卷积,得到该第一音频设备的处理信号,采用该第一音频设备的上一跳设备的音频处理函数对该第一音频设备的上一跳设备采集的音频信号进行卷积,得到该第一音频设备的上一跳设备的处理信号。Optionally, the first audio device may use the audio processing function of the first audio device to convolve the audio signal collected by the first audio device to obtain the processed signal of the first audio device. The audio processing function of the previous hop device convolves the audio signal collected by the previous hop device of the first audio device to obtain the processed signal of the previous hop device of the first audio device.
示例地,如图8所示,第一音频设备是音频设备01,该第一音频设备的上一跳设备(也即是第二音频设备)是音频设备02。音频设备01采集的音频信号可以是g1(n),音频设备01的音频处理函数可以是h1(n),该音频设备01的处理信号可以是g1(n)*h1(n)。音频设备02采集的音频信号可以是g2(n),音频设备02的音频处理函数可以是h2(n),该音频设备02的处理信号可以是g2(n)*h2(n)。其中符号“*”表示卷积。For example, as shown in FIG. 8, the first audio device is audio device 01, and the previous hop device (that is, the second audio device) of the first audio device is audio device 02. The audio signal collected by the audio device 01 may be g1(n), the audio processing function of the audio device 01 may be h1(n), and the processing signal of the audio device 01 may be g1(n)*h1(n). The audio signal collected by the audio device 02 may be g2(n), the audio processing function of the audio device 02 may be h2(n), and the processing signal of the audio device 02 may be g2(n)*h2(n). The symbol "*" means convolution.
子步骤7042C、将第一音频设备的处理信号和该第一音频设备的上一跳设备的处理信号叠加得到混合音频信号。 Sub-step 7042C: superimpose the processed signal of the first audio device and the processed signal of the previous hop device of the first audio device to obtain a mixed audio signal.
示例地,如图8所示,该混合音频信号可以是y1(n),y1(n)=g1(n)*h1(n)+g2(n)*h2(n),符号“*”表示卷积,符号“+”表示叠加。For example, as shown in Fig. 8, the mixed audio signal may be y1(n), y1(n)=g1(n)*h1(n)+g2(n)*h2(n), and the symbol "*" means Convolution, the symbol "+" means superposition.
第四种实现方式:第一音频设备的上一跳设备发送的音频信号是对该第一音频设备的上一跳设备采集的音频信号进行处理得到的。A fourth implementation manner: the audio signal sent by the previous hop device of the first audio device is obtained by processing the audio signal collected by the previous hop device of the first audio device.
示例地,请参考图14,其示出了本申请实施例提供的又一种将第一音频设备采集的音频信号和第一音频设备的上一跳设备发送的音频信号混合的方法流程图,参见图14,该方法可以包括如下几个步骤:For example, please refer to FIG. 14, which shows a flow chart of another method for mixing an audio signal collected by a first audio device with an audio signal sent by a previous hop device of the first audio device according to an embodiment of the present application. Referring to Figure 14, the method may include the following steps:
子步骤7041D、从第一音频设备的上一跳设备发送的音频信号中恢复出该第一音频设备的上一跳设备采集的音频信号。 Sub-step 7041D: recover the audio signal collected by the previous hop device of the first audio device from the audio signal sent by the previous hop device of the first audio device.
可选地,第一音频设备的上一跳设备(也即是第二音频设备)向该第一音频设备发送的音频信号可以携带来源信息,第一音频设备可以根据该第一音频设备的上一跳设备发送的音频信号携带的来源信息确定该第一音频设备的上一跳设备发送的音频信号是对该第一音频设备的上一跳设备采集的音频信号进行处理得到的。示例地,该第一音频设备的上一跳设备向该第一音频设备发送的音频信号携带的来源信息包含该第一音频设备的上一跳设备的设备标识,第一音频设备根据该第一音频设备的上一跳设备的设备标识确定该第一音频设备的上一跳设备发送的音频信号是对该第一音频设备的上一跳设备采集的音频信号进行处理得到的。Optionally, the audio signal sent by the previous hop device of the first audio device (that is, the second audio device) to the first audio device can carry source information, and the first audio device can be based on the previous hop of the first audio device. The source information carried by the audio signal sent by the one-hop device determines that the audio signal sent by the previous-hop device of the first audio device is obtained by processing the audio signal collected by the previous-hop device of the first audio device. For example, the source information carried in the audio signal sent by the previous hop device of the first audio device to the first audio device includes the device identifier of the previous hop device of the first audio device, and the first audio device is based on the first audio device. The device identifier of the previous hop device of the audio device determines that the audio signal sent by the previous hop device of the first audio device is obtained by processing the audio signal collected by the previous hop device of the first audio device.
可选地,第一音频设备可以根据该第一音频设备的上一跳设备的音频处理函数从该第一音频设备的上一跳设备发送的音频信号中恢复出该第一音频设备的上一跳设备采集的音频信号。示例地,第一音频设备可以采用该第一音频设备的上一跳设备的音频处理函数对该第一音频设备的上一跳设备发送的音频信号进行卷积,得到该第一音频设备的上一跳设备对应的卷积信号,然后将该第一音频设备的上一跳设备对应的卷积信号转换到频域进行处理,得到该第一音频设备的上一跳设备在频域内对应的音频信号,之后将该第一音频设备的上一跳设备在频域内对应的音频信号转换到时域,得到该第一音频设备的上一跳设备采集的音频信号。Optionally, the first audio device may restore the previous audio signal of the first audio device from the audio signal sent by the previous hop device of the first audio device according to the audio processing function of the previous hop device of the first audio device. Jump the audio signal collected by the device. For example, the first audio device may use the audio processing function of the previous hop device of the first audio device to convolve the audio signal sent by the previous hop device of the first audio device to obtain the upper hop of the first audio device. The convolution signal corresponding to the one-hop device, and then the convolution signal corresponding to the previous hop device of the first audio device is converted to the frequency domain for processing, and the audio corresponding to the previous hop device of the first audio device in the frequency domain is obtained Then, the audio signal corresponding to the previous hop device of the first audio device in the frequency domain is converted to the time domain to obtain the audio signal collected by the previous hop device of the first audio device.
示例地,以图9为例,第一音频设备是音频设备01,该第一音频设备的上一跳设备(也即是第二音频设备)是音频设备02,音频设备02向音频设备01发送的音频信号y2(n)是对音频设备02采集的音频信号g2(n)进行处理得到的,音频设备02的音频处理函数可以是h2(n),音频设备01从音频设备02发送的音频信号y2(n)中恢复出音频设备02采集的音频信号g2(n)的过程可以如下:For example, taking Figure 9 as an example, the first audio device is audio device 01, the previous hop device of the first audio device (that is, the second audio device) is audio device 02, and audio device 02 sends audio device 01 The audio signal y2(n) is obtained by processing the audio signal g2(n) collected by the audio device 02, the audio processing function of the audio device 02 can be h2(n), the audio device 01 sends the audio signal from the audio device 02 The process of recovering the audio signal g2(n) collected by audio device 02 from y2(n) can be as follows:
1)、音频设备01采用音频设备02的音频处理函数h2(n)对音频设备02发送的音频信号y2(n)进行卷积,得到该音频设备02对应的卷积信号。其中,卷积的过程如下:1) The audio device 01 uses the audio processing function h2(n) of the audio device 02 to convolve the audio signal y2(n) sent by the audio device 02 to obtain the convolution signal corresponding to the audio device 02. Among them, the process of convolution is as follows:
y2(n)*h2(n)=[g2(n)*h2(n)]*h2(n)=g2(n)*h2(n)*h2(n)    式(11);y2(n)*h2(n)=[g2(n)*h2(n)]*h2(n)=g2(n)*h2(n)*h2(n) Formula (11);
其中,g2(n)*h2(n)*h2(n)可以是音频设备02对应的卷积信号。Among them, g2(n)*h2(n)*h2(n) may be the convolution signal corresponding to the audio device 02.
2)、音频设备01从音频设备02对应的卷积信号中恢复出音频设备02采集的音频信号g2(n)。其中,恢复过程如下:2) The audio device 01 recovers the audio signal g2(n) collected by the audio device 02 from the convolution signal corresponding to the audio device 02. Among them, the recovery process is as follows:
首先,采用下式(12)将音频设备02对应的卷积信号转换到频域,得到音频设备02在频域内对应的卷积信号。First, the following equation (12) is used to convert the convolution signal corresponding to the audio device 02 to the frequency domain, and the convolution signal corresponding to the audio device 02 in the frequency domain is obtained.
y2(n)*h2(n)=g2(n)*h2(n)*h2(n)——>Y2(w)*H2(w)=G2(w)*H2(w)*H2(w)   式(12);y2(n)*h2(n)=g2(n)*h2(n)*h2(n)——>Y2(w)*H2(w)=G2(w)*H2(w)*H2(w ) Formula (12);
接着,采用下式(13)对音频设备02在频域内对应的卷积信号除以该音频设备02的音频处理函数h2(n)的频域函数H2(w)的平方得到该音频设备02在频域内对应的音频信号G2(w)。其中,符号“/”表示除号。Then, use the following formula (13) to divide the corresponding convolution signal of the audio device 02 in the frequency domain by the square of the frequency domain function H2(w) of the audio processing function h2(n) of the audio device 02 to obtain the audio device 02 in The corresponding audio signal G2(w) in the frequency domain. Among them, the symbol "/" represents the division sign.
Y2(w)*H2(w)/H2(w)*H2(w)=G2(w)*H2(w)*H2(w)/H2(w)*H2(w)=G2(w)    式(13);Y2(w)*H2(w)/H2(w)*H2(w)=G2(w)*H2(w)*H2(w)/H2(w)*H2(w)=G2(w) (13);
最后,采用下式(14)将音频设备02在频域内对应的音频信号G2(w)转换到时域得到音频设备02采集的音频信号g2(n)。Finally, the following formula (14) is used to convert the corresponding audio signal G2(w) of the audio device 02 in the frequency domain to the time domain to obtain the audio signal g2(n) collected by the audio device 02.
G2(w)——>g2(n)    式(14)。G2(w)——>g2(n) Formula (14).
子步骤7042D、对于第一音频设备和该第一音频设备的上一跳设备中的每个音频设备,采用该音频设备的音频处理函数对该音频设备采集的音频信号进行处理,得到该音频设备的处理信号。 Sub-step 7042D. For each audio device in the first audio device and the previous hop device of the first audio device, use the audio processing function of the audio device to process the audio signal collected by the audio device to obtain the audio device Processing signal.
可选地,第一音频设备可以采用该第一音频设备的音频处理函数对该第一音频设备采集的音频信号进行卷积,得到该第一音频设备的处理信号,采用该第一音频设备的上一跳设备(也即是第二音频设备)的音频处理函数对该第一音频设备的上一跳设备采集的音频信号进行卷积,得到该第一音频设备的上一跳设备的处理信号。Optionally, the first audio device may use the audio processing function of the first audio device to convolve the audio signal collected by the first audio device to obtain the processed signal of the first audio device. The audio processing function of the previous hop device (that is, the second audio device) convolves the audio signal collected by the previous hop device of the first audio device to obtain the processed signal of the previous hop device of the first audio device .
示例地,如图9所示,第一音频设备是音频设备01,该第一音频设备的上一跳设备(也即是第二音频设备)是音频设备02,音频设备01采集的音频信号可以是g1(n),音频设备01的音频处理函数可以是h1(n),该音频设备01的处理信号可以是g1(n)*h1(n)。音频设备02采集的音频信号可以是g2(n),音频设备02的音频处理函数可以是h2(n),该音频设备02的处理信号可以是g2(n)*h2(n)。其中,符号“*”表示卷积。For example, as shown in FIG. 9, the first audio device is audio device 01, the previous hop device (that is, the second audio device) of the first audio device is audio device 02, and the audio signal collected by audio device 01 can be If it is g1(n), the audio processing function of the audio device 01 can be h1(n), and the processing signal of the audio device 01 can be g1(n)*h1(n). The audio signal collected by the audio device 02 may be g2(n), the audio processing function of the audio device 02 may be h2(n), and the processing signal of the audio device 02 may be g2(n)*h2(n). Among them, the symbol "*" means convolution.
子步骤7043D、将第一音频设备的处理信号和该第一音频设备的上一跳设备的处理信号叠加得到混合音频信号。 Sub-step 7043D: superimpose the processed signal of the first audio device and the processed signal of the previous hop device of the first audio device to obtain a mixed audio signal.
示例地,如图9所示,该混合音频信号可以是y1(n),y1(n)=g1(n)*h1(n)+g2(n)*h2(n),符号“*”表示卷积,符号“+”表示叠加。For example, as shown in Figure 9, the mixed audio signal may be y1(n), y1(n)=g1(n)*h1(n)+g2(n)*h2(n), and the symbol "*" means Convolution, the symbol "+" means superposition.
步骤705、第一音频设备向第一音频设备的下一跳设备发送混合音频信号。Step 705: The first audio device sends the mixed audio signal to the next hop device of the first audio device.
如前所述容易理解,该混合音频信号可以是至少两个音频设备采集的音频信号的混合信号。其中,第一音频设备和该第一音频设备的下一跳设备可以是第一传输路径上任意相邻的两个音频设备,且按照该第一传输路径的方向,该第一音频设备的下一跳设备位于该第一音频设备之后。可选地,该第一音频设备的下一跳设备可以是目标音频设备,也可以不是目标音频设备,该目标音频设备是该第一传输路径的目的点的音频设备,如果该第一音频设备的下一跳设备是目标音频设备,该第一音频设备也即是该目标音频设备的上一跳设备。As described above, it is easy to understand that the mixed audio signal may be a mixed signal of audio signals collected by at least two audio devices. Wherein, the first audio device and the next hop device of the first audio device may be any two adjacent audio devices on the first transmission path, and according to the direction of the first transmission path, the next hop device of the first audio device The one-hop device is located after the first audio device. Optionally, the next hop device of the first audio device may be the target audio device or not the target audio device, the target audio device is the audio device at the destination point of the first transmission path, if the first audio device The next hop device of is the target audio device, and the first audio device is also the previous hop device of the target audio device.
可选地,第一音频设备向该第一音频设备的下一跳设备(例如目标音频设备)发送混合音频信号时,可以在该混合音频信号中添加来源信息以指示该混合音频信号的来源,该来源信息可以是音频设备的设备标识,表示该混合音频信号来源于该设备标识指示的音频设备。第一音频设备在该混合音频信号中添加的来源信息至少包含该第一音频设备的设备标识,指示该混合音频信号包含第一音频设备采集的音频信号。Optionally, when the first audio device sends the mixed audio signal to the next hop device (for example, the target audio device) of the first audio device, source information may be added to the mixed audio signal to indicate the source of the mixed audio signal, The source information may be the device identifier of the audio device, indicating that the mixed audio signal originates from the audio device indicated by the device identifier. The source information added by the first audio device to the mixed audio signal at least includes the device identifier of the first audio device, indicating that the mixed audio signal includes the audio signal collected by the first audio device.
示例地,针对步骤704中的第一种实现方式,由于第一音频设备的上一跳设备(也即是第二音频设备)向第一音频设备发送的音频信号中已经包含该第一音频设备的上一跳设备发送的音频信号的来源信息(例如第一音频设备的上一跳设备向该第一音频设备发送的音频信号中已经包含该第一音频设备的上一跳设备的设备标识和该第一音频设备的上一跳设备的上 一跳设备的设备标识),因此第一音频设备可以在该混合音频信号添加该第一音频设备的设备标识。For example, for the first implementation in step 704, since the audio signal sent by the previous hop device of the first audio device (that is, the second audio device) to the first audio device already contains the first audio device The source information of the audio signal sent by the previous hop device (for example, the audio signal sent by the previous hop device of the first audio device to the first audio device already contains the device ID and the device ID of the previous hop device of the first audio device The device identifier of the last hop device of the first audio device), so the first audio device can add the device identifier of the first audio device to the mixed audio signal.
示例地,针对步骤704中的第二种实现方式,第一音频设备可以在该混合音频信号添加第一音频设备的设备标识、第一音频设备的上一跳设备(也即是第二音频设备)的设备标识和第一音频设备的上一跳设备的上一跳设备(也即是第三音频设备)的设备标识,指示该混合音频信号是第一音频设备采集的音频信号、该第一音频设备的上一跳设备采集的音频信号和该第一音频设备的上一跳设备的上一跳设备采集的音频信号的混合信号。如图10所示,混合音频信号y1(n)中的来源信息可以包含音频设备01的设备标识ID-01,音频设备02的设备标识ID-02和音频设备03的设备标识ID-03,指示该混合音频信号y1(n)是音频设备01的音频信号、音频设备02的音频信号和音频设备03的音频信号的混合信号。For example, for the second implementation in step 704, the first audio device can add the device identifier of the first audio device and the previous hop device of the first audio device (that is, the second audio device) to the mixed audio signal. ) And the device identification of the previous hop device (that is, the third audio device) of the previous hop device of the first audio device, indicating that the mixed audio signal is the audio signal collected by the first audio device, A mixed signal of the audio signal collected by the previous hop device of the audio device and the audio signal collected by the previous hop device of the first audio device. As shown in Figure 10, the source information in the mixed audio signal y1(n) can include the device identification ID-01 of the audio device 01, the device identification ID-02 of the audio device 02 and the device identification ID-03 of the audio device 03, indicating The mixed audio signal y1(n) is a mixed signal of the audio signal of the audio device 01, the audio signal of the audio device 02, and the audio signal of the audio device 03.
示例地,针对步骤704中的第三种实现方式和第四种实现方式,第一音频设备可以在该混合音频信号添加第一音频设备的设备标识和该第一音频设备的上一跳设备(也即是第二音频设备)的设备标识,指示该混合音频信号是第一音频设备采集的音频信号和该第一音频设备的上一跳设备采集的音频信号的混合信号。如图8和图9所示,混合音频信号y1(n)中的来源信息可以包含音频设备01的设备标识ID-01和音频设备02的设备标识ID-02,指示该混合音频信号y1(n)是音频设备01的音频信号和音频设备02的音频信号的混合信号。For example, for the third and fourth implementations in step 704, the first audio device may add the device identification of the first audio device and the previous hop device of the first audio device to the mixed audio signal ( That is, the device identifier of the second audio device), indicating that the mixed audio signal is a mixed signal of the audio signal collected by the first audio device and the audio signal collected by the previous hop device of the first audio device. As shown in Figures 8 and 9, the source information in the mixed audio signal y1(n) may include the device identification ID-01 of the audio device 01 and the device identification ID-02 of the audio device 02, indicating that the mixed audio signal y1(n ) Is a mixed signal of the audio signal of audio device 01 and the audio signal of audio device 02.
步骤706、第一音频设备的下一跳设备接收第一音频设备发送的混合音频信号。Step 706: The next hop device of the first audio device receives the mixed audio signal sent by the first audio device.
对应于第一音频设备向该第一音频设备的下一跳设备(例如目标音频设备)发送混合音频信号,该第一音频设备的下一跳设备可以接收该第一音频设备发送的混合音频信号。Corresponding to the first audio device sending the mixed audio signal to the next hop device of the first audio device (for example, the target audio device), the next hop device of the first audio device can receive the mixed audio signal sent by the first audio device .
示例地,如图8至图10所示,音频设备04接收音频设备01发送的混合音频信号y1(n)。Exemplarily, as shown in FIGS. 8 to 10, the audio device 04 receives the mixed audio signal y1(n) sent by the audio device 01.
步骤707、第一音频设备的下一跳设备从混合音频信号中恢复出至少两个音频设备采集的音频信号。Step 707: The next hop device of the first audio device recovers the audio signals collected by at least two audio devices from the mixed audio signal.
如前所述容易理解,在本申请实施例中,该混合音频信号是第一音频设备对该第一音频设备采集的音频信号和该第一音频设备的上一跳设备(也即是第二音频设备)向该第一音频设备的发送的音频信号发送的音频信号混合得到的,因此该混合音频信号是至少两个音频设备采集的音频信号的混合信号。可选地,该混合音频信号可以携带来源信息,第一音频设备的下一跳设备(例如目标音频设备)可以根据该混合音频信号携带的来源信息确定该混合音频信号是该至少两个音频设备采集的音频信号的混合信号,然后根据该至少两个音频设备的音频处理函数从该混合音频信号中恢复出该至少两个音频设备采集的音频信号。As mentioned above, it is easy to understand that in the embodiment of the present application, the mixed audio signal is the audio signal collected by the first audio device from the first audio device and the previous hop device of the first audio device (that is, the second The audio device is obtained by mixing the audio signal sent by the audio signal sent by the first audio device, so the mixed audio signal is a mixed signal of audio signals collected by at least two audio devices. Optionally, the mixed audio signal may carry source information, and the next hop device of the first audio device (for example, the target audio device) may determine that the mixed audio signal is the at least two audio devices according to the source information carried by the mixed audio signal The collected audio signal is a mixed signal, and then the audio signal collected by the at least two audio devices is recovered from the mixed audio signal according to the audio processing functions of the at least two audio devices.
示例地,以该混合音频信号是第一音频设备采集的音频信号、该第一音频设备的上一跳设备(也即是第二音频设备)采集的音频信号和该第一音频设备的上一跳设备的上一跳设备(也即是第三音频设备)采集的音频信号的混合信号为例。第一音频设备的下一跳设备(例如目标音频设备)可以根据该混合音频信号携带的来源信息确定该混合音频信号是该第一音频设备采集的音频信号、该第二音频设备采集的音频信号和该第三音频设备采集的音频信号的混合信号,然后根据该第一音频设备的音频处理函数、该第二音频设备的音频处理函数和该第三音频设备的音频处理函数从该混合音频信号中恢复出该第一音频设备采集的音频信号、该第二音频设备采集的音频信号和该第三音频设备采集的音频信号。For example, the mixed audio signal is the audio signal collected by the first audio device, the audio signal collected by the previous hop device of the first audio device (that is, the second audio device), and the previous audio signal of the first audio device. Take the mixed signal of the audio signal collected by the previous hop device (that is, the third audio device) of the hop device as an example. The next hop device of the first audio device (for example, the target audio device) may determine, according to the source information carried by the mixed audio signal, that the mixed audio signal is the audio signal collected by the first audio device and the audio signal collected by the second audio device And the mixed signal of the audio signal collected by the third audio device, and then from the mixed audio signal according to the audio processing function of the first audio device, the audio processing function of the second audio device, and the audio processing function of the third audio device The audio signal collected by the first audio device, the audio signal collected by the second audio device, and the audio signal collected by the third audio device are recovered.
再示例地,以该混合音频信号是第一音频设备采集的音频信号和该第一音频设备的上一跳设备(也即是第二音频设备)采集的音频信号的混合信号为例。第一音频设备的下一跳设 备(例如目标音频设备)可以根据该混合音频信号携带的来源信息确定该混合音频信号是第一音频设备采集的音频信号和该第一音频设备的上一跳设备采集的音频信号的混合信号,然后根据该第一音频设备的音频处理函数和该第一音频设备的上一跳设备的音频处理函数从该混合音频信号中恢复出该第一音频设备采集的音频信号和该第一音频设备的上一跳设备采集的音频信号。As another example, it is taken as an example that the mixed audio signal is the audio signal collected by the first audio device and the audio signal collected by the previous hop device of the first audio device (that is, the second audio device). The next hop device of the first audio device (for example, the target audio device) may determine, according to the source information carried by the mixed audio signal, that the mixed audio signal is the audio signal collected by the first audio device and the previous hop device of the first audio device The mixed signal of the collected audio signal, and then the audio collected by the first audio device is recovered from the mixed audio signal according to the audio processing function of the first audio device and the audio processing function of the previous hop device of the first audio device Signal and the audio signal collected by the previous hop device of the first audio device.
值得说明的是,该步骤707中,第一音频设备的下一跳设备(例如目标音频设备)从该混合音频信号中恢复出至少两个音频设备采集的音频信号的实现过程可以参考前述子步骤7041B的实现过程,本申请实施例在此不再赘述。It is worth noting that, in this step 707, the next hop device of the first audio device (for example, the target audio device) recovers the audio signals collected by at least two audio devices from the mixed audio signal, which can refer to the foregoing sub-steps. The implementation process of 7041B will not be repeated in this embodiment of the application.
在本申请实施例中,目标音频设备可以是音频处理网络中的应用音频设备,目标音频设备从混合音频信号中恢复出至少两个音频设备采集的音频信号后,可以应用该至少两个音频设备采集的音频信号。例如,目标音频设备基于该至少两个音频设备采集的音频信号实现3D声音播放或者空间语音增强。In the embodiment of the present application, the target audio device may be an application audio device in an audio processing network. After the target audio device recovers the audio signals collected by at least two audio devices from the mixed audio signal, the at least two audio devices may be used The collected audio signal. For example, the target audio device implements 3D sound playback or spatial voice enhancement based on the audio signals collected by the at least two audio devices.
在本申请实施例中,目标音频设备恢复出的音频信号可能存在冗余信号,针对这种情况,目标音频设备可以对恢复出的音频信号去冗余后再应用。例如,目标音频设备恢复出的音频信号中包含某一音频设备的多份音频信号,则该目标音频设备恢复出的音频信号中该某一音频设备的音频信号存在冗余信号,目标音频设备可以对该某一音频设备的音频信号去冗余。In the embodiment of the present application, the audio signal recovered by the target audio device may have redundant signals. In this case, the target audio device may de-redundant the recovered audio signal before applying it. For example, if the audio signal recovered by the target audio device contains multiple audio signals of a certain audio device, then the audio signal of the certain audio device in the audio signal recovered by the target audio device has redundant signals, and the target audio device may De-redundancy of the audio signal of a certain audio device.
可选地,目标音频设备可以从该某一音频设备的多份音频信号中选择一份音频信号作为该某一音频设备的音频信号,丢弃该多份音频信号中的其他音频信号,以对该多份音频信号去冗余。或者,目标音频设备可以对该某一音频设备的多份音频信号进行平均,将平均得到的音频信号作为该某一音频设备的音频信号,以对该多份音频信号去冗余,本申请实施例对此不作限定。示例地,如图8至图10所示,目标音频设备可以是音频设备04,音频设备04恢复出的音频信号包含两份音频信号x1(n),音频设备04可以从该两份音频信号x1(n)选择一份音频信号x1(n)作为音频设备01的音频信号。再示例地,音频设备04恢复出的音频信号包含三份音频信号x2(n),音频设备04可以将该三份音频信号x2(n)平均得到的音频信号作为音频设备02的音频信号。Optionally, the target audio device may select one piece of audio signal from the multiple audio signals of the certain audio device as the audio signal of the certain audio device, and discard other audio signals in the multiple audio signals, so as to Multiple audio signals are de-redundant. Alternatively, the target audio device may average multiple audio signals of the certain audio device, and use the averaged audio signal as the audio signal of the certain audio device to de-redundate the multiple audio signals. This application implements The example does not limit this. For example, as shown in FIGS. 8 to 10, the target audio device may be the audio device 04, and the audio signal recovered by the audio device 04 includes two audio signals x1(n), and the audio device 04 can obtain the audio signal from the two audio signals x1. (n) Select an audio signal x1(n) as the audio signal of the audio device 01. As another example, the audio signal recovered by the audio device 04 includes three audio signals x2(n), and the audio device 04 may use the audio signal obtained by averaging the three audio signals x2(n) as the audio signal of the audio device 02.
值得说明的是,目标音频设备恢复出的各个音频设备的音频信号是该各个音频设备采集的音频信号的近似信号,目标音频设备恢复出的某一音频设备的多份音频信号可能来源于不同的混合音频信号,目标音频设备可以从该多份音频信号中,选择从来源最少的混合音频信号恢复出的音频信号作为该某一音频设备的音频信号,以减小选择的音频信号与该某一音频设备采集的音频信号的差异。It is worth noting that the audio signal of each audio device recovered by the target audio device is an approximate signal of the audio signal collected by each audio device, and multiple audio signals of a certain audio device recovered by the target audio device may come from different sources. Mix the audio signal, the target audio device can select the audio signal recovered from the mixed audio signal with the least source as the audio signal of the certain audio device from the multiple audio signals, so as to reduce the selected audio signal and the certain audio signal. The difference in the audio signal collected by the audio device.
基于前述描述容易理解,在本申请实施例中,音频处理网络中的每个音频设备具有音频处理函数,且音频处理网络中的每个音频设备能够获知其他音频设备的音频处理函数,以实现音频信号的混合和恢复过程。可选地,音频处理网络中的每个音频设备的音频处理函数由该音频设备生成并发送至该音频处理网络中的其他音频设备;或者,该音频处理网络中的每个音频设备的音频处理函数由函数处理设备生成并发送至该音频处理网络中的各个音频设备。示例地,每个音频设备在接入该音频处理网络后可以生成自身的音频处理函数并将自身的音频处理函数广播至该音频处理网络中的其他音频设备,或者,每个音频设备在接入该音频处理网络后函数处理设备为该音频设备生成音频处理函数,并将该音频处理函数广播至该音频处理网络中的音频设备。其中,该函数处理设备可以是该音频处理网络中的任一设备,例如, 该函数处理设备可以是第一传输路径的起始点的音频设备,或者是该第一传输路径的目的点的音频设备,或者该音频处理网络的管理设备,本申请实施例对此不作限定。Based on the foregoing description, it is easy to understand that in the embodiment of the present application, each audio device in the audio processing network has an audio processing function, and each audio device in the audio processing network can learn the audio processing functions of other audio devices to implement audio Signal mixing and recovery process. Optionally, the audio processing function of each audio device in the audio processing network is generated by the audio device and sent to other audio devices in the audio processing network; or, the audio processing function of each audio device in the audio processing network is The function is generated by the function processing device and sent to each audio device in the audio processing network. For example, after accessing the audio processing network, each audio device can generate its own audio processing function and broadcast its own audio processing function to other audio devices in the audio processing network, or each audio device is connected to the audio processing network. The post-audio processing network function processing device generates an audio processing function for the audio device, and broadcasts the audio processing function to the audio device in the audio processing network. The function processing device may be any device in the audio processing network. For example, the function processing device may be the audio device at the starting point of the first transmission path, or the audio device at the destination point of the first transmission path. , Or the management device of the audio processing network, which is not limited in the embodiment of the present application.
在本申请实施例中,在上述步骤704之前,第一音频设备至少需要获取到该第一音频设备的音频处理函数,并且该第一音频设备也可以获取到该第一音频设备的上一跳设备(也即是第二音频设备)的音频处理函数和该第一音频设备的上一跳设备的上一跳设备(也即是第三音频设备)的音频处理函数。在上述步骤707之前,该第一音频设备的下一跳设备(例如目标音频设备)需要获取到相应的至少两个音频设备的音频处理函数,例如,该第一音频设备的下一跳设备需要获取到第一音频设备的音频处理函数、第二音频设备的音频处理函数和第三音频设备的音频处理函数。可选地,第一音频设备获取该第一音频设备的音频处理函数可以包括:第一音频设备生成该第一音频设备的音频处理函数;或者,第一音频设备接收函数处理设备发送的该第一音频设备的音频处理函数。该第一音频设备的下一跳设备(例如目标音频设备)获取至少两个音频设备的音频处理函数可以包括:该第一音频设备的下一跳设备接收该至少两个音频设备的音频处理函数,例如,该第一音频设备的下一跳设备接收第一音频设备发送的该第一音频设备的音频处理函数,接收第二音频设备发送的该第二音频设备的音频处理函数,以及接收第三音频设备发送的该第三音频设备的音频处理函数;或者,该第一音频设备的下一跳设备接收函数处理设备发送的该第一音频设备的音频处理函数、该第二音频设备的音频处理函数和该第三音频设备的音频处理函数,本申请实施例对此不作限定。In the embodiment of the present application, before step 704, the first audio device needs to obtain at least the audio processing function of the first audio device, and the first audio device may also obtain the previous jump of the first audio device. The audio processing function of the device (that is, the second audio device) and the audio processing function of the previous hop device of the first audio device (that is, the third audio device). Before step 707, the next hop device of the first audio device (for example, the target audio device) needs to obtain the audio processing functions of the corresponding at least two audio devices, for example, the next hop device of the first audio device needs Acquire the audio processing function of the first audio device, the audio processing function of the second audio device, and the audio processing function of the third audio device. Optionally, acquiring the audio processing function of the first audio device by the first audio device may include: the first audio device generates the audio processing function of the first audio device; or, the first audio device receives the first audio processing function sent by the function processing device. An audio processing function of an audio device. Obtaining the audio processing functions of the at least two audio devices by the next hop device of the first audio device (for example, the target audio device) may include: receiving the audio processing functions of the at least two audio devices by the next hop device of the first audio device For example, the next hop device of the first audio device receives the audio processing function of the first audio device sent by the first audio device, receives the audio processing function of the second audio device sent by the second audio device, and receives the audio processing function of the second audio device sent by the second audio device. The audio processing function of the third audio device sent by the three audio equipment; or, the next hop device of the first audio device receives the audio processing function of the first audio device and the audio of the second audio device sent by the function processing device The processing function and the audio processing function of the third audio device are not limited in the embodiment of the present application.
本申请实施例以第一音频设备生成该第一音频设备的音频处理函数为例来描述音频处理函数的生成过程。可选地,第一音频设备生成该第一音频设备的音频处理函数可以包括:第一音频设备采用随机数生成函数生成多个随机数,根据该多个随机数生成该该第一音频设备的音频处理函数。其中,该随机数生成函数例如可以是c语言中的rand()函数,rand()函数可以生成[0,32767]范围内的随机数。该第一音频设备的音频处理函数可以是该多个随机数构成的一个多维的随机序列,例如,该音频处理函数是一个20维的随机序列,可以理解的是,音频处理函数的维度越高,对音频信号的恢复质量越好,但是恢复音频信号时的计算复杂度越高。示例地,第一音频设备采用随机数生成函数生成多个随机数可以包括:第一音频设备采用rand()函数生成多个随机数。第一音频设备根据该多个随机数生成该第一音频设备的音频处理函数可以包括:第一音频设备将该多个随机数组成一个随机序列,该随机序列即为该第一音频设备的音频处理函数。The embodiment of the present application uses the first audio device to generate the audio processing function of the first audio device as an example to describe the generation process of the audio processing function. Optionally, generating the audio processing function of the first audio device by the first audio device may include: the first audio device generates a plurality of random numbers by using a random number generation function, and generates the output of the first audio device according to the plurality of random numbers. Audio processing function. Wherein, the random number generation function can be, for example, the rand() function in the c language, and the rand() function can generate random numbers in the range of [0,32767]. The audio processing function of the first audio device may be a multi-dimensional random sequence composed of the multiple random numbers. For example, the audio processing function is a 20-dimensional random sequence. It can be understood that the higher the dimensionality of the audio processing function , The better the quality of audio signal restoration, but the higher the computational complexity when restoring audio signals. For example, the first audio device generating multiple random numbers using a random number generation function may include: the first audio device generating multiple random numbers using a rand() function. The first audio device generating the audio processing function of the first audio device according to the multiple random numbers may include: the first audio device composes the multiple random numbers into a random sequence, and the random sequence is the audio of the first audio device Processing function.
值得说明的是,本申请实施例以第一音频设备生成该第一音频设备的音频处理函数为例来描述音频处理函数的生成过程,任一音频设备生成自身的音频处理函数的过程,以及函数处理设备生成各个音频设备的音频处理函数的过程,均可以参考第一音频设备生成该第一音频设备的音频处理函数的过程,本申请实施例在此不再赘述。本申请实施例通过随机化的方式生成音频处理函数,可以保证各个音频设备的音频处理函数尽量不相关,便于音频信号的混合和恢复。It is worth noting that the embodiment of the present application takes the first audio device to generate the audio processing function of the first audio device as an example to describe the generation process of the audio processing function, the process of any audio device generating its own audio processing function, and the function The process of generating the audio processing function of each audio device by the processing device may refer to the process of generating the audio processing function of the first audio device by the first audio device, which will not be repeated in the embodiment of the present application. The embodiments of the present application generate audio processing functions in a randomized manner, which can ensure that the audio processing functions of various audio devices are as uncorrelated as possible, which facilitates the mixing and restoration of audio signals.
在本申请实施例中,经过图2所示实施例,目标音频设备可以从音频处理网络中确定出目的点为该目标音频设备的至少一条目标传输路径,每条目标传输路径上的音频设备可以基于图7所示实施例提供的信号传输过程传输音频信号。参考图7所示实施例容易理解,每条目标传输路径上,除起始点的音频设备和目的点的音频设备之外的每个音频设备可以将自身采集到的音频信号和接收到的音频信号混合成一个音频混合信号传输给下一跳设备,直至将 信号传输至目标音频设备(该目标传输路径的目的点的音频设备),这样使得目标音频设备可以通过较少的传输路径接收到需要的音频信号,相比于各个音频设备各自分别向目标音频设备发送音频信号的方案,有助于降低音频信号的传输带宽。下面结合图1和图10对本申请实施例提供的信号传输方法降低音频信号的传输带宽的原理进行说明。In the embodiment of the present application, after the embodiment shown in FIG. 2, the target audio device can determine from the audio processing network that the destination point is at least one target transmission path of the target audio device, and the audio device on each target transmission path can The audio signal is transmitted based on the signal transmission process provided by the embodiment shown in FIG. 7. It is easy to understand with reference to the embodiment shown in FIG. 7 that, on each target transmission path, each audio device except the audio device at the starting point and the audio device at the destination point can collect the audio signal collected by itself and the audio signal received. It is mixed into an audio mixed signal and transmitted to the next hop device until the signal is transmitted to the target audio device (the audio device at the destination point of the target transmission path), so that the target audio device can receive the required data through fewer transmission paths The audio signal is helpful to reduce the transmission bandwidth of the audio signal compared to the solution of each audio device sending the audio signal to the target audio device separately. The following describes the principle of reducing the transmission bandwidth of audio signals by the signal transmission method provided in the embodiments of the present application in conjunction with FIG. 1 and FIG. 10.
示例地,如图1和图10所示,假设音频设备01、音频设备02和音频设备03采集的音频信号依次为音频信号x1(n)、音频信号x2(n)和音频信号x3(n),音频信号x1(n)、音频信号x2(n)和音频信号x3(n)均包含N个采样点数据,n=0,1,…,N-1,以每个采样点数据用16比特表示。在不考虑压缩的情况下,音频信号x1(n)、音频信号x2(n)和音频信号x3(n)中的每个音频信号在单独传输时,占用的网络带宽为16×N比特,符号“×”表示乘号。For example, as shown in Figures 1 and 10, it is assumed that the audio signals collected by audio device 01, audio device 02, and audio device 03 are audio signal x1(n), audio signal x2(n), and audio signal x3(n) in order , Audio signal x1(n), audio signal x2(n) and audio signal x3(n) all contain N sampling point data, n=0,1,...,N-1, each sampling point data uses 16 bits Express. Without considering compression, each of the audio signal x1(n), audio signal x2(n), and audio signal x3(n), when transmitted separately, occupies a network bandwidth of 16×N bits, and the symbol "×" means multiplication sign.
如图1所示,如果音频设备01、音频设备02和音频设备03各自分别向音频设备04发送自身的音频信号,则音频设备01、音频设备02和音频设备03向音频设备04传输音频信号占用的网络带宽为16×N×3比特,符号“×”表示乘号。As shown in Figure 1, if audio device 01, audio device 02, and audio device 03 each send its own audio signal to audio device 04, audio device 01, audio device 02, and audio device 03 transmit audio signals to audio device 04. The network bandwidth of is 16×N×3 bits, and the symbol "×" represents the multiplication sign.
如图10所示,如果音频设备01将音频信号x1(n)传输给音频设备02、音频设备02将音频信号x1(n)与音频信号x2(n)混合后传输给音频设备03,音频设备03将音频信号x1(n)、音频信号x2(n)和音频信号x3(n)混合后传输给音频设备04,则音频设备04接收到的混合音频信号y1(n)包含3×N个采样点的混合数据,该3×N个采样点的混合数据分别为:3个采样点0的混合数据y1(0),3个采样点1的混合数据y1(1),3个采样点2的混合数据y1(2)...3个采样点N-1的混合数据y1(N-1),符号“×”表示乘号。其中:As shown in Figure 10, if the audio device 01 transmits the audio signal x1(n) to the audio device 02, and the audio device 02 mixes the audio signal x1(n) with the audio signal x2(n) and transmits it to the audio device 03, the audio device 03 The audio signal x1(n), audio signal x2(n) and audio signal x3(n) are mixed and transmitted to the audio device 04, then the mixed audio signal y1(n) received by the audio device 04 contains 3×N samples The mixed data of the 3×N sampling points are: 3 sample points 0 mixed data y1(0), 3 sample points 1 mixed data y1(1), 3 sample points 2 Mixed data y1(2)...mixed data y1(N-1) of 3 sampling points N-1, the symbol "×" represents the multiplication sign. in:
y1(0)=x1(0)*h1(0)+x2(0)*h2(0)+x3(0)*h3(0);y1(0)=x1(0)*h1(0)+x2(0)*h2(0)+x3(0)*h3(0);
y1(1)=x1(1)*h1(1)+x2(1)*h2(1)+x3(1)*h3(1);y1(1)=x1(1)*h1(1)+x2(1)*h2(1)+x3(1)*h3(1);
y1(2)=x1(2)*h1(2)+x2(2)*h2(2)+x3(2)*h3(2);y1(2)=x1(2)*h1(2)+x2(2)*h2(2)+x3(2)*h3(2);
......
y1(N-1)=x1(N-1)*h1(N-1)+x2(N-1)*h2(N-1)+x3(N-1)*h3(N-1);y1(N-1)=x1(N-1)*h1(N-1)+x2(N-1)*h2(N-1)+x3(N-1)*h3(N-1);
符号“*”表示卷积,符号“+”表示叠加。以y1(0)为例,x1(0)*h1(0)、x2(0)*h2(0)、x3(0)*h3(0)分别是16比特,y1(0)是3个16比特的采样点数据经过数学运算得到的,y1(0)仍然是16比特。同理,y1(1)、y1(2)...y1(N-1)均是16比特,包含y1(0)、y1(1)、y1(2)...y1(N-1)的y1(n)在传输时占用的网络带宽为16×N比特,符号“×”表示乘号。The symbol "*" means convolution, and the symbol "+" means superimposition. Take y1(0) as an example, x1(0)*h1(0), x2(0)*h2(0), x3(0)*h3(0) are 16 bits respectively, and y1(0) is 3 16 bits The bit sampling point data is obtained through mathematical operations, and y1(0) is still 16 bits. Similarly, y1(1), y1(2)...y1(N-1) are all 16 bits, including y1(0), y1(1), y1(2)...y1(N-1) The network bandwidth occupied by y1(n) during transmission is 16×N bits, and the symbol “×” represents the multiplication sign.
可见,传输混合音频信号y1(1)占用的网络带宽与传输单个音频设备采集的音频信号(例如音频信号x1(n)、音频信号x2(n)或音频信号x3(n))网络带宽相等,因此,相比于音频设备01、音频设备02和音频设备03各自分别向音频设备04发送自身的音频信号的方案,本申请实施例将音频信号混合后传输,保证了音频设备01、音频设备02和音频设备03采集的音频信号的有效传输,且可以降低音频信号的传输带宽。It can be seen that the network bandwidth occupied by the transmission of the mixed audio signal y1(1) is equal to the network bandwidth of the audio signal collected by a single audio device (for example, audio signal x1(n), audio signal x2(n) or audio signal x3(n)). Therefore, compared to the solution in which the audio device 01, the audio device 02, and the audio device 03 each send its own audio signal to the audio device 04, the embodiment of the present application mixes the audio signals and transmits it, ensuring that the audio device 01 and the audio device 02 And the effective transmission of the audio signal collected by the audio device 03, and can reduce the transmission bandwidth of the audio signal.
综上所述,本申请实施例提供的信号传输方法,第一音频设备采集音频信号后,当接收到该第一音频设备的上一跳设备发送的音频信号时,将该第一音频设备采集的音频信号和该第一音频设备的上一跳设备发送的音频信号混合得到混合音频信号,并向该第一音频设备的下一跳设备发送该混合音频信号。由于音频设备可以将采集的音频信号和接收到的音频信号混合后向下一跳设备发送,直至将各个音频设备采集的音频信号发送至目标音频设备,因此相比于各个音频设备各自分别向目标音频设备发送音频信号的方案,有助于降低音频信号的传输带宽。In summary, in the signal transmission method provided by the embodiments of the present application, after the first audio device collects the audio signal, when the audio signal sent by the previous hop device of the first audio device is received, the first audio device is collected The audio signal of is mixed with the audio signal sent by the previous hop device of the first audio device to obtain a mixed audio signal, and the mixed audio signal is sent to the next hop device of the first audio device. Since the audio device can mix the collected audio signal and the received audio signal and send it to the next hop device, until the audio signal collected by each audio device is sent to the target audio device, it is compared with each audio device separately to the target audio device. The scheme of sending audio signals by audio equipment helps to reduce the transmission bandwidth of audio signals.
下述为本申请的装置实施例,可以用于执行本申请的方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following are device embodiments of this application, which can be used to implement the method embodiments of this application. For details that are not disclosed in the device embodiments of this application, please refer to the method embodiments of this application.
请参考图15,其示出了本申请实施例提供的一种信号传输装置1500的逻辑结构示意图,该信号传输装置1500可以为图1所示实施环境中的任一音频设备或者是该音频设备中的功能组件。参见图15,该信号传输装置1500可以包括但不限于:Please refer to FIG. 15, which shows a schematic diagram of the logical structure of a signal transmission device 1500 provided by an embodiment of the present application. The signal transmission device 1500 may be any audio device or the audio device in the implementation environment shown in FIG. Functional components in. Referring to FIG. 15, the signal transmission device 1500 may include but is not limited to:
获取模块1510,用于获取第一音频设备采集的音频信号;The obtaining module 1510 is used to obtain the audio signal collected by the first audio device;
处理模块1520,用于当接收到该第一音频设备的上一跳设备发送的音频信号时,将该第一音频设备采集的音频信号和该上一跳设备发送的音频信号混合得到混合音频信号;The processing module 1520 is configured to, when the audio signal sent by the previous hop device of the first audio device is received, mix the audio signal collected by the first audio device and the audio signal sent by the previous hop device to obtain a mixed audio signal ;
发送模块1530,用于向该第一音频设备的下一跳设备发送该混合音频信号;The sending module 1530 is configured to send the mixed audio signal to the next hop device of the first audio device;
其中,该第一音频设备、该上一跳设备和该下一跳设备是音频处理网络中的第一传输路径上相邻的音频设备。Wherein, the first audio device, the previous hop device, and the next hop device are adjacent audio devices on the first transmission path in the audio processing network.
可选地,该处理模块1520,用于:Optionally, the processing module 1520 is configured to:
采用第一音频设备的音频处理函数对该第一音频设备采集的音频信号进行处理,得到该第一音频设备的处理信号;Use the audio processing function of the first audio device to process the audio signal collected by the first audio device to obtain the processed signal of the first audio device;
将该第一音频设备的处理信号和该上一跳设备发送的音频信号叠加得到混合音频信号。Superimposing the processed signal of the first audio device and the audio signal sent by the previous hop device to obtain a mixed audio signal.
可选地,该上一跳设备发送的音频信号是至少两个音频设备采集的音频信号的混合信号;该处理模块1520,用于:Optionally, the audio signal sent by the last hop device is a mixed signal of audio signals collected by at least two audio devices; the processing module 1520 is configured to:
从该上一跳设备发送的音频信号中恢复出该至少两个音频设备采集的音频信号;Recover the audio signal collected by the at least two audio devices from the audio signal sent by the last hop device;
对于该第一音频设备和该至少两个音频设备中的每个音频设备,采用该音频设备的音频处理函数对该音频设备采集的音频信号进行处理,得到该音频设备的处理信号;For each audio device of the first audio device and the at least two audio devices, use the audio processing function of the audio device to process the audio signal collected by the audio device to obtain the processed signal of the audio device;
将该第一音频设备的处理信号和该至少两个音频设备的处理信号叠加得到混合音频信号。The processing signal of the first audio device and the processing signal of the at least two audio devices are superimposed to obtain a mixed audio signal.
可选地,该处理模块1520,用于:Optionally, the processing module 1520 is configured to:
根据该上一跳设备发送的音频信号携带的来源信息确定该上一跳设备发送的音频信号是该至少两个音频设备采集的音频信号的混合信号;Determining, according to the source information carried in the audio signal sent by the last hop device, that the audio signal sent by the last hop device is a mixed signal of the audio signals collected by the at least two audio devices;
根据该至少两个音频设备的音频处理函数从该上一跳设备发送的音频信号中恢复出该至少两个音频设备采集的音频信号。The audio signals collected by the at least two audio devices are recovered from the audio signals sent by the last hop device according to the audio processing functions of the at least two audio devices.
可选地,该上一跳设备发送的音频信号是该上一跳设备采集的音频信号;Optionally, the audio signal sent by the last hop device is an audio signal collected by the last hop device;
该处理模块1520,用于:The processing module 1520 is used for:
对于该第一音频设备和该上一跳设备中的每个音频设备,采用该音频设备的音频处理函数对该音频设备采集的音频信号进行处理,得到该音频设备的处理信号;For each audio device in the first audio device and the previous hop device, use the audio processing function of the audio device to process the audio signal collected by the audio device to obtain the processed signal of the audio device;
将该第一音频设备的处理信号和该上一跳设备的处理信号叠加得到混合音频信号。The processing signal of the first audio device and the processing signal of the previous hop device are superimposed to obtain a mixed audio signal.
可选地,该上一跳设备发送的音频信号是对该上一跳设备采集的音频信号进行处理得到的;该处理模块1520,用于:Optionally, the audio signal sent by the last hop device is obtained by processing the audio signal collected by the last hop device; the processing module 1520 is configured to:
从该上一跳设备发送的音频信号中恢复出该上一跳设备采集的音频信号;Recover the audio signal collected by the previous hop device from the audio signal sent by the previous hop device;
对于第一音频设备和该上一跳设备中的每个音频设备,采用该音频设备的音频处理函数对该音频设备采集的音频信号进行处理,得到该音频设备的处理信号;For each audio device in the first audio device and the previous hop device, use the audio processing function of the audio device to process the audio signal collected by the audio device to obtain the processed signal of the audio device;
将该第一音频设备的处理信号和该上一跳设备的处理信号叠加得到混合音频信号。The processing signal of the first audio device and the processing signal of the previous hop device are superimposed to obtain a mixed audio signal.
可选地,音频处理网络中的每个音频设备的音频处理函数由该音频设备生成并发送至该 音频处理网络中的其他音频设备;或者,Optionally, the audio processing function of each audio device in the audio processing network is generated by the audio device and sent to other audio devices in the audio processing network; or,
该音频处理网络中的每个音频设备的音频处理函数由该音频处理网络中的函数处理设备生成并发送至该音频处理网络中的各个音频设备。The audio processing function of each audio device in the audio processing network is generated by the function processing device in the audio processing network and sent to each audio device in the audio processing network.
可选地,请继续参考图15,该信号传输装置1500还包括:Optionally, please continue to refer to FIG. 15, the signal transmission device 1500 further includes:
生成模块1540,用于生成第一音频设备的音频处理函数;或者,The generating module 1540 is used to generate the audio processing function of the first audio device; or,
接收模块1550,用于接收函数处理设备发送的第一音频设备的音频处理函数。The receiving module 1550 is configured to receive the audio processing function of the first audio device sent by the function processing device.
可选地,该生成模块1540,用于:Optionally, the generating module 1540 is used to:
采用随机数生成函数生成多个随机数;Use random number generating function to generate multiple random numbers;
根据该多个随机数生成该第一音频设备的音频处理函数。The audio processing function of the first audio device is generated according to the plurality of random numbers.
综上所述,本申请实施例提供的信号传输装置,获取模块获取第一音频设备采集的音频信号后,处理模块将该第一音频设备采集的音频信号和该第一音频设备的上一跳设备发送的音频信号混合得到混合音频信号,并由发送模块向该第一音频设备的下一跳设备发送该混合音频信号。由于音频设备可以将采集的音频信号和接收到的音频信号混合后向下一跳设备发送,直至将各个音频设备采集的音频信号发送至目标音频设备,因此相比于各个音频设备各自分别向目标音频设备发送音频信号的方案,有助于降低音频信号的传输带宽。In summary, in the signal transmission device provided by the embodiment of the present application, after the acquisition module acquires the audio signal collected by the first audio device, the processing module has the audio signal collected by the first audio device and the previous jump of the first audio device. The audio signal sent by the device is mixed to obtain a mixed audio signal, and the sending module sends the mixed audio signal to the next hop device of the first audio device. Since the audio device can mix the collected audio signal and the received audio signal and send it to the next hop device, until the audio signal collected by each audio device is sent to the target audio device, it is compared with each audio device separately to the target audio device. The scheme of sending audio signals by audio equipment helps to reduce the transmission bandwidth of audio signals.
请参考图16,其示出了本申请实施例提供的另一种信号传输装置1600的逻辑结构示意图,该信号传输装置1600可以为图1所示实施环境中的任一音频设备或者是该音频设备中的功能组件。参见图16,该信号传输装置1600可以包括但不限于:Please refer to FIG. 16, which shows a schematic diagram of the logical structure of another signal transmission device 1600 provided by an embodiment of the present application. The signal transmission device 1600 may be any audio device or the audio device in the implementation environment shown in FIG. The functional components in the device. Referring to FIG. 16, the signal transmission device 1600 may include, but is not limited to:
接收模块1610,用于接收目标音频设备的上一跳设备发送的混合音频信号,该混合音频信号是至少两个音频设备采集的音频信号的混合信号;The receiving module 1610 is configured to receive a mixed audio signal sent by a previous hop device of the target audio device, where the mixed audio signal is a mixed signal of audio signals collected by at least two audio devices;
处理模块1620,用于从该混合音频信号中恢复出该至少两个音频设备的音频信号;The processing module 1620 is configured to recover the audio signals of the at least two audio devices from the mixed audio signal;
其中,该目标音频设备和该上一跳设备是音频处理网络中的第一传输路径上相邻的音频设备。Wherein, the target audio device and the last hop device are adjacent audio devices on the first transmission path in the audio processing network.
可选地,该处理模块1620,用于:Optionally, the processing module 1620 is configured to:
根据该混合音频信号携带的来源信息确定该混合音频信号是至少两个音频设备采集的音频信号的混合信号;Determining, according to the source information carried by the mixed audio signal, that the mixed audio signal is a mixed signal of audio signals collected by at least two audio devices;
根据该至少两个音频设备的音频处理函数从该混合音频信号中恢复出该至少两个音频设备采集的音频信号。The audio signal collected by the at least two audio devices is recovered from the mixed audio signal according to the audio processing functions of the at least two audio devices.
可选地,音频处理网络中的每个音频设备的音频处理函数由该音频设备生成并发送至该音频处理网络中的其他音频设备;或者,Optionally, the audio processing function of each audio device in the audio processing network is generated by the audio device and sent to other audio devices in the audio processing network; or,
该音频处理网络中的每个音频设备的音频处理函数由该音频处理网络中的函数处理设备生成并发送至该音频处理网络中的各个音频设备。The audio processing function of each audio device in the audio processing network is generated by the function processing device in the audio processing network and sent to each audio device in the audio processing network.
可选地,接收模块1610,还用于接收该至少两个音频设备的音频处理函数。Optionally, the receiving module 1610 is further configured to receive audio processing functions of the at least two audio devices.
可选地,请继续参考图16,该信号传输装置1600还包括:Optionally, please continue to refer to FIG. 16, the signal transmission device 1600 further includes:
确定模块1630,用于从音频处理网络中确定目的点为目标音频设备的至少一条目标传输路径,该至少一条目标传输路径包括第一传输路径;The determining module 1630 is configured to determine from the audio processing network that the destination point is at least one target transmission path of the target audio device, and the at least one target transmission path includes the first transmission path;
发送模块1640,用于向每条目标传输路径上的音频设备发送传输指示信息,该目标传输路径上的音频设备用于根据接收到的传输指示信息通过该目标传输路径传输音频信号。The sending module 1640 is configured to send transmission instruction information to the audio device on each target transmission path, and the audio device on the target transmission path is used to transmit the audio signal through the target transmission path according to the received transmission instruction information.
可选地,该确定模块1630,用于从音频处理网络中目的点为目标音频设备的多条传输路径中,选择至少一条传输路径作为至少一条目标传输路径;Optionally, the determining module 1630 is configured to select at least one transmission path as the at least one target transmission path from among multiple transmission paths where the destination point is the target audio device in the audio processing network;
该发送模块1640,用于向每条目标传输路径上的音频设备发送拆除指示信息,其中,向该目标传输路径上的音频设备发送的拆除指示信息指示该音频设备拆除该多条传输路径中的冗余传输路径且通过该目标传输路径传输音频信号,该冗余传输路径是该多条传输路径中除该至少一条目标传输路径之外的传输路径。The sending module 1640 is configured to send removal instruction information to the audio device on each target transmission path, where the removal instruction information sent to the audio device on the target transmission path instructs the audio device to remove the audio device in the multiple transmission paths. The redundant transmission path and the audio signal are transmitted through the target transmission path, and the redundant transmission path is a transmission path other than the at least one target transmission path among the plurality of transmission paths.
可选地,该确定模块1630,用于:Optionally, the determining module 1630 is configured to:
接收通过该多条传输路径中的每条传输路径传输的路径探测信号,其中,通过每条传输路径传输的路径探测信号包含该传输路径上的各个音频设备的信息;Receiving a path detection signal transmitted through each of the multiple transmission paths, where the path detection signal transmitted through each transmission path contains information about each audio device on the transmission path;
根据通过该多条传输路径传输的路径探测信号,从该多条传输路径中选择至少一条传输路径作为至少一条目标传输路径,其中,该至少一条目标传输路径是该多条传输路径中,路径数量最少且包含的音频设备数量最多的传输路径。According to the path detection signal transmitted through the multiple transmission paths, at least one transmission path is selected from the multiple transmission paths as at least one target transmission path, where the at least one target transmission path is the number of paths among the multiple transmission paths The transmission path that contains the least number of audio devices.
可选地,该确定模块1630,用于:Optionally, the determining module 1630 is configured to:
对于该多条传输路径中的每条传输路径,获取该传输路径上的各个音频设备的当前处理能力;For each of the multiple transmission paths, acquiring the current processing capabilities of each audio device on the transmission path;
根据该多条传输路径上的音频设备的当前处理能力,从该多条传输路径中选择至少一条传输路径作为至少一条目标传输路径,其中,每条目标传输路径上的音频设备的当前处理能力强于预设处理能力。According to the current processing capabilities of the audio devices on the multiple transmission paths, at least one transmission path is selected from the multiple transmission paths as at least one target transmission path, where the current processing capabilities of the audio devices on each target transmission path are strong In the default processing capacity.
可选地,该确定模块1630,用于:Optionally, the determining module 1630 is configured to:
获取音频处理网络的拓扑信息和该音频处理网络中的各个音频设备的当前处理能力;Acquire the topology information of the audio processing network and the current processing capabilities of each audio device in the audio processing network;
根据该音频处理网络中的各个音频设备的当前处理能力,从该音频处理网络中确定目标音频设备所需的至少一个协同音频设备;According to the current processing capabilities of each audio device in the audio processing network, determine from the audio processing network at least one cooperative audio device required by the target audio device;
根据该音频处理网络的拓扑信息,将目的点为该目标音频设备且包含该至少一个协同音频设备的至少一个传输路径确定为至少一条目标传输路径;Determining, according to the topology information of the audio processing network, at least one transmission path that is the target audio device and includes the at least one cooperative audio device as the at least one target transmission path;
该发送模块1640,用于向每条目标传输路径上的音频设备发送设备指示信息,其中,向该音频设备发送的设备指示信息指示该目标传输路径上该音频设备的下一跳设备。The sending module 1640 is configured to send device indication information to the audio device on each target transmission path, where the device indication information sent to the audio device indicates the next hop device of the audio device on the target transmission path.
综上所述,本申请实施例提供的信号传输装置,第一传输路径上的音频设备可以将采集的音频信号和接收到的音频信号混合后向下一跳设备发送,直至将各个音频设备采集的音频信号发送至目标音频设备,因此目标音频设备接收到的该目标音频设备的上一跳设备发送的混合音频信号是至少两个音频设备采集的音频信号的混合信号,相比于各个音频设备各自分别向目标音频设备发送音频信号的方案,目标音频设备仅通过接收该混合音频信号就能接收到各个音频设备采集的音频信号,因此有助于降低音频信号的传输带宽。In summary, in the signal transmission device provided by the embodiment of the present application, the audio device on the first transmission path can mix the collected audio signal and the received audio signal and then send it to the next hop device until each audio device is collected. The audio signal is sent to the target audio device, so the mixed audio signal sent by the last hop device of the target audio device received by the target audio device is a mixed signal of the audio signals collected by at least two audio devices, compared to each audio device The solution of each sending audio signals to the target audio device separately, the target audio device can receive the audio signal collected by each audio device only by receiving the mixed audio signal, thereby helping to reduce the transmission bandwidth of the audio signal.
请参考图17,其示出了本申请实施例提供的一种信号传输装置1700的硬件结构示意图,该信号传输装置1700可以是图1所示实施环境中的任一音频设备。参见图17,该信号传输装置1700包括处理器1702、存储器1704、通信接口1706、音频采集组件1708、总线1710,处理器1702、存储器1704、通信接口1706和音频采集组件1708通过总线1710彼此通信连接。本领域技术人员应当明白,图17所示的处理器1702、存储器1704、通信接口1706和音频采集组件1708之间的连接方式仅仅是示例性的,处理器1702、存储器1704、通信接口1706 和音频采集组件1708也可以采用除了总线1710之外的其他连接方式彼此通信连接。Please refer to FIG. 17, which shows a schematic diagram of the hardware structure of a signal transmission device 1700 provided by an embodiment of the present application. The signal transmission device 1700 may be any audio device in the implementation environment shown in FIG. 1. Referring to FIG. 17, the signal transmission device 1700 includes a processor 1702, a memory 1704, a communication interface 1706, an audio collection component 1708, a bus 1710, a processor 1702, a memory 1704, a communication interface 1706, and an audio collection component 1708 that are communicatively connected to each other through a bus 1710. . Those skilled in the art should understand that the connection between the processor 1702, the memory 1704, the communication interface 1706, and the audio collection component 1708 shown in FIG. 17 is only exemplary. The processor 1702, the memory 1704, the communication interface 1706 and the audio The collection components 1708 may also be communicatively connected to each other by using other connection methods other than the bus 1710.
其中,存储器1704可以用于存储指令17042和数据17044。在本申请实施例中,存储器1704可以是各种类型的存储介质,例如随机存取存储器(random access memory,RAM)、只读存储器(read-only memory,ROM)、非易失性RAM(non-volatile RAM,NVRAM)、可编程ROM(programmable ROM,PROM)、可擦除PROM(erasable PROM,EPROM)、电可擦除PROM(electrically erasable PROM,EEPROM)、闪存、光存储器和寄存器等。并且,该存储器1704可以包括硬盘和/或内存。Among them, the memory 1704 can be used to store instructions 17042 and data 17044. In the embodiment of the present application, the memory 1704 may be various types of storage media, such as random access memory (RAM), read-only memory (ROM), and non-volatile RAM (non-volatile RAM). -volatile RAM, NVRAM), programmable ROM (programmable ROM, PROM), erasable PROM (erasable PROM, EPROM), electrically erasable PROM (electrically erasable PROM, EEPROM), flash memory, optical memory and registers, etc. In addition, the memory 1704 may include a hard disk and/or a memory.
其中,处理器1702可以是通用处理器或专用处理器。通用处理器可以是通过读取并执行存储器(例如存储器1704)中存储的指令(例如指令17042)来执行特定步骤和/或操作的处理器,通用处理器在执行上述步骤和/或操作的过程中可能用到存储在存储器(例如存储器1704)中的数据(例如数据17044)。通用处理器可以是,例如但不限于CPU。专用处理器可以是专门设计的用于执行特定步骤和/或操作的处理器,该专用处理器可以是,例如但不限于,数字信号处理器(digital signal processor,DSP)、应用专用集成电路(application-specific integrated circuit,ASIC)、现场可编程门阵列(field-programmable gate array,FPGA)和可编程逻辑阵列(programmable logic array,PLA)等。此外,处理器1702还可以是多个处理器的组合,例如多核处理器。处理器1702可以包括一个或多个电路,以执行上述实施例提供的信号传输方法的全部或部分步骤。Among them, the processor 1702 may be a general-purpose processor or a special-purpose processor. The general-purpose processor may be a processor that executes specific steps and/or operations by reading and executing instructions (for example, instructions 17042) stored in a memory (for example, the memory 1704). The general-purpose processor is in the process of executing the above-mentioned steps and/or operations. Data (such as data 17044) stored in a memory (such as memory 1704) may be used in. The general-purpose processor may be, for example, but not limited to a CPU. The dedicated processor may be a processor specially designed to perform specific steps and/or operations. The dedicated processor may be, for example, but not limited to, a digital signal processor (digital signal processor, DSP), an application specific integrated circuit ( application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), programmable logic array (PLA), etc. In addition, the processor 1702 may also be a combination of multiple processors, such as a multi-core processor. The processor 1702 may include one or more circuits to execute all or part of the steps of the signal transmission method provided in the foregoing embodiments.
其中,通信接口1706可以包括输入/输出(input/output,I/O)接口、物理接口和逻辑接口等用于实现信号传输装置1700内部的器件互连的接口,以及用于实现信号传输装置1700与其他设备互连的接口。物理接口可以是千兆的以太接口(gigabit ethernet,GE),其可以用于实现信号传输装置1700与其他设备互连,逻辑接口是信号传输装置1700内部的接口,其可以用于实现信号传输装置1700内部的器件互连。容易理解,通信接口1706可以用于信号传输装置1700与其他设备通信,例如,通信接口1706用于信号传输装置1700与其他设备之间信息的发送和接收。Wherein, the communication interface 1706 may include input/output (input/output, I/O) interfaces, physical interfaces, logical interfaces, and other interfaces used to realize the interconnection of devices within the signal transmission device 1700, and used to realize the signal transmission device 1700. Interface for interconnection with other devices. The physical interface can be a gigabit ethernet (GE), which can be used to interconnect the signal transmission device 1700 with other devices, and the logical interface is an interface inside the signal transmission device 1700, which can be used to implement a signal transmission device The internal devices of the 1700 are interconnected. It is easy to understand that the communication interface 1706 may be used for the signal transmission apparatus 1700 to communicate with other devices. For example, the communication interface 1706 is used for sending and receiving information between the signal transmission apparatus 1700 and other devices.
其中,音频采集组件1708可以是任何能够采集音频信号的组件,该音频采集组件1708可以是,例如但不限于麦克风或者是麦克风阵列。可选地,该信号传输装置1700可以包括多个音频采集组件1708,该多个音频采集组件1708可以设置在该信号传输装置1700的不同部位,以采集立体的音频信号。The audio collection component 1708 may be any component capable of collecting audio signals, and the audio collection component 1708 may be, for example, but not limited to, a microphone or a microphone array. Optionally, the signal transmission device 1700 may include a plurality of audio collection components 1708, and the multiple audio collection components 1708 may be arranged at different parts of the signal transmission device 1700 to collect stereo audio signals.
其中,总线1710可以是任何类型的,用于实现处理器1702、存储器1704、通信接口1706和音频采集组件1708互连的通信总线,例如总线1710可以是系统总线。The bus 1710 may be of any type, and is used to implement the communication bus interconnecting the processor 1702, the memory 1704, the communication interface 1706, and the audio collection component 1708. For example, the bus 1710 may be a system bus.
上述器件可以分别设置在彼此独立的芯片上,也可以至少部分的或者全部的设置在同一块芯片上。将各个器件独立设置在不同的芯片上,还是整合设置在一个或者多个芯片上,往往取决于产品设计的需要,本申请实施例对上述器件的实现形式不作限定。The above-mentioned devices may be respectively arranged on independent chips, or at least partly or fully arranged on the same chip. Whether each device is independently arranged on different chips or integratedly arranged on one or more chips often depends on the requirements of product design, and the embodiments of the present application do not limit the implementation form of the above-mentioned devices.
图17所示的信号传输装置1700仅仅是示例性的,在实现过程中,信号传输装置1700还可以包括其他组件,本申请实施例不再一一列举。该图17所示的信号传输装置1700可以通过执行上述实施例提供的信号传输方法的全部或部分步骤来进行音频信号传输。The signal transmission device 1700 shown in FIG. 17 is only exemplary. In the implementation process, the signal transmission device 1700 may further include other components, which are not listed in the embodiment of the present application. The signal transmission device 1700 shown in FIG. 17 may perform audio signal transmission by executing all or part of the steps of the signal transmission method provided in the foregoing embodiment.
本申请实施例提供一种信号传输系统,该信号传输系统包括:至少两个音频设备,该至少两个音频设备中的至少一个包括图15至图17任一所示的信号传输装置。An embodiment of the present application provides a signal transmission system. The signal transmission system includes at least two audio devices, and at least one of the at least two audio devices includes the signal transmission device shown in any one of FIGS. 15 to 17.
本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,当该计算机程序在计算机上运行时,使得该计算机执行上述实施例提供的信号传输方法的部分或全部步骤。The embodiments of the present application provide a computer-readable storage medium in which a computer program is stored, and when the computer program is run on a computer, the computer is caused to execute part of the signal transmission method provided by the above-mentioned embodiment Or all steps.
本申请实施例提供了一种包含指令的计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述实施例提供的信号传输方法的部分或全部步骤。The embodiments of the present application provide a computer program product containing instructions. When the computer program product runs on a computer, the computer executes part or all of the steps of the signal transmission method provided in the above embodiments.
本申请实施例提供了一种芯片,该芯片包括可编程逻辑电路和/或程序指令,当该芯片运行时用于实现上述实施例提供的信号传输方法的部分或全部步骤。The embodiments of the present application provide a chip that includes a programmable logic circuit and/or program instructions, and when the chip is running, it is used to implement part or all of the steps of the signal transmission method provided in the foregoing embodiments.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现,所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机的可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者包含一个或多个可用介质集成的服务器、数据中心等数据存储装置。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质,或者半导体介质(例如固态硬盘)等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it may be implemented in the form of a computer program product in whole or in part, and the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data. The center transmits to another website, computer, server, or data center through wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium, or a semiconductor medium (for example, a solid state hard disk).
在本申请中,术语“第一”和“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。术语“至少一个”指一个或多个,“多个”指两个或两个以上,除非另有明确的限定。术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。In this application, the terms "first" and "second", etc. are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance. The term "at least one" refers to one or more, and "multiple" refers to two or more, unless expressly defined otherwise. The term "and/or" is merely an association relationship that describes associated objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone. three conditions.
本申请实施例提供的方法实施例和装置实施例等不同类型的实施例均可以相互参考,本申请实施例对此不作限定。本申请实施例提供的方法实施例操作的先后顺序能够进行适当调整,操作也能够根据情况进行响应增减,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化的方法,都应涵盖在本申请的保护范围之内,因此不再赘述。Different types of embodiments such as method embodiments and device embodiments provided in the embodiments of the present application can be referred to each other, which is not limited in the embodiments of the present application. The sequence of operations of the method embodiments provided in the embodiments of this application can be appropriately adjusted, and the operations can also be increased or decreased in response to the situation. Any person skilled in the art can easily think of changes within the technical scope disclosed in this application. The methods should all be covered in the scope of protection of this application, so I won’t repeat them here.
在本申请提供的相应实施例中,应该理解到,所揭露的装置等可以通过其它的构成方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the corresponding embodiments provided in the present application, it should be understood that the disclosed device and the like can be implemented in other structural manners. For example, the device embodiments described above are merely illustrative, for example, the division of units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or integrated. To another system, or some features can be ignored, or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元描述的部件可以是或者也可以不是物理单元,既可以位于一个地方,或者也可以分布到多个网络设备(例如终端设备)上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separate, and the components described as units may or may not be physical units, and may be located in one place or distributed to multiple network devices (such as terminal devices). )superior. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
以上所述,仅为本申请的示例性实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改 或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only exemplary implementations of this application, but the scope of protection of this application is not limited to this. Anyone familiar with this technical field can easily think of various equivalents within the technical scope disclosed in this application. Modifications or replacements, these modifications or replacements shall be covered within the scope of protection of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.

Claims (41)

  1. 一种信号传输方法,其特征在于,所述方法包括:A signal transmission method, characterized in that the method includes:
    获取第一音频设备采集的音频信号;Acquiring the audio signal collected by the first audio device;
    当接收到所述第一音频设备的上一跳设备发送的音频信号时,将所述第一音频设备采集的音频信号和所述上一跳设备发送的音频信号混合得到混合音频信号;When receiving the audio signal sent by the previous hop device of the first audio device, mixing the audio signal collected by the first audio device and the audio signal sent by the previous hop device to obtain a mixed audio signal;
    向所述第一音频设备的下一跳设备发送所述混合音频信号;Sending the mixed audio signal to the next hop device of the first audio device;
    其中,所述第一音频设备、所述上一跳设备和所述下一跳设备是音频处理网络中的第一传输路径上相邻的音频设备。Wherein, the first audio device, the previous hop device, and the next hop device are adjacent audio devices on the first transmission path in the audio processing network.
  2. 根据权利要求1所述的方法,其特征在于,The method of claim 1, wherein:
    所述将所述第一音频设备采集的音频信号和所述上一跳设备发送的音频信号混合得到混合音频信号,包括:The mixing the audio signal collected by the first audio device and the audio signal sent by the previous hop device to obtain a mixed audio signal includes:
    采用所述第一音频设备的音频处理函数对所述第一音频设备采集的音频信号进行处理,得到所述第一音频设备的处理信号;Using the audio processing function of the first audio device to process the audio signal collected by the first audio device to obtain the processed signal of the first audio device;
    将所述第一音频设备的处理信号和所述上一跳设备发送的音频信号叠加得到所述混合音频信号。The mixed audio signal is obtained by superimposing the processed signal of the first audio device and the audio signal sent by the previous hop device.
  3. 根据权利要求1所述的方法,其特征在于,The method of claim 1, wherein:
    所述上一跳设备发送的音频信号是至少两个音频设备采集的音频信号的混合信号;The audio signal sent by the last hop device is a mixed signal of audio signals collected by at least two audio devices;
    所述将所述第一音频设备采集的音频信号和所述上一跳设备发送的音频信号混合得到混合音频信号,包括:The mixing the audio signal collected by the first audio device and the audio signal sent by the previous hop device to obtain a mixed audio signal includes:
    从所述上一跳设备发送的音频信号中恢复出所述至少两个音频设备采集的音频信号;Recover the audio signal collected by the at least two audio devices from the audio signal sent by the last hop device;
    对于所述第一音频设备和所述至少两个音频设备中的每个音频设备,采用所述音频设备的音频处理函数对所述音频设备采集的音频信号进行处理,得到所述音频设备的处理信号;For each audio device of the first audio device and the at least two audio devices, use the audio processing function of the audio device to process the audio signal collected by the audio device to obtain the processing of the audio device Signal;
    将所述第一音频设备的处理信号和所述至少两个音频设备的处理信号叠加得到所述混合音频信号。The mixed audio signal is obtained by superimposing the processed signal of the first audio device and the processed signal of the at least two audio devices.
  4. 根据权利要求3所述的方法,其特征在于,The method of claim 3, wherein:
    在从所述上一跳设备发送的音频信号中恢复出所述至少两个音频设备采集的音频信号之前,所述方法还包括:Before recovering the audio signals collected by the at least two audio devices from the audio signals sent by the last hop device, the method further includes:
    根据所述上一跳设备发送的音频信号携带的来源信息确定所述上一跳设备发送的音频信号是所述至少两个音频设备采集的音频信号的混合信号;Determining, according to the source information carried in the audio signal sent by the last hop device, that the audio signal sent by the last hop device is a mixed signal of audio signals collected by the at least two audio devices;
    所述从所述上一跳设备发送的音频信号中恢复出所述至少两个音频设备采集的音频信号,包括:The recovering the audio signals collected by the at least two audio devices from the audio signals sent by the last hop device includes:
    根据所述至少两个音频设备的音频处理函数从所述上一跳设备发送的音频信号中恢复出所述至少两个音频设备采集的音频信号。The audio signals collected by the at least two audio devices are recovered from the audio signals sent by the last hop device according to the audio processing functions of the at least two audio devices.
  5. 根据权利要求1所述的方法,其特征在于,The method of claim 1, wherein:
    所述上一跳设备发送的音频信号是所述上一跳设备采集的音频信号;The audio signal sent by the last hop device is an audio signal collected by the last hop device;
    所述将所述第一音频设备采集的音频信号和所述上一跳设备发送的音频信号混合得到混合音频信号,包括:The mixing the audio signal collected by the first audio device and the audio signal sent by the previous hop device to obtain a mixed audio signal includes:
    对于所述第一音频设备和所述上一跳设备中的每个音频设备,采用所述音频设备的音频处理函数对所述音频设备采集的音频信号进行处理,得到所述音频设备的处理信号;For each audio device in the first audio device and the previous hop device, use the audio processing function of the audio device to process the audio signal collected by the audio device to obtain the processed signal of the audio device ;
    将所述第一音频设备的处理信号和所述上一跳设备的处理信号叠加得到所述混合音频信号。The mixed audio signal is obtained by superimposing the processing signal of the first audio device and the processing signal of the previous hop device.
  6. 根据权利要求1所述的方法,其特征在于,The method of claim 1, wherein:
    所述上一跳设备发送的音频信号是对所述上一跳设备采集的音频信号进行处理得到的;The audio signal sent by the last hop device is obtained by processing the audio signal collected by the last hop device;
    所述将所述第一音频设备采集的音频信号和所述上一跳设备发送的音频信号混合得到混合音频信号,包括:The mixing the audio signal collected by the first audio device and the audio signal sent by the previous hop device to obtain a mixed audio signal includes:
    从所述上一跳设备发送的音频信号中恢复出所述上一跳设备采集的音频信号;Recover the audio signal collected by the last hop device from the audio signal sent by the last hop device;
    对于所述第一音频设备和所述上一跳设备中的每个音频设备,采用所述音频设备的音频处理函数对所述音频设备采集的音频信号进行处理,得到所述音频设备的处理信号;For each audio device in the first audio device and the previous hop device, use the audio processing function of the audio device to process the audio signal collected by the audio device to obtain the processed signal of the audio device ;
    将所述第一音频设备的处理信号和所述上一跳设备的处理信号叠加得到所述混合音频信号。The mixed audio signal is obtained by superimposing the processing signal of the first audio device and the processing signal of the previous hop device.
  7. 根据权利要求2至6任一所述的方法,其特征在于,The method according to any one of claims 2 to 6, wherein:
    所述音频处理网络中的每个音频设备的音频处理函数由所述音频设备生成并发送至所述音频处理网络中的其他音频设备;或者,The audio processing function of each audio device in the audio processing network is generated by the audio device and sent to other audio devices in the audio processing network; or,
    所述音频处理网络中的每个音频设备的音频处理函数由所述音频处理网络中的函数处理设备生成并发送至所述音频处理网络中的各个音频设备。The audio processing function of each audio device in the audio processing network is generated by the function processing device in the audio processing network and sent to each audio device in the audio processing network.
  8. 根据权利要求7所述的方法,其特征在于,The method according to claim 7, wherein:
    在采用所述第一音频设备的音频处理函数对所述第一音频设备采集的音频信号进行处理之前,所述方法还包括:Before using the audio processing function of the first audio device to process the audio signal collected by the first audio device, the method further includes:
    生成所述第一音频设备的音频处理函数;或者,Generate the audio processing function of the first audio device; or,
    接收所述函数处理设备发送的所述第一音频设备的音频处理函数。Receiving the audio processing function of the first audio device sent by the function processing device.
  9. 根据权利要求8所述的方法,其特征在于,The method of claim 8, wherein:
    所述生成所述第一音频设备的音频处理函数,包括:The generating the audio processing function of the first audio device includes:
    采用随机数生成函数生成多个随机数;Use random number generating function to generate multiple random numbers;
    根据所述多个随机数生成所述第一音频设备的音频处理函数。The audio processing function of the first audio device is generated according to the plurality of random numbers.
  10. 一种信号传输方法,其特征在于,所述方法包括:A signal transmission method, characterized in that the method includes:
    接收目标音频设备的上一跳设备发送的混合音频信号,所述混合音频信号是至少两个音频设备采集的音频信号的混合信号;Receiving a mixed audio signal sent by a previous hop device of the target audio device, where the mixed audio signal is a mixed signal of audio signals collected by at least two audio devices;
    从所述混合音频信号中恢复出所述至少两个音频设备采集的音频信号;Recovering the audio signals collected by the at least two audio devices from the mixed audio signal;
    其中,所述目标音频设备和所述上一跳设备是音频处理网络中的第一传输路径上相邻的音频设备。Wherein, the target audio device and the last hop device are adjacent audio devices on the first transmission path in the audio processing network.
  11. 根据权利要求10所述的方法,其特征在于,The method of claim 10, wherein:
    在从所述混合音频信号中恢复出所述至少两个音频设备采集的音频信号之前,所述方法还包括:Before recovering the audio signals collected by the at least two audio devices from the mixed audio signal, the method further includes:
    根据所述混合音频信号携带的来源信息确定所述混合音频信号是所述至少两个音频设备采集的音频信号的混合信号;Determining, according to the source information carried by the mixed audio signal, that the mixed audio signal is a mixed signal of audio signals collected by the at least two audio devices;
    所述从所述混合音频信号中恢复出所述至少两个音频设备采集的音频信号,包括:The recovering the audio signals collected by the at least two audio devices from the mixed audio signal includes:
    根据所述至少两个音频设备的音频处理函数从所述混合音频信号中恢复出所述至少两个音频设备采集的音频信号。The audio signals collected by the at least two audio devices are recovered from the mixed audio signal according to the audio processing functions of the at least two audio devices.
  12. 根据权利要求11所述的方法,其特征在于,The method of claim 11, wherein:
    所述音频处理网络中的每个音频设备的音频处理函数由所述音频设备生成并发送至所述音频处理网络中的其他音频设备;或者,The audio processing function of each audio device in the audio processing network is generated by the audio device and sent to other audio devices in the audio processing network; or,
    所述音频处理网络中的每个音频设备的音频处理函数由所述音频处理网络中的函数处理设备生成并发送至所述音频处理网络中的各个音频设备。The audio processing function of each audio device in the audio processing network is generated by the function processing device in the audio processing network and sent to each audio device in the audio processing network.
  13. 根据权利要求12所述的方法,其特征在于,The method of claim 12, wherein:
    在根据所述至少两个音频设备的音频处理函数从所述混合音频信号中恢复出所述至少两个音频设备采集的音频信号之前,所述方法还包括:Before recovering the audio signals collected by the at least two audio devices from the mixed audio signal according to the audio processing functions of the at least two audio devices, the method further includes:
    接收所述至少两个音频设备的音频处理函数。Receiving audio processing functions of the at least two audio devices.
  14. 根据权利要求10至13任一所述的方法,其特征在于,The method according to any one of claims 10 to 13, characterized in that,
    在接收目标音频设备的上一跳设备发送的混合音频信号之前,所述方法还包括:Before receiving the mixed audio signal sent by the previous hop device of the target audio device, the method further includes:
    从所述音频处理网络中确定目的点为所述目标音频设备的至少一条目标传输路径,所述至少一条目标传输路径包括所述第一传输路径;Determining from the audio processing network that a destination point is at least one target transmission path of the target audio device, and the at least one target transmission path includes the first transmission path;
    向每条所述目标传输路径上的音频设备发送传输指示信息,所述目标传输路径上的音频设备用于根据接收到的传输指示信息通过所述目标传输路径传输音频信号。Send transmission instruction information to each audio device on the target transmission path, and the audio device on the target transmission path is used to transmit the audio signal through the target transmission path according to the received transmission instruction information.
  15. 根据权利要求14所述的方法,其特征在于,The method of claim 14, wherein:
    所述从所述音频处理网络中确定目的点为所述目标音频设备的至少一条目标传输路径,包括:The determining from the audio processing network that the destination point is at least one target transmission path of the target audio device includes:
    从所述音频处理网络中目的点为所述目标音频设备的多条传输路径中,选择至少一条传输路径作为所述至少一条目标传输路径;Selecting at least one transmission path as the at least one target transmission path from a plurality of transmission paths whose destination point is the target audio device in the audio processing network;
    所述向每条所述目标传输路径上的音频设备发送传输指示信息,包括:The sending transmission instruction information to each audio device on the target transmission path includes:
    向每条所述目标传输路径上的音频设备发送拆除指示信息,其中,向所述目标传输路径上的音频设备发送的拆除指示信息指示所述音频设备拆除所述多条传输路径中的冗余传输路 径且通过所述目标传输路径传输音频信号,所述冗余传输路径是所述多条传输路径中除所述至少一条目标传输路径之外的传输路径。Sending removal instruction information to each audio device on the target transmission path, wherein the removal instruction information sent to the audio device on the target transmission path instructs the audio device to remove the redundancy in the multiple transmission paths And the audio signal is transmitted through the target transmission path, and the redundant transmission path is a transmission path other than the at least one target transmission path among the plurality of transmission paths.
  16. 根据权利要求15所述的方法,其特征在于,The method of claim 15, wherein:
    所述从所述音频处理网络中目的点为所述目标音频设备的多条传输路径中,选择至少一条传输路径作为所述至少一条目标传输路径,包括:The selecting at least one transmission path as the at least one target transmission path from among the multiple transmission paths whose destination point is the target audio device in the audio processing network includes:
    接收通过所述多条传输路径中的每条传输路径传输的路径探测信号,其中,通过每条所述传输路径传输的路径探测信号包含所述传输路径上的各个音频设备的信息;Receiving a path detection signal transmitted through each of the multiple transmission paths, where the path detection signal transmitted through each of the transmission paths includes information about each audio device on the transmission path;
    根据通过所述多条传输路径传输的路径探测信号,从所述多条传输路径中选择至少一条传输路径作为所述至少一条目标传输路径,其中,所述至少一条目标传输路径是所述多条传输路径中,路径数量最少且包含的音频设备数量最多的传输路径。According to the path detection signal transmitted through the plurality of transmission paths, at least one transmission path is selected from the plurality of transmission paths as the at least one target transmission path, wherein the at least one target transmission path is the plurality of transmission paths. Among the transmission paths, the transmission path with the least number of paths and the largest number of audio devices.
  17. 根据权利要求15所述的方法,其特征在于,The method of claim 15, wherein:
    所述从所述音频处理网络中目的点为所述目标音频设备的多条传输路径中,选择至少一条传输路径作为所述至少一条目标传输路径,包括:The selecting at least one transmission path as the at least one target transmission path from among the multiple transmission paths whose destination point is the target audio device in the audio processing network includes:
    对于所述多条传输路径中的每条传输路径,获取所述传输路径上的各个音频设备的当前处理能力;For each of the multiple transmission paths, acquiring the current processing capability of each audio device on the transmission path;
    根据所述多条传输路径上的音频设备的当前处理能力,从所述多条传输路径中选择至少一条传输路径作为所述至少一条目标传输路径,其中,每条所述目标传输路径上的音频设备的当前处理能力强于预设处理能力。According to the current processing capabilities of the audio equipment on the multiple transmission paths, at least one transmission path is selected from the multiple transmission paths as the at least one target transmission path, wherein the audio on each target transmission path The current processing capacity of the device is stronger than the preset processing capacity.
  18. 根据权利要求14所述的方法,其特征在于,The method of claim 14, wherein:
    所述从所述音频处理网络中确定目的点为所述目标音频设备的至少一条目标传输路径,包括:The determining from the audio processing network that the destination point is at least one target transmission path of the target audio device includes:
    获取所述音频处理网络的拓扑信息和所述音频处理网络中的各个音频设备的当前处理能力;Acquiring topology information of the audio processing network and current processing capabilities of each audio device in the audio processing network;
    根据所述音频处理网络中的各个音频设备的当前处理能力,从所述音频处理网络中确定所述目标音频设备所需的至少一个协同音频设备;Determine from the audio processing network at least one cooperative audio device required by the target audio device according to the current processing capabilities of each audio device in the audio processing network;
    根据所述音频处理网络的拓扑信息,将目的点为所述目标音频设备且包含所述至少一个协同音频设备的至少一个传输路径确定为所述至少一条目标传输路径;Determining, according to the topology information of the audio processing network, at least one transmission path whose destination point is the target audio device and including the at least one cooperative audio device as the at least one target transmission path;
    所述向每条所述目标传输路径上的音频设备发送传输指示信息,包括:The sending transmission instruction information to each audio device on the target transmission path includes:
    向每条所述目标传输路径上的音频设备发送设备指示信息,其中,向所述音频设备发送的设备指示信息指示所述目标传输路径上所述音频设备的下一跳设备。Sending device indication information to each audio device on the target transmission path, where the device indication information sent to the audio device indicates the next hop device of the audio device on the target transmission path.
  19. 一种信号传输装置,其特征在于,所述装置包括:A signal transmission device, characterized in that the device includes:
    获取模块,用于获取第一音频设备采集的音频信号;An acquisition module, which is used to acquire the audio signal collected by the first audio device;
    处理模块,用于当接收到所述第一音频设备的上一跳设备发送的音频信号时,将所述第一音频设备采集的音频信号和所述上一跳设备发送的音频信号混合得到混合音频信号;The processing module is used for mixing the audio signal collected by the first audio device and the audio signal sent by the previous hop device when receiving the audio signal sent by the previous hop device of the first audio device. audio signal;
    发送模块,用于向所述第一音频设备的下一跳设备发送所述混合音频信号;A sending module, configured to send the mixed audio signal to the next hop device of the first audio device;
    其中,所述第一音频设备、所述上一跳设备和所述下一跳设备是音频处理网络中的第一传输路径上相邻的音频设备。Wherein, the first audio device, the previous hop device, and the next hop device are adjacent audio devices on the first transmission path in the audio processing network.
  20. 根据权利要求19所述的装置,其特征在于,The device of claim 19, wherein:
    所述处理模块,用于:The processing module is used for:
    采用所述第一音频设备的音频处理函数对所述第一音频设备采集的音频信号进行处理,得到所述第一音频设备的处理信号;Using the audio processing function of the first audio device to process the audio signal collected by the first audio device to obtain the processed signal of the first audio device;
    将所述第一音频设备的处理信号和所述上一跳设备发送的音频信号叠加得到所述混合音频信号。The mixed audio signal is obtained by superimposing the processed signal of the first audio device and the audio signal sent by the previous hop device.
  21. 根据权利要求19所述的装置,其特征在于,The device of claim 19, wherein:
    所述上一跳设备发送的音频信号是至少两个音频设备采集的音频信号的混合信号;The audio signal sent by the last hop device is a mixed signal of audio signals collected by at least two audio devices;
    所述处理模块,用于:The processing module is used for:
    从所述上一跳设备发送的音频信号中恢复出所述至少两个音频设备采集的音频信号;Recover the audio signal collected by the at least two audio devices from the audio signal sent by the last hop device;
    对于所述第一音频设备和所述至少两个音频设备中的每个音频设备,采用所述音频设备的音频处理函数对所述音频设备采集的音频信号进行处理,得到所述音频设备的处理信号;For each audio device of the first audio device and the at least two audio devices, use the audio processing function of the audio device to process the audio signal collected by the audio device to obtain the processing of the audio device Signal;
    将所述第一音频设备的处理信号和所述至少两个音频设备的处理信号叠加得到所述混合音频信号。The mixed audio signal is obtained by superimposing the processed signal of the first audio device and the processed signal of the at least two audio devices.
  22. 根据权利要求21所述的装置,其特征在于,The device of claim 21, wherein:
    所述处理模块,用于:The processing module is used for:
    根据所述上一跳设备发送的音频信号携带的来源信息确定所述上一跳设备发送的音频信号是所述至少两个音频设备采集的音频信号的混合信号;Determining, according to the source information carried in the audio signal sent by the last hop device, that the audio signal sent by the last hop device is a mixed signal of audio signals collected by the at least two audio devices;
    根据所述至少两个音频设备的音频处理函数从所述上一跳设备发送的音频信号中恢复出所述至少两个音频设备采集的音频信号。The audio signals collected by the at least two audio devices are recovered from the audio signals sent by the last hop device according to the audio processing functions of the at least two audio devices.
  23. 根据权利要求19所述的装置,其特征在于,The device of claim 19, wherein:
    所述上一跳设备发送的音频信号是所述上一跳设备采集的音频信号;The audio signal sent by the last hop device is an audio signal collected by the last hop device;
    所述处理模块,用于:The processing module is used for:
    对于所述第一音频设备和所述上一跳设备中的每个音频设备,采用所述音频设备的音频处理函数对所述音频设备采集的音频信号进行处理,得到所述音频设备的处理信号;For each audio device in the first audio device and the previous hop device, use the audio processing function of the audio device to process the audio signal collected by the audio device to obtain the processed signal of the audio device ;
    将所述第一音频设备的处理信号和所述上一跳设备的处理信号叠加得到所述混合音频信号。The mixed audio signal is obtained by superimposing the processing signal of the first audio device and the processing signal of the previous hop device.
  24. 根据权利要求19所述的装置,其特征在于,The device of claim 19, wherein:
    所述上一跳设备发送的音频信号是对所述上一跳设备采集的音频信号进行处理得到的;The audio signal sent by the last hop device is obtained by processing the audio signal collected by the last hop device;
    所述处理模块,用于:The processing module is used for:
    从所述上一跳设备发送的音频信号中恢复出所述上一跳设备采集的音频信号;Recover the audio signal collected by the last hop device from the audio signal sent by the last hop device;
    对于所述第一音频设备和所述上一跳设备中的每个音频设备,采用所述音频设备的音频 处理函数对所述音频设备采集的音频信号进行处理,得到所述音频设备的处理信号;For each audio device in the first audio device and the previous hop device, use the audio processing function of the audio device to process the audio signal collected by the audio device to obtain the processed signal of the audio device ;
    将所述第一音频设备的处理信号和所述上一跳设备的处理信号叠加得到所述混合音频信号。The mixed audio signal is obtained by superimposing the processing signal of the first audio device and the processing signal of the previous hop device.
  25. 根据权利要求20至24任一所述的装置,其特征在于,The device according to any one of claims 20 to 24, wherein:
    所述音频处理网络中的每个音频设备的音频处理函数由所述音频设备生成并发送至所述音频处理网络中的其他音频设备;或者,The audio processing function of each audio device in the audio processing network is generated by the audio device and sent to other audio devices in the audio processing network; or,
    所述音频处理网络中的每个音频设备的音频处理函数由所述音频处理网络中的函数处理设备生成并发送至所述音频处理网络中的各个音频设备。The audio processing function of each audio device in the audio processing network is generated by the function processing device in the audio processing network and sent to each audio device in the audio processing network.
  26. 根据权利要求25所述的装置,其特征在于,所述装置还包括:The device according to claim 25, wherein the device further comprises:
    生成模块,用于生成所述第一音频设备的音频处理函数;或者,A generating module for generating the audio processing function of the first audio device; or,
    接收模块,用于接收所述函数处理设备发送的所述第一音频设备的音频处理函数。The receiving module is configured to receive the audio processing function of the first audio device sent by the function processing device.
  27. 根据权利要求26所述的装置,其特征在于,The device of claim 26, wherein:
    所述生成模块,用于:The generating module is used for:
    采用随机数生成函数生成多个随机数;Use random number generating function to generate multiple random numbers;
    根据所述多个随机数生成所述第一音频设备的音频处理函数。The audio processing function of the first audio device is generated according to the plurality of random numbers.
  28. 一种信号传输装置,其特征在于,所述装置包括:A signal transmission device, characterized in that the device includes:
    接收模块,用于接收目标音频设备的上一跳设备发送的混合音频信号,所述混合音频信号是至少两个音频设备采集的音频信号的混合信号;A receiving module, configured to receive a mixed audio signal sent by a previous hop device of the target audio device, where the mixed audio signal is a mixed signal of audio signals collected by at least two audio devices;
    处理模块,用于从所述混合音频信号中恢复出所述至少两个音频设备采集的音频信号;A processing module, configured to recover the audio signals collected by the at least two audio devices from the mixed audio signal;
    其中,所述目标音频设备和所述上一跳设备是音频处理网络中的第一传输路径上相邻的音频设备。Wherein, the target audio device and the last hop device are adjacent audio devices on the first transmission path in the audio processing network.
  29. 根据权利要求28所述的装置,其特征在于,The device of claim 28, wherein:
    所述处理模块,用于:The processing module is used for:
    根据所述混合音频信号携带的来源信息确定所述混合音频信号是所述至少两个音频设备采集的音频信号的混合信号;Determining, according to the source information carried by the mixed audio signal, that the mixed audio signal is a mixed signal of audio signals collected by the at least two audio devices;
    根据所述至少两个音频设备的音频处理函数从所述混合音频信号中恢复出所述至少两个音频设备采集的音频信号。The audio signals collected by the at least two audio devices are recovered from the mixed audio signal according to the audio processing functions of the at least two audio devices.
  30. 根据权利要求29所述的装置,其特征在于,The device of claim 29, wherein:
    所述音频处理网络中的每个音频设备的音频处理函数由所述音频设备生成并发送至所述音频处理网络中的其他音频设备;或者,The audio processing function of each audio device in the audio processing network is generated by the audio device and sent to other audio devices in the audio processing network; or,
    所述音频处理网络中的每个音频设备的音频处理函数由所述音频处理网络中的函数处理设备生成并发送至所述音频处理网络中的各个音频设备。The audio processing function of each audio device in the audio processing network is generated by the function processing device in the audio processing network and sent to each audio device in the audio processing network.
  31. 根据权利要求30所述的装置,其特征在于,The device of claim 30, wherein:
    所述接收模块,还用于接收所述至少两个音频设备的音频处理函数。The receiving module is further configured to receive audio processing functions of the at least two audio devices.
  32. 根据权利要求28至31任一所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 28 to 31, wherein the device further comprises:
    确定模块,用于从所述音频处理网络中确定目的点为所述目标音频设备的至少一条目标传输路径,所述至少一条目标传输路径包括所述第一传输路径;A determining module, configured to determine from the audio processing network that a destination point is at least one target transmission path of the target audio device, and the at least one target transmission path includes the first transmission path;
    发送模块,用于向每条所述目标传输路径上的音频设备发送传输指示信息,所述目标传输路径上的音频设备用于根据接收到的传输指示信息通过所述目标传输路径传输音频信号。The sending module is configured to send transmission instruction information to each audio device on the target transmission path, and the audio device on the target transmission path is used to transmit audio signals through the target transmission path according to the received transmission instruction information.
  33. 根据权利要求32所述的装置,其特征在于,The device of claim 32, wherein:
    所述确定模块,用于从所述音频处理网络中目的点为所述目标音频设备的多条传输路径中,选择至少一条传输路径作为所述至少一条目标传输路径;The determining module is configured to select at least one transmission path as the at least one target transmission path from among multiple transmission paths whose destination point is the target audio device in the audio processing network;
    所述发送模块,用于向每条所述目标传输路径上的音频设备发送拆除指示信息,其中,向所述目标传输路径上的音频设备发送的拆除指示信息指示所述音频设备拆除所述多条传输路径中的冗余传输路径且通过所述目标传输路径传输音频信号,所述冗余传输路径是所述多条传输路径中除所述至少一条目标传输路径之外的传输路径。The sending module is configured to send removal instruction information to each audio device on the target transmission path, wherein the removal instruction information sent to the audio device on the target transmission path instructs the audio device to remove the multiple The redundant transmission path among the transmission paths and the audio signal is transmitted through the target transmission path, and the redundant transmission path is a transmission path other than the at least one target transmission path among the plurality of transmission paths.
  34. 根据权利要求33所述的装置,其特征在于,The device of claim 33, wherein:
    所述确定模块,用于:The determining module is used to:
    接收通过所述多条传输路径中的每条传输路径传输的路径探测信号,其中,通过每条所述传输路径传输的路径探测信号包含所述传输路径上的各个音频设备的信息;Receiving a path detection signal transmitted through each of the multiple transmission paths, where the path detection signal transmitted through each of the transmission paths includes information about each audio device on the transmission path;
    根据通过所述多条传输路径传输的路径探测信号,从所述多条传输路径中选择至少一条传输路径作为所述至少一条目标传输路径,其中,所述至少一条目标传输路径是所述多条传输路径中,路径数量最少且包含的音频设备数量最多的传输路径。According to the path detection signal transmitted through the plurality of transmission paths, at least one transmission path is selected from the plurality of transmission paths as the at least one target transmission path, wherein the at least one target transmission path is the plurality of transmission paths. Among the transmission paths, the transmission path with the least number of paths and the largest number of audio devices.
  35. 根据权利要求33所述的装置,其特征在于,The device of claim 33, wherein:
    所述确定模块,用于:The determining module is used to:
    对于所述多条传输路径中的每条传输路径,获取所述传输路径上的各个音频设备的当前处理能力;For each of the multiple transmission paths, acquiring the current processing capability of each audio device on the transmission path;
    根据所述多条传输路径上的音频设备的当前处理能力,从所述多条传输路径中选择至少一条传输路径作为所述至少一条目标传输路径,其中,每条所述目标传输路径上的音频设备的当前处理能力强于预设处理能力。According to the current processing capabilities of the audio equipment on the multiple transmission paths, at least one transmission path is selected from the multiple transmission paths as the at least one target transmission path, wherein the audio on each target transmission path The current processing capacity of the device is stronger than the preset processing capacity.
  36. 根据权利要求32所述的装置,其特征在于,The device of claim 32, wherein:
    所述确定模块,用于:The determining module is used to:
    获取所述音频处理网络的拓扑信息和所述音频处理网络中的各个音频设备的当前处理能力;Acquiring topology information of the audio processing network and current processing capabilities of each audio device in the audio processing network;
    根据所述音频处理网络中的各个音频设备的当前处理能力,从所述音频处理网络中确定所述目标音频设备所需的至少一个协同音频设备;Determine from the audio processing network at least one cooperative audio device required by the target audio device according to the current processing capabilities of each audio device in the audio processing network;
    根据所述音频处理网络的拓扑信息,将目的点为所述目标音频设备且包含所述至少一个协同音频设备的至少一个传输路径确定为所述至少一条目标传输路径;Determining, according to the topology information of the audio processing network, at least one transmission path whose destination point is the target audio device and including the at least one cooperative audio device as the at least one target transmission path;
    所述发送模块,用于向每条所述目标传输路径上的音频设备发送设备指示信息,其中,向所述音频设备发送的设备指示信息指示所述目标传输路径上所述音频设备的下一跳设备。The sending module is configured to send device indication information to each audio device on the target transmission path, wherein the device indication information sent to the audio device indicates the next step of the audio device on the target transmission path. Jump equipment.
  37. 一种信号传输装置,其特征在于,所述信号传输装置包括:处理器和存储器,所述存储器中存储有程序,所述处理器用于调用所述存储器中存储的程序,使得所述信号传输装置执行如权利要求1至9任一所述的信号传输方法。A signal transmission device, characterized in that the signal transmission device comprises a processor and a memory, the memory is stored with a program, and the processor is used to call the program stored in the memory so that the signal transmission device The signal transmission method according to any one of claims 1 to 9 is implemented.
  38. 一种信号传输装置,其特征在于,所述信号传输装置包括:处理器和存储器,所述存储器中存储有程序,所述处理器用于调用所述存储器中存储的程序,使得所述信号传输装置执行如权利要求10至18任一所述的信号传输方法。A signal transmission device, characterized in that the signal transmission device comprises a processor and a memory, the memory is stored with a program, and the processor is used to call the program stored in the memory so that the signal transmission device Implement the signal transmission method according to any one of claims 10 to 18.
  39. 一种信号传输系统,其特征在于,包括至少两个音频设备;A signal transmission system, characterized in that it includes at least two audio devices;
    所述至少两个音频设备中的至少一个包括如权利要求19至27任一所述的信号传输装置,至少另一个包括如权利要求28至36任一所述的信号传输装置;或者,At least one of the at least two audio devices includes the signal transmission device according to any one of claims 19 to 27, and at least the other one includes the signal transmission device according to any one of claims 28 to 36; or,
    所述至少两个音频设备中的至少一个包括如权利要求37所述的信号传输装置,至少另一个包括如权利要求38所述的信号传输装置。At least one of the at least two audio devices includes the signal transmission device according to claim 37, and at least the other includes the signal transmission device according to claim 38.
  40. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行如权利要求1至9任一所述的信号传输方法。A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, and when the computer program runs on a computer, the computer executes any one of claims 1 to 9 The signal transmission method described.
  41. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行如权利要求10至18任一所述的信号传输方法。A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, and when the computer program runs on a computer, the computer executes any one of claims 10 to 18 The signal transmission method described.
PCT/CN2020/090556 2020-05-15 2020-05-15 Signal transmission method, apparatus and system, and storage medium WO2021227028A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2020/090556 WO2021227028A1 (en) 2020-05-15 2020-05-15 Signal transmission method, apparatus and system, and storage medium
CN202080092756.7A CN114946177A (en) 2020-05-15 2020-05-15 Signal transmission method, device and system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/090556 WO2021227028A1 (en) 2020-05-15 2020-05-15 Signal transmission method, apparatus and system, and storage medium

Publications (1)

Publication Number Publication Date
WO2021227028A1 true WO2021227028A1 (en) 2021-11-18

Family

ID=78525962

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/090556 WO2021227028A1 (en) 2020-05-15 2020-05-15 Signal transmission method, apparatus and system, and storage medium

Country Status (2)

Country Link
CN (1) CN114946177A (en)
WO (1) WO2021227028A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662688A (en) * 2008-08-13 2010-03-03 韩国电子通信研究院 Method and device for encoding and decoding audio signal
US8498724B2 (en) * 2007-03-09 2013-07-30 Yamaha Corporation Digital mixer
CN107484075A (en) * 2017-08-31 2017-12-15 深圳市豪恩声学股份有限公司 Device sound mixing and sound processing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8498724B2 (en) * 2007-03-09 2013-07-30 Yamaha Corporation Digital mixer
CN101662688A (en) * 2008-08-13 2010-03-03 韩国电子通信研究院 Method and device for encoding and decoding audio signal
CN107484075A (en) * 2017-08-31 2017-12-15 深圳市豪恩声学股份有限公司 Device sound mixing and sound processing system

Also Published As

Publication number Publication date
CN114946177A (en) 2022-08-26

Similar Documents

Publication Publication Date Title
CN111641828B (en) Video processing method and device, storage medium and electronic equipment
WO2016124101A1 (en) Information display method, apparatus and system
CN105049912A (en) Processing method of video signals and electronic equipment
CN113050916A (en) Audio playing method, device and storage medium
WO2021227028A1 (en) Signal transmission method, apparatus and system, and storage medium
JP2023538825A (en) Methods, devices, equipment and storage media for picture to video conversion
JP7377352B2 (en) Multi-member instant messaging method, system, device, electronic device, and computer program
WO2023231787A9 (en) Audio processing method and apparatus
WO2017185338A1 (en) Audio-video file generation method and apparatus
CN112073215B (en) Method for realizing application and service controller
WO2022222556A1 (en) Method for acquiring codec capabilities in bluetooth devices and electronic device
CN115933818A (en) Docking station integrated system and external communication method
US9485458B2 (en) Data processing method and device
CN113485842B (en) Method and device for data analysis based on device cluster
JPWO2015087703A1 (en) Data processing apparatus and data processing method
CN109803288A (en) A kind of sending method of configuration information, method of reseptance and equipment
CN114938363B (en) Voice data transmission device and method
CN113301100A (en) Data disaster tolerance method, device, equipment and medium based on content distribution network
WO2020215220A1 (en) Interface timing conversion device, image data processing method, transmission method and system, and storage medium
WO2021217528A1 (en) Data communication method and related apparatus
CN110351584A (en) Video mixed flow method, video flow mixing device and storage medium
CN111696037B (en) Depth image processing method and device, storage medium and electronic equipment
JP2010504675A5 (en)
US20220417312A1 (en) Method and Conference System Capable of Expanding Functions of the Conference System by Using Additional Circuit Board
WO2015196651A1 (en) Data sharing method, device and system, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20935861

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20935861

Country of ref document: EP

Kind code of ref document: A1