A method for switching between active and standby networks in a dual-machine hot backup network broadcasting system

By adopting a dual-machine hot backup method in the network broadcasting system and utilizing the interface between the backup amplifier and the main amplifier to realize fault detection and automatic switching, the signal failure problem caused by damage to the main and backup switcher is solved, and the reliability and performance of the system are improved.

CN117614577BActive Publication Date: 2025-09-16广州市迪士普音响科技有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311483417.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-08
Publication Date
2025-09-16
Estimated Expiration
2043-11-08

AI Technical Summary

Technical Problem

In existing network broadcasting systems, due to damage to the master-slave switcher, the master-slave switching function of the signal and power ends will fail, affecting normal broadcasting, and backup cannot be performed when any one or one channel rack-mounted terminal is damaged.

Method used

A network broadcasting system based on dual-machine hot backup is adopted. The fault type is identified and the fault information is uploaded through the network decoding board. The backup input and output interfaces of the backup amplifier and the main amplifier are used to realize the main-backup switching and backup playback without the need for an external switcher. Each main amplifier adopts the fault trunk node bus interface detection mechanism, combined with a short multicast protocol to quickly locate the faulty main amplifier and switch the audio stream to the backup amplifier for playback.

Benefits of technology

It realizes the master-slave switching and backup playback of multiple main amplifiers without the need for a master-slave switcher, improves the reliability and performance of the network broadcasting system, and reduces the impact of faults on audio playback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117614577B_ABST
    Figure CN117614577B_ABST
Patent Text Reader

Abstract

The present invention discloses a master-slave switching method and storage medium of a network broadcasting system based on dual-machine hot backup. The network broadcasting system includes: a network broadcasting host, several main power amplifiers and a backup power amplifier; the network broadcasting host is respectively communicated with each main power amplifier and the backup power amplifier; the backup power amplifier is connected to each main power amplifier in sequence; the master-slave switching method includes: when a failure of any first main power amplifier is detected, switching the backup input of the first main power amplifier to the power output of the first main power amplifier; identifying the failure type of the first main power amplifier through a network decoding board, and uploading the failure information of the first main power amplifier to the network broadcasting host, so that the network broadcasting host sends the audio stream of the first main power amplifier to the backup power amplifier for playback, so as to realize the master-slave switching and backup playback of multiple main power amplifiers without the need for a master-slave switcher, reduce the influence of the master-slave switcher and various failure types on audio playback, and improve the performance of the network broadcasting system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of network broadcasting, and in particular to a master-slave switching method and a storage medium of a network broadcasting system based on dual-machine hot backup. Background Art

[0002] In existing network broadcasting systems with active / standby switching, the mainframe is configured for dual hot backup, and a master / standby switcher (with integrated line detector) is typically installed on the power supply side. The mainframe sends a digital audio stream to a rack-mounted network terminal, where it is decoded into an analog signal and then fed into the master / standby switcher for master / standby signal switching. This signal is then fed into the master and standby amplifiers, and finally into the master / standby switcher for power switching to the speakers. The master / standby switcher can also detect faults in the speaker circuits, ultimately achieving high reliability and a certain level of integration in the network broadcasting system.

[0003] However, existing network broadcasting systems primarily consist of four key components: a network broadcasting host, a master / slave switcher, a main amplifier, and a backup amplifier. This lacks high integration, and the master / slave switcher still requires extensive and complex wiring in multi-amplifier applications. If the master / slave switcher fails, since both the signal and power supply pass through it, the master / slave switching function on the power side will immediately fail, disrupting normal broadcasting. Furthermore, if any rack-mount terminal or channel fails, the network decoder on that main channel cannot be backed up. Summary of the Invention

[0004] The present invention provides a master-slave switching method and storage medium for a network broadcasting system based on dual-machine hot backup, so as to realize master-slave switching and backup playback of multiple main power amplifiers without the need for a master-slave switcher, reduce the impact of the master-slave switcher and various fault types on audio playback, and improve the performance of the network broadcasting system.

[0005] The present invention provides a method for switching between a master and a backup power amplifier in a network broadcasting system based on dual-machine hot backup. The network broadcasting system comprises: a network broadcasting host, a plurality of master power amplifiers, and a backup power amplifier; the network broadcasting host is respectively connected to the master power amplifiers and the backup power amplifiers; the backup power amplifiers are connected to the master power amplifiers in sequence; wherein the backup input of each master power amplifier is directly or indirectly connected to the power output of the backup power amplifier;

[0006] The active / standby switching method includes:

[0007] When a fault is detected in any one of the first main power amplifiers, the backup input of the first main power amplifier is switched to the power output of the first main power amplifier; the fault type of the first main power amplifier is identified through the network decoding board, and the fault information of the first main power amplifier is uploaded to the network broadcast host, so that the network broadcast host sends the audio stream of the first main power amplifier to the backup power amplifier for playback.

[0008] Furthermore, the backup power amplifier is connected to several of the main power amplifiers in sequence, specifically:

[0009] The faulty main node bus interface of the backup power amplifier is bidirectionally connected to the faulty main node bus interface of any second main power amplifier via a 2-bit bus line; the faulty main node bus interface of the second main power amplifier is bidirectionally connected to the faulty main node bus interface of the remaining main power amplifiers via a 2-bit bus line;

[0010] The power output of the backup power amplifier is connected to the backup input of the second main power amplifier; the backup output of the second main power amplifier is connected to the backup input of the next main power amplifier; the backup output of the previous main power amplifier is connected to the backup input of the next main power amplifier, so that the main power amplifiers are connected in sequence.

[0011] Furthermore, identifying the fault type of the first main power amplifier through the network decoding board and uploading the fault information of the first main power amplifier to the network broadcast host specifically includes:

[0012] The power supply and power amplifier of each main power amplifier are detected through the network decoding board; if the power supply or power amplifier of the first main power amplifier is detected to be damaged, the fault information of the power supply or power amplifier of the first main power amplifier is uploaded to the network broadcast host.

[0013] Furthermore, identifying the fault type of the first main power amplifier through the network decoding board and uploading the fault information of the first main power amplifier to the network broadcast host specifically includes:

[0014] The auxiliary power supply, network decoding board and network cable of each main power amplifier are detected through the network decoding board; if it is detected that the auxiliary power supply is damaged, the network decoding board is damaged or the network cable is bad and causes the network to be interrupted, the first relay in the first main power amplifier is controlled to be in a normally closed contact, triggering the fault trunk node bus interface of the second main power amplifier or the backup power amplifier connected to the first main power amplifier, so that the second main power amplifier or the backup power amplifier receives the fault information of the first main power amplifier and uploads the fault information to the network broadcast host.

[0015] Furthermore, the method further includes: obtaining the audio stream to be played of each main power amplifier, backing it up through the network broadcast host, and sending the audio stream to be played to the corresponding main power amplifier for playing.

[0016] Furthermore, the network broadcast host sends the audio stream of the first main amplifier to the backup amplifier for playback, specifically:

[0017] The network broadcast host obtains the audio stream to be played backed up by the first main power amplifier, and sends the audio stream to be played to the backup power amplifier for playing.

[0018] As a preferred solution, each main power amplifier of the present invention adopts a fault trunk node bus interface detection mechanism, and the faulty main power amplifier can be quickly located through the fault trunk node bus interface connected in sequence to each main power amplifier and a short multicast protocol; in addition, the present invention adopts the power output of the backup power amplifier through the backup input and output interface of the main power amplifier to connect the Nth main power amplifier in series from the first main power amplifier, and switches the backup input of the faulty main power amplifier to the power output of the first main power amplifier, and uploads the fault detection results, including the fault type and fault information, to the network broadcast host, so that the network broadcast host sends the audio stream of the first main power amplifier to the backup power amplifier for playback, thereby realizing the main and backup switching of the digital audio stream.

[0019] The present invention utilizes a method of serially connecting the first main amplifier to the Nth main amplifier via the backup input and output interfaces of the main amplifier, using the power output of the backup amplifier. This method, combined with fault detection results, enables active / standby power signal switching without the need for an external switcher. Through fault detection and automatic active / standby switching, the present invention ensures that damage to any device will not affect normal broadcast operation, improving the reliability of the network broadcasting system. This allows for active / standby switching and backup playback between multiple main amplifiers without the need for an active / standby switcher, reducing the impact of active / standby switches and various fault types on audio playback, and ultimately improving the performance of the network broadcasting system.

[0020] Other features and advantages of the present invention will be described in detail in the following detailed description.

[0021] Accordingly, the present invention also provides a network broadcasting system based on dual-machine hot backup, comprising: a network broadcasting host, a plurality of main power amplifiers and a backup power amplifier; the network broadcasting host is respectively connected to the main power amplifiers and the backup power amplifiers for communication;

[0022] The network broadcast host is used to back up the audio stream to be played of each main power amplifier and send the audio stream to be played to the corresponding main power amplifier for playback;

[0023] Each of the main power amplifiers is used to play its own audio stream;

[0024] The backup power amplifier is used to connect the power output of any first main power amplifier to the power output of the backup power amplifier, and play the audio stream of the first main power amplifier after receiving the audio stream of the first main power amplifier.

[0025] Furthermore, the backup power amplifier is connected to each of the main power amplifiers in sequence, specifically as follows:

[0026] The faulty main node bus interface of the backup power amplifier is bidirectionally connected to the faulty main node bus interface of any second main power amplifier via a 2-bit bus line; the faulty main node bus interface of the second main power amplifier is bidirectionally connected to the faulty main node bus interface of the remaining main power amplifiers via a 2-bit bus line;

[0027] The power output of the backup power amplifier is connected to the backup input of the second main power amplifier; the backup output of the second main power amplifier is connected to the backup input of the next main power amplifier; the backup output of the previous main power amplifier is connected to the backup input of the next main power amplifier, so that the main power amplifiers are connected in sequence.

[0028] Furthermore, each of the main power amplifiers further comprises: a main power supply module, a power amplifier module, an auxiliary power supply module, a network decoding board module, a line detection module and a main-standby switching module;

[0029] The main power supply module is used to supply power to the power amplifier module and the network decoding board module;

[0030] The auxiliary power supply module is used to supply power to the network decoding board module, the main and standby switching module and the line detection module;

[0031] The network decoder module is used to decode the network audio stream and output the analog audio signal to the power amplifier module; perform fault detection on the main power module, power amplifier module, auxiliary power module and line detection module; receive fault information of other main power amplifiers and upload the fault information to the network broadcast host;

[0032] The line detection module is used to detect the status of the speaker line;

[0033] The main-backup switching module is used to switch the backup input of the first main power amplifier to the power output of the first main power amplifier.

[0034] Correspondingly, the present invention also provides a computer-readable storage medium, which includes a stored computer program; wherein, when the computer program is running, it controls the device where the computer-readable storage medium is located to execute a master-slave switching method of a network broadcasting system based on dual-machine hot backup as described in the content of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 This is a flow chart of an embodiment of a method for switching between a master and a slave in a network broadcasting system based on dual-machine hot backup provided by the present invention;

[0036] Figure 2This is a structural diagram of an embodiment of a network broadcasting system based on dual-machine hot backup provided by the present invention;

[0037] Figure 3 This is a structural diagram of another embodiment of the network broadcasting system based on dual-machine hot backup provided by the present invention;

[0038] Figure 4 It is a structural diagram of another embodiment of the network broadcasting system based on dual-machine hot backup provided by the present invention. DETAILED DESCRIPTION

[0039] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0040] Example 1

[0041] Please refer to Figure 1 , an embodiment of the present invention provides a method for switching between a master and a backup network broadcast system based on dual-machine hot backup, the network broadcast system comprising: a network broadcast host, a plurality of master power amplifiers, and a backup power amplifier; the network broadcast host is communicatively connected to each of the master power amplifiers and the backup power amplifiers; the backup power amplifiers are sequentially connected to each of the master power amplifiers; wherein the backup input of each of the master power amplifiers is directly or indirectly connected to the power output of the backup power amplifier;

