CN117880751A - Off-line processing method for timing broadcasting task and supported broadcasting system - Google Patents
Off-line processing method for timing broadcasting task and supported broadcasting system Download PDFInfo
- Publication number
- CN117880751A CN117880751A CN202311775111.5A CN202311775111A CN117880751A CN 117880751 A CN117880751 A CN 117880751A CN 202311775111 A CN202311775111 A CN 202311775111A CN 117880751 A CN117880751 A CN 117880751A
- Authority
- CN
- China
- Prior art keywords
- broadcasting
- timing
- audio
- broadcast
- timing point
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 14
- 238000000034 method Methods 0.000 claims abstract description 20
- 230000005540 biological transmission Effects 0.000 claims description 15
- 238000012545 processing Methods 0.000 claims description 13
- 125000004122 cyclic group Chemical group 0.000 claims description 8
- 238000004146 energy storage Methods 0.000 claims description 5
- 230000003321 amplification Effects 0.000 claims description 4
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 4
- 238000004806 packaging method and process Methods 0.000 claims description 3
- 230000004044 response Effects 0.000 claims description 3
- 230000007547 defect Effects 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000006467 substitution reaction Methods 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 229910052732 germanium Inorganic materials 0.000 description 1
- GNPVGFCGXDBREM-UHFFFAOYSA-N germanium atom Chemical compound [Ge] GNPVGFCGXDBREM-UHFFFAOYSA-N 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a timing broadcasting task offline processing method and a supported broadcasting system. The method comprises the following steps: editing a timing broadcasting task on a broadcasting host to generate a timing broadcasting file; downloading the timed broadcast file from the broadcast host when the version number of the timed broadcast file is inconsistent with the version number locally stored by the broadcast terminal; the broadcasting terminal performs a timed broadcasting task according to the timed broadcasting file. The invention generates a timing broadcasting task at a broadcasting host and backs up the timing broadcasting task at a broadcasting terminal side; when the network between the broadcasting terminal and the broadcasting host is in an offline state due to the problem, the local backup timing broadcasting task can be called to perform timing broadcasting. The invention overcomes the defect that the prior broadcasting system can not trigger the timing broadcasting in the off-line state, and ensures the orderly operation and life of the broadcasting system user.
Description
Technical Field
The invention relates to the technical field of timing broadcasting, in particular to a timing broadcasting task offline processing method and a supported broadcasting system.
Background
With the development of digital technology, the conventional analog broadcasting system in the market is gradually replaced by a more advanced, convenient and intelligent digital IP broadcasting system. An important function of the digital IP broadcasting system is a timing broadcasting function, for example, a park can use timing broadcasting to realize functions of open-park broadcasting, closed-park broadcasting, scenic spot introduction, park propaganda and the like; the school campus can use the timing broadcast to realize the timing bell of going up and down lessons, the on-time playing of the eye exercises, the execution of the broadcast exercises, the playing of background music among lessons, and the like. The timing broadcast is of great importance to the daily order of schools, parks, enterprises and the like, the daily time management arrangement and the like, and great convenience is brought to people.
However, the control of the timing broadcasting in the digital IP broadcasting system on the market is implemented entirely on the broadcasting host side, so that the timing broadcasting must be desirably performed with the broadcasting host and the broadcasting terminal network kept clear. Once the network between the broadcasting host and the broadcasting terminal has problems such as switch damage, network cable failure, etc., the network terminal is in an off-line state and is not controlled by the broadcasting host, and cannot normally execute the timing broadcasting task.
Disclosure of Invention
In view of this, the embodiment of the invention provides a method for offline processing of a timing broadcast task and a supported broadcast system.
The first aspect of the present invention provides a method for offline processing of a timed broadcast task, comprising the steps of:
editing a timing broadcasting task on a broadcasting host to generate a timing broadcasting file; the timing broadcast file has a version number;
each broadcasting terminal respectively judges whether the version number issued by the broadcasting host is consistent with the version number of a broadcasting file stored by the broadcasting terminal locally at a fixed time; downloading the timed broadcast file from the broadcast host when the version number issued by the broadcast host is inconsistent with the version number of the timed broadcast file stored locally by the broadcast terminal;
and when the version number issued by the broadcasting host is consistent with the version number of the timing broadcasting file locally stored by the broadcasting terminal or the broadcasting terminal finishes downloading the timing broadcasting file, each broadcasting terminal respectively executes the timing broadcasting task.
Further, the editing timing broadcasting task specifically includes the following steps:
adding a timing scheme, wherein the timing scheme comprises a plurality of timing points;
selecting the audio pointed by each timing point, and editing the playing start time and the playing end time of the audio; the audio pointed by the timing point is marked by an audio ID;
selecting a timing point type and an audio playing mode of each timing point;
selecting target broadcast terminals of each timing point, and setting the playing volume of each target broadcast terminal for playing the audio pointed by the timing point; the target broadcasting terminal refers to a broadcasting terminal for playing the audio with the timing point;
and packaging the timing scheme into a timing broadcast file and generating a version number of the timing broadcast file.
Further, the broadcasting terminal downloads the timed broadcast file from a broadcasting host, and specifically includes the following steps:
sending a timed broadcast file downloading request to a broadcast host;
after receiving a timing broadcast file downloading response returned by a broadcast host, downloading the timing broadcast file;
analyzing the downloaded timing broadcast file, and determining a timing point required to be executed by a broadcast terminal as a target timing point;
generating a timing point audio list file according to the audio names pointed by each target timing point, wherein the timing point audio list file records the audio pointed by the target timing point by using an audio ID;
and downloading at least one timing point audio file from the broadcasting host according to the timing point audio list file, wherein each timing point audio file corresponds to one audio ID in the timing point audio list file.
Further, the analyzing the downloaded timing broadcast file, determining a timing point to be executed by the broadcast terminal as a target timing point, specifically includes the following steps:
calling a local identifier of a broadcast terminal;
a target broadcast terminal for analyzing each timing point in the timing broadcast file;
matching in the target broadcast terminal at each of the timing points using the local identification; and taking the timing point of successful matching as a target timing point.
Further, for each of the broadcast terminals, performing the timed broadcast task specifically includes the steps of:
reading a first target timing point in the timing scheme;
when the playing start time of the target timing point audio is reached, playing the audio pointed by the target timing point in an audio playing mode and a playing volume set by the target timing point until the playing end time of the target timing point audio is reached;
and reading the next target timing point in the timing scheme, and returning to the playing start time of the audio reaching the target timing point, and playing the audio pointed by the target timing point in the audio playing mode and the playing volume set by the target timing point until all the target timing points in the timing scheme are executed.
Further, before the step of the first target timing point in the read timing scheme, the method further comprises the following steps:
judging whether the broadcasting terminal is in an offline state, and when the broadcasting terminal is not in the offline state, not executing the step of reading the first target timing point in the timing scheme.
Further, the audio playing modes specifically include a sequential playing mode, a cyclic playing mode and a random playing mode; the audio playing mode and the playing volume set by the target timing point play the audio pointed by the target timing point, specifically including the following steps:
when the audio playing mode is a sequential playing mode, calling the audio pointed by the target timing point one by one according to the audio IDs arranged in the target timing point to play; after all the audio pointed by the target timing point is played, entering a standby state;
when the audio playing mode is a cyclic playing mode, calling the audio pointed by the target timing point one by one according to the audio IDs arranged in the target timing point to play; resetting the audio IDs arranged in the target timing point after all the audio pointed by the target timing point is played, and recalling the audio pointed by the target timing point for playing;
and when the audio playing mode is a random playing mode, randomly calling the audio pointed by the target timing point to play.
The second aspect of the invention discloses a broadcasting system supporting offline timing tasks, which comprises a broadcasting host and a broadcasting terminal;
the broadcasting host is loaded with a timed task editing system, and a timed broadcasting file is generated by editing timed broadcasting tasks on the broadcasting host through the timed task editing system;
the broadcasting host and the broadcasting terminal establish a data transmission channel; the timing broadcast file is issued to a broadcast terminal through the data connection channel;
when the data transmission channels of the broadcasting host and the broadcasting terminal are interrupted, the broadcasting terminal can execute the timing broadcasting task according to the stored timing broadcasting file.
Further, the broadcasting terminal comprises a core control module, a power amplification module, a clock module and a storage module;
when the broadcasting host is connected with a data transmission channel of a broadcasting terminal, the core control module synchronizes the time of the clock module through the data transmission channel, downloads the timing broadcasting task and stores the timing broadcasting task in the storage module;
when the data transmission channels of the broadcasting host and the broadcasting terminal are interrupted, the core control module calls the timing broadcasting task from the storage module according to the time of the clock module, and decodes the audio of the timing broadcasting task into an analog signal to be played through the power amplification module.
Further, an electric energy storage device is arranged in the clock module; and maintaining the timing of a clock module through the electric energy storage device when the broadcasting terminal is powered down.
Embodiments of the present invention also disclose a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions may be read from a computer-readable storage medium by a processor of a computer device, and executed by the processor, to cause the computer device to perform the foregoing method.
The embodiment of the invention has the following beneficial effects: the invention relates to a timing broadcasting task offline processing method and a supported broadcasting system, which are characterized in that a timing broadcasting task is generated at a broadcasting host side and backed up at a broadcasting terminal side; when the network between the broadcasting terminal and the broadcasting host is in an offline state due to the problem, the local backup timing broadcasting task can be called to perform timing broadcasting. The invention overcomes the defect that the prior broadcasting system can not trigger the timing broadcasting in the off-line state, and ensures the orderly operation and life of the broadcasting system user.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a basic implementation flow chart of a method for offline processing of a timed broadcast task according to the present invention;
FIG. 2 is a flow chart of editing a timed broadcast task in a method for offline processing of the timed broadcast task according to the present invention;
FIG. 3 is a flow chart of downloading a timing broadcast file in an offline processing method of a timing broadcast task according to the present invention;
FIG. 4 is a flow chart of a timing broadcast task execution in a timing broadcast task offline processing method according to the present invention;
FIG. 5 is a schematic diagram of the overall architecture of a broadcast system supporting offline timing tasks in accordance with the present invention;
fig. 6 is a schematic diagram of a broadcasting terminal structure of a broadcasting system supporting an offline timing task according to the present invention;
fig. 7 is a schematic diagram of a broadcast system broadcast terminal clock module structure supporting an offline timing task according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The timing broadcasting function of the existing digital IP broadcasting system can execute the broadcasting tasks set in advance at fixed points in a timing way under the condition that the IP broadcasting server and the IP broadcasting terminal network are kept clear. Once the network between the broadcasting host and the broadcasting terminal has problems such as switch damage, network cable failure, etc., the network terminal is in an off-line state and is not controlled by the broadcasting host, and cannot normally execute the timing broadcasting task. The inability of the timed task to perform daily work and rest management arrangements necessarily affects the user, which is very significant.
In view of the above problems, the embodiments of the present invention provide a method for offline processing of a timed broadcast task and a supported broadcast system.
The first embodiment of the present invention provides a method for offline processing of a timed broadcast task, as shown in fig. 1, including the following steps:
s1, editing a timing broadcasting task on a broadcasting host to generate a timing broadcasting file; the timed broadcast file has a version number;
s2, the version numbers are issued to the broadcasting terminals through the broadcasting host, and each broadcasting terminal respectively judges whether the version numbers issued by the broadcasting host are consistent with the version numbers of the broadcasting files stored by the broadcasting terminal locally at fixed time; downloading the timed broadcast file from the broadcast host when the version number issued by the broadcast host is inconsistent with the version number of the timed broadcast file stored locally by the broadcast terminal;
s3, when the version number issued by the broadcasting host is consistent with the version number of the timing broadcasting file locally stored by the broadcasting terminal or the broadcasting terminal finishes downloading the timing broadcasting file, each broadcasting terminal executes the timing broadcasting task respectively.
The off-line processing method for the timing broadcasting task is applied to a broadcasting system with a broadcasting host and a broadcasting terminal. Wherein the broadcast host is loaded with broadcast service software for the establishment, interaction, forwarding, control, audio stream processing forwarding, broadcast task editing, etc. of heartbeat packets for processing various broadcast instructions. The broadcasting host is connected with various broadcasting terminals with different functions through a network, and the timing broadcasting function is realized through the broadcasting terminals.
In step S1, as shown in fig. 2, the timed broadcast task is edited, specifically including the following steps:
s1-1, adding a timing scheme, wherein the timing scheme comprises a plurality of timing points. The timing scheme in this step is the core control logic of the timing broadcast task, which may be represented as a time axis or a time sequence; the broadcasting system user completes the setting of the timing broadcasting task by adding timing points in the timing scheme, wherein each timing point corresponds to a time node on a time axis or a value in a time sequence. The timing point has a sequence number, an associated audio ID, a play start time, a play end time, a target broadcast terminal, a play volume and other play parameters; and finishing setting of the play parameters of the timing point in the timing task editing interface of the broadcasting host to generate a timing scheme.
S1-2, selecting the audio pointed by each timing point, and editing the playing start time and the playing end time of the audio; the audio pointed to by the timing point is identified with an audio ID. This step is used to select the audio pointed by the timing point, i.e. the audio played by the broadcasting terminal when the timing point is performed, which may be a station announcement, music, bell, number, etc. In this embodiment, the audio pointed by the timing point is stored in advance in the audio database of the broadcasting terminal, and the audio ID is used as a distinguishing mark; in this embodiment, a timing point may point to a plurality of audios, and when the audio pointed to by the timing point is selected, a corresponding audio ID is selected in the audio database to be recorded at the timing point. In this embodiment, the playing start time of the audio represents the starting time of playing the audio, that is, the real time reaches the preset playing start time, that is, the audio pointed by the playing timing point; the play end time indicates a time when the play timing point is pointed to the audio, that is, the real time reaches the preset play end time, that is, the audio pointed by the play timing point is stopped.
S1-3, selecting a timing point type and an audio playing mode of each timing point.
In the embodiment of the invention, the timing point type is used for indicating the trigger period of the timing point, such as one-time trigger, daily trigger, fixed days per week trigger and the like; the audio play mode indicates a play mode of audio between a play start time and a play end time of audio, and in this embodiment, the play mode includes sequential play, cyclic play, and random play. The sequential playing means sequentially playing the audio pointed by the timing point according to the audio ID sequence in the timing point; the cyclic playing is based on the sequential playing, and when the audio playing of the last audio of the audio ID sequence of the timing point is finished, the audio of the first audio of the audio ID sequence of the timing point is replayed to form a cycle; the random play indicates audio to which the audio ID play timing point points among the random extraction timing points.
S1-4, selecting target broadcast terminals of each timing point, and setting the playing volume of the audio pointed by the playing timing point of each target broadcast terminal; the target broadcast terminal designates a broadcast terminal whose play timing point points to audio.
Although the broadcasting host is connected to a plurality of broadcasting terminals in this embodiment, it is possible to set a timing task scheme for a specific broadcasting terminal in one timing scheme, for example, to set different timing task schemes for different school hours in a campus environment to play a school bell. Therefore, in this embodiment, the timing point needs to set the target broadcast terminal to which it points, record the local identifier of the target broadcast terminal, such as the terminal name, the physical address, etc., in the timing point, and set the playing volume of the audio to which the different broadcast terminals play the timing point, so as to adapt to the needs of the user.
S1-5, packaging the timing scheme into a timing broadcast file, and generating a version number of the timing broadcast file.
After the setting of the timing scheme is completed, the user packages the timing scheme into timing broadcast files and stores the timing broadcast files on the broadcast host, and simultaneously, each timing broadcast file is identified by a unique version number.
S2, the version numbers are issued to the broadcasting terminals through the broadcasting host, and each broadcasting terminal respectively judges whether the version numbers issued by the broadcasting host are consistent with the version numbers of the broadcasting files stored by the broadcasting terminal locally at fixed time; and downloading the timed broadcast file from the broadcasting host when the version number issued by the broadcasting host is inconsistent with the version number of the timed broadcast file stored locally by the broadcasting terminal.
For each broadcasting terminal, the old version of timing broadcasting files may be stored, different timing points may affect each other between different timing broadcasting files, and one side of the broadcasting terminal cannot realize the perception of the timing task files of the broadcasting terminal. Therefore, when the broadcasting terminal and the broadcasting host are in a connection state, the broadcasting host can issue the version number of the latest timing broadcasting file to the broadcasting terminal, and the version number issued by the broadcasting host is compared with the version number of the timing broadcasting file locally stored by the broadcasting terminal at one side of the broadcasting terminal to judge whether the version number is consistent or not. If the version numbers are found to be consistent, the current stored timing broadcast file of the broadcasting terminal is the latest timing broadcast file, and downloading is not needed; if the version numbers are inconsistent, the broadcasting terminal needs to download the latest version of the timing broadcasting file from the broadcasting host and replace the timing broadcasting file stored locally.
As shown in fig. 3, the broadcasting terminal downloads a timed broadcast file from a broadcasting host, and specifically includes the following steps:
s2-1, sending a timed broadcast file downloading request to a broadcast host;
s2-2, after receiving a timed broadcast file downloading response returned by the broadcasting host, downloading the timed broadcast file.
In the embodiment of the invention, the broadcasting terminal is connected with the download server of the broadcasting host side through the TCP reliable connection protocol, logs in and downloads the latest timing broadcasting file.
S2-3, analyzing the downloaded timing broadcast file, and determining a timing point required to be executed by the broadcast terminal as a target timing point.
After the timed broadcast file is downloaded, the broadcast terminal analyzes the timed broadcast file to determine the timing point to be executed by the broadcast terminal, and the method specifically comprises the following steps:
s2-3-1, calling a local identification of the broadcasting terminal.
S2-3-2, analyzing the target broadcasting terminal of each timing point in the timing broadcasting file.
S2-3-3, using local identification to match in the target broadcast terminal at each timing point; and taking the timing point of successful matching as a target timing point.
In this embodiment, each broadcast terminal is used for a unique local identifier, such as a terminal name, a physical address, and the like. After analyzing the target broadcast terminal of each timing point of the timing broadcast file, comparing the target broadcast terminal with the local identifier stored locally in the broadcast terminal, and screening out the timing point of the target broadcast terminal, which is used as the target timing point.
S2-4, generating a timing point audio list file according to the audio names pointed by each target timing point, wherein the timing point audio list file records the audio pointed by the target timing point by using the audio ID.
In this embodiment, after the target timing point is obtained by parsing, the song ID recorded at the target timing point is further extracted and the deduplication operation is performed, so as to generate the timing point audio list file. In this embodiment, all the directional audio of the target timing point is recorded in the timing point audio list file in the form of audio ID, and when the broadcasting terminal performs the timing task, all the directional audio can be found by reading the timing point audio list file.
S2-5, downloading at least one timing point audio file from the broadcasting host according to the timing point audio list file, wherein each timing point audio file corresponds to one audio ID in the timing point audio list file.
In this embodiment, the audio pointed by the target timing point is not necessarily stored on the broadcast terminal side. Therefore, in addition to the audio locally stored by the broadcasting terminal, at least one audio file of the timing point needs to be downloaded from the broadcasting host, so that all the audio of the target timing point is cached at one side of the broadcasting terminal and can be played without being connected with the broadcasting host.
In this embodiment, a timing broadcast file, a timing point audio list file, and a timing point audio file are stored in a storage module of a broadcast terminal; and when the broadcasting terminal executes the offline broadcasting task, the corresponding file is called to analyze or play.
S3, when the version number issued by the broadcasting host is consistent with the version number of the timing broadcasting file locally stored by the broadcasting terminal or the broadcasting terminal finishes downloading the timing broadcasting file, each broadcasting terminal executes the timing broadcasting task respectively.
As shown in fig. 4, for each broadcast terminal, performing a timed broadcast task specifically includes the steps of:
s3-1, reading a first target timing point in a timing scheme;
s3-2, when the playing start time of the audio at the target timing point is reached, playing the audio pointed by the target timing point in an audio playing mode and a playing volume set by the target timing point until the playing end time of the audio at the target timing point is reached;
s3-3, reading the next target timing point in the timing scheme, returning to the playing start time of the audio reaching the target timing point, and playing the audio pointed by the target timing point in the audio playing mode set by the target timing point and the playing volume until all the target timing points in the timing scheme are executed.
In some embodiments, before the step of reading the first target timing point in the timing scheme at step S3-1, the method further comprises the steps of:
s3-0, judging whether the broadcasting terminal is in an offline state, and when the broadcasting terminal is not in the offline state, not executing the step of reading the first target timing point in the timing scheme. The step is set to avoid conflict between the timing task stored by the broadcasting terminal and the playing control of the broadcasting host; when the broadcasting host is connected with the broadcasting terminal, no off-line broadcasting task is executed by default, the broadcasting control of the broadcasting terminal is completely regulated and controlled by the broadcasting host,
in step S3-3 of the embodiment of the present invention, the audio playing mode specifically includes a sequential playing mode, a cyclic playing mode and a random playing mode; the audio playing mode set by the target timing point and the audio pointed by the playing volume playing target timing point specifically comprise the following steps:
s3-3-1, when the audio playing mode is a sequential playing mode, calling the audio pointed by the target timing point one by one according to the audio IDs arranged in the target timing point for playing; after all the audio pointed by the target timing point is played, entering a standby state;
s3-3-2, when the audio playing mode is a cyclic playing mode, calling the audio pointed by the target timing point one by one according to the audio IDs arranged in the target timing point for playing; resetting the audio IDs arranged in the target timing point after all the audio pointed by the target timing point is played, and recalling the audio pointed by the target timing point for playing;
s3-3-3, when the audio playing mode is a random playing mode, randomly calling the audio pointed by the target timing point to play.
After the broadcasting terminal reaches the playing start time of the timing point, playing the audio pointed by the target timing point according to the set audio playing mode and the playing volume until reaching the playing stop time; the timing scheme for the next timing point is then played.
By the off-line processing method of the timing broadcasting task, the broadcasting terminal can still execute the edited timing broadcasting task on the broadcasting host according to the point in time when losing connection with the broadcasting host, and the problem that the timing task is not executed after the network is broken and the work and rest management time arrangement of a user is affected is avoided.
A second embodiment of the present invention discloses a broadcasting system supporting an offline timing task, as shown in fig. 5, including a broadcasting host and a broadcasting terminal. The broadcasting host is loaded with a timing task editing system, and the timing broadcasting task is edited on the broadcasting host through the timing task editing system to generate a timing broadcasting file; a broadcasting host and a broadcasting terminal establish a data transmission channel; the timing broadcast file is issued to the broadcast terminal through the data connection channel; when the data transmission channels of the broadcasting host and the broadcasting terminal are interrupted, the broadcasting terminal can execute a timing broadcasting task according to the stored timing broadcasting file.
Specifically, the broadcast terminal comprises a core control module, a power amplifier module, a clock module and a storage module;
when the broadcasting host is connected with the data transmission channel of the broadcasting terminal, the core control module synchronizes the time of the clock module through the data transmission channel, downloads the timing broadcasting task and stores the timing broadcasting task in the storage module;
when the data transmission channels of the broadcasting host and the broadcasting terminal are interrupted, the core control module calls the timing broadcasting task from the storage module according to the time of the clock module, decodes the audio of the timing broadcasting task into an analog signal and plays the analog signal through the power amplification module.
Fig. 6 shows a hardware design of the broadcasting terminal of the present invention. The core control module can be an MCU chip, and is connected with the clock module, so that the current time can be displayed in real time. The core control module is connected with the storage module to store various parameters of the timing broadcast file, the audio file, the application program and the terminal; the storage module can be an external flash memory chip of NAND flash or an external SD card. In this embodiment, the core control module may perform TCP/IP communication with the broadcast host through the network port connection switch, and receive the control instruction issued by the broadcast host and time broadcast files. The core control module is connected with the power amplifier module through the DAC, decodes the audio file into an analog signal and sends the analog signal to the power amplifier module for sound expansion broadcasting.
In the embodiment of the invention, as shown in fig. 7, a 5V power supply supplies power to a clock chip U7 when a broadcast terminal supplies power normally, a 3.3V power supply is connected with a D1 germanium diode 2AP9 to charge a battery B1, and when the IP broadcast terminal is powered down, the 5V power supply and the 3.3V are both 0V voltages, at this time, the battery B1 supplies power to the clock chip U7 through a 3 pin of U7 to maintain the normal timing of the clock chip U7. The clock module can maintain the timing of the clock module through the electric energy storage device when the broadcasting terminal is powered down, and the triggering judgment of the timing broadcasting task is not affected.
The off-line processing method for the timed broadcast task of the first embodiment of the invention is applied to the broadcast system supporting the off-line timed task of the second embodiment. The content of the offline processing method in this embodiment is applicable to the embodiment of the broadcast system, and the functions specifically implemented by the embodiment of the broadcast system are the same as those of the embodiment of the offline processing method, and the achieved beneficial effects are the same as those of the embodiment of the offline processing method.
In some alternative embodiments, the functions/acts noted in the block diagrams may occur out of the order noted in the operational illustrations. For example, two blocks shown in succession may in fact be executed substantially concurrently or the blocks may sometimes be executed in the reverse order, depending upon the functionality/acts involved. Furthermore, the embodiments presented and described in the flowcharts of the present invention are provided by way of example in order to provide a more thorough understanding of the technology. The disclosed methods are not limited to the operations and logic flows presented herein. Alternative embodiments are contemplated in which the order of various operations is changed, and in which sub-operations described as part of a larger operation are performed independently.
Furthermore, while the invention is described in the context of functional modules, it should be appreciated that, unless otherwise indicated, one or more of the described functions and/or features may be integrated in 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 will also be appreciated that a detailed discussion of the actual implementation of each module is not necessary to an understanding of the present invention. Rather, the actual implementation of the various functional modules in the apparatus disclosed herein will be apparent to those skilled in the art from consideration of their attributes, functions and internal relationships. Accordingly, one of ordinary skill in the art can implement the invention as set forth in the claims without undue experimentation. It is also to be understood that the specific concepts disclosed are merely illustrative and are not intended to be limiting upon the scope of the invention, which is to be defined in the appended claims and their full scope of equivalents.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present invention have been shown and described, it will be understood by those of ordinary skill in the art that: many changes, modifications, substitutions and variations may be made to the embodiments without departing from the spirit and principles of the invention, the scope of which is defined by the claims and their equivalents.
While the preferred embodiment of the present invention has been described in detail, the present invention is not limited to the embodiments described above, and those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present invention, and these equivalent modifications or substitutions are included in the scope of the present invention as defined in the appended claims.
Claims (10)
1. The off-line processing method for the timed broadcast task is characterized by comprising the following steps of:
editing a timing broadcasting task on a broadcasting host to generate a timing broadcasting file; the timing broadcast file has a version number;
each broadcasting terminal respectively judges whether the version number issued by the broadcasting host is consistent with the version number of a broadcasting file stored by the broadcasting terminal locally at a fixed time; downloading the timed broadcast file from the broadcast host when the version number issued by the broadcast host is inconsistent with the version number of the timed broadcast file stored locally by the broadcast terminal;
and when the version number issued by the broadcasting host is consistent with the version number of the timing broadcasting file locally stored by the broadcasting terminal or the broadcasting terminal finishes downloading the timing broadcasting file, each broadcasting terminal respectively executes the timing broadcasting task.
2. The method for offline processing of a timed broadcast task according to claim 1, wherein the editing of the timed broadcast task specifically comprises the following steps:
adding a timing scheme, wherein the timing scheme comprises a plurality of timing points;
selecting the audio pointed by each timing point, and editing the playing start time and the playing end time of the audio; the audio pointed by the timing point is marked by an audio ID;
selecting a timing point type and an audio playing mode of each timing point;
selecting target broadcast terminals of each timing point, and setting the playing volume of each target broadcast terminal for playing the audio pointed by the timing point; the target broadcasting terminal refers to a broadcasting terminal for playing the audio with the timing point;
and packaging the timing scheme into a timing broadcast file and generating a version number of the timing broadcast file.
3. The method for offline processing of a timed broadcast task according to claim 2, wherein the broadcasting terminal downloads the timed broadcast file from a broadcasting host, specifically comprising the steps of:
sending a timed broadcast file downloading request to a broadcast host;
after receiving a timing broadcast file downloading response returned by a broadcast host, downloading the timing broadcast file;
analyzing the downloaded timing broadcast file, and determining a timing point required to be executed by a broadcast terminal as a target timing point;
generating a timing point audio list file according to the audio names pointed by each target timing point, wherein the timing point audio list file records the audio pointed by the target timing point by using an audio ID;
and downloading at least one timing point audio file from the broadcasting host according to the timing point audio list file, wherein each timing point audio file corresponds to one audio ID in the timing point audio list file.
4. The method for offline processing of a timed broadcast task according to claim 3, wherein the analyzing the downloaded timed broadcast file determines a timing point to be executed by the broadcast terminal as a target timing point, specifically comprising the following steps:
calling a local identifier of a broadcast terminal;
a target broadcast terminal for analyzing each timing point in the timing broadcast file;
matching in the target broadcast terminal at each of the timing points using the local identification; and taking the timing point of successful matching as a target timing point.
5. The method for offline processing of timed broadcast tasks according to claim 4, characterized in that for each of said broadcast terminals, performing said timed broadcast tasks comprises the steps of:
reading a first target timing point in the timing scheme;
when the playing start time of the target timing point audio is reached, playing the audio pointed by the target timing point in an audio playing mode and a playing volume set by the target timing point until the playing end time of the target timing point audio is reached;
and reading the next target timing point in the timing scheme, and returning to the playing start time of the audio reaching the target timing point, and playing the audio pointed by the target timing point in the audio playing mode and the playing volume set by the target timing point until all the target timing points in the timing scheme are executed.
6. The method of claim 5, further comprising the step of, prior to the step of reading the first target timing point in the timing scheme:
judging whether the broadcasting terminal is in an offline state, and when the broadcasting terminal is not in the offline state, not executing the step of reading the first target timing point in the timing scheme.
7. The method for offline processing of a timed broadcast task according to claim 5, wherein the audio playing mode comprises a sequential playing mode, a cyclic playing mode and a random playing mode; the audio playing mode and the playing volume set by the target timing point play the audio pointed by the target timing point, specifically including the following steps:
when the audio playing mode is a sequential playing mode, calling the audio pointed by the target timing point one by one according to the audio IDs arranged in the target timing point to play; after all the audio pointed by the target timing point is played, entering a standby state;
when the audio playing mode is a cyclic playing mode, calling the audio pointed by the target timing point one by one according to the audio IDs arranged in the target timing point to play; resetting the audio IDs arranged in the target timing point after all the audio pointed by the target timing point is played, and recalling the audio pointed by the target timing point for playing;
and when the audio playing mode is a random playing mode, randomly calling the audio pointed by the target timing point to play.
8. A broadcasting system supporting offline timing tasks, comprising a broadcasting host and a broadcasting terminal;
the broadcasting host is loaded with a timed task editing system, and a timed broadcasting file is generated by editing timed broadcasting tasks on the broadcasting host through the timed task editing system;
the broadcasting host and the broadcasting terminal establish a data transmission channel; the timing broadcast file is issued to a broadcast terminal through the data connection channel;
when the data transmission channels of the broadcasting host and the broadcasting terminal are interrupted, the broadcasting terminal can execute the timing broadcasting task according to the stored timing broadcasting file.
9. The broadcasting system supporting offline timing tasks according to claim 8, wherein the broadcasting terminal comprises a core control module, a power amplifier module, a clock module and a memory module;
when the broadcasting host is connected with a data transmission channel of a broadcasting terminal, the core control module synchronizes the time of the clock module through the data transmission channel, downloads the timing broadcasting task and stores the timing broadcasting task in the storage module;
when the data transmission channels of the broadcasting host and the broadcasting terminal are interrupted, the core control module calls the timing broadcasting task from the storage module according to the time of the clock module, and decodes the audio of the timing broadcasting task into an analog signal to be played through the power amplification module.
10. A broadcast system supporting off-line timed tasks according to claim 9, characterized in that the clock module has electrical energy storage means; and maintaining the timing of a clock module through the electric energy storage device when the broadcasting terminal is powered down.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311775111.5A CN117880751A (en) | 2023-12-21 | 2023-12-21 | Off-line processing method for timing broadcasting task and supported broadcasting system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311775111.5A CN117880751A (en) | 2023-12-21 | 2023-12-21 | Off-line processing method for timing broadcasting task and supported broadcasting system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117880751A true CN117880751A (en) | 2024-04-12 |
Family
ID=90585554
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311775111.5A Pending CN117880751A (en) | 2023-12-21 | 2023-12-21 | Off-line processing method for timing broadcasting task and supported broadcasting system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117880751A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101674527A (en) * | 2009-08-25 | 2010-03-17 | 中广卫星移动广播有限公司 | System and method for propelling data by mobile multimedia broadcasting |
CN104954853A (en) * | 2015-06-09 | 2015-09-30 | 广东欧珀移动通信有限公司 | Playing information saving method and system, play terminal and control terminal |
WO2019128530A1 (en) * | 2017-12-29 | 2019-07-04 | 阿里巴巴集团控股有限公司 | Audio broadcasting method, device, and system, and smart broadcasting apparatus |
CN110166550A (en) * | 2019-05-22 | 2019-08-23 | 湖南康通电子股份有限公司 | A kind of fixed time broadcast method and device of digit broadcasting system |
CN116155435A (en) * | 2023-04-19 | 2023-05-23 | 中运科技股份有限公司 | Method, system, equipment and medium for synchronously playing advertisements capable of being inserted |
-
2023
- 2023-12-21 CN CN202311775111.5A patent/CN117880751A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101674527A (en) * | 2009-08-25 | 2010-03-17 | 中广卫星移动广播有限公司 | System and method for propelling data by mobile multimedia broadcasting |
CN104954853A (en) * | 2015-06-09 | 2015-09-30 | 广东欧珀移动通信有限公司 | Playing information saving method and system, play terminal and control terminal |
WO2019128530A1 (en) * | 2017-12-29 | 2019-07-04 | 阿里巴巴集团控股有限公司 | Audio broadcasting method, device, and system, and smart broadcasting apparatus |
CN110166550A (en) * | 2019-05-22 | 2019-08-23 | 湖南康通电子股份有限公司 | A kind of fixed time broadcast method and device of digit broadcasting system |
CN116155435A (en) * | 2023-04-19 | 2023-05-23 | 中运科技股份有限公司 | Method, system, equipment and medium for synchronously playing advertisements capable of being inserted |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20090299699A1 (en) | Audio testing system and method | |
CN101615152B (en) | Method and device for detecting hot plug fault of storage card | |
CN101290718A (en) | Network interaction voice toy components and its realization method | |
CN105550251A (en) | Picture play method and device | |
CN103888527B (en) | data sharing method and device | |
CN103137167A (en) | Method for playing music and music player | |
CN104835513A (en) | Audio timing play method, device and system | |
CN109698965B (en) | Video synchronous playing method, device, equipment and computer storage medium | |
US8832122B2 (en) | Media list management | |
CN103905925A (en) | Method and terminal for repeatedly playing program | |
WO2020118606A1 (en) | Media play control method and system and computer-readable medium | |
CN107146608A (en) | A kind of control method for playing back, device and smart machine | |
CN113672748A (en) | Multimedia information playing method and device | |
CN117880751A (en) | Off-line processing method for timing broadcasting task and supported broadcasting system | |
CN110121001B (en) | Online song playing method and device and terminal | |
CN102855923B (en) | Intelligent music play device | |
CN104616682B (en) | Blu-ray player method of testing and smart machine, Blu-ray player | |
CN111432060A (en) | Method and device for testing mobile phone audio module and storage medium | |
CN113542703B (en) | Image playing system and image playing method | |
CN201255934Y (en) | Network interactive speech toy assembly | |
CN108366271A (en) | A kind of playback method of multimedia file, device and storage medium | |
JP2007250057A (en) | Sound reproducing device, sound reproducing method, and sound reproducing program | |
CN103593407B (en) | The storage of a kind of data file and back method | |
CN104867508A (en) | Method and device for continuously playing sound file | |
JP2020184297A (en) | Interactive music audition method, apparatus, terminal, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |