A method, device and medium for universalizing power amplifier broadcasting
By installing simulation software on the terminal of the broadcast system, simulating the hardware of the broadcast system, and communicating with the broadcast server, the problem that the broadcast system cannot be tested and deployed in the absence of hardware support is solved, rapid debugging and deployment is achieved, and efficiency is improved.
Patent Information
- Application Number
- CN202410798322.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-06-20
AI Technical Summary
The existing broadcasting system cannot be tested and used when the hardware support of broadcasting equipment is lacking, resulting in extended test cycles and low deployment and debugging efficiency, affecting the research and development and promotion of the system.
By installing simulation software on any network-enabled terminal, the broadcast server is set up to forward broadcast instructions and audio streams. The terminal simulates the hardware of the broadcast system, realizes communication connection with the broadcast server, sends and receives broadcast instructions and audio streams, and performs playback. and collection operations.
The problem that the broadcasting system cannot be debugged after installation on the spot has been solved, and the remote debugging of the broadcast system is achieved in the case of no physical broadcast terminal, so that the entire broadcast system can be put into use faster, and the testing and deployment efficiency can be improved.
Smart Images

Figure CN118785107B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of broadcasting systems, and in particular to a method, a device and a medium for generalizing power amplifier broadcasting. Background Art
[0002] In the development of modern broadcasting systems, the role of networks and servers is becoming increasingly important. Digital broadcasting systems make various complex audio playback tasks and timed playback functions possible. By connecting to the server where the broadcasting system is located, users can receive data sent by the server and play the corresponding audio. In addition, some fixed IP network broadcasting systems also support two-way intercom and multi-party broadcasting functions.
[0003] However, existing broadcasting systems generally rely on specific physical power amplifier broadcasting equipment, that is, most of the functions of the software system must rely on specific equipment to be realized. When developing or initially deploying a broadcasting system, if certain functions of the broadcasting system need to be tested, if there is no physical broadcasting equipment available, it is necessary to wait for it to be in place, which will lead to the problem of poor universality of the broadcasting system and easy delays in the test cycle, thereby extending the period of use of the broadcasting system and the efficiency of deployment and debugging, which is not conducive to the development and promotion of the system. Summary of the invention
[0004] In order to overcome the problem that the existing broadcasting system cannot be tested and used when there is a lack of hardware support for broadcasting equipment, the present invention provides a method, equipment and medium for universalizing power amplifier broadcasting.
[0005] The present invention provides a method for generalizing power amplifier broadcasting, which is used to simulate the hardware of the broadcasting system on any terminal that can be connected to the Internet, and is characterized by comprising:
[0006] Setting a broadcast server for forwarding broadcast instructions and audio streams; wherein the broadcast instructions include play information and volume information;
[0007] Simulation software is installed on at least one terminal, and the simulation software calls the hardware of the terminal to perform the following operations:
[0008] Call the network port of the terminal to establish a communication connection with the broadcast server;
[0009] The terminal converts the audio data into an audio stream, converts the playback information and volume information into a broadcast command, and sends the two to the broadcast server;
[0010] The terminal receives the broadcast instruction and audio stream sent by the broadcast server, parses the broadcast instruction, and displays the playback information and volume information contained in the broadcast instruction;
[0011] Inputting a configuration modification instruction on the terminal, wherein the configuration modification instruction is used to modify configuration parameters of the broadcast server and the terminal;
[0012] When the hardware of the calling terminal includes a speaker, the audio stream is played through the speaker according to the broadcast instruction;
[0013] When the hardware of the calling terminal includes a microphone, audio data for conversion into an audio stream is obtained through the microphone.
[0014] Preferably, the calling terminal's network port establishes a communication connection with the broadcast server, specifically:
[0015] Set a virtual MAC address on the terminal and establish a network communication connection with the broadcast server through the protobuf-based UDP communication protocol;
[0016] The terminal sends a protobuf heartbeat packet to the 8803 port of the broadcast server through a timer to simulate the process of the amplifier hardware going online;
[0017] The server controls the hardware operation of the broadcast system simulated by the terminal by sending protobuf instructions to port 5121 of the terminal;
[0018] The terminal continuously receives protobuf instructions sent by the server, obtains and displays the running status of the server and terminal, and the network connection status.
[0019] Preferably, a plurality of simulation software are simultaneously running on the terminal, and a different virtual MAC address is set for each simulation software.
[0020] Preferably, the step of installing simulation software on at least one terminal, wherein the simulation software calls the hardware of the terminal, further comprises the following sub-steps:
[0021] When the terminal uses the Windows operating system, the waveInOpen interface in the system SDK is used to simulate the IO interface of the broadcast system hardware;
[0022] When the terminal adopts the Linux operating system, the alsa interface is used to simulate the IO interface of the broadcast system hardware.
[0023] Preferably, the step of installing simulation software on at least one terminal, wherein the simulation software calls the hardware of the terminal, further comprises the following sub-steps:
[0024] By reading and writing local media files, it simulates the input and output of the multicast system hardware IO.
[0025] Preferably, the simulation software also includes a fault simulation function, which simulates the hardware fault state of the broadcast system by calling the hardware of the terminal to test the working condition of the broadcast system when the hardware fails.
[0026] The present invention also provides a device for generalizing power amplifier broadcasting, which is used to access any terminal that can be connected to the Internet to simulate the hardware of the broadcasting system, including: a network module, a configuration module, a playback module and a collection module;
[0027] The network module is used to call the network port of the terminal, establish a communication connection with the broadcast server, convert audio data into an audio stream, convert playback information and volume information into a broadcast instruction, and send the two to the broadcast server; receive the broadcast instruction and audio stream sent by the broadcast server, parse the broadcast instruction, and display the playback information and volume information contained in the broadcast instruction; wherein the broadcast instruction includes audio data, playback information and volume information;
[0028] The configuration module is used to input configuration modification instructions, and the configuration modification instructions are used to modify configuration parameters of the broadcast server and the terminal;
[0029] The playing module is used to play the audio stream through the speaker according to the broadcast instruction when the hardware of the calling terminal includes a speaker;
[0030] The acquisition module is used to acquire audio data for conversion into an audio stream through the microphone when the hardware of the calling terminal includes a microphone.
[0031] The present invention provides a terminal device, including a processor and a storage device, wherein the storage device is used to store one or more programs; when the one or more programs are executed by the processor, the processor implements the above-mentioned method for generalizing power amplifier broadcasting.
[0032] The present invention provides a computer-readable storage medium, the computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the above-mentioned method for generalizing power amplifier broadcasting. The beneficial effects of the present invention are:
[0033] By simulating the hardware of the broadcast system to communicate with the broadcast server, the problem of the broadcast system being unable to be debugged after installation on site is solved. In the absence of a physical broadcast terminal, this solution can be used to remotely debug the broadcast system, allowing the entire broadcast system to be put into use more quickly. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The present invention will be further described below in conjunction with the accompanying drawings, wherein:
[0035] Figure 1This is a flow chart of a method according to Embodiment 1 of the present invention. DETAILED DESCRIPTION
[0036] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0037] Current broadcasting is too dependent on certain specific physical devices, and in the absence of these specific physical devices, the test of the broadcasting system in the project cannot be carried out smoothly, which may lead to the delay of the project. In order to avoid and solve this situation, the present invention provides a flexible method for generalizing the power amplifier broadcasting, so that the broadcasting system can be deployed on any terminal system that can be connected to the server, such as a Windows system connected to the Internet, so that it can be linked with the broadcasting system at any time, reducing the dependence of the broadcasting system on the physical broadcasting hardware, thereby improving the testing efficiency and deployment efficiency.
[0038] See also Figure 1 As a first embodiment of the present invention, a method for generalizing power amplifier broadcasting is disclosed, which is used to simulate the hardware of the broadcasting system on any terminal that can be connected to the Internet, including the following steps:
[0039] S1. Deployment server: Setting a broadcast server for forwarding broadcast instructions and audio streams; wherein the broadcast instructions include playback information and volume information;
[0040] S2. Install software: Install simulation software on at least one terminal, and the simulation software calls the hardware of the terminal to perform the following steps:
[0041] S21, establish communication: call the network port of the terminal to establish a communication connection with the broadcast server;
[0042] S22, sending instructions: the terminal converts the audio data into an audio stream, converts the play information and the volume information into a broadcast instruction, and sends the audio stream and the broadcast instruction to the broadcast server;
[0043] S23, receiving instructions: the terminal receives the broadcast instructions and audio streams sent by the broadcast server, parses the broadcast instructions, and displays the playback information and volume information contained in the broadcast instructions;
[0044] S24, configuring the system: inputting a configuration modification instruction on the terminal, wherein the configuration modification instruction is used to modify configuration parameters of the broadcast server and the terminal;
[0045] S25, play broadcast: when the hardware of the calling terminal includes a speaker, play the audio stream through the speaker according to the broadcast instruction;
[0046] S26, recording audio: when the hardware of the calling terminal includes a microphone, audio data for conversion into an audio stream is obtained through the microphone and sent to the broadcast server for testing the intercom function of the broadcast server.
[0047] The order of the above steps may not be completely followed in actual use. The order of implementation may be skipped or disrupted, which does not affect the protection scope of this solution.
[0048] This embodiment also discloses a device for generalizing power amplifier broadcasting, which is used to access any terminal that can be connected to the Internet to simulate the hardware of the broadcasting system, including: a network module, a configuration module, a playback module and a collection module;
[0049] The network module is used to call the network port of the terminal, establish a communication connection with the broadcast server, convert audio data into an audio stream, convert playback information and volume information into a broadcast instruction, and send the two to the broadcast server; receive the broadcast instruction and audio stream sent by the broadcast server, parse the broadcast instruction, and display the playback information and volume information contained in the broadcast instruction; wherein the broadcast instruction includes audio data, playback information and volume information;
[0050] The configuration module is used to input configuration modification instructions, and the configuration modification instructions are used to modify configuration parameters of the broadcast server and the terminal;
[0051] The playing module is used to play the audio stream through the speaker according to the broadcast instruction when the hardware of the calling terminal includes a speaker;
[0052] The acquisition module is used to acquire audio data for conversion into an audio stream through the microphone when the hardware of the calling terminal includes a microphone.
[0053] This embodiment solves the problem that the broadcast system cannot be debugged after being installed on site. In the absence of a physical broadcast terminal, this solution can be used to remotely debug the broadcast system, so that the entire broadcast system can be put into use more quickly.
[0054] This embodiment has its own configuration window, and there is no need to use a dedicated configuration tool to modify the broadcast-bound server. Users can directly set up through the configuration window provided by this solution, achieving fast and convenient configuration operations.
[0055] The following is the second embodiment of the present invention. The difference between this embodiment and the first embodiment is that the terminal is a personal computer using the Windows operating system, calling the computer's network card, sound card and other functional modules, and using the waveInOpen and other interfaces in the system SDK to simulate the IO interface of the broadcast system hardware.
[0056] The audio stream format sent by the terminal to the server includes the following:
[0057] Audio header: Specific bytes are used to identify the start of the frame structure and the product line;
[0058] Audio tag: unique identifier of the audio stream;
[0059] Audio channel: identifies the audio mixing logic;
[0060] Audio length, frame index, check bit: used for integrity checking and completion mechanism.
[0061] An example of a broadcast instruction in a program is as follows:
[0062] {
[0063] "call_codes":[0],
[0064] "task_type":EIPTaskType,
[0065] "attribute":0
[0066] }
[0067] The server will look up the corresponding volume, playback content and other parameters based on the terminal that initiated the task and the reported call_codes. EIPTaskType is the task type, which includes four types of tasks:
[0068] Broadcast task, IPTT_BROADCAST=Ox01;
[0069] Intercom task, IPTT_TALK = 0x02;
[0070] Monitoring task, IPTT_MONITOR=0x03;
[0071] Quick task, IPTT_SHORTCUT_TASK=Ox04.
[0072] After the broadcast instruction is sent to the terminal, it is directly reflected in the playing of the audio stream. In different broadcast systems, the form and content of the broadcast instruction may be different, which has no impact on the method of this embodiment.
[0073] In step S21 of this embodiment, the network port of the terminal is called to establish a communication connection with the broadcast server, specifically:
[0074] S211, setting a virtual MAC address on the terminal, and establishing a network communication connection with the broadcast server through a UDP communication protocol based on protobu f;
[0075] S212, the terminal sends a protobuf heartbeat packet to the 8803 port of the broadcast server through a timer to simulate the process of the power amplifier hardware going online;
[0076] S213, the server controls the hardware operation of the broadcasting system simulated by the terminal by sending a protobuf instruction to port 5121 of the terminal;
[0077] S214. The terminal continues to receive the protobuf instructions sent by the server, and obtains and displays the running status of the server and the terminal, as well as the network connection status.
[0078] The port number of the transmission protocol can be specifically configured or modified according to actual needs and is not limited to the above ports or commonly used ports.
[0079] When multiple simulation software are running on a single computer at the same time, each simulation software will set a different virtual MAC address. You can use only one computer or multiple computers to cooperate to achieve the following test process:
[0080] Broadcast test process:
[0081] Terminal A sends audio stream -> server forwards audio stream -> terminal B plays audio stream
[0082] The intercom test process is equivalent to two two-way broadcast tasks being performed simultaneously:
[0083] Terminal A sends the audio stream -> the server forwards the audio stream -> terminal B plays the audio stream;
[0084] Terminal B sends the audio stream -> the server forwards the audio stream -> terminal A plays the audio stream.
[0085] When it is necessary to simulate the hardware devices of multiple broadcast systems with one terminal, the input and output of the multi-channel broadcast system hardware IO can be simulated by reading and writing local media files; specifically, the media files can be read by running the ffmpeg program on the terminal to simulate the multi-channel input and output of the IO interface of the multi-channel broadcast system hardware.
[0086] The process of implementing broadcasting through two terminals in this embodiment is as follows:
[0087] 1. The calling terminal sends a "task initiation instruction" which mainly includes a "terminal unique identifier" and an "operation code";
[0088] 2. The server searches for task parameters based on the terminal's unique identifier and operation code;
[0089] 3. The server determines whether the task can be initiated successfully based on the task parameters;
[0090] 4. The task is successfully initiated to notify the calling terminal to send the audio stream, which is continuously sent;
[0091] 5. The server forwards the audio stream to the called terminal and continues to send it;
[0092] 6. The server will also send task information to the called terminal, including display text, playback channel, mixing parameters, etc. Compared with specific physical amplifier equipment, the present invention has a more universal feature and can be deployed on any Windows system connected to the Internet, so that it can be linked with the broadcasting system at any time, reducing the dependence on physical broadcasting, thereby improving the test efficiency and deployment efficiency.
[0093] This embodiment can be used to perform intercom between the host and the sub-control terminal on the existing computer, without the need to allocate two additional IP addresses for two-way communication. Through the implementation of this solution, a simplified communication process can be achieved, and the efficiency and convenience of the system can be improved.
[0094] The specific implementation logic and some key program examples of the simulated broadcast initiator in this embodiment are as follows:
[0095] 1) Network module initiates the task
[0096] 2) Read audio input from the system IO port
[0097] Windows uses the system Mmeapi interface to open the sound card:
[0098] WAVEFORMATEX wavFmtEx;
[0099] wavFmtEx.cbSize=sizeof wavFmtEx;
[0100] wavFmtEx.nSamplesPerSec=WAV_DEFAULT_SAMPLES;
[0101] wavFmtEx.wFormatTag=WAVE_FORMAT_PCM;
[0102] wavFmtEx.nChannels = 1;
[0103] wavFmtEx.wBitsPerSample=16;
[0104] wavFmtEx.nAvgBytesPerSec=WAV_DEFAULT_SAMPLES*16 / 8;
[0105] wavFmtEx.nBlockAlign=1*16 / 8;
[0106] MMRESULTres=waveInOpen(&m_hWavIn,nSoundCardIndex-1,&wavFmtEx,(DWORD_PTR)SoundCardCallback,(DWORD_PTR)this,CALLBACK_FUNCTION);
[0107] Prepare Cache
[0108]
[0109]
[0110] System callback loop to obtain audio data
[0111]
[0112] 3) Analog broadcast called end
[0113] Turn on the sound card
[0114]
[0115]
[0116] Fill in audio data
[0117] WAVEHDR wavhdr;
[0118] wavhdr.lpData=(LPSTR)buffer;
[0119] wavhdr.dwBufferLength=BUFFER_SIZE;
[0120] wavhdr.dwFlags = 0;
[0121] wavhdr.dwLoops = 0;
[0122] waveOutPrepareHeader(hWaveOut,&wavhdr,sizeof(WAVEHDR));
[0123] waveOutWrite(hWaveOut,&wavhdr,sizeof(WAVEHDR)); / / write data
[0124] 4) Analog intercom terminal
[0125] Execute the above acquisition and playback processes simultaneously according to the instructions.
[0126] 5) Simulate multi-terminal parallel tasks
[0127] 1. Receive server instructions to determine the audio stream numbers A and B corresponding to the left and right channels.
[0128] 2. Determine whether the two audio streams are mono. If not, compress them into mono through normalization.
[0129] 3. Mix A and B into a dual-channel audio stream and push it into the system driver. The left and right channels can play the corresponding terminal sounds respectively.
[0130] The following is the third embodiment of the present invention. The difference between this embodiment and the second embodiment is that the terminal is a tablet computer using the Linux operating system, and the alsa interface is used to simulate the IO interface of the broadcast system hardware.
[0131] The simulation software of this embodiment also includes a fault simulation function, which simulates the hardware fault state of the broadcast system by calling the hardware of the terminal to test the working condition of the broadcast system when the hardware fails. For example:
[0132] 1) The simulation terminal is offline;
[0133] After the task is initiated normally, the virtual terminal is closed. The server determines whether the terminal is the sound source of the task. If it is the sound source, the task is destroyed, and a series of business logic is performed.
[0134] 2) Simulate terminal failure;
[0135] Control the virtual terminal to stop sending audio streams, simulating a terminal link-in port failure.
[0136] The program example of this embodiment reading audio input from the system IO port is as follows:
[0137]
[0138]
[0139]
[0140] The following is the fourth embodiment of the present invention. The difference between this embodiment and the first embodiment is that the terminal adopts a specially designed digital circuit board, which is implanted with a system that is the same or similar to the specific hardware in the broadcasting system and is equipped with necessary functional modules such as a sound card and a network card to realize the hardware of the analog broadcasting system. It can also realize the testing and debugging of the broadcasting system without specific broadcasting equipment.
[0141] The present invention also discloses a terminal device, including a processor and a storage device, the storage device is used to store one or more programs; when the one or more programs are executed by the processor, the processor implements the above-mentioned method of generalizing the power amplifier broadcast. The processor can be a central processing unit (CPU), or other general processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The processor is the control center of the test equipment, and various interfaces and lines are used to connect various parts of the entire test equipment.
[0142] The storage device can be used to store computer programs and / or modules. The processor realizes various functions of the terminal device by running or executing the computer programs and / or modules stored in the storage device and calling the data stored in the storage device. The storage device can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the terminal device, etc. In addition, the storage device can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0143] Among them, if the module / unit integrating the equipment for generalizing the power amplifier broadcast is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in at least one computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc.
[0144] It should be noted that the embodiments of the devices and apparatuses described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Claims
1. A method for generalizing power amplifier broadcasting, used to simulate the hardware of the broadcasting system on any terminal that can be connected to the Internet, characterized in that: include: Setting a broadcast server for forwarding broadcast instructions and audio streams; wherein the broadcast instructions include play information and volume information; Simulation software is installed on at least one terminal, and the simulation software calls the hardware of the terminal to perform the following operations: Call the network port of the terminal to establish a communication connection with the broadcast server; The terminal converts the audio data into an audio stream, converts the playback information and volume information into a broadcast command, and sends the two to the broadcast server; The terminal receives the broadcast instruction and audio stream sent by the broadcast server, parses the broadcast instruction, and displays the playback information and volume information contained in the broadcast instruction; Inputting a configuration modification instruction on the terminal, wherein the configuration modification instruction is used to modify configuration parameters of the broadcast server and the terminal; When the hardware of the calling terminal includes a speaker, the audio stream is played through the speaker according to the broadcast instruction; When the hardware of the calling terminal includes a microphone, the audio data for conversion into an audio stream is obtained through the microphone. The step of installing simulation software on at least one terminal, wherein the simulation software calls the hardware of the terminal, further comprises the following sub-steps: By reading and writing local media files, it simulates the input and output of the multicast system hardware IO.
2. A method for generalizing power amplifier broadcasting according to claim 1, characterized in that: The calling terminal's network port establishes a communication connection with the broadcast server, specifically: Set a virtual MAC address on the terminal and establish a network communication connection with the broadcast server through the protobuf-based UDP communication protocol; The terminal sends a protobuf heartbeat packet to the 8803 port of the broadcast server through a timer to simulate the process of the amplifier hardware going online; The server controls the hardware operation of the broadcast system simulated by the terminal by sending protobuf instructions to port 5121 of the terminal; The terminal continuously receives protobuf instructions sent by the server, obtains and displays the running status of the server and terminal, and the network connection status.
3. A method for generalizing power amplifier broadcasting according to claim 2, characterized in that: A plurality of simulation software are simultaneously run on the terminal, and each simulation software is respectively set with a different virtual MAC address.
4. The method for generalizing power amplifier broadcasting according to claim 1, characterized in that: The step of installing simulation software on at least one terminal, wherein the simulation software calls the hardware of the terminal, further comprises the following sub-steps: When the terminal uses the Windows operating system, the waveInOpen interface in the system SDK is used to simulate the IO interface of the broadcast system hardware; When the terminal adopts the Linux operating system, the alsa interface is used to simulate the IO interface of the broadcast system hardware.
5. The method for generalizing power amplifier broadcasting according to claim 1, characterized in that: The simulation software also includes a fault simulation function, which simulates the hardware fault state of the broadcast system by calling the hardware of the terminal to test the working condition of the broadcast system when the hardware fails.
6. A device for universalizing power amplifier broadcasting, used to access any networked terminal to simulate the hardware of the broadcasting system, characterized in that: include: Network module, configuration module, playback module and acquisition module; The network module is used to call the network port of the terminal, establish a communication connection with the broadcast server, convert audio data into an audio stream, convert playback information and volume information into a broadcast instruction, and send the two to the broadcast server; receive the broadcast instruction and audio stream sent by the broadcast server, parse the broadcast instruction, and display the playback information and volume information contained in the broadcast instruction; wherein the broadcast instruction includes audio data, playback information and volume information; The configuration module is used to input configuration modification instructions, and the configuration modification instructions are used to modify configuration parameters of the broadcast server and the terminal; The playing module is used to play the audio stream through the speaker according to the broadcast instruction when the hardware of the calling terminal includes a speaker; The acquisition module is used to obtain audio data for conversion into an audio stream through the microphone when the hardware of the calling terminal includes a microphone. The playback module and the acquisition module, in the process of calling the hardware of the terminal, further include the following sub-steps: By reading and writing local media files, it simulates the input and output of the multicast system hardware IO.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the method for generalizing power amplifier broadcasting according to any one of claims 1 to 5.
Citation Information
Patent Citations
Virtual bluetooth device
US20150256964A1