[0042] The active / standby switching method includes steps S101-S102:

[0043] Step S101: When a failure is detected in any one of the first main power amplifiers, the backup input of the first main power amplifier is switched to the power output of the first main power amplifier;

[0044] Furthermore, the backup power amplifier is connected to several of the main power amplifiers in sequence, specifically:

[0045] The faulty main node bus interface of the backup power amplifier is bidirectionally connected to the faulty main node bus interface of any second main power amplifier via a 2-bit bus line; the faulty main node bus interface of the second main power amplifier is bidirectionally connected to the faulty main node bus interface of the remaining main power amplifiers via a 2-bit bus line;

[0046] The power output of the backup power amplifier is connected to the backup input of the second main power amplifier; the backup output of the second main power amplifier is connected to the backup input of the next main power amplifier; the backup output of the previous main power amplifier is connected to the backup input of the next main power amplifier, so that the main power amplifiers are connected in sequence.

[0047] The power output of the backup power amplifier is directly connected to the backup output of the second main power amplifier; and the other main power amplifiers except the second main power amplifier are indirectly connected to the power output of the backup power amplifier through the main power amplifiers between them.

[0048] Please refer to Figure 2 , is one implementation scheme of the network broadcasting system, comprising: a network broadcasting host, N main power amplifiers (main power amplifiers 1-N) and 1 backup power amplifier; N is a positive integer; the network broadcasting host is connected to each of the main power amplifiers and the backup power amplifier via a LAN (local area network);

[0049] The faulty bus interface of the backup amplifier is bidirectionally connected to the faulty bus interface of the main amplifier 1 via a 2-bit bus line; the faulty bus interface of the main amplifier 1 is bidirectionally connected to the faulty bus interface of the main amplifier 2 via a 2-bit bus line; and so on and so forth, the faulty bus interfaces of the main amplifiers 1-N are connected in turn;

[0050] The power output of the backup amplifier is connected to the backup input of the main amplifier 1; the backup output of the main amplifier 1 is connected to the backup input of the main amplifier 2; the backup output of the previous main amplifier is connected to the backup input of the next main amplifier, and so on, the backup outputs and backup inputs of the main amplifiers 1-N are connected.

[0051] The partition outputs (power outputs) of the main power amplifiers 1-N are respectively connected to the broadcast speakers 1-N to play the audio stream.

[0052] When a failure is detected in any one of the first main power amplifiers, the backup input of the first main power amplifier is switched to the power output (partition output) of the first main power amplifier, so that the broadcast speaker of the first main power amplifier is connected to the backup power amplifier.

[0053] Furthermore, the audio stream to be played of each main power amplifier is obtained, backed up through the network broadcast host, and the audio stream to be played is sent to the corresponding main power amplifier for playing.

[0054] Furthermore, the network broadcast host sends the audio stream of the first main amplifier to the backup amplifier for playback, specifically:

[0055] The network broadcast host obtains the audio stream to be played backed up by the first main power amplifier, and sends the audio stream to be played to the backup power amplifier for playing.

[0056] In this embodiment, the network broadcast host can implement dual-machine hot backup to realize audio source and host backup; the network broadcast host sends one or more digital audio streams to the corresponding main amplifier on demand through the network, and different network broadcast amplifiers can play different digital audio streams as independent partitions and output them to the constant pressure speakers of the partitions to which they belong.

[0057] Step S102: Identify the fault type of the first main power amplifier through the network decoding board, and upload the fault information of the first main power amplifier to the network broadcast host, so that the network broadcast host sends the audio stream of the first main power amplifier to the backup power amplifier for playback.

[0058] Furthermore, identifying the fault type of the first main power amplifier through the network decoding board and uploading the fault information of the first main power amplifier to the network broadcast host specifically includes:

[0059] The power supply and power amplifier of each main power amplifier are detected through the network decoding board; if the power supply or power amplifier of the first main power amplifier is detected to be damaged, the fault information of the power supply or power amplifier of the first main power amplifier is uploaded to the network broadcast host.

[0060] Furthermore, identifying the fault type of the first main power amplifier through the network decoding board and uploading the fault information of the first main power amplifier to the network broadcast host specifically includes:

[0061] The auxiliary power supply, network decoding board and network cable of each main power amplifier are detected through the network decoding board; if it is detected that the auxiliary power supply is damaged, the network decoding board is damaged or the network cable is bad and causes the network to be interrupted, the first relay in the first main power amplifier is controlled to be in a normally closed contact, triggering the fault trunk node bus interface of the second main power amplifier or the backup power amplifier connected to the first main power amplifier, so that the second main power amplifier or the backup power amplifier receives the fault information of the first main power amplifier and uploads the fault information to the network broadcast host.

[0062] To better illustrate this embodiment, please refer to Figure 3 , which is one of the preferred embodiments of the network broadcasting system, comprises: a network broadcasting host, N main power amplifiers (main power amplifiers 1-N) and one backup power amplifier; only the first two main power amplifiers (main power amplifier 1 and main power amplifier 2) are shown in the figure; the network broadcasting host is connected to each of the main power amplifiers and the backup power amplifier via a switch; wherein the switch is connected to the network decoding board of each of the main power amplifiers;

[0063] Each of the main power amplifiers further comprises: a main power supply module, a power amplifier module, an auxiliary power supply module, a network decoding board module, a line detection module and a main-standby switching module;

[0064] The main power supply module is used to supply power to the power amplifier module and the network decoding board module;

[0065] The auxiliary power supply module is used to supply power to the network decoding board module, the main and standby switching module and the line detection module;

[0066] The line detection module is used to detect the status of the speaker line and send the network status of the network cable to the network decoding board module through data communication with the network decoding board module;

[0067] The main-backup switching module is used to switch the backup input of the main power amplifier to the power output of the main power amplifier;

[0068] The network decoder board module is used to decode the network audio stream and output the analog audio signal to the power amplifier module; perform fault detection on the main power module, power amplifier module, auxiliary power module and line detection module; receive fault information of other main power amplifiers and upload the fault information to the network broadcast host through the switch;

[0069] The network decoder board module is bidirectionally connected to the fault dry node bus interface 2 of the main power amplifier 1 through a 2-bit cable; the fault dry node bus interface 2 is bidirectionally connected to the fault dry node bus interface 1 of the backup power amplifier and the fault dry node bus interface 3 of the main power amplifier 2 through a 2-bit cable;

[0070] The fault dry node bus interface includes a first relay K1 and an optocoupler U1; one end of the first relay K1 is connected to the active fault output of the network decoding board, and the other end is connected to the ground GND and the switch respectively; the first end of the optocoupler U1 is connected to the fault detection interface of the network decoding board, the second end is grounded, the third end is connected to the power supply VCC1, and the fourth end is connected to the dry node through the resistor R1; the dry node is connected to the fault dry node bus interface of the previous power amplifier, and is connected to the fault dry node bus interface of the next power amplifier through the switch. The switch can disconnect the fault dry node bus interface of the previous power amplifier (fault dry node bus interface 1 of the standby power amplifier) ​​and the fault dry node bus interface of the next power amplifier (fault dry node bus interface 3 of the main power amplifier 2), and can connect the fault dry node bus interface of the previous power amplifier with the fault dry node bus interface of the next power amplifier.

[0071] The network decoding board of each main power amplifier detects the power supply and power amplifier of each main power amplifier; if it is detected that the power supply or power amplifier of the main power amplifier 1 is damaged, the fault information of the power supply or power amplifier of the main power amplifier 1 is uploaded to the network broadcast host.

[0072] The network decoding board of each main power amplifier detects the auxiliary power supply, network decoding board itself and network cable of each main power amplifier; if it is detected that the auxiliary power supply of the main power amplifier 1 is damaged, the network decoding board itself is damaged or the network cable is bad and causes the network to be interrupted, the first relay K1 in the fault dry node bus interface of the main power amplifier 1 is controlled to be in a normally closed contact, triggering the fault dry node bus interface 3 of the main power amplifier 2 connected to the main power amplifier 1, and the fault dry node bus interface 1 of the backup power amplifier, so that the backup power amplifier and the main power amplifier 2 receive the fault information of the main power amplifier 1, and upload the fault information to the network broadcast host.

[0073] When the auxiliary power supply of main power amplifier 1 and main power amplifier 2 is damaged, the network decoding board itself is damaged, or the network is interrupted due to poor network cable, the first relay K1 of main power amplifier 1 and main power amplifier 2 is in normally closed contact, and the fault information of main power amplifier 1 and main power amplifier 2 will be transmitted to the next main power amplifier or backup power amplifier along the connected fault trunk node bus interface. As long as the network broadcast power amplifier is online, the result detected by U1 optocoupler will be notified to the host through a dedicated network port and a short multicast protocol that there is an amplifier failure. At this time, the broadcast host immediately performs online equipment detection, finds out the offline main power amplifier and switches its audio stream to the backup power amplifier, and finally quickly completes the main and backup switching of digital audio streams without the need for an external switcher.

[0074] The implementation of the present invention has the following effects:

[0075] Each main power amplifier of the present invention adopts a fault trunk node bus interface detection mechanism, and the faulty main power amplifier can be quickly located through the fault trunk node bus interfaces connected in sequence to each main power amplifier and a short multicast protocol; in addition, the present invention adopts the power output of the backup power amplifier through the backup input and output interface of the main power amplifier to connect the Nth main power amplifier in series from the first main power amplifier, and switches the backup input of the faulty main power amplifier to the power output of the first main power amplifier, and uploads the fault detection results, including the fault type and fault information, to the network broadcast host, so that the network broadcast host sends the audio stream of the first main power amplifier to the backup power amplifier for playback, thereby realizing the main and backup switching of the digital audio stream.

[0076] The present invention utilizes a method of serially connecting the first main amplifier to the Nth main amplifier via the backup input and output interfaces of the main amplifier, using the power output of the backup amplifier. This method, combined with fault detection results, enables active / standby power signal switching without the need for an external switcher. Through fault detection and automatic active / standby switching, the present invention ensures that damage to any device will not affect normal broadcast operation, improving the reliability of the network broadcasting system. This allows for active / standby switching and backup playback between multiple main amplifiers without the need for an active / standby switcher, reducing the impact of active / standby switches and various fault types on audio playback, and ultimately improving the performance of the network broadcasting system.

[0077] Example 2

[0078] Please refer to Figure 4 , an embodiment of the present invention provides a network broadcasting system based on dual-machine hot backup, comprising: a network broadcasting host, a plurality of main power amplifiers (main power amplifiers 1-N) and a backup power amplifier; the network broadcasting host is respectively connected to the main power amplifiers and the backup power amplifiers;

[0079] The network broadcast host is used to back up the audio stream to be played of each main power amplifier and send the audio stream to be played to the corresponding main power amplifier for playback;

[0080] Each of the main power amplifiers is used to play its own audio stream;

[0081] The backup power amplifier is used to connect the power output of any first main power amplifier to the power output of the backup power amplifier, and play the audio stream of the first main power amplifier after receiving the audio stream of the first main power amplifier.

[0082] Furthermore, the backup power amplifier is connected to each of the main power amplifiers in sequence, specifically as follows:

[0083] The faulty main node bus interface of the backup power amplifier is bidirectionally connected to the faulty main node bus interface of any second main power amplifier via a 2-bit bus line; the faulty main node bus interface of the second main power amplifier is bidirectionally connected to the faulty main node bus interface of the remaining main power amplifiers via a 2-bit bus line;

[0084] The power output of the backup power amplifier is connected to the backup input of the second main power amplifier; the backup output of the second main power amplifier is connected to the backup input of the next main power amplifier; the backup output of the previous main power amplifier is connected to the backup input of the next main power amplifier, so that the main power amplifiers are connected in sequence.

[0085] Furthermore, each of the main power amplifiers further comprises: a main power supply module, a power amplifier module, an auxiliary power supply module, a network decoding board module, a line detection module and a main-standby switching module;

[0086] The main power supply module is used to supply power to the power amplifier module and the network decoding board module;

[0087] The auxiliary power supply module is used to supply power to the network decoding board module, the main and standby switching module and the line detection module;

[0088] The network decoder module is used to decode the network audio stream and output the analog audio signal to the power amplifier module; perform fault detection on the main power module, power amplifier module, auxiliary power module and line detection module; receive fault information of other main power amplifiers and upload the fault information to the network broadcast host;

[0089] The line detection module is used to detect the status of the speaker line;

[0090] The main-backup switching module is used to switch the backup input of the first main power amplifier to the power output of the first main power amplifier.

[0091] The aforementioned network broadcast system based on dual-machine hot backup can implement the master-slave switching method for a network broadcast system based on dual-machine hot backup described in the aforementioned method embodiment. The optional options in the aforementioned method embodiment also apply to this embodiment and will not be described in detail here. The remaining contents of the embodiments of this application can be referenced to the contents of the aforementioned method embodiment and will not be further described in this embodiment.

[0092] Example 3

[0093] Correspondingly, the present invention also provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the master-slave switching method of the network broadcasting system based on dual-machine hot backup as described in any one of the above embodiments.

[0094] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program in the terminal device.

[0095] The terminal device may be a computing device such as a desktop computer, a notebook computer, a PDA, a cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.

[0096] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal device, connecting various parts of the entire terminal device using various interfaces and lines.

[0097] The memory can be used to store the 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 memory and calling the data stored in the memory. The memory 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 mobile terminal, etc. In addition, the memory 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 device.

[0098] Wherein, if the module / unit integrated in the terminal device 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 process 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 a computer-readable storage medium, and when the computer program is executed by the processor, it can implement the steps of the above-mentioned various method embodiments. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.

[0099] The specific embodiments described above further illustrate the objectives, technical solutions, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included within the scope of protection of the present invention for those skilled in the art.

Claims

1. A method for switching between active and standby systems of a network broadcasting system based on dual-machine hot backup, characterized in that: The network broadcasting system includes: a network broadcasting host, several main power amplifiers and a backup power amplifier; the network broadcasting host is respectively connected to the main power amplifiers and the backup power amplifiers; the backup power amplifiers are connected to the main power amplifiers in sequence; wherein the backup input of each main power amplifier is directly or indirectly connected to the power output of the backup power amplifier; The active / standby switching method includes: When a failure is detected in any one of the first main power amplifiers, the backup input of the first main power amplifier is switched to the power output of the first main power amplifier; the failure type of the first main power amplifier is identified by the network decoding board, and the failure information of the first main power amplifier is uploaded to the network broadcast host, so that the network broadcast host sends the audio stream of the first main power amplifier to the backup power amplifier for playback; The backup power amplifier is connected to each of the main power amplifiers in sequence, including: The faulty main node bus interface of the backup power amplifier is bidirectionally connected to the faulty main node bus interface of any second main power amplifier via a 2-bit bus line; the faulty main node bus interface of the second main power amplifier is bidirectionally connected to the faulty main node bus interface of the remaining main power amplifiers via a 2-bit bus line; The identifying the fault type of the first main power amplifier by the network decoding board and uploading the fault information of the first main power amplifier to the network broadcast host specifically includes: The auxiliary power supply, network decoding board and network cable of each main power amplifier are detected through the network decoding board; if it is detected that the auxiliary power supply is damaged, the network decoding board is damaged or the network cable is bad and causes the network to be interrupted, the first relay in the first main power amplifier is controlled to be in a normally closed contact, triggering the fault trunk node bus interface of the second main power amplifier or the backup power amplifier connected to the first main power amplifier, so that the second main power amplifier or the backup power amplifier receives the fault information of the first main power amplifier and uploads the fault information to the network broadcast host.

2. The method for switching between a master and a slave of a network broadcast system based on dual hot backup according to claim 1, wherein: The backup power amplifier is connected to each of the main power amplifiers in sequence, further comprising: The power output of the backup power amplifier is connected to the backup input of the second main power amplifier; the backup output of the second main power amplifier is connected to the backup input of the next main power amplifier; the backup output of the previous main power amplifier is connected to the backup input of the next main power amplifier, so that the main power amplifiers are connected in sequence.

3. The method for switching between a master and a slave in a network broadcasting system based on dual hot backup according to claim 1, wherein: The method of identifying the fault type of the first main power amplifier by the network decoding board and uploading the fault information of the first main power amplifier to the network broadcast host is replaced with: The power supply and power amplifier of each main power amplifier are detected through the network decoding board; if the power supply or power amplifier of the first main power amplifier is detected to be damaged, the fault information of the power supply or power amplifier of the first main power amplifier is uploaded to the network broadcast host.

4. The method for switching between a master and a slave in a network broadcasting system based on dual hot backup according to claim 1, wherein: Also includes: The audio stream to be played of each main power amplifier is obtained, backed up through the network broadcast host, and the audio stream to be played is sent to the corresponding main power amplifier for playing.

5. The method for switching between a master and a slave in a network broadcasting system based on dual hot backup according to claim 4, characterized in that: The network broadcast host sends the audio stream of the first main amplifier to the backup amplifier for playback, specifically: The network broadcast host obtains the audio stream to be played backed up by the first main power amplifier, and sends the found audio stream to be played to the backup power amplifier for playing.

6. A network broadcasting system based on dual-machine hot backup, used to implement the active / standby switching method of the network broadcasting system based on dual-machine hot backup according to any one of claims 1 to 5, characterized in that: include: Internet radio host, several main amplifiers and one backup amplifier; The network broadcast host is respectively connected to the main power amplifier and the backup power amplifier for communication; The network broadcast host is used to back up the audio stream to be played of each main power amplifier and send the audio stream to be played to the corresponding main power amplifier for playback; Each of the main power amplifiers is used to play its own audio stream; The backup power amplifier is configured to connect the power output of the backup power amplifier to the power output of any one of the first main power amplifiers, and play the audio stream of the first main power amplifier after receiving the audio stream of the first main power amplifier; The backup power amplifier is connected to each of the main power amplifiers in sequence, including: The faulty main node bus interface of the backup power amplifier is bidirectionally connected to the faulty main node bus interface of any second main power amplifier via a 2-bit bus line; the faulty main node bus interface of the second main power amplifier is bidirectionally connected to the faulty main node bus interface of the remaining main power amplifiers via a 2-bit bus line; Each of the main power amplifiers includes: a network decoding board; Identifying the fault type of the first main power amplifier through the network decoding board and uploading the fault information of the first main power amplifier to the network broadcast host specifically includes: The auxiliary power supply, network decoding board and network cable of each main power amplifier are detected through the network decoding board; if it is detected that the auxiliary power supply is damaged, the network decoding board is damaged or the network cable is bad and causes the network to be interrupted, the first relay in the first main power amplifier is controlled to be in a normally closed contact, triggering the fault trunk node bus interface of the second main power amplifier or the backup power amplifier connected to the first main power amplifier, so that the second main power amplifier or the backup power amplifier receives the fault information of the first main power amplifier and uploads the fault information to the network broadcast host.

7. A network broadcasting system based on dual-machine hot backup as claimed in claim 6, characterized in that: The backup power amplifier is connected to each of the main power amplifiers in sequence, further comprising: The power output of the backup power amplifier is connected to the backup input of the second main power amplifier; the backup output of the second main power amplifier is connected to the backup input of the next main power amplifier; the backup output of the previous main power amplifier is connected to the backup input of the next main power amplifier, so that the main power amplifiers are connected in sequence.

8. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored computer program; wherein, when the computer program is running, it controls the device where the computer-readable storage medium is located to execute a master-slave switching method of a network broadcasting system based on dual-machine hot backup as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Cross-device main / standby power amplifier switching system

    CN213906905U