A recording and playing host, an audio data transmission method and a storage medium
The power supply and audio data transmission between the recording host and the sound pickup device is realized through POE network cable, which solves the problem of difficult management and complex wiring of the audio system in the recording system, and improves the anti-interference ability and error correction ability.
Patent Information
- Application Number
- CN202210523899.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-13
- Publication Date
- 2025-06-10
- Estimated Expiration
- 2042-05-13
AI Technical Summary
The audio system in the recording and broadcasting system is difficult to effectively manage, is easily disturbed by environmental signals, is complex in wiring and is cost-effective.
Power supply and audio data transmission between the recording host and the sound pickup device are realized through a POE network cable, and digital signals are transmitted using the POE network port to improve anti-interference ability.
The wiring process is simplified, the cost is reduced, the error correction and anti-interference ability of the audio signal are improved, and the additional power supply problem is solved.
Smart Images

Figure CN114979530B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of audio access management in a recording and broadcasting system, and particularly to a recording and broadcasting host, an audio data transmission method, and a storage medium. Background Art
[0002] The recording and broadcasting system is a commonly used system in multimedia classrooms. The most difficult part to deploy in the recording and broadcasting system is the audio system. Audio is easily interfered by various signals in the environment, such as environmental noise, echo, circuit noise, power frequency interference, and electrical signal interference, etc. If there are audio problems, the troubleshooting process is very cumbersome. In most audio interference problems, due to the variety of audio cables and various external environments during actual construction, there are also many problems caused by poor transmission cables.
[0003] The current audio system includes a recording and broadcasting host, a sound pickup device, and related cables. The audio access of this system all uses analog audio cables, and the sound pickup device needs to be independently powered. In order to meet the requirements of different deployment spaces, the factory equipment needs to be configured with a very long multi-in-one audio cable, which is relatively bulky and will increase the cost. Summary of the Invention
[0004] This application provides a recording and broadcasting host, an audio data transmission method, and a storage medium, which can realize accessing audio data and electric energy through a single network cable.
[0005] To achieve the above technical objectives, this application adopts the following technical solutions:
[0006] In a first aspect, an embodiment of this application provides a recording and broadcasting host, which includes: a main processor, an audio processor, a power supply module, and a first POE network interface; the first POE network interface is connected to a second POE network interface of a sound pickup device through a network cable. The main processor is configured to control the power supply module to supply power to the sound pickup device through the first POE network interface when detecting that the sound pickup device is connected to the first POE network interface; after controlling the power supply module to supply power to the sound pickup device, obtain and send the network parameters of the second POE network interface to the audio processor. The audio processor is configured to establish a network connection with the sound pickup device through the first POE network interface based on the network parameters of the second POE network interface; after establishing the network connection, perform audio data transmission with the sound pickup device through the first POE network interface.
[0007] It can be understood that after the recording host is connected to the second POE network port of the sound pickup device through a network cable via the first POE network port, the main processor of the recording host can supply power to the sound pickup device; at the same time, the audio processor can transmit audio data with the sound pickup device through the first POE network port. That is to say, power supply to the sound pickup device and transmission of audio data are achieved through a single network cable, thus solving the problem of complex wiring in traditional methods. In addition, since digital signals are transmitted between POE network ports, that is, digital signals are transmitted between the recording host and the sound pickup device; compared with the traditional technology where analog signals can be transmitted between the recording host and the sound pickup device, problems such as poor error correction ability, weak anti-interference ability, and limited transmission distance of analog signals can be effectively improved.
[0008] In a possible implementation manner, the above-mentioned main processor is further configured to, after controlling the power supply module to supply power to the sound pickup device, obtain the type of the sound pickup device through the first POE network port; and adjust the power supply power to the sound pickup device according to the type of the sound pickup device.
[0009] In another possible implementation manner, the above-mentioned main processor and the audio processor are connected through an internal network port; the main processor is specifically configured to: send the network parameters of the second POE network port to the audio processor when the network parameters of the second POE network port meet the preset conditions; where: when the network parameters include an IP address, the preset conditions include: the IP address of the second POE network port and the IP address of the internal network port are in the same network segment; or, when the network parameters include a subnet mask, the preset conditions include: the subnet mask of the second POE network port is the same as the subnet mask of the internal network port; or, when the network parameters include a gateway address, the preset conditions include: the gateway address of the second POE network port is the IP address of the internal network port.
[0010] In another possible implementation manner, the above-mentioned main processor is further configured to adjust the network parameters of the second POE network port when the network parameters of the second POE network port do not meet the preset conditions; where the adjusted network parameters of the second POE meet the preset conditions.
[0011] In another possible implementation manner, the above-mentioned recording host further includes a networking network port; the main processor is further configured to: receive the configuration information of the sound pickup device through the networking network port; and send the configuration information to the sound pickup device through the first POE network port; where the configuration information is used to configure the parameters of the sound pickup device.
[0012] In another possible implementation, the main processor is further configured to convert the IP address and port for accessing the recording host into the IP address and port for accessing the sound pickup device based on the network address translation relationship between the IP address and port of the recording host and the IP address and port of the sound pickup device; specifically, the main processor is configured to send the configuration information to the sound pickup device based on the IP address and port for accessing the sound pickup device and the first POE network interface.
[0013] In a second aspect, an embodiment of the present application provides an audio data transmission method, which is applied to a recording host. The recording host has a first POE network interface, and the sound pickup device has a second POE network interface. The first POE network interface and the second POE network interface are connected by a network cable. The method includes: when it is detected that the sound pickup device is connected to the first POE network interface, powering the sound pickup device through the first POE network interface; after powering the sound pickup device, obtaining the network parameters of the second POE network interface; based on the network parameters of the second POE network interface, establishing a network connection with the sound pickup device through the first POE network interface; after establishing the network connection, performing audio data transmission between the first POE network interface and the sound pickup device.
[0014] It can be understood that the method provided by the embodiment of the present application uses one network cable for audio access through a POE network interface. The transmitted digital audio signal can effectively improve problems such as poor error correction ability, weak anti-interference ability, and limited transmission distance of analog audio signals, and at the same time solve the problem of additional power supply. This method avoids problems such as complex wiring and poor anti-interference ability in traditional solutions.
[0015] In a possible implementation, after powering the sound pickup device through the first POE network interface, the method further includes: obtaining the type of the sound pickup device through the first POE network interface; adjusting the power supply power to the sound pickup device according to the type of the sound pickup device.
[0016] It can be understood that the recording host of this method can supply power to the sound pickup device as needed, effectively avoiding damage to the sound pickup device caused by excessive power supply power.
[0017] In another possible implementation, the above-mentioned recording host further includes an internal network interface. The internal network is used for communication between the main processor and the audio processor in the recording host. Based on the network parameters of the second POE network interface, a network connection is established with the sound pickup device through the first POE network interface, including: when the network parameters of the second POE network interface meet the preset conditions, establishing a network connection with the sound pickup device through the first POE network interface; where: when the network parameters include an IP address, the preset conditions include: the IP address of the second POE network interface and the IP address of the internal network interface are in the same network segment; or, when the network parameters include a subnet mask, the preset conditions include: the subnet mask of the second POE network interface is the same as the subnet mask of the internal network interface; or, when the network parameters include a gateway address, the preset conditions include: the gateway address of the second POE network interface is the IP address of the internal network interface.
[0018] It can be understood that by confirming whether the network parameters of the second POE network interface meet the conditions for communicating with the recording host, the sound pickup device can establish a connection with the recording host.
[0019] In another possible implementation, when the network parameters of the above-mentioned second POE network interface do not meet the preset conditions, the network parameters of the second POE network interface are adjusted; where the adjusted network parameters of the second POE network interface meet the preset conditions.
[0020] It can be understood that by modifying the network parameters of the second POE network interface, the sound pickup device can successfully establish a connection with the recording host.
[0021] In another possible implementation, the above-mentioned recording host further includes a networking network interface; receiving the configuration information of the sound pickup device through the networking network interface; sending the configuration information to the sound pickup device through the first POE network interface; where the configuration information is used to configure the parameters of the sound pickup device.
[0022] It can be understood that after the recording host establishes a connection with the sound pickup device, the operation and maintenance personnel can access and configure the recording host and the sound pickup device through the networking network interface of the recording host, realizing the remote debugging function, which is convenient and fast.
[0023] In another possible implementation, the above method further includes: based on the network address translation relationship between the IP address and port number of the recording host and the IP address and port number of the sound pickup device, converting the IP address and port for accessing the recording host into the IP address and port for accessing the sound pickup device; based on the IP address and port for accessing the sound pickup device and the first POE network interface, sending the configuration information to the sound pickup device.
[0024] It can be understood that the configuration device cannot directly access the sound pickup device. Instead, it needs to indirectly send an access message to the sound pickup device through the recording and playback host. Therefore, it is necessary to establish a network address conversion relationship between the IP and port of the recording and playback host and the sound pickup device, converting the access to the recording and playback host into an access to the sound pickup device, so that the sound pickup device can receive the configuration information. This method can enable the configuration device to communicate with the sound pickup device through the Internet, thus realizing remote debugging.
[0025] In a third aspect, the present application provides a recording and playback host, including a memory and a processor. The memory and the processor are coupled; the memory is used to store computer program code, and the computer program code includes computer instructions. When the processor executes the computer instructions, the recording and playback host is caused to execute the audio data transmission method as described in the second aspect and any possible design thereof.
[0026] In a fourth aspect, the present application provides a computer-readable storage medium, which includes computer instructions. When the computer instructions run on the recording and playback host, the recording and playback host is caused to execute the audio data transmission method as described in the second aspect and any possible design thereof.
[0027] In a fifth aspect, the present application provides a computer program product, which includes computer instructions. When the computer instructions run on the recording and playback host, the recording and playback host is caused to execute the audio data transmission method as described in the second aspect and any possible design thereof.
[0028] For the specific descriptions of the third aspect to the fifth aspect and their various implementation manners in the present application, reference can be made to the detailed descriptions in the second aspect and its various implementation manners; and for the beneficial effects of the third aspect to the fifth aspect and their various implementation manners, reference can be made to the beneficial effect analysis in the first aspect and its various implementation manners, which will not be elaborated here.
[0029] These aspects or other aspects of the present application will be more clearly understood in the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 It is a schematic diagram of the implementation environment involved in an audio data transmission method provided by an embodiment of the present application;
[0031] Figure 2 It is a structural diagram of a recording and playback host provided by an embodiment of the present application;
[0032] Figure 3 It is a working flowchart of each module of a recording and playback host provided by an embodiment of the present application;
[0033] Figure 4Flowchart of a method for remotely configuring (or debugging) the configuration information of a sound pickup device provided by an embodiment of the present application;
[0034] Figure 5 Flowchart of a method for accessing a sound pickup device through a recording and broadcasting host on a configuration device and configuring parameters provided by an embodiment of the present application;
[0035] Figure 6 Parameter configuration diagram of the access interface of the recording and broadcasting host provided by an embodiment of the present application;
[0036] Figure 7 Configuration information diagram of an array microphone provided by an embodiment of the present application;
[0037] Figure 8 Flowchart of a method for audio data transmission provided by an embodiment of the present application. Detailed implementation manners
[0038] Hereinafter, terms such as "first", "second", and "third" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first", "second", or "third" etc. may explicitly or implicitly include one or more of such features.
[0039] The recording and broadcasting system is a commonly used system in multimedia classrooms. The audio system in the recording and broadcasting system includes a recording and broadcasting host and a sound pickup device. Currently, most of the audio access of the recording and broadcasting host uses analog audio cables for access. The analog audio cables transmit analog audio signals, which have poor error correction ability and weak anti-interference ability, and it is difficult to meet the long-distance transmission requirements; at the same time, the sound pickup device needs to be independently powered additionally. Therefore, during actual construction, output audio cables, input reference audio cables, power cables, and other auxiliary cables also need to be provided for the sound pickup device. The actual wiring of the recording and broadcasting system is relatively complicated, bringing a lot of inconvenience and increasing a lot of uncertainties.
[0040] Based on this, an embodiment of the present application provides a recording and broadcasting host. The recording and broadcasting host uses a single network cable through a first Power over Ethernet (POE) network interface to supply power to the sound pickup device and transmit audio data. First, the main processor of the recording and broadcasting host controls the power supply module to supply power to the sound pickup device. Then, the main processor obtains the network parameters of the second POE network interface of the sound pickup device. Through the network parameters of the second POE network interface, the audio processor of the recording and broadcasting host establishes a network connection with the sound pickup device to complete the audio data transmission. By using a single network cable through the POE network interface for audio access, the transmitted digital audio signal can effectively improve problems such as poor error correction ability, weak anti-interference ability, and limited transmission distance of analog audio signals, and at the same time solve the problem of additional power supply. This method avoids problems such as complex wiring and poor anti-interference ability in traditional solutions.
[0041] The implementation manners of the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0042] Please refer to Figure 1 , which shows a schematic diagram of an implementation environment involved in an audio data transmission method provided by an embodiment of the present application. As Figure 1 shown, the implementation environment may include: a recording and live broadcast host 110 and at least one sound pickup device 120 connected to the recording and live broadcast host 110. Optionally, the implementation environment further includes a configuration device 130, and each sound pickup device 120 is connected to the recording and live broadcast host 110 through a wired network.
[0043] The recording and live broadcast host 110 is configured to receive audio data transmitted by the sound pickup device 120 and supply power to the sound pickup device 120. The sound pickup device 120 is a device for collecting audio, and receives electrical energy and audio reference data provided by the recording and live broadcast host 110, so as to implement the audio data transmission method provided by the embodiment of the present application.
[0044] Exemplarily, the recording and live broadcast host 110 may be a recording and live broadcast device including functions such as recording, live broadcast, on-demand, intelligent live guidance, storage, etc., or some of these functions, and externally supports POE network interfaces and network-connected network interfaces. Each recording and live broadcast host may include one or more POE network interfaces, and each POE network interface of the recording and live broadcast host may establish a connection with a sound pickup device 120.
[0045] Exemplarily, the sound pickup device 120 is a single microphone or an array microphone including a network configuration function. The sound pickup device 120 only externally supports a POE network interface and establishes a connection with the recording and live broadcast host 110 through the POE network interface.
[0046] The configuration device 130 is configured for an operation and maintenance personnel to debug the recording and live broadcast host 110 and / or the sound pickup device 120. The configuration device 130 may be an independent terminal device supporting network-connected network interface connection and having an interface display, such as a tablet computer, a desktop type, a laptop, a notebook computer, a netbook, etc., or may be a device integrated with the recording and live broadcast host 110 and having an interface display. The configuration device 130 and the recording and live broadcast host may be integrated together or may be independently set. If they are independently set, the configuration device 130 and the recording and live broadcast host may be remotely connected or directly connected through a network-connected network interface.
[0047] Figure 1 The numbers of various devices (such as, a recording and live broadcast host 110 and a sound pickup device 120) shown in
[0048] In an application scenario, the technical solution provided in this embodiment can be used for audio access. For example, in an audio system of a multimedia classroom, a recording and broadcasting host 110, a sound pickup device 120, and a configuration device 130 are installed. Both the recording and broadcasting host 110 and the sound pickup device 120 support network configuration functions and are equipped with POE network ports. The recording and broadcasting host 110 and the sound pickup device 120 are connected by a network cable, and both ends are respectively connected to the POE network ports of the recording and broadcasting host 110 and the sound pickup device 120. The recording and broadcasting host 110 powers the sound pickup device 120 through the POE network port and establishes a network connection with it to complete audio data transmission. The recording and broadcasting host 110 and the configuration device 130 are directly / indirectly connected through a networked network port, and the operation and maintenance personnel debug the relevant parameters of the recording and broadcasting host 120 and the sound pickup device 110 on the configuration device 130.
[0049] Please refer to Figure 2 , which shows a structural diagram of a recording and broadcasting host 110 provided in an embodiment of the present application. The recording and broadcasting host 110 includes a main processor 210, an audio processor 220, a power supply module 230, at least one POE network port 240, and a networked network port 250.
[0050] The main processor 210 is the central processing unit of the recording and broadcasting host 110 and is the operation and control core of the recording and broadcasting host 110, which is used for functions such as resource allocation, status judgment, and issuing control commands to each module.
[0051] The audio processor 220 has functions such as network configuration and protocol exchange. Under the control of the main processor 210 of the recording and broadcasting host 110, it establishes a network connection with the sound pickup device 120 and conducts audio data transmission with the sound pickup device 120.
[0052] A universal asynchronous receiver / transmitter (UART), an inter-IC sound (I2S) interface, and an internal network port are respectively set on the main processor 210 and the audio processor 220.
[0053] The UART is used for the main processor 210 to send control instructions to the audio processor 220. It should be noted that the UART can be replaced by other interfaces for transmitting control signaling.
[0054] The I2S is used for the main processor 210 and the audio processor 220 to conduct audio data transmission. It should be noted that the I2S can be replaced by other interfaces for transmitting audio data.
[0055] The internal network port is used for both the main processor 210 and the audio processor 220 to be connected to an Ethernet switch in the recording and broadcasting host 110. The internal network port is connected to the POE network port 240 through the network switch.
[0056] The power supply module 230 is used to inject electric energy into the network cable and implement power planning and management. Under the control of the main processor 210 of the recording and playback host 110, it supplies power to the devices connected to the recording and playback host.
[0057] The Ethernet switch is used for Ethernet data transmission between the internal network port of the main processor 210 and the internal network port of the audio processor 220, and between the internal network port and the POE network port.
[0058] POE is a technology that, without any modification to the Ethernet Cat.5 cabling infrastructure, can transmit data signals to some Internet Protocol (IP)-based terminals (such as IP telephones, wireless LAN access points, network cameras, etc.) and at the same time provide DC power supply for such devices. The POE technology can ensure the safety of the existing structured cabling while ensuring the normal operation of the existing network, and minimize costs. The POE network port 240 is the network port that supports the POE technology.
[0059] The networking network port 250 is used for the recording and playback host to connect to the network. The accessed network can be a local area network (LAN) or a wide area network (WAN). The embodiments of the present application do not limit the network to which the recording and playback host is connected. It can be connected to a local area network or a wide area network, and can be connected by wire or wirelessly. If it is connected to a local area network, the IP of the recording and playback host is configured as the local area network IP. If it is connected to a wide area network, the IP of the recording and playback host is configured as the wide area network IP. The embodiments of the application provided below take connecting to a local area network as an example for illustration.
[0060] It should be noted that the description of the functions of the various components in the recording and playback host can be referred to in the method embodiment part below. For the sake of brevity, it will not be elaborated here.
[0061] Please refer to Figure 3 for the working flow chart of each module of a recording and playback host provided by the embodiment of the present application. As Figure 2 shown, the recording and playback host includes: a main processor, an audio processor, a power supply module, and a first POE network port (i.e., the POE network port 240). The first POE network port is connected to the second POE network port of the sound pickup device through a network cable, and the second POE network port is connected to the network card of the sound pickup device. As Figure 3 shown, the working steps of each module of the recording and playback host include: S101 - S108.
[0062] S101: When the main processor detects that the sound pickup device is connected to the first POE network port, it controls the power supply module to supply power to the sound pickup device through the first POE network port.
[0063] S102: After the main processor controls the power supply module to supply power to the sound pickup device, it obtains the type of the sound pickup device through the first POE network port; according to the type of the sound pickup device, it adjusts the power supply power to the sound pickup device.
[0064] Specifically, the above S101 - S102 may include:
[0065] First, when the main processor detects that a device is connected to the first POE network port, it controls the power supply module to supply power to the device through the first POE network port at a certain preset power.
[0066] Second, after the main processor controls the power supply module to supply power to the device connected to the first POE network port, the main processor obtains the type of the device (including: sound pickup device and non - sound pickup device) through the device scanning protocol.
[0067] Next, when the main processor determines that the device is a sound pickup device, the main processor obtains the type of the connected sound pickup device through the device scanning protocol, and according to the type of the sound pickup device, adjusts the power supply power to the sound pickup device.
[0068] For example, the main processor determines the rated power supply power corresponding to the obtained type of the sound pickup device according to the multiple types of the sound pickup device and the rated power supply power of each type, and adjusts the current power supply power to the rated power supply power, so as to limit the power supply power of the sound pickup device.
[0069] In an example, the type of the sound pickup device may be an array microphone or a single microphone. The maximum power supply power of the array microphone is 5W, and the maximum power supply power of the single microphone is 3W. If the main processor of the recording and broadcasting host identifies that the type of the connected device is an array microphone, then at this time, the main processor of the recording and broadcasting host will control the power supply module to reduce the power supply power to 5W.
[0070] The above S102 is an optional implementation method. In this way, the main processor first provides a preset power supply power (such as the maximum power supply power) to the connected device without discrimination. After obtaining that the connected device is a sound pickup device, it limits the power supply power of the sound pickup device according to the type of the sound pickup device, which can effectively avoid damage to the sound pickup device caused by excessive power supply power.
[0071] S103: After the main processor controls the power supply module to supply power to the sound pickup device, it obtains the network parameters of the second POE network port.
[0072] Among them, the network parameters of the second POE network port include at least one of the following: IP address, subnet mask or gateway information.
[0073] Optionally, obtaining the network parameters of the second POE network interface specifically includes: the main processor sends a network parameter acquisition instruction to the second POE network interface, and after receiving the instruction, the second POE network interface returns its network parameters to the main processor.
[0074] In one example, if S102 is executed, S103 may include: the main processor powers the connected sound pickup device, and after adjusting its power supply, obtains the network parameters of the second POE network interface.
[0075] S104: When the network parameters of the second POE network interface meet the preset conditions, the main processor sends the network parameters of the second POE network interface to the audio processor, where:
[0076] When the network parameters include an IP address, the preset conditions include: the IP address of the second POE network interface and the IP address of the internal network interface are in the same network segment;
[0077] Or, when the network parameters include a subnet mask, the preset conditions include: the subnet mask of the second POE network interface is the same as the subnet mask of the internal network interface;
[0078] Or, when the network parameters include a gateway address, the preset conditions include: the gateway address of the second POE network interface is the IP address of the internal network interface.
[0079] After powering the sound pickup device, the main processor of the recording and broadcasting host obtains the network parameters of the second POE network interface of the sound pickup device. Since the network card of the sound pickup device is directly connected to the second POE network interface, the network parameters of the second POE network interface are the network parameters of the sound pickup device. When the IP address in the network parameters of the second POE network interface and the IP address of the internal network interface of the main processor are in the same network segment, and the subnet mask of the second POE network interface is the same as the subnet mask of the internal network interface, and the gateway address of the second POE network interface is the IP address of the internal network interface, that is, the network parameters of the second POE network interface all meet the preset conditions, then the sound pickup device meets the conditions for communicating with the recording and broadcasting host.
[0080] S105: When the network parameters of the second POE network interface do not meet the preset conditions, the main processor adjusts the network parameters of the second POE network interface; after the adjusted network parameters of the second POE meet the preset conditions, the main processor sends the network parameters of the second POE network interface to the audio processor.
[0081] When any one, two or three of the IP address, subnet mask or gateway address in the network parameters of the second POE network interface do not meet the above corresponding preset conditions, the main processor of the recording and broadcasting host correspondingly modifies the parameters in the second POE network interface that do not meet the preset conditions, so that the modified network parameters of the second POE network interface meet the preset conditions.
[0082] Optionally, when the main processor modifies the network parameters of the second POE network port of the pickup device, after confirming that the modified network parameters of the second POE network port meet the preset conditions, the main processor notifies the audio processor that a pickup device has accessed the recording and broadcasting host, and at the same time sends the network parameter information of the second POE network port to the audio processor.
[0083] Optionally, after the network parameters of the second POE network port meet the preset conditions, the pickup device saves the network parameters that meet the conditions to the memory, and automatically reads and configures the network port parameters each time the pickup device starts.
[0084] Optionally, after the main processor controls the power supply module to supply power to the pickup device, the status information of the pickup device is obtained. The status information of the pickup device includes an active state or an inactive state. If the pickup device is in the inactive state, the pickup device needs to be activated first, and only after activation does the main processor send the network parameters of the second POE network port to the audio processor. If the pickup device is in the active state, the main processor sends the network parameters of the second POE network port to the audio processor.
[0085] In one example, after the main processor supplies power to the pickup device, it is necessary to obtain the device type of the pickup device, the status information of the pickup device, and the network parameter information of the second POE network port. The embodiments of the present application do not limit the order of acquisition, and can be obtained simultaneously or sequentially according to needs.
[0086] S106: The audio processor establishes a network connection with the pickup device through the first POE network port based on the network parameters of the second POE network port.
[0087] Exemplarily, the network connection can be a transmission control protocol (TCP) / user datagram protocol (UDP) network connection, that is, a TCP / UDP network connection.
[0088] S107: After establishing the network connection, the audio processor performs audio data transmission with the pickup device through the first POE network port.
[0089] After the audio processor and the pickup device establish a network connection, the audio processor of the recording and broadcasting host sends an audio reference signal to the pickup device through the first POE network port, and the pickup device sends the audio data collected by itself to the audio processor of the recording and broadcasting host, completing the audio data transmission between the audio processor of the recording and broadcasting host and the pickup device.
[0090] In one example, for data transmission between the sound pickup device and the audio processor of the recording and live broadcast host, the Real Time Streaming Protocol (RTSP) can be used, or other network protocols or private protocols can also be used; for the encapsulation of audio data, the Real-Time Transport Protocol (RTP) can be used, or other network protocols or private protocols can also be used. For the transmitted audio data, Pulse Code Modulation (PCM) encoding can be used, or other audio encoding methods such as Advanced Audio Coding (AAC), G711, etc. can also be used.
[0091] The RTSP protocol is an application layer protocol in the TCP / IP protocol system, used to control multimedia streams of sound and / or video. The RTP protocol is a network transport protocol. The RTP protocol describes the standard data packet format for transmitting audio and video. The RTP protocol is used together with the RTP Control Protocol RTSP, and RTSP is structurally above RTP.
[0092] S108: Disconnect the network cable from the second POE network port of the sound pickup device.
[0093] When the network cable of the second POE network port of the sound pickup device is disconnected, the sound pickup device, the main processor, and the audio processor will perform the following operations:
[0094] 1. The main processor detects that the first POE network port is powered off.
[0095] 2. The main processor detects that the sound pickup device connected to the first POE network port has been removed.
[0096] 3. The main processor notifies the audio processor to stop sending and receiving data with the sound pickup device.
[0097] 4. The audio processor executes the instruction to stop sending and receiving data with the sound pickup device and disconnects the relevant data interaction connection.
[0098] 5. The audio processor returns the disconnection status to the main processor.
[0099] When the network cable of the second POE network port of the sound pickup device is disconnected, the main processor detects that the first POE network port is powered off. The main processor checks the network status and power supply status of the first POE network port, identifies that the array microphone connected to the first POE network port has been removed, notifies the audio processor to stop sending and receiving audio data with the sound pickup device, and disconnects the relevant data interaction connection. After completion, the audio processor sends the disconnection status to the main processor.
[0100] Such as Figure 4As shown in the figure, a method for remotely configuring (or debugging) the configuration information of a sound pickup device provided by an embodiment of the present application may include the following steps S201 - S202.
[0101] S201: The main processor receives the configuration information sent by the configuration device through the network interface. Among them, the configuration information is used to configure the parameters of the sound pickup device.
[0102] Among them, S201 can be executed after a network connection is established between the recording and broadcasting host and the sound pickup device. The execution order of the remote configuration method provided in this embodiment and the above audio data transmission (that is, the audio data transmission between the recording and broadcasting host and the audio device through the first POE network interface and the sound pickup device) is not sequential. For example, audio data transmission can be executed after remote configuration; or remote configuration can be executed after audio data transmission.
[0103] S202: The main processor sends the configuration information to the sound pickup device through the first POE network interface.
[0104] If the configuration device accesses the sound pickup device and performs related parameter debugging, it needs to first access the recording and broadcasting host through the network interface, and then select the sound pickup device debugging function from the access interface of the recording and broadcasting host to access the sound pickup device and perform related parameter debugging.
[0105] In one example, as Figure 5 shown, Figure 5 a flowchart for accessing a sound pickup device and configuring parameters on a configuration device through a recording and broadcasting host provided by an embodiment of the present application is as follows:
[0106] 1. Connect the configuration device and the recording and broadcasting host to the network.
[0107] The recording and broadcasting host and the configuration device can be directly connected through the network interface of the recording and broadcasting host, or the recording and broadcasting host and the configuration device can be connected to the same local area network, or connected to a wide area network.
[0108] After the network interface of the recording and broadcasting host is connected to the network, the main processor of the recording and broadcasting host obtains the IP address of the sound pickup device connected to the recording and broadcasting host. The main processor assigns an access port to the sound pickup device connected to it, and uses iptable to establish a network address translation (NAT) relationship between the IP address and port number of the recording and broadcasting host and the IP address and port number of the sound pickup device. The network address translation relationship is used to convert the IP address and port for accessing the recording and broadcasting host into the IP address and port for accessing the sound pickup device.
[0109] 2. The configuration device receives the IP address of the recording host entered by the user in the browser and configures the sound pickup device through the recording host.
[0110] The configuration device accesses the recording host by receiving the IP address of the recording host entered by the user in the browser. In the access interface of the recording host, relevant parameters of the recording host can be configured (such as parameter debugging / modification), and relevant parameters of the sound pickup device connected to the recording host can also be configured (such as parameter debugging / modification).
[0111] In one example, such as Figure 6 , if the sound pickup device connected to the recording host is an array microphone, after logging in to the IP address of the recording host on the configuration device, the array microphone configuration can be selected on the access page of the recording host, so that the array microphone connected to the recording host can be accessed.
[0112] 3. The configuration device receives the user's indication of the sound pickup device configuration function.
[0113] In one example, after receiving the click of the sound pickup device configuration function by the operation and maintenance personnel, the configuration device obtains the device information of the sound pickup device connected to it from the recording host. This device information can include the serial number, POE network port number, model, and login link. Here, the port number of the POE network port is the access port number assigned by the main processor to the sound pickup device. At this time, the recording host returns the parameter information of the sound pickup device to the configuration device and displays it in the browser of the configuration device.
[0114] In one example, such as Figure 7 , if the recording host is connected to 2 sound pickup devices, namely array microphone 1 and array microphone 2, after the operation and maintenance personnel select the array microphone configuration, the device information of array microphone 1 and array microphone 2 is returned in the browser of the configuration device. This device information includes array microphone 1, array microphone 2, their corresponding POE port numbers, models, and login links.
[0115] 4. The configuration device receives the indication of the login link in the device information of the sound pickup device clicked by the user.
[0116] In one example, after receiving the click of the login link in the returned sound pickup device information by the operation and maintenance personnel, at this time, the browser jumps to the sound pickup device login interface.
[0117] 5. The configuration device receives the indication of the user entering the admin password of the recording host to log in to the sound pickup device.
[0118] The Admin password is the management password of the recording host, and the login password of the sound pickup device is the same as the Admin password of the recording host. If the sound pickup device has not been connected to other recording hosts, the login password of the sound pickup device is the Admin password of the recording host at this time; if the sound pickup device has been connected to other recording hosts and the Admin password of the recording host has been modified when connecting to this recording host, then the new Admin password is used for login at this time. This password has been modified by the operation and maintenance personnel.
[0119] After the configuration device receives the instruction from the user to input the Admin password of the recording host to log in to the sound pickup device, it sends the Admin password to the recording host. The recording host converts the IP address and port for accessing the recording host into the IP address and port for accessing the sound pickup device through the NAT conversion relationship, and based on the IP address and port for accessing the sound pickup device and the first POE network port, sends the Admin password (configuration information) to the sound pickup device. The sound pickup device returns the login result.
[0120] 6. The configuration device receives the user's configuration of various function parameters of the sound pickup device through the browser and debugs the sound pickup device.
[0121] After successful login, the operation and maintenance personnel can modify the relevant configuration information of the sound pickup device through the interface and can also debug the relevant functions of the sound pickup device, such as: volume size, timbre, etc.
[0122] All the configuration data of the various function parameters of the sound pickup device received by the configuration device are forwarded to the sound pickup device after the recording host performs NAT conversion on the IP address and port number of the sound pickup device. At the same time, for the response message returned by the sound pickup device, it also needs to be sent to the configuration device by the recording host after performing NAT conversion on the IP address and port number of the sound pickup device through the networking network port.
[0123] Please refer to Figure 8 For the flowchart of an audio data transmission method provided by an embodiment of the present application. This method can be applied to the above-mentioned recording host and at least one sound pickup device connected to the recording host. As Figure 8 shown, this method can include S301 - S305.
[0124] S301: When detecting that the sound pickup device is connected to the first POE network port, power the sound pickup device through the first POE network port.
[0125] Optionally, after S101, this method can further include: obtaining the type of the sound pickup device through the first POE network port; adjusting the power supply power to the sound pickup device according to the type of the sound pickup device.
[0126] S302: After powering the sound pickup device, obtain the network parameters of the second POE network port.
[0127] The network parameters of the second POE network interface include at least one of the following: IP address, subnet mask, gateway information.
[0128] The recording and playing host further includes an internal network interface, which is used for communication between the main processor and the audio processor in the recording and playing host. Based on the network parameters of the second POE network interface and through the first POE network interface, a network connection is established with the sound pickup device, including:
[0129] When the network parameters of the second POE network interface meet the preset conditions, a network connection is established with the sound pickup device through the first POE network interface; where:
[0130] When the network parameters include an IP address, the preset conditions include: the IP address of the second POE network interface and the IP address of the internal network interface are in the same network segment;
[0131] Or, when the network parameters include a subnet mask, the preset conditions include: the subnet mask of the second POE network interface is the same as the subnet mask of the internal network interface;
[0132] Or, when the network parameters include a gateway address, the preset conditions include: the gateway address of the second POE network interface is the IP address of the internal network interface.
[0133] S303: Based on the network parameters of the second POE network interface and through the first POE network interface, a network connection is established with the sound pickup device.
[0134] After the audio processor of the recording and playing host receives the network parameters of the second POE network interface of the sound pickup device, a TCP / UDP network connection is established with the sound pickup device.
[0135] S304: After the network connection is established, audio data is transmitted between the recording and playing host and the sound pickup device through the first POE network interface.
[0136] The recording and playing host further includes a networking network interface; configuration information of the sound pickup device is received through the networking network interface.
[0137] Through the first POE network interface, the configuration information is sent to the sound pickup device; where the configuration information is used to configure the parameters of the sound pickup device.
[0138] Specifically: Based on the network address translation relationship between the IP address and port number of the recording and playing host and the IP address and port number of the sound pickup device, the IP address and port for accessing the recording and playing host are converted into the IP address and port for accessing the sound pickup device; based on the IP address and port for accessing the sound pickup device and the first POE network interface, the configuration information is sent to the sound pickup device.
[0139] For the corresponding descriptions in S301 - S304, please refer to S101 - S107 in detail. For the corresponding descriptions in S305, please refer to S201 - S202 in detail.
[0140] Based on this, an embodiment of the present application provides a recording and playing host. The recording and playing host uses a single network cable through the first POE network port to supply power to the sound pickup device and transmit audio data. First, the main processor of the recording and playing host controls the power supply module to supply power to the sound pickup device. Then, the main processor obtains the network parameters of the second POE network port of the sound pickup device. Through the network parameters of the second POE network port, the audio processor of the recording and playing host establishes a network connection with the sound pickup device to complete the transmission of audio data. By using a single network cable for audio access through the POE network port, the transmitted digital audio signal can effectively improve problems such as poor error correction ability, weak anti-interference ability, and limited transmission distance of analog audio signals. At the same time, the problem of additional power supply is solved. This method avoids problems such as complex wiring and poor anti-interference ability in the traditional solution.
[0141] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. To implement the above functions, it includes the corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should easily realize that, combining the units and algorithm steps of each example described in the embodiments disclosed in this article, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the way of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0142] Another embodiment of the present application also provides a recording and playing host, including a memory and a processor. The memory and the processor are coupled; the memory is used to store computer program code, and the computer program code includes computer instructions. Among them, when the processor executes the computer instructions, the recording and playing host executes each step of the audio data transmission method shown in the above method embodiment. Another embodiment of the present application also provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions run on the recording and playing host, the recording and playing host executes each step executed by the recording and playing host in the method flow shown in the above method embodiment.
[0143] Another embodiment of the present application further provides a chip system, which is applied to a recording and playing host. The chip system includes one or more interface circuits and one or more processors. The interface circuits and the processors are interconnected by lines. The interface circuits are configured to receive signals from the memory of the recording and playing host and send the signals to the processors, and the signals include computer instructions stored in the memory. When the processor of the recording and playing host executes the computer instructions, the recording and playing host executes each step performed by the recording and playing host in the method flow shown in the above method embodiment.
[0144] In another embodiment of the present application, a computer program product is further provided. The computer program product includes computer instructions. When the computer instructions run on the recording and playing host, the recording and playing host is caused to execute each step performed by the recording and playing host in the method flow shown in the above method embodiment.
[0145] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer execution instructions are loaded and executed on a computer, the processes or functions according to the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium.
[0146] The above are only the specific embodiments of the present application. Those skilled in the art of this technology can think of changes or substitutions according to the specific embodiments provided by the present application, and all of them should be covered by the protection scope of the present application.
Claims
1. A recording and playing host, characterized in that, it includes: a main processor, an audio processor, a power supply module and a first POE network interface; the first POE network interface is connected to the second POE network interface of the sound pickup device through a network cable; the main processor and the audio processor are connected through an internal network interface; the main processor is configured to, when detecting that the sound pickup device is connected to the first POE network interface, control the power supply module to supply power to the sound pickup device through the first POE network interface; after controlling the power supply module to supply power to the sound pickup device, obtain the network parameters of the second POE network interface; the main processor is further configured to: when the network parameters of the second POE network interface meet a preset condition, send the network parameters of the second POE network interface to the audio processor; wherein: when the network parameters include an Internet Protocol (IP) address, the preset condition includes: the IP address of the second POE network interface and the IP address of the internal network interface are in the same network segment; alternatively, when the network parameters include a subnet mask, the preset condition includes: the subnet mask of the second POE network interface is the same as the subnet mask of the internal network interface; alternatively, when the network parameters include a gateway address, the preset condition includes: the gateway address of the second POE network interface is the IP address of the internal network interface; the audio processor is configured to, based on the network parameters of the second POE network interface, establish a network connection with the sound pickup device through the first POE network interface; after establishing the network connection, perform audio data transmission with the sound pickup device through the first POE network interface.
2. The recording and playing host according to claim 1, characterized in that, the main processor is further configured to, after controlling the power supply module to supply power to the sound pickup device, obtain the type of the sound pickup device through the first POE network interface; according to the type of the sound pickup device, adjust the power supply power to the sound pickup device.
3. The recording and playing host according to claim 1, characterized in that, the main processor is further configured to, when the network parameters of the second POE network interface do not meet the preset condition, adjust the network parameters of the second POE network interface; wherein, the adjusted network parameters of the second POE meet the preset condition.
4. The recording and playing host according to claim 1, characterized in that, the recording and playing host further includes a networking network interface; the main processor is further configured to: receive the configuration information of the sound pickup device through the networking network interface; send the configuration information to the sound pickup device through the first POE network interface; wherein, the configuration information is used to configure the parameters of the sound pickup device.
5. The recording and playing host according to claim 4, characterized in that, the main processor is further configured to, based on the network address translation relationship between the IP address and port number of the recording and playing host and the IP address and port number of the sound pickup device, convert the IP address and port for accessing the recording and playing host into the IP address and port for accessing the sound pickup device; The main processor is specifically configured to send the configuration information to the sound pickup device based on the IP address and port for accessing the sound pickup device and the first POE network interface.
6. An audio data transmission method, characterized in that, the method is applied to a recording and broadcasting host, the recording and broadcasting host has a first POE network interface, the sound pickup device has a second POE network interface, the first POE network interface is connected to the second POE network interface through a network cable, the recording and broadcasting host further includes an internal network interface, and the internal network interface is used for communication between the main processor and the audio processor in the recording and broadcasting host. The method includes: When it is detected that the sound pickup device is connected to the first POE network interface, power the sound pickup device through the first POE network interface; After powering the sound pickup device, obtain the network parameters of the second POE network interface; Based on the network parameters of the second POE network interface, establish a network connection with the sound pickup device through the first POE network interface; After establishing the network connection, perform audio data transmission between the first POE network interface and the sound pickup device; The establishing a network connection with the sound pickup device based on the network parameters of the second POE network interface and through the first POE network interface includes: When the network parameters of the second POE network interface meet the preset conditions, establish a network connection with the sound pickup device through the first POE network interface; where: When the network parameters include an IP address, the preset conditions include: the IP address of the second POE network interface and the IP address of the internal network interface are in the same network segment; Or, when the network parameters include a subnet mask, the preset conditions include: the subnet mask of the second POE network interface is the same as the subnet mask of the internal network interface; Or, when the network parameters include a gateway address, the preset conditions include: the gateway address of the second POE network interface is the IP address of the internal network interface.
7. The method according to claim 6, characterized in that, after powering the sound pickup device through the first POE network interface, the method further includes: obtain the type of the sound pickup device through the first POE network interface; adjust the power supply power to the sound pickup device according to the type of the sound pickup device.
8. The method according to claim 6, characterized in that, the method further includes: When the network parameters of the second POE network interface do not meet the preset conditions, adjust the network parameters of the second POE network interface; where the adjusted network parameters of the second POE network interface meet the preset conditions.
9. The method according to claim 6, characterized in that, the recording and broadcasting host further includes a networking network interface; receive the configuration information of the sound pickup device through the networking network interface; send the configuration information to the sound pickup device through the first POE network interface; where the configuration information is used to configure the parameters of the sound pickup device.
10. The method according to claim 9, characterized in that, the method further includes: Based on the network address translation relationship between the IP address and port number of the recording host and the IP address and port number of the sound pickup device, convert the IP address and port for accessing the recording host into the IP address and port for accessing the sound pickup device; Based on the IP address and port for accessing the sound pickup device and the first POE network interface, send the configuration information to the sound pickup device.
11. A recording host, characterized in that, it includes a memory and a processor; the memory and the processor are coupled; the memory is used to store computer program code, and the computer program code includes computer instructions; wherein, when the processor executes the computer instructions, the recording host is caused to execute the audio data transmission method according to any one of claims 6-10.
12. A computer-readable storage medium, characterized in that, the computer-readable storage medium stores computer instructions; wherein, when the computer instructions run on the recording host, the recording host is caused to execute the audio data transmission method according to any one of claims 6-10.
Citation Information
Patent Citations
Equipment configuration method, device, electronic equipment and system
CN113645080A
Video camera using network to supply power and transmit data
CN201533372U