Broadcast management method and device, equipment and storage medium

By selecting the target terminal with high hardware performance from the candidate terminals in the network broadcasting system as the new master server, the system downtime problem caused by the failure of the central server is solved, the continuity and stability of the broadcasting system are improved, and the Hardware resource utilization rate.

CN119011314APending Publication Date: 2024-11-22GUANGZHOU BAOLUN ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411113313.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The existing network broadcasting system relies on the central server to handle and control all broadcast tasks, causing the central server to become a single source of failure of the entire system. If the central server fails or software crashes, the entire system will not be able to operate normally, affecting public safety and Timeliness of information transmission.

Method used

When the main server is in a fault state, the target terminal is selected from the candidate terminal as the new main server, adjust the task management operation of the broadcast system, improve the system's continuity and stability, and optimize the terminal resource utilization rate of different hardware performances.

Benefits of technology

By switching to the candidate terminal when the main server fails, the continuity and stability of the broadcast system are ensured, the risk of single point of failure is reduced, the utilization rate of hardware resources is improved, and the timeliness of information transmission is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119011314A_ABST
    Figure CN119011314A_ABST
Patent Text Reader

Abstract

Disclosed in an embodiment of the present invention are a broadcast management method, apparatus and device, and a storage medium, applied to a broadcast system, the broadcast system comprising a plurality of candidate terminals, the method comprising: when a current master server of the broadcast system is in a fault state, according to service capability parameters of the candidate terminals, determining the service capability parameters of the candidate terminals; determining a target terminal from the plurality of candidate terminals; wherein the service capability parameter is a parameter representing the hardware performance of the candidate terminal; and adjusting a current main server of the broadcasting system to be the target terminal, and executing a task management operation corresponding to the main server based on the target terminal. According to the technical scheme of the embodiment of the invention, the problem that the existing broadcasting system depends on the main server to carry out broadcasting task management and the information transmission timeliness is insufficient when the main server fails is solved, the target terminal can be selected from the candidate terminals to serve as a new main server when the main server is in the failure state, and the user experience is improved. The continuity and the stability of a broadcasting system are improved, and the utilization rate of terminal resources with different hardware performances can also be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the technical field of broadcast system management, and in particular to a broadcast management method, apparatus, device and storage medium. Background Art

[0002] The network broadcasting system is a system that transmits and manages broadcast content based on network technology. It is widely used in public places such as stations, airports, schools, and parks. It can broadcast messages such as subway arrival notices and airplane arrival and departure notices, as well as play background music. The system has multiple functions, including manual broadcasting, manual on-demand, automatic broadcasting, and multi-party intercom. The network broadcasting system is usually composed of terminal devices such as embedded sound output amplifiers, broadcast and intercom audio microphones, as well as operating consoles with operating systems and paging microphones.

[0003] The existing network broadcasting system relies on the central server to process and control all broadcasting tasks. This architectural design makes the central server a single point of failure for the entire system. Once the central server has a hardware failure, software crash, or network connection failure, the entire system will not be able to operate normally. In high-demand application scenarios (such as airports and stations), the stability and continuity of the broadcasting system are crucial. Broadcasting failures caused by central server failures will seriously affect public safety and the timeliness of information delivery. Summary of the invention

[0004] The embodiments of the present invention provide a broadcast management method, apparatus, device and storage medium, which can select a target terminal from candidate terminals as a new main server when the main server is in a faulty state, thereby improving the continuity and stability of the broadcast system and improving the utilization rate of terminal resources with different hardware performances.

[0005] In a first aspect, an embodiment of the present invention provides a broadcast management method, the method comprising:

[0006] In the case that the current main server of the broadcast system is in a fault state, determining a target terminal from the multiple candidate terminals according to a service capability parameter of the candidate terminal; wherein the service capability parameter is a parameter indicating the hardware performance of the candidate terminal;

[0007] The current main server of the broadcast system is adjusted to the target terminal, and the task management operation corresponding to the main server is performed based on the target terminal.

[0008] In a second aspect, an embodiment of the present invention provides a broadcast management device, the device comprising:

[0009] a target terminal determination module, configured to determine a target terminal from the plurality of candidate terminals according to a service capability parameter of the candidate terminal when the current main server of the broadcast system is in a fault state; wherein the service capability parameter is a parameter indicating the hardware performance of the candidate terminal;

[0010] The target terminal management module adjusts the current main server of the broadcast system to the target terminal, and performs task management operations corresponding to the main server based on the target terminal.

[0011] In a third aspect, an embodiment of the present invention provides a computer device, the computer device comprising:

[0012] one or more processors;

[0013] A memory for storing one or more programs;

[0014] When the one or more programs are executed by the one or more processors, the one or more processors implement the broadcast management method described in any embodiment.

[0015] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the broadcast management method described in any one of the embodiments.

[0016] The technical solution provided by the embodiment of the present invention determines the target terminal from the multiple candidate terminals according to the service capability parameters of the candidate terminals when the current main server of the broadcast system is in a faulty state; wherein the service capability parameters are parameters representing the hardware performance of the candidate terminals; the current main server of the broadcast system is adjusted to the target terminal, and the task management operation corresponding to the main server is performed based on the target terminal. The technical solution of the embodiment of the invention solves the problem that the existing broadcast system relies on the main server for broadcast task management and there is insufficient timeliness in information transmission when the main server fails. When the main server is in a faulty state, the target terminal can be selected from the candidate terminals as the new main server, thereby improving the continuity and stability of the broadcast system, and also improving the utilization rate of terminal resources with different hardware performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 is a flow chart of a broadcast management method provided by an embodiment of the present invention;

[0018] Figure 2 is a flow chart of another broadcast management method provided by an embodiment of the present invention;

[0019] Figure 3 is a structural diagram of a broadcast management device provided by an embodiment of the present invention;

[0020] Figure 4 It is a structural schematic diagram of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0021] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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.

[0022] Figure 1 It is a flow chart of a broadcast management method provided by an embodiment of the present invention. The embodiment of the present invention can be applied to the scenario of managing the main server of the broadcast system. The method can be executed by a broadcast management device, and the device can be implemented by software and / or hardware.

[0023] like Figure 1 As shown, the broadcast management method includes the following steps:

[0024] S110: When the current main server of the broadcast system is in a fault state, determine a target terminal from the multiple candidate terminals according to the service capability parameters of the candidate terminals.

[0025] The current main server may be the main server of the broadcast system that currently executes the broadcast control task. The main server may be understood as a server of the broadcast system, which is used to distribute the broadcast task to the corresponding candidate terminal so that the candidate terminal executes the received broadcast task. Furthermore, based on a preset detection cycle, it is possible to detect whether the interaction status between the current main server and other terminals in the broadcast system is normal. If the interaction status is normal, it is a non-fault state, otherwise it is a fault state.

[0026] Furthermore, the candidate terminal may be a terminal that can be used as a main server in the broadcast system. Specifically, the candidate terminal may be specified manually. Exemplarily, the terminal that executes the broadcast task may be used as a candidate terminal. The service capability parameter is a parameter that represents the hardware performance of the candidate terminal. Among them, the size of the service capability parameter is proportional to the hardware performance of the candidate terminal, that is, the higher the hardware performance of the candidate terminal, the higher the corresponding service capability parameter. Exemplarily, the service capability parameter of the candidate device may be set in advance manually. The target terminal may be a terminal that can be used as the next main server corresponding to the current main server. Specifically, the terminal with the largest service capability parameter among the candidate terminals may be used as the target terminal.

[0027] S120: Adjust the current main server of the broadcast system to the target terminal, and perform task management operations corresponding to the main server based on the target terminal.

[0028] The task management operation may be an unfinished task management operation of the original current main server. Specifically, after the current main server of the broadcast system is adjusted to the target terminal, the unfinished broadcast task of the current main server may be synchronized to the target terminal so that the target terminal continues to perform the broadcast task.

[0029] The technical solution provided by the embodiment of the present invention determines the target terminal from multiple candidate terminals according to the service capability parameters of the candidate terminals when the current main server of the broadcast system is in a faulty state; wherein the service capability parameters are parameters representing the hardware performance of the candidate terminals; adjusts the current main server of the broadcast system to the target terminal, and performs the task management operation corresponding to the main server based on the target terminal. The technical solution of the embodiment of the present invention solves the problem that the existing broadcast system relies on the main server for broadcast task management and there is insufficient timeliness in information transmission when the main server fails. When the main server is in a faulty state, the target terminal can be selected from the candidate terminals as the new main server, thereby improving the continuity and stability of the broadcast system, and also improving the utilization rate of terminal resources with different hardware performance.

[0030] Figure 2 It is another flow chart of a broadcast management method provided by an embodiment of the present invention. The embodiment of the present invention can be applied to the scenario of managing the main server of the broadcast system. Based on the above embodiment, this embodiment further illustrates how to determine the target terminal from multiple candidate terminals based on the service capability parameters of the candidate terminals. The device can be implemented by software and / or hardware and integrated in a computer device with application development function.

[0031] like Figure 2 As shown, the broadcast management method includes the following steps:

[0032] S210. When the current main server of the broadcast system is in a faulty state, sort the multiple candidate terminals based on the service capability parameter, and determine at least one preferred terminal based on the sorting result.

[0033] Among them, the current main server can be the main server that currently executes the broadcast control task of the broadcast system. Among them, the main server can be understood as a server of the broadcast system, which is used to distribute the broadcast task to the corresponding candidate terminal so that the candidate terminal executes the received broadcast task. Further, the candidate terminal can be a terminal that can serve as a main server in the broadcast system. Specifically, the candidate terminal can be manually specified. Exemplarily, the execution terminal of the broadcast task can be used as a candidate terminal. The service capability parameter is a parameter representing the hardware performance of the candidate terminal. Among them, the size of the service capability parameter is proportional to the hardware performance of the candidate terminal, that is, the higher the hardware performance of the candidate terminal, the higher the corresponding service capability parameter. Exemplarily, the service capability parameter of the candidate device can be set in advance by humans.

[0034] Furthermore, the terminals may be sorted in descending or ascending order based on the service capability parameters. The preferred terminal may be a candidate terminal that is preferentially selected as the primary server. Specifically, the candidate terminal with the largest service capability parameter may be selected as the preferred terminal according to the sorting result.

[0035] S220: When the number of the preferred terminal is one, use the preferred terminal as a target terminal.

[0036] The target terminal may be a terminal that can be used as the next master server corresponding to the current master server. When the number of preferred terminals is one, it means that the preferred terminal is the terminal with the best hardware performance among the candidate terminals, so the preferred terminal can be used as the target terminal. By using the candidate terminal with the highest service capability parameter as the target terminal, the hardware performance of the master server in the broadcast system can be guaranteed as much as possible, so that the master server can handle a variety of broadcast control tasks based on its own good hardware performance, and ensure the reasonable operation of the broadcast system.

[0037] Optionally, when there are multiple preferred terminals, the target terminal may be determined from the preferred terminals based on the terminal numbers of the preferred terminals.

[0038] Among them, the terminal number can be a unique identification number of the terminal. Specifically, each candidate terminal has a preset separate terminal number. When there are multiple preferred terminals, it means that there are multiple candidate terminals in the broadcast system with relatively high hardware performance, that is, there are multiple preferred terminals with the same service capability parameters. At this time, one terminal can be selected from the preferred terminals as the target terminal according to the terminal number of the preferred terminal. Exemplarily, the terminal with the smallest terminal number among the preferred terminals can be selected as the target terminal, or the preferred terminal with the largest terminal number can be selected as the target terminal.

[0039] Optionally, after determining the target terminal from multiple candidate terminals, an alternative terminal may be determined from the multiple candidate terminals based on the service capability parameters of the candidate terminals. The alternative terminal is the target terminal and is the preferred replacement terminal corresponding to the target terminal. Exemplarily, a terminal with a higher service capability parameter may also be selected from the candidate terminals as the preferred replacement terminal corresponding to the target terminal. The preferred replacement terminal may be understood as a terminal that preferentially replaces the target terminal to become the main server after the target terminal fails.

[0040] Exemplarily, when the target terminal as the current main server is in a faulty state, the current main server can be adjusted to an alternative terminal, and then a new alternative terminal can be determined from multiple candidate terminals based on the service capability parameters of the candidate terminals. That is, when the target terminal is a faulty terminal, the alternative terminal can directly replace the target terminal to become the new current main server. Furthermore, after the alternative terminal becomes the current server, the alternative terminal corresponding to the new current main server can also be determined from the candidate terminals. The specific method for determining the new alternative terminal can refer to the above-mentioned determination steps. By determining the alternative terminal corresponding to the target terminal after determining the target terminal, the alternative terminal can be immediately adjusted to the current server after the target terminal as the current main server fails, which greatly reduces the retention time of the main server in a blank state during the screening process of determining the next main server, and improves the broadcast task management efficiency of the entire broadcast system.

[0041] In the process of selecting target terminals and candidate terminals, the terminal status of the candidate terminals can also be analyzed. Only when the candidate terminals are in normal status can they be qualified as target terminals or candidate terminals. In addition, the terminals replaced from the main server can be marked as non-candidate terminals. In other words, the replaced terminals no longer participate in the screening process of new target terminals or candidate terminals, avoiding the interference of the terminals in the fault state on the screening process.

[0042] Optionally, when determining whether the current main server of the broadcast system is in a faulty state, the channel interaction state corresponding to each candidate terminal can be determined based on the interaction data between the candidate terminal and the current main server; when the number of candidate terminals whose channel interaction state is abnormal is greater than a preset threshold, it is determined that the current main server is in a faulty state.

[0043] Among them, the channel interaction state can be the interaction state between the candidate terminal and the current main server. Exemplarily, a heartbeat message test can be performed between the candidate terminal and the current main server. If the reception and transmission of the heartbeat message are normal, it can be determined that the channel interaction state is normal, otherwise it is abnormal. The preset quantity threshold can be a preset reference threshold for whether to replace the current main server. The preset quantity threshold can be set manually. Furthermore, when the number of candidate terminals whose channel interaction state is abnormal is greater than the preset quantity threshold, it can be determined that the current server is in a fault state; then the current server is in a normal state.

[0044] S230: Adjust the current main server of the broadcast system to the target terminal, and perform task management operations corresponding to the main server based on the target terminal.

[0045] Optionally, after adjusting the current main server of the broadcast system to be the target terminal, the to-be-executed task information of the current main server may be synchronized to the target terminal so that the target terminal executes the broadcast control task in the to-be-executed task information.

[0046] Specifically, after the current main server of the broadcast system is adjusted to the target terminal, the task information to be executed of the current main server can be synchronized to the target terminal so that the target terminal can continue to execute the broadcast control task in the task information to be executed.

[0047] For example, in order to better understand the technical solution provided by the present invention, a specific embodiment is introduced below. Specifically, the broadcast management method includes the following steps:

[0048] 1. Implement cross-platform deployment of server software system:

[0049] Develop a cross-platform server software system with all the functions of a network broadcast system controller, including task management (such as task initiation, termination and current running task list) and terminal management (such as online status of broadcast playback terminals and terminal list management).

[0050] The software has a service capability weight, which is determined by the hardware performance of the device. The service capability weight of dedicated server hardware is 100, indicating the number of tasks initiated and terminal management that can support the maximum load of the system. General embedded terminals have a lower service capability weight due to their weak hardware performance.

[0051] 2. Initial configuration and master server update:

[0052] 1. All broadcast terminals initially configure the server with a service capability weight of 100 as the primary server. If a terminal determines that the primary and backup servers are unavailable (such as heartbeat timeout), a proposal to update the primary server is initiated to all terminals.

[0053] 2. Coordinate whether the main server needs to be updated through the preset fault detection algorithm. If it is finally determined that an update is required, the terminal will elect a new main server through the weighted priority election algorithm. The elected new main server will notify all terminals to update the configuration.

[0054] 3. Election of backup server and data synchronization:

[0055] 1. After the new master server is elected, it will elect a backup server through a weighted priority election algorithm. After the election is completed, the data between the master server and the backup server will be synchronized in real time. The synchronized data includes the currently initiated broadcast tasks, terminal status, audio files, and database static data.

[0056] 4. Prioritize the recovery of high-weight servers:

[0057] 1. When the server with a weight of 100 comes back online, all terminals are notified to update the new primary server, and the new primary server elects a new backup server. In this way, the system always keeps the primary and backup servers running to ensure service continuity and stability, and gives priority to the use of dedicated server hardware with a service capacity weight of 100.

[0058] 5. Failure switching and real-time synchronization:

[0059] When a terminal determines that the primary server is unavailable but the backup server is available, it issues a proposal to switch the primary server to the backup server. After the proposal is passed, the terminal notifies the new primary server as the former backup server. The new primary server then elects a new backup server through a weighted priority election algorithm and synchronizes data with it in real time.

[0060] The system always has a server to provide services, and the terminal reports status and executes instructions to it. For example:

[0061] When a broadcast task is initiated, the broadcast console obtains all broadcast terminals and online status from the current main server, and then selects the broadcast terminal from the terminal list. The audio stream is pushed from the broadcast console to the streaming media forwarding module, and the streaming media forwarding module then forwards the audio stream to the terminal selected for playback.

[0062] When an audio file playback task is initiated, the current main server reads the audio file and pushes it to the system's streaming media forwarding module, and then the streaming media forwards the audio file stream to the playback terminal.

[0063] The embodiments of the present invention have the following beneficial effects:

[0064] 1. Enhance system reliability and stability

[0065] By coordinating the update and election of the primary server, the system can quickly switch to the backup server when the primary server is unavailable, reducing the risk of single point failure. The system always keeps the primary and backup servers running to ensure service continuity and stability.

[0066] 2. Optimize hardware resource utilization

[0067] According to the service capability weight, terminal resources with different hardware performance are fully utilized to achieve the optimal configuration of system resources. Dedicated server hardware with a service capability weight of 100 is given priority to provide services to improve the overall performance and efficiency of the system.

[0068] 3. Improve system scalability and flexibility

[0069] Through the cross-platform deployment design, the system can adapt to different hardware platforms and operating systems, improve the scalability and flexibility of the system, and enhance the user experience.

[0070] The technical solution provided by the embodiment of the present invention is to sort the multiple candidate terminals based on the service capability parameters when the current main server of the broadcast system is in a faulty state, and determine at least one preferred terminal based on the sorting result; when the number of the preferred terminals is one, use the preferred terminal as the target terminal; adjust the current main server of the broadcast system to the target terminal, and perform the task management operation corresponding to the main server based on the target terminal. The technical solution of the embodiment of the present invention solves the problem that the existing broadcast system relies on the main server for broadcast task management and there is insufficient timeliness in information transmission when the main server fails. When the main server is in a faulty state, the target terminal can be selected from the candidate terminals as the new main server, thereby improving the continuity and stability of the broadcast system, and also improving the utilization rate of terminal resources with different hardware performance.

[0071] Figure 3 It is a structural diagram of a broadcast management device provided by an embodiment of the present invention. The embodiment of the present invention can be applied to the scenario of managing the main server of the broadcast system. The device can be implemented by software and / or hardware and integrated into a computer device with application development function.

[0072] like Figure 3 As shown, the broadcast management device includes: a target terminal determination module 310 and a target terminal management module 320.

[0073] Among them, the target terminal determination module 310 is used to determine the target terminal from the multiple candidate terminals according to the service capability parameters of the candidate terminals when the current main server of the broadcast system is in a faulty state; wherein the service capability parameters are parameters representing the hardware performance of the candidate terminals; the target terminal management module 320 adjusts the current main server of the broadcast system to the target terminal, and performs task management operations corresponding to the main server based on the target terminal.

[0074] The technical solution provided by the embodiment of the present invention determines the target terminal from the multiple candidate terminals according to the service capability parameters of the candidate terminals when the current main server of the broadcast system is in a faulty state; wherein the service capability parameters are parameters representing the hardware performance of the candidate terminals; the current main server of the broadcast system is adjusted to the target terminal, and the task management operation corresponding to the main server is performed based on the target terminal. The technical solution of the embodiment of the invention solves the problem that the existing broadcast system relies on the main server for broadcast task management and there is insufficient timeliness in information transmission when the main server fails. When the main server is in a faulty state, the target terminal can be selected from the candidate terminals as the new main server, thereby improving the continuity and stability of the broadcast system, and also improving the utilization rate of terminal resources with different hardware performance.

[0075] In an optional implementation, the target terminal determination module 310 is specifically used to: sort the multiple candidate terminals based on the service capability parameters, and determine at least one preferred terminal based on the sorting result; when the number of the preferred terminals is one, use the preferred terminal as the target terminal.

[0076] In an optional implementation, the target terminal determination module 310 includes: a terminal screening unit, configured to: when there are multiple preferred terminals, determine the target terminal from the preferred terminals based on the terminal numbers of the preferred terminals.

[0077] In an optional implementation, the control parameter determination module 320 may also be used to:

[0078] In an optional embodiment, the broadcast management device also includes: an alternative terminal determination module, which is used to: after the target terminal is determined from the multiple candidate terminals, determine an alternative terminal from the multiple candidate terminals based on the service capability parameters of the candidate terminal; wherein the alternative terminal is the target terminal and is a preferred replacement terminal corresponding to the target terminal.

[0079] In an optional embodiment, the broadcast management device also includes: a main server management module, which is used to: when the target terminal serving as the current main server is in a faulty state, adjust the current main server to the alternative terminal; and determine a new alternative terminal from the multiple candidate terminals based on the service capability parameters of the candidate terminal.

[0080] In an optional embodiment, the broadcast management device also includes: a fault status detection module, which is used to: for each candidate terminal, determine the channel interaction status corresponding to the candidate terminal based on the interaction data between the candidate terminal and the current main server; when the number of candidate terminals whose channel interaction status is abnormal is greater than a preset threshold, determine that the current main server is in a fault state.

[0081] In an optional embodiment, the broadcast management device also includes: a task information synchronization module, which is used to: after adjusting the current main server of the broadcast system to the target terminal, synchronize the to-be-executed task information of the current main server to the target terminal, so that the target terminal executes the broadcast control task in the to-be-executed task information.

[0082] The broadcast management device provided in the embodiment of the present invention can execute the broadcast management method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0083] Figure 4 A schematic diagram of the structure of a computer device provided in an embodiment of the present invention. Figure 4 A block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention is shown. Figure 4 The computer device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention. The computer device 12 can be any terminal device with computing capability and can be configured in the broadcast management device.

[0084] like Figure 4 As shown, the computer device 12 is in the form of a general-purpose computing device. The components of the computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that connects various system components (including the system memory 28 and the processing unit 16).

[0085] The bus 18 may be one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. For example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0086] The computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 12, including volatile and non-volatile media, removable and non-removable media.

[0087] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache 32. The computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 4 not shown, usually called a "hard drive"). Although Figure 4 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.

[0088] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. Program modules 42 generally perform the functions and / or methods of the embodiments described herein.

[0089] The computer device 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), one or more devices that enable a user to interact with the computer device 12, and / or any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed through an input / output (I / O) interface 22. Furthermore, the computer device 12 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) through a network adapter 20. Figure 4 As shown, the network adapter 20 communicates with other modules of the computer device 12 via the bus 18. It should be understood that although Figure 4 Not shown, other hardware and / or software modules may be used in conjunction with computer device 12, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0090] The processing unit 16 executes various functional applications and data processing by running the program stored in the system memory 28, for example, implementing the broadcast management method provided by the embodiment of the present invention, the method comprising:

[0091] In the case that the current main server of the broadcast system is in a fault state, determining a target terminal from the multiple candidate terminals according to a service capability parameter of the candidate terminal; wherein the service capability parameter is a parameter indicating the hardware performance of the candidate terminal;

[0092] The current main server of the broadcast system is adjusted to the target terminal, and the task management operation corresponding to the main server is performed based on the target terminal.

[0093] This embodiment provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the broadcast management method provided by any embodiment of the present invention is implemented, including:

[0094] In the case that the current main server of the broadcast system is in a fault state, determining a target terminal from the multiple candidate terminals according to a service capability parameter of the candidate terminal; wherein the service capability parameter is a parameter indicating the hardware performance of the candidate terminal;

[0095] The current main server of the broadcast system is adjusted to the target terminal, and the task management operation corresponding to the main server is performed based on the target terminal.

[0096] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0097] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0098] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0099] Computer program code for performing the operations of the present invention may be written in one or more programming languages ​​or combinations thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0100] It should be understood by those skilled in the art that the modules or steps of the present invention described above can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, optionally, they can be implemented by a program code executable by a computer device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0101] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A broadcast management method, applied to a broadcast system, wherein the broadcast system includes a plurality of candidate terminals, It is characterized in that include: In the case that the current main server of the broadcast system is in a fault state, determining a target terminal from the multiple candidate terminals according to a service capability parameter of the candidate terminal; wherein the service capability parameter is a parameter indicating the hardware performance of the candidate terminal; The current main server of the broadcast system is adjusted to the target terminal, and the task management operation corresponding to the main server is performed based on the target terminal.

2. The method according to claim 1, It is characterized in that The step of determining a target terminal from the plurality of candidate terminals according to the service capability parameters of the candidate terminals comprises: sorting the plurality of candidate terminals based on the service capability parameter, and determining at least one preferred terminal based on the sorting result; When the number of the preferred terminal is one, the preferred terminal is used as the target terminal.

3. The method according to claim 2, It is characterized in that The determining a target terminal from the plurality of candidate terminals according to the service capability parameters of the candidate terminals further includes: In the case that there are multiple preferred terminals, the target terminal is determined from the preferred terminals based on the terminal numbers of the preferred terminals.

4. The method according to claim 1, It is characterized in that After determining the target terminal from the multiple candidate terminals, the method further includes: Based on the service capability parameters of the candidate terminals, a candidate terminal is determined from the multiple candidate terminals; wherein the candidate terminal is a preferred replacement terminal corresponding to the target terminal.

5. The method according to claim 4, It is characterized in that The method further comprises: When the target terminal as the current main server is in a fault state, adjusting the current main server to the alternative terminal; Based on the service capability parameters of the candidate terminals, a new candidate terminal is determined from the multiple candidate terminals.

6. The method according to claim 1, It is characterized in that Determining that the current main server of the broadcasting system is in a fault state includes: For each candidate terminal, determining a channel interaction state corresponding to the candidate terminal according to interaction data between the candidate terminal and the current main server; When the number of candidate terminals whose channel interaction status is abnormal is greater than a preset threshold, it is determined that the current main server is in a fault state.

7. The method according to claim 1, It is characterized in that After adjusting the current main server of the broadcasting system to the target terminal, the method further includes: The task information to be executed of the current main server is synchronized to the target terminal, so that the target terminal executes the broadcast control task in the task information to be executed.

8. A broadcast management device, It is characterized in that The device comprises: a target terminal determination module, configured to determine a target terminal from the plurality of candidate terminals according to a service capability parameter of the candidate terminal when the current main server of the broadcast system is in a fault state; wherein the service capability parameter is a parameter indicating the hardware performance of the candidate terminal; The target terminal management module adjusts the current main server of the broadcast system to the target terminal, and performs task management operations corresponding to the main server based on the target terminal.

9. A computer device, It is characterized in that The computer device comprises: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the broadcast management method as described in any one of claims 1-7.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the broadcast management method as described in any one of claims 1 to 7 is implemented.