A method for offline processing of scheduled broadcast tasks and a supporting broadcast system

By editing and synchronizing timed broadcast tasks on the broadcast host in the digital IP broadcast system, the problem of timed broadcast cannot be performed when the network is disconnected is solved, ensuring that the broadcast terminal can also perform tasks on time while offline, ensuring daily order and time management The smooth progress was carried out.

CN117880751BActive Publication Date: 2024-11-29广州市迪士普音响科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311775111.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-21
Publication Date
2024-11-29
Estimated Expiration
2043-12-21

AI Technical Summary

Technical Problem

The existing digital IP broadcasting system cannot perform timed broadcast tasks when the network is disconnected, affecting daily order and time management.

Method used

Edit the timed broadcast task on the broadcast host and generate the timed broadcast file. Synchronize it to the broadcast terminal through the version number, download and parse the file, and ensure that the terminal can also perform the task while offline.

Benefits of technology

It realizes that the broadcast terminal can still perform timed broadcast tasks on time when it is offline, ensuring the smooth progress of daily order and time management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117880751B_ABST
    Figure CN117880751B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for offline processing of scheduled broadcast tasks and a supported broadcast system. The method comprises the following steps: editing the scheduled broadcast task on the broadcast host to generate a scheduled broadcast file; when the version number of the scheduled broadcast file is inconsistent with the version number locally saved by the broadcast terminal, downloading the scheduled broadcast file from the broadcast host; the broadcast terminal executes the scheduled broadcast task according to the scheduled broadcast file. The present invention generates a scheduled broadcast task on the broadcast host side and backs it up on the broadcast terminal side; when a network problem occurs between the broadcast terminal and the broadcast host, causing the broadcast terminal to be offline, the locally backed-up scheduled broadcast task can be retrieved for scheduled broadcasting. The present invention overcomes the defect that the existing broadcast system cannot trigger scheduled broadcasting in an offline state, and ensures that the work and life of the users of the broadcast system proceed in an orderly manner.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of timed broadcasting, and in particular to an offline processing method for a timed broadcasting task and a supporting broadcasting system. Background Art

[0002] With the development of digital technology, the traditional analog broadcasting system on the market has been gradually replaced by a more advanced, convenient and intelligent digital IP broadcasting system. An important function of the digital IP broadcasting system is the timed broadcasting function. For example, parks can use timed broadcasting to realize the functions of opening and closing broadcasting, scenic spot introduction, park publicity, etc.; schools can use timed broadcasting to realize the timed ringing of classes, the timely broadcasting of eye exercises, the execution of radio gymnastics, the playing of background music during breaks, etc. Timed broadcasting is crucial to the daily order and daytime time management arrangements of schools, parks, enterprises, etc., and brings great convenience to people.

[0003] However, the control of scheduled broadcast in the digital IP broadcast system on the market is completely implemented on the broadcast host side, so the scheduled broadcast can only be executed as scheduled when the network between the broadcast host and the broadcast terminal is unobstructed. Once there is a problem with the network between the broadcast host and the broadcast terminal, such as a damaged switch or a disconnected network cable, the network terminal will be offline and not controlled by the broadcast host, and the scheduled broadcast task cannot be executed normally. Summary of the invention

[0004] In view of this, an embodiment of the present invention provides a method for offline processing of scheduled broadcast tasks and a supporting broadcast system.

[0005] A first aspect of the present invention provides a method for offline processing of a scheduled broadcast task, comprising the following steps:

[0006] Editing a scheduled broadcast task on a broadcast host to generate a scheduled broadcast file; the scheduled broadcast file has a version number;

[0007] The broadcast host sends the version number to the broadcast terminal, and each broadcast terminal determines whether the version number sent by the broadcast host is consistent with the version number of the scheduled broadcast file stored locally in the broadcast terminal; when the version number sent by the broadcast host is inconsistent with the version number of the scheduled broadcast file stored locally in the broadcast terminal, the scheduled broadcast file is downloaded from the broadcast host;

[0008] When the version number sent by the broadcast host is consistent with the version number of the scheduled broadcast file stored locally in the broadcast terminal or the broadcast terminal completes downloading of the scheduled broadcast file, each broadcast terminal executes the scheduled broadcast task separately.

[0009] Furthermore, the editing of the scheduled broadcast task specifically includes the following steps:

[0010] Adding a timing scheme, wherein the timing scheme includes a plurality of timing points;

[0011] Select the audio pointed to by each timing point, and edit the start time and end time of the audio; the audio pointed to by the timing point is identified by an audio ID;

[0012] Selecting a timing point type and an audio playback mode for each of the timing points;

[0013] Select a target broadcast terminal for each of the timing points, and set the playback volume of the audio pointed to by the timing point for each target broadcast terminal; the target broadcast terminal refers to the broadcast terminal that plays the audio pointed to by the timing point;

[0014] The timing scheme is packaged into a timing broadcast file, and a version number of the timing broadcast file is generated.

[0015] Further, the broadcast terminal downloads the scheduled broadcast file from the broadcast host, specifically including the following steps:

[0016] Send a scheduled broadcast file download request to the broadcast host;

[0017] After receiving the scheduled broadcast file download response returned by the broadcast host, download the scheduled broadcast file;

[0018] Parse the downloaded scheduled broadcast file and determine the timing point that the broadcast terminal needs to execute as the target timing point;

[0019] Generate a timing point audio list file according to the audio name pointed to by each target timing point, wherein the timing point audio list file records the audio pointed to by the target timing point with an audio ID;

[0020] According to the timing point audio list file, at least one timing point audio file is downloaded from the broadcast host, and each timing point audio file corresponds to an audio ID in the timing point audio list file.

[0021] Furthermore, the parsing of the downloaded scheduled broadcast file to determine the timing point that the broadcast terminal needs to execute as the target timing point specifically includes the following steps:

[0022] Call the local ID of the broadcast terminal;

[0023] Parsing the target broadcast terminal of each timing point in the timed broadcast file;

[0024] The local identifier is used to perform matching in the target broadcast terminal at each timing point; and the timing point where the matching is successful is used as the target timing point.

[0025] Further, for each of the broadcast terminals, executing the scheduled broadcast task specifically includes the following steps:

[0026] Read the first target timing point in the timing plan;

[0027] When the start time of the audio playback at the target timing point is reached, the audio pointed to by the target timing point is played in the audio playback mode and playback volume set at the target timing point until the end time of the audio playback at the target timing point is reached;

[0028] Read the next target timing point in the timing scheme, return to the start time of the audio playback at the target timing point, and play the audio pointed to by the target timing point in the audio playback mode and playback volume set at the target timing point until all target timing points in the timing scheme are executed.

[0029] Furthermore, before the step of reading the first target timing point in the timing scheme, the following steps are also included:

[0030] It is determined whether the broadcast terminal is in an offline state. When the broadcast terminal is not in an offline state, the step of reading the first target timing point in the timing scheme is not performed.

[0031] Furthermore, the audio playback mode specifically includes a sequential playback mode, a loop playback mode and a random playback mode; the audio pointed to by the target timing point is played in the audio playback mode and playback volume set at the target timing point, specifically including the following steps:

[0032] When the audio playback mode is a sequential playback mode, the audios pointed to by the target timing points are called one by one according to the audio IDs arranged in the target timing points for playback; after all the audios pointed to by the target timing points are played, the standby state is entered;

[0033] When the audio playback mode is a loop playback mode, the audios pointed to by the target timing points are called one by one according to the audio IDs arranged in the target timing points for playback; after all the audios pointed to by the target timing points are played, the audio IDs arranged in the target timing points are reset, and the audios pointed to by the target timing points are called again for playback;

[0034] When the audio playback mode is a random playback mode, the audio pointed to by the target timing point is randomly called for playback.

[0035] A second aspect of the present invention discloses a broadcast system supporting offline scheduled tasks, including a broadcast host and a broadcast terminal;

[0036] The broadcast host is loaded with a scheduled task editing system, and the scheduled broadcast task is edited on the broadcast host through the scheduled task editing system to generate a scheduled broadcast file;

[0037] The broadcast host and the broadcast terminal establish a data transmission channel; the scheduled broadcast file is sent to the broadcast terminal through the data connection channel;

[0038] When the data transmission channel between the broadcast host and the broadcast terminal is interrupted, the broadcast terminal can execute the scheduled broadcast task according to the stored scheduled broadcast file.

[0039] Furthermore, the broadcast terminal includes a core control module, a power amplifier module, a clock module and a storage module;

[0040] When the data transmission channels of the broadcast host and the broadcast terminal are connected, the core control module synchronizes the time of the clock module through the data transmission channel, downloads the scheduled broadcast task and stores it in the storage module;

[0041] When the data transmission channel between the broadcast host and the broadcast terminal is interrupted, the core control module calls the scheduled broadcast task from the storage module according to the time of the clock module, decodes the audio of the scheduled broadcast task into an analog signal and plays it through the power amplifier module.

[0042] Furthermore, an electric energy storage device is provided in the clock module; when the broadcast terminal loses power, the timing of the clock module is maintained by the electric energy storage device.

[0043] The embodiment of the present invention also discloses a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device can read the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the above method.

[0044] The embodiments of the present invention have the following beneficial effects: the present invention provides a method for offline processing of scheduled broadcast tasks and a supported broadcast system, wherein a scheduled broadcast task is generated on the broadcast host side and backed up on the broadcast terminal side; when a network problem occurs between the broadcast terminal and the broadcast host, causing the broadcast terminal to be offline, the locally backed-up scheduled broadcast task can be retrieved for scheduled broadcasting. The present invention overcomes the defect that the scheduled broadcast cannot be triggered in the offline state of the existing broadcast system, and ensures that the work and life of the users of the broadcast system proceed in an orderly manner.

[0045] Additional aspects and advantages of the present invention will be given in part in the following description and, in part, will be obvious from the following description or learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0047] Figure 1 It is a basic implementation flow chart of a method for offline processing of scheduled broadcast tasks of the present invention;

[0048] Figure 2 It is a flow chart of editing a scheduled broadcast task in a method for offline processing of a scheduled broadcast task of the present invention;

[0049] Figure 3 It is a flow chart of downloading scheduled broadcast files in a method for offline processing of scheduled broadcast tasks of the present invention;

[0050] Figure 4 It is a flow chart of execution of a scheduled broadcast task in an offline processing method of a scheduled broadcast task of the present invention;

[0051] Figure 5 It is a schematic diagram of the overall structure of a broadcast system supporting offline timing tasks according to the present invention;

[0052] Figure 6 It is a structural schematic diagram of a broadcast terminal of a broadcast system supporting offline timing tasks of the present invention;

[0053] Figure 7 The present invention is a schematic diagram of the structure of a broadcast terminal clock module of a broadcast system supporting offline timing tasks. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0055] The scheduled broadcast function of the existing digital IP broadcast system can only execute the pre-set broadcast tasks at a fixed time and location when the IP broadcast server and IP broadcast terminal network are unobstructed. Once there is a problem with the network between the broadcast host and the broadcast terminal, such as a damaged switch or a disconnected network cable, the network terminal will be offline and not controlled by the broadcast host, and the scheduled broadcast tasks cannot be executed normally. The failure to execute scheduled tasks will inevitably affect the user's daily work and rest management arrangements, which has a very large impact on the user.

[0056] In view of the above problems, an embodiment of the present invention provides a method for offline processing of scheduled broadcast tasks and a supporting broadcast system.

[0057] The first embodiment of the present invention provides a method for offline processing of a scheduled broadcast task, such as Figure 1 As shown, the following steps are included:

[0058] S1. Edit the scheduled broadcast task on the broadcast host to generate a scheduled broadcast file; the scheduled broadcast file has a version number;

[0059] S2. The version number is sent to the broadcast terminal by the broadcast host, and each broadcast terminal determines whether the version number sent by the broadcast host is consistent with the version number of the scheduled broadcast file saved locally by the broadcast terminal; when the version number sent by the broadcast host is inconsistent with the version number of the scheduled broadcast file saved locally by the broadcast terminal, the scheduled broadcast file is downloaded from the broadcast host;

[0060] S3. When the version number sent by the broadcast host is consistent with the version number of the scheduled broadcast file stored locally in the broadcast terminal or the broadcast terminal completes downloading the scheduled broadcast file, each broadcast terminal performs the scheduled broadcast task.

[0061] The method for offline processing of scheduled broadcast tasks in an embodiment of the present invention is applied to a broadcast system having a broadcast host and a broadcast terminal. The broadcast host is loaded with broadcast service software for processing the establishment, interaction, forwarding, control, audio stream processing and forwarding, broadcast task editing, etc. of heartbeat packets for various broadcast instructions. The broadcast host is connected to broadcast terminals with various functions through a network, and the scheduled broadcast function is realized through the broadcast terminals.

[0062] In step S1, Figure 2 As shown in the figure, editing a scheduled broadcast task includes the following steps:

[0063] S1-1. Add a timing plan, which includes several timing points. In this step, the timing plan is the core control logic of the scheduled broadcast task, which can be expressed as a timeline or a time series; the broadcast system user completes the setting of the scheduled broadcast task by adding timing points in the timing plan, where each timing point corresponds to a time node on the timeline or a value in the time series. The timing point has playback parameters such as serial number, associated audio ID, playback start time, playback end time, target broadcast terminal, and playback volume; complete the setting of the timing point playback parameters in the scheduled task editing interface of the broadcast host to generate a timing plan.

[0064] S1-2. Select the audio pointed to by each timing point, and edit the start time and end time of the audio; the audio pointed to by the timing point is identified by the audio ID. This step is used to select the audio pointed to by the timing point, that is, the audio played by the broadcast terminal when the timing point is executed, which can be a station announcement voice, music, ringtone, slogan, etc. In this embodiment, the audio pointed to by the timing point is stored in the audio database of the broadcast terminal in advance, with the audio ID as a distinguishing mark; in this embodiment, a timing point can point to multiple audios. When selecting the audio pointed to by the timing point, the corresponding audio ID is selected in the audio database and recorded at the timing point. In this embodiment, the start time of the audio playback indicates the starting moment of playing the audio, that is, when the real time reaches the preset start time of playback, the audio pointed to by the timing point is played; the end time of playback indicates the moment when the audio pointed to by the timing point ends, that is, when the real time reaches the preset end time of playback, the audio pointed to by the timing point stops playing.

[0065] S1-3. Select the timing point type and audio playback mode for each timing point.

[0066] In the embodiment of the present invention, the timing point type is used to indicate the triggering period of the timing point, such as one-time triggering, daily triggering, triggering on fixed days of the week, etc.; the audio playback mode indicates the playback mode of the audio between the start time and the end time of the audio playback. In this embodiment, the playback modes include sequential playback, loop playback, and random playback. Sequential playback means that the audio pointed to by the timing point is played in sequence according to the audio ID sequence in the timing point; loop playback is based on sequential playback. When the audio at the end of the audio ID sequence of the timing point is played, the audio at the beginning of the audio ID sequence of the timing point is played again to form a loop; random playback means randomly extracting the audio ID in the timing point to play the audio pointed to by the timing point.

[0067] S1-4. Select the target broadcast terminal at each timing point, and set the playback volume of the audio pointed to by each target broadcast terminal at the playback timing point; the target broadcast terminal refers to the broadcast terminal that plays the audio pointed to by the timing point.

[0068] In this embodiment, although the broadcast host is connected to multiple broadcast terminals, a timing task plan may be set for a specific broadcast terminal in a timing plan, such as setting different timing task plans for playing school bells for different grades and different school dismissal times in a campus environment. Therefore, in this embodiment, the timing point needs to set the target broadcast terminal it points to, and the local identifier of the target broadcast terminal, such as the terminal name, physical address, etc., is recorded in the timing point. At the same time, the playback volume of the audio pointed to by the timing point played by different broadcast terminals is set to meet the needs of the user.

[0069] S1-5. Package the timing plan into a timing broadcast file, and generate a version number for the timing broadcast file.

[0070] After completing the setting of the timing plan, the user packages the timing plan into a timing broadcast file and stores it on the broadcast host, and at the same time, each timing broadcast file is identified by a unique version number.

[0071] S2. The version number is sent to the broadcast terminal by the broadcast host, and each broadcast terminal determines whether the version number sent by the broadcast host is consistent with the version number of the scheduled broadcast file saved locally by the broadcast terminal; when the version number sent by the broadcast host is inconsistent with the version number of the scheduled broadcast file saved locally by the broadcast terminal, the scheduled broadcast file is downloaded from the broadcast host.

[0072] For each broadcast terminal, it may store an old version of the scheduled broadcast file. Different scheduled broadcast files may have different timing points that affect each other, and the broadcast terminal side cannot perceive the scheduled task file of the broadcast terminal. Therefore, when the broadcast terminal is connected to the broadcast host, the broadcast host will send the version number of the latest scheduled broadcast file to the broadcast terminal. The broadcast terminal side compares the version number sent by the broadcast host with the version number of the scheduled broadcast file stored locally in the broadcast terminal to see if they are consistent. If the version numbers are found to be consistent, it means that the scheduled broadcast file currently stored in the broadcast terminal is the latest scheduled broadcast file and does not need to be downloaded; if the version numbers are found to be inconsistent, it means that the broadcast terminal needs to download the latest version of the scheduled broadcast file from the broadcast host and replace the locally stored scheduled broadcast file.

[0073] like Figure 3 As shown, the broadcast terminal downloads the scheduled broadcast file from the broadcast host, which specifically includes the following steps:

[0074] S2-1 sends a scheduled broadcast file download request to the broadcast host;

[0075] S2-2. After receiving the scheduled broadcast file download response returned by the broadcast host, download the scheduled broadcast file.

[0076] In the embodiment of the present invention, the broadcast terminal connects to the download server on the broadcast host side through the TCP reliable connection protocol, logs in, and downloads the latest scheduled broadcast file.

[0077] S2-3. Parse the downloaded scheduled broadcast file and determine the timing point that the broadcast terminal needs to execute as the target timing point.

[0078] After the scheduled broadcast file is downloaded, the broadcast terminal will parse the scheduled broadcast file to determine the timing point that the broadcast terminal needs to execute, which specifically includes the following steps:

[0079] S2-3-1. Call the local identification of the broadcast terminal.

[0080] S2-3-2. Analyze the target broadcast terminal at each timing point in the scheduled broadcast file.

[0081] S2-3-3. Use the local identifier to match the target broadcast terminal at each timing point; use the timing point with successful matching as the target timing point.

[0082] In this embodiment, each broadcast terminal is used for its own unique local identification, such as terminal name, physical address, etc. After parsing the target broadcast terminal of each timing point of the scheduled broadcast file, it is compared with the local identification stored locally by the broadcast terminal to select the timing point of the target broadcast terminal including itself as the target timing point.

[0083] S2-4. Generate a timing point audio list file according to the audio name pointed to by each target timing point. The timing point audio list file records the audio pointed to by the target timing point with the audio ID.

[0084] After the target timing point is obtained through analysis in this embodiment, the song ID recorded at the target timing point is further extracted and deduplication is performed to generate a timing point audio list file. In this embodiment, the timing point audio list file records all audios pointed to by the target timing point in the form of audio IDs. When the broadcast terminal executes a timing task, all pointed audios can be found by reading the timing point audio list file.

[0085] S2-5. According to the timing point audio list file, at least one timing point audio file is downloaded from the broadcast host, and each timing point audio file corresponds to an audio ID in the timing point audio list file.

[0086] In this embodiment, the audio pointed to by the target timing point is not necessarily stored on the broadcast terminal side. Therefore, in addition to the audio stored locally in the broadcast terminal, at least one audio file of the timing point needs to be downloaded from the broadcast host, so that all the audio of the target timing point is cached on the broadcast terminal side, and can be played without connecting to the broadcast host.

[0087] In this embodiment, the scheduled broadcast file, the scheduled point audio list file and the scheduled point audio file are stored in the storage module of the broadcast terminal; when the broadcast terminal executes the offline broadcast task, the corresponding file is called for parsing or playback processing.

[0088] S3. When the version number sent by the broadcast host is consistent with the version number of the scheduled broadcast file stored locally in the broadcast terminal or the broadcast terminal completes downloading the scheduled broadcast file, each broadcast terminal performs the scheduled broadcast task.

[0089] like Figure 4 As shown, for each broadcast terminal, executing the scheduled broadcast task specifically includes the following steps:

[0090] S3-1 read the first target timing point in the timing scheme;

[0091] S3-2 reaches the target timing point audio playback start time, the target timing point set audio playback mode and playback volume plays the target timing point to the audio, until the target timing point audio playback end time;

[0092] S3-3. Read the next target timing point in the timing scheme, return to the start time of the audio playback at the target timing point, and play the audio pointed to by the target timing point in the audio playback mode and playback volume set at the target timing point until all target timing points in the timing scheme are executed.

[0093] In some embodiments, before the step S3-1 of reading the first target timing point in the timing scheme, the following steps are also included:

[0094] S3-0. Determine whether the broadcast terminal is in an offline state. If the broadcast terminal is not in an offline state, the step of reading the first target timing point in the timing plan is not executed. This step is set to avoid conflicts between the scheduled tasks stored in the broadcast terminal and the playback control of the broadcast host. When the broadcast host is connected to the broadcast terminal, no offline broadcast tasks are executed by default, and the playback control of the broadcast terminal is completely controlled by the broadcast host.

[0095] In step S3-3 of the embodiment of the present invention, the audio playback mode specifically includes a sequential playback mode, a loop playback mode, and a random playback mode; playing the audio pointed to by the target timing point with the audio playback mode and playback volume set at the target timing point specifically includes the following steps:

[0096] S3-3-1. When the audio playback mode is in sequential playback mode, the audio ID arranged in the target timing point is called one by one to play the audio pointed to by the target timing point; after all the audio pointed to by the target timing point is played, it enters the standby state;

[0097] S3-3-2. When the audio playback mode is loop playback mode, the audio IDs arranged in the target timing point are called one by one to play the audio pointed to by the target timing point; after all the audios pointed to by the target timing point are played, the audio IDs arranged in the target timing point are reset, and the audio pointed to by the target timing point is called again to play;

[0098] S3-3-3. When the audio playback mode is the random playback mode, the audio pointed to by the target timing point is randomly called for playback.

[0099] When the broadcast terminal reaches the playback start time of the timing point, it plays the audio pointed to by the target timing point according to the set audio playback mode and playback volume until the playback stop time is reached; then it plays the timing plan of the next timing point.

[0100] Through the offline processing method of scheduled broadcast tasks of the present invention, the broadcast terminal can still execute the scheduled broadcast tasks edited on the broadcast host on time when the broadcast terminal loses connection with the broadcast host, and there is no need to worry about the scheduled tasks not being executed after the network is disconnected, which affects the user's work and rest management time scheduling.

[0101] The second embodiment of the present invention discloses a broadcast system supporting offline scheduled tasks, such as Figure 5 As shown, it includes a broadcast host and a broadcast terminal. Among them, a scheduled task editing system is loaded in the broadcast host, and the scheduled broadcast task is edited on the broadcast host through the scheduled task editing system to generate a scheduled broadcast file; the broadcast host and the broadcast terminal establish a data transmission channel; the scheduled broadcast file is sent to the broadcast terminal through the data connection channel; when the data transmission channel between the broadcast host and the broadcast terminal is interrupted, the broadcast terminal can execute the scheduled broadcast task according to the stored scheduled broadcast file.

[0102] Specifically, the broadcast terminal includes a core control module, a power amplifier module, a clock module and a storage module;

[0103] When the data transmission channel between the broadcast host and the broadcast terminal is connected, the core control module synchronizes the time of the clock module through the data transmission channel, downloads the scheduled broadcast task and stores it in the storage module;

[0104] When the data transmission channel between the broadcast host and the broadcast terminal is interrupted, the core control module calls the scheduled broadcast task from the storage module according to the time of the clock module, decodes the audio of the scheduled broadcast task into an analog signal and plays it through the power amplifier module.

[0105] like Figure 6 The hardware design of the broadcast terminal of the present invention is shown in the figure. The core control module can be an MCU chip, and the core control module is connected to the clock module to display the current time in real time. The core control module is connected to the storage module to store scheduled broadcast files, audio files, applications and various terminal parameters; the storage module can be a NAND Flash external flash memory chip or an external SD card. In this embodiment, the core control module can communicate with the broadcast host through TCP / IP by connecting to the switch via the network port, and receive control instructions and scheduled broadcast files issued by the broadcast host. The core control module is connected to the power amplifier module through the DAC, and decodes the audio file into an analog signal and sends it to the power amplifier module for sound reinforcement broadcasting.

[0106] The hardware design of the clock module in the embodiment of the present invention is as follows Figure 7As shown, when the broadcast terminal is powered normally, the 5V power supply supplies power to the clock chip U7, and the 3.3V power supply connects to the D1 germanium diode 2AP9 to charge the battery B1. When the IP broadcast terminal is powered off, the 5V power supply and 3.3V are both 0V voltage, and the battery B1 supplies power to the clock chip U7 through the 3rd pin of U7 to maintain the normal timing of the clock chip U7. This allows the clock module of the present invention to maintain the timing of the clock module through the power storage device when the broadcast terminal is powered off, without affecting the triggering judgment of the scheduled broadcast task.

[0107] The offline processing method for scheduled broadcast tasks of the first embodiment of the present invention is applied to the broadcast system supporting offline scheduled tasks of the second embodiment. The contents of the offline processing method in this embodiment are all applicable to this broadcast system embodiment, and the functions specifically implemented by this broadcast system embodiment are the same as those of the offline processing method embodiment, and the beneficial effects achieved are also the same as those achieved by the offline processing method.

[0108] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the present invention is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part for which is described as a larger operation is performed independently.

[0109] In addition, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features described may be integrated into a single physical device and / or software module, or one or more functions and / or features may be implemented in separate physical devices or software modules. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present invention. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional skills of the engineer. Therefore, those skilled in the art can implement the present invention set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present invention, which is determined by the full scope of the appended claims and their equivalents.

[0110] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0111] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0112] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

[0113] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the described embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.

Claims

1. A method for offline processing of scheduled broadcast tasks, characterized in that: The following steps are involved: Edit scheduled broadcast tasks on the broadcast host and generate scheduled broadcast files; The scheduled broadcast file has a version number; The broadcast host sends the version number to the broadcast terminal, and each broadcast terminal determines whether the version number sent by the broadcast host is consistent with the version number of the scheduled broadcast file stored locally in the broadcast terminal; When the version number issued by the broadcast host is inconsistent with the version number of the scheduled broadcast file stored locally in the broadcast terminal, downloading the scheduled broadcast file from the broadcast host; When the version number issued by the broadcast host is consistent with the version number of the scheduled broadcast file stored locally by the broadcast terminal or the broadcast terminal completes downloading the scheduled broadcast file, each broadcast terminal executes the scheduled broadcast task separately; The triggering time of the scheduled broadcast task is determined according to the local clock module of the broadcast terminal; The editing of the scheduled broadcast task specifically includes the following steps: Adding a timing scheme, wherein the timing scheme includes a plurality of timing points; Select the audio pointed to by each timing point, and edit the start time and end time of the audio; the audio pointed to by the timing point is identified by an audio ID; Selecting a timing point type and an audio playback mode for each of the timing points; Select a target broadcast terminal for each of the timing points, and set the playback volume of the audio pointed to by the timing point for each target broadcast terminal; the target broadcast terminal refers to the broadcast terminal that plays the audio pointed to by the timing point; Packing the timing scheme into a timing broadcast file, and generating a version number of the timing broadcast file; The broadcast terminal downloads the scheduled broadcast file from the broadcast host, specifically comprising the following steps: Send a scheduled broadcast file download request to the broadcast host; After receiving the scheduled broadcast file download response returned by the broadcast host, download the scheduled broadcast file; Parse the downloaded scheduled broadcast file and determine the timing point that the broadcast terminal needs to execute as the target timing point; Generate a timing point audio list file according to the audio name pointed to by each target timing point, wherein the timing point audio list file records the audio pointed to by the target timing point with an audio ID; According to the timing point audio list file, download at least one timing point audio file from the broadcast host, each timing point audio file corresponding to an audio ID in the timing point audio list file; The method of parsing the downloaded scheduled broadcast file and determining the timing point that the broadcast terminal needs to execute as the target timing point specifically includes the following steps: Call the local ID of the broadcast terminal; Parsing the target broadcast terminal of each timing point in the timed broadcast file; The local identifier is used to perform matching in the target broadcast terminal at each timing point; and the timing point where the matching is successful is used as the target timing point.

2. A method for offline processing of scheduled broadcast tasks according to claim 1, characterized in that: For each of the broadcast terminals, executing the scheduled broadcast task specifically includes the following steps: Read the first target timing point in the timing plan; When the start time of the audio playback at the target timing point is reached, the audio pointed to by the target timing point is played in the audio playback mode and playback volume set at the target timing point until the end time of the audio playback at the target timing point is reached; Read the next target timing point in the timing scheme, return to the start time of the audio playback at the target timing point, and play the audio pointed to by the target timing point in the audio playback mode and playback volume set at the target timing point until all target timing points in the timing scheme are executed.

3. A method for offline processing of scheduled broadcast tasks according to claim 2, characterized in that: Before the first target timing point step in the reading timing scheme, the following steps are also included: It is determined whether the broadcast terminal is in an offline state. When the broadcast terminal is not in an offline state, the step of reading the first target timing point in the timing scheme is not performed.

4. A method for offline processing of scheduled broadcast tasks according to claim 2, characterized in that: The audio playback mode specifically includes a sequential playback mode, a loop playback mode and a random playback mode; the audio playback mode and playback volume set at the target timing point are used to play the audio pointed to by the target timing point, specifically including the following steps: When the audio playback mode is a sequential playback mode, the audios pointed to by the target timing points are called one by one according to the audio IDs arranged in the target timing points for playback; after all the audios pointed to by the target timing points are played, the standby state is entered; When the audio playback mode is a loop playback mode, the audios pointed to by the target timing points are called one by one according to the audio IDs arranged in the target timing points for playback; after all the audios pointed to by the target timing points are played, the audio IDs arranged in the target timing points are reset, and the audios pointed to by the target timing points are called again for playback; When the audio playback mode is a random playback mode, the audio pointed to by the target timing point is randomly called for playback.

5. A broadcasting system supporting offline scheduled tasks, characterized in that: Including broadcast host and broadcast terminal; The broadcast host is loaded with a scheduled task editing system, and the scheduled broadcast task is edited on the broadcast host through the scheduled task editing system to generate a scheduled broadcast file; The broadcast host and the broadcast terminal establish a data transmission channel; Sending the scheduled broadcast file to the broadcast terminal through the data connection channel; When the data transmission channel between the broadcast host and the broadcast terminal is interrupted, the broadcast terminal can execute the scheduled broadcast task according to the stored scheduled broadcast file; The broadcast terminal includes a clock module, and the clock module is used to determine the trigger time of the scheduled broadcast task; The editing of the scheduled broadcast task specifically includes the following steps: Adding a timing scheme, wherein the timing scheme includes a plurality of timing points; Select the audio pointed to by each timing point, and edit the start time and end time of the audio; the audio pointed to by the timing point is identified by an audio ID; Selecting a timing point type and an audio playback mode for each of the timing points; Select a target broadcast terminal for each of the timing points, and set the playback volume of the audio pointed to by the timing point for each target broadcast terminal; the target broadcast terminal refers to the broadcast terminal that plays the audio pointed to by the timing point; Packing the timing scheme into a timing broadcast file, and generating a version number of the timing broadcast file; The broadcast terminal downloads the scheduled broadcast file from the broadcast host, specifically comprising the following steps: Send a scheduled broadcast file download request to the broadcast host; After receiving the scheduled broadcast file download response returned by the broadcast host, download the scheduled broadcast file; Parse the downloaded scheduled broadcast file and determine the timing point that the broadcast terminal needs to execute as the target timing point; Generate a timing point audio list file according to the audio name pointed to by each target timing point, wherein the timing point audio list file records the audio pointed to by the target timing point with an audio ID; According to the timing point audio list file, download at least one timing point audio file from the broadcast host, each timing point audio file corresponding to an audio ID in the timing point audio list file; The method of parsing the downloaded scheduled broadcast file and determining the timing point that the broadcast terminal needs to execute as the target timing point specifically includes the following steps: Call the local ID of the broadcast terminal; Parsing the target broadcast terminal of each timing point in the timed broadcast file; The local identifier is used to perform matching in the target broadcast terminal at each timing point; and the timing point where the matching is successful is used as the target timing point.

6. A broadcasting system supporting offline scheduled tasks according to claim 5, characterized in that: The broadcast terminal also includes a core control module, a power amplifier module and a storage module; When the data transmission channels of the broadcast host and the broadcast terminal are connected, the core control module synchronizes the time of the clock module through the data transmission channel, downloads the scheduled broadcast task and stores it in the storage module; When the data transmission channel between the broadcast host and the broadcast terminal is interrupted, the core control module calls the scheduled broadcast task from the storage module according to the time of the clock module, decodes the audio of the scheduled broadcast task into an analog signal and plays it through the power amplifier module.

7. A broadcasting system supporting offline scheduled tasks according to claim 6, characterized in that: The clock module is provided with an electric energy storage device; when the broadcast terminal loses power, the timing of the clock module is maintained by the electric energy storage device.

Citation Information

Patent Citations

  • Playing information saving method and system, play terminal and control terminal

    CN104954853A

  • Timing broadcasting method and device of digital broadcasting system

    CN110166550A