CN108965927B - Broadcast control method and system - Google Patents
Broadcast control method and system Download PDFInfo
- Publication number
- CN108965927B CN108965927B CN201810824826.8A CN201810824826A CN108965927B CN 108965927 B CN108965927 B CN 108965927B CN 201810824826 A CN201810824826 A CN 201810824826A CN 108965927 B CN108965927 B CN 108965927B
- Authority
- CN
- China
- Prior art keywords
- broadcast
- broadcasting
- data
- type
- playing
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 230000004044 response Effects 0.000 claims description 3
- 239000002699 waste material Substances 0.000 abstract description 7
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/438—Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a broadcast control method and a system, which are applied to a server and at least one playing terminal in the same group of networks, wherein the playing terminal comprises an audio playing circuit and a video playing circuit; the method comprises the following steps: the server generates a broadcast instruction and broadcast data according to input information of a user; the server sends the broadcast instruction and the broadcast data to the playing terminal; the playing terminal judges whether the broadcast type of the broadcast instruction corresponds to the data type of the broadcast data; when the broadcasting type of the broadcasting instruction and the data type of the broadcasting data are judged to correspond to each other, the playing terminal starts a corresponding playing circuit according to the broadcasting type of the broadcasting instruction; and the playing terminal plays the broadcast data through a playing circuit pointed by the broadcast instruction. The embodiment of the invention can start the corresponding playing circuit in time when the broadcasting task needs to be executed, thereby avoiding the waste of human resources and electric power resources.
Description
Technical Field
The invention relates to the technical field of public broadcast control, in particular to a broadcast control method and a broadcast control system.
Background
With the development of science and technology, the public broadcasting system is also undergoing updating, and in order to adapt to the development of intelligent control, the public broadcasting system is added with more intelligent control functions, such as the timing control of the power switch of each broadcasting terminal in the public broadcasting system according to a set program. In the past, each playing terminal of a public broadcasting system needs to be manually turned on or turned off by a worker, so that not only are human resources wasted, but also electric power resources are wasted to a certain extent due to untimely turning-off. The existing public broadcasting system is added with a timing program which needs workers to manually edit timing points so as to achieve the purpose of automatically controlling the broadcasting terminal, but the method is lack of flexibility, when the broadcasting terminal needs to be temporarily opened or closed, the workers need to manually edit the timing points again, and the manpower resource is undoubtedly wasted.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a broadcast control method and system, which can start a corresponding broadcast circuit in time when a broadcast task needs to be executed, thereby avoiding waste of human resources and power resources.
In order to solve the above technical problem, an aspect of the present invention provides a broadcast control method, which is applied to a server and at least one play terminal in the same group of networks, where the play terminal includes an audio play circuit and a video play circuit; the method comprises the following steps:
the server generates a broadcast instruction and broadcast data according to input information of a user;
the server sends the broadcast instruction and the broadcast data to the playing terminal;
the playing terminal judges whether the broadcast type of the broadcast instruction corresponds to the data type of the broadcast data;
when the broadcasting type of the broadcasting instruction and the data type of the broadcasting data are judged to correspond to each other, the playing terminal starts a corresponding playing circuit according to the broadcasting type of the broadcasting instruction;
and the playing terminal plays the broadcast data through a playing circuit pointed by the broadcast instruction.
In an optional embodiment, the broadcast type of the broadcast instruction includes audio broadcast, video broadcast, and audio-video broadcast; the data type of the broadcast data comprises audio broadcast data and video broadcast data;
the step of the playing terminal judging whether the broadcast type of the broadcast instruction corresponds to the data type of the broadcast data includes:
when the broadcasting type of the broadcasting instruction is identified to be audio broadcasting and the data type of the broadcasting data is audio broadcasting data, or when the broadcasting type of the broadcasting instruction is identified to be video broadcasting and the data type of the broadcasting data is video broadcasting data, or when the broadcasting type of the broadcasting instruction is identified to be audio and video broadcasting and the data type of the broadcasting data comprises audio broadcasting data and video broadcasting data, the playing terminal judges that the broadcasting type of the broadcasting instruction corresponds to the data type of the broadcasting data;
otherwise, judging that the broadcast type of the broadcast instruction and the data type of the broadcast data do not correspond to each other.
In an optional implementation manner, when determining that the broadcast type of the broadcast instruction corresponds to the data type of the broadcast data, the broadcast terminal starts a corresponding broadcast circuit according to the broadcast type of the broadcast instruction, including:
when the broadcasting type of the broadcasting instruction and the data type of the broadcasting data are judged to correspond to each other by the playing terminal, the broadcasting type of the broadcasting instruction is obtained;
when the broadcasting type of the broadcasting instruction is the audio broadcasting, the playing terminal starts the audio playing circuit;
when the broadcast type of the broadcast instruction is acquired by the broadcast terminal is video broadcast, starting the video play circuit;
and when the broadcasting type of the broadcasting instruction is the audio and video broadcasting, the playing terminal starts the audio playing circuit and the video playing circuit.
In an optional embodiment, the method further comprises:
and when the playing terminal recognizes that the corresponding playing circuit finishes playing the broadcast data, closing the corresponding playing circuit.
In an optional implementation manner, when the playback terminal recognizes that the corresponding playback circuit finishes playing the broadcast data, turning off the corresponding playback circuit includes:
when recognizing that the corresponding playing circuit finishes playing the broadcast data, the playing terminal judges whether the broadcast data needing to be played by the corresponding playing circuit is received within a preset time threshold;
when the playing terminal judges that the broadcasting data needing to be played by the corresponding playing circuit is received within a preset time threshold, the playing terminal continues to play the received broadcasting data through the corresponding playing circuit;
and when the playing terminal judges that the broadcasting data needing to be played by the corresponding playing circuit is not received within a preset time threshold, closing the corresponding playing circuit.
In order to achieve the same object, another aspect of the present invention further provides a broadcast control system, which includes a server in the same group network and at least one play terminal, where the play terminal includes an audio play circuit and a video play circuit;
the server includes:
the data generation module is used for generating a broadcast instruction and broadcast data according to input information of a user;
a data sending module, configured to send the broadcast instruction and the broadcast data to the playback terminal;
the playing terminal
The judging module is used for judging whether the broadcast type of the broadcast instruction corresponds to the data type of the broadcast data or not;
the playing circuit starting module is used for starting a corresponding playing circuit according to the broadcast type of the broadcast instruction when the broadcast type of the broadcast instruction and the data type of the broadcast data are judged to correspond to each other;
and the playing circuit working module is used for playing the broadcast data through the playing circuit pointed by the broadcast instruction.
In an optional embodiment, the broadcast type of the broadcast instruction includes audio broadcast, video broadcast, and audio-video broadcast; the data type of the broadcast data comprises audio broadcast data and video broadcast data;
the judging module is used for:
when the broadcasting type of the broadcasting instruction is identified to be audio broadcasting and the data type of the broadcasting data is audio broadcasting data, or when the broadcasting type of the broadcasting instruction is identified to be video broadcasting and the data type of the broadcasting data is video broadcasting data, or when the broadcasting type of the broadcasting instruction is identified to be audio and video broadcasting and the data type of the broadcasting data comprises audio broadcasting data and video broadcasting data, judging that the broadcasting type of the broadcasting instruction corresponds to the data type of the broadcasting data;
otherwise, judging that the broadcast type of the broadcast instruction and the data type of the broadcast data do not correspond to each other.
In an optional implementation manner, the playback circuit starting module includes:
a broadcast type obtaining unit, configured to obtain a broadcast type of the broadcast instruction when it is determined that the broadcast type of the broadcast instruction corresponds to the data type of the broadcast data;
the first starting unit is used for starting the audio playing circuit when the broadcast type of the obtained broadcast instruction is audio broadcasting;
the second starting unit is used for starting the video playing circuit when the broadcast type of the obtained broadcast instruction is video broadcast;
and the third starting unit is used for starting the audio playing circuit and the video playing circuit when the broadcast type of the obtained broadcast instruction is audio and video broadcast.
In an optional implementation manner, the cast terminal further includes:
and the playing circuit closing module is used for closing the corresponding playing circuit when the corresponding playing circuit is identified to finish playing the broadcast data.
In an optional implementation manner, the playback circuit shutdown module includes:
the judging unit is used for judging whether the broadcast data needing to be played by the corresponding playing circuit is received within a preset time threshold value when the corresponding playing circuit is identified to finish playing the broadcast data;
the continuous playing unit is used for continuously playing the received broadcast data through the corresponding playing circuit when the broadcast data needing to be played by the corresponding playing circuit is judged to be received within a preset time threshold;
and the playing circuit closing unit is used for closing the corresponding playing circuit when judging that the broadcasting data needing to be played by the corresponding playing circuit is not received within a preset time threshold.
Compared with the prior art, the broadcast control method and the broadcast control system disclosed by the invention have the beneficial effects that: the invention provides a broadcast control method and a system, wherein the method comprises the following steps: the system comprises a server and at least one playing terminal, wherein the server and the at least one playing terminal are applied to the same group of networks; the method comprises the following steps: the server generates a broadcast instruction and broadcast data according to input information of a user; the server sends the broadcast instruction and the broadcast data to the playing terminal; the playing terminal judges whether the broadcast type of the broadcast instruction corresponds to the data type of the broadcast data; when the broadcasting type of the broadcasting instruction and the data type of the broadcasting data are judged to correspond to each other, the playing terminal starts a corresponding playing circuit according to the broadcasting type of the broadcasting instruction; and the playing terminal plays the broadcast data through a playing circuit pointed by the broadcast instruction. According to the broadcasting method and the broadcasting system, the broadcasting instruction and the broadcasting data sent by the server are identified, when the broadcasting type of the broadcasting instruction and the data type of the broadcasting data are judged to correspond to each other, the corresponding playing circuit is started according to the broadcasting type of the broadcasting instruction to play the broadcasting data, so that the waste of human resources caused by manually starting the playing terminal is reduced, the broadcasting control is more flexible, meanwhile, when the broadcasting data are played, only the corresponding playing circuit is started, the playing circuit which is not involved in playing the broadcasting data does not need to be started, and the waste of electric power resources is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a broadcast control method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a broadcast control system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Please refer to fig. 1, which is a flowchart illustrating a broadcast control method according to an embodiment of the present invention. The embodiment of the invention provides a broadcast control method, which is applied to a server and at least one playing terminal in the same group of networks, wherein the playing terminal comprises an audio playing circuit and a video playing circuit; the method comprises the following steps:
s1, the server generates a broadcast instruction and broadcast data according to the input information of the user;
s2, the server sends the broadcast instruction and the broadcast data to the playing terminal;
s3, the playing terminal judges whether the broadcast type of the broadcast instruction corresponds to the data type of the broadcast data;
s4, when the broadcasting terminal judges that the broadcasting type of the broadcasting instruction corresponds to the data type of the broadcasting data, starting a corresponding broadcasting circuit according to the broadcasting type of the broadcasting instruction;
and S5, the playing terminal plays the broadcast data through the playing circuit pointed by the broadcast instruction.
The working principle of the embodiment of the invention is as follows: the server generates a broadcast instruction for controlling the broadcast terminal and broadcast data to be played through the broadcast terminal according to input information of a user, wherein the broadcast instruction comprises a corresponding broadcast type because the data types of the broadcast data are various and the broadcast data of different data types need different playing circuits to be played; when the playing terminal receives the broadcast instruction and the broadcast data sent by the server, whether the broadcast type of the broadcast instruction corresponds to the data type of the broadcast data needs to be judged, and when the broadcast type of the broadcast instruction corresponds to the data type of the broadcast data is judged, a corresponding playing circuit is started to play the broadcast data. The embodiment of the invention can generate the broadcast instruction and the broadcast data when the broadcast task needs to be executed, and controls the starting of the corresponding playing circuit through the broadcast instruction, thereby realizing intelligent control, enabling the control of the server to the playing terminal to be more flexible, and simultaneously reducing the waste of power resources because only the broadcast type of the broadcast instruction is started to start the corresponding playing circuit when the broadcast task is executed, namely only the playing circuit required for playing the broadcast data is started, and all circuits of the whole playing terminal do not need to be started, namely the playing circuit not involved in playing the broadcast data does not need to be started.
The method further comprises the following steps: and when the playing terminal judges that the broadcast type of the broadcast instruction and the data type of the broadcast data do not correspond, the playing terminal prohibits response processing on the broadcast instruction and the broadcast data.
In an optional embodiment, the broadcast type of the broadcast instruction includes audio broadcast, video broadcast, and audio-video broadcast; the data type of the broadcast data comprises audio broadcast data and video broadcast data;
the step S3 includes:
when the broadcasting type of the broadcasting instruction is identified to be audio broadcasting and the data type of the broadcasting data is audio broadcasting data, or when the broadcasting type of the broadcasting instruction is identified to be video broadcasting and the data type of the broadcasting data is video broadcasting data, or when the broadcasting type of the broadcasting instruction is identified to be audio and video broadcasting and the data type of the broadcasting data comprises audio broadcasting data and video broadcasting data, the playing terminal judges that the broadcasting type of the broadcasting instruction corresponds to the data type of the broadcasting data;
otherwise, judging that the broadcast type of the broadcast instruction and the data type of the broadcast data do not correspond to each other.
The broadcasting data can be divided into audio broadcasting data and video broadcasting data, the audio broadcasting data are played through an audio playing circuit of a playing terminal, the video broadcasting data are played through a video playing circuit of the playing terminal, when the broadcasting data contain both the audio broadcasting data and the video broadcasting data, the audio playing circuit of the playing terminal is required to play the audio broadcasting data, and the video playing circuit of the playing terminal is required to play the video broadcasting data. Correspondingly, the broadcast instruction comprises audio broadcast, video broadcast and audio-video broadcast. And when the three conditions occur, judging that the broadcast type of the broadcast instruction corresponds to the data type of the broadcast data, otherwise, judging that the broadcast type of the broadcast instruction does not correspond to the data type of the broadcast data.
In an alternative embodiment, the step S4 includes:
when the broadcasting type of the broadcasting instruction and the data type of the broadcasting data are judged to correspond to each other by the playing terminal, the broadcasting type of the broadcasting instruction is obtained;
when the broadcasting type of the broadcasting instruction is the audio broadcasting, the playing terminal starts the audio playing circuit;
when the broadcast type of the broadcast instruction is acquired by the broadcast terminal is video broadcast, starting the video play circuit;
and when the broadcasting type of the broadcasting instruction is the audio and video broadcasting, the playing terminal starts the audio playing circuit and the video playing circuit.
And starting a corresponding playing circuit according to the broadcast type of the broadcast instruction, so that the playing terminal does not need to start the playing circuit irrelevant to the broadcast data, and the energy-saving effect is achieved.
In an optional embodiment, the method further comprises:
and S6, when recognizing that the corresponding playing circuit finishes playing the broadcast data, the playing terminal closes the corresponding playing circuit.
In order to realize further energy saving, the playing terminal in the embodiment of the present invention may further automatically close the corresponding playing circuit when the playing is finished.
In an alternative embodiment, the step S5 includes:
when recognizing that the corresponding playing circuit finishes playing the broadcast data, the playing terminal judges whether the broadcast data needing to be played by the corresponding playing circuit is received within a preset time threshold;
when the playing terminal judges that the broadcasting data needing to be played by the corresponding playing circuit is received within a preset time threshold, the playing terminal continues to play the received broadcasting data through the corresponding playing circuit;
and when the playing terminal judges that the broadcasting data needing to be played by the corresponding playing circuit is not received within a preset time threshold, closing the corresponding playing circuit.
In this embodiment, within a period of time after the playing is finished, the playing terminal further detects whether broadcast data that needs to be played by the corresponding playing circuit is received within a preset time threshold, and if relevant broadcast data is not received, the corresponding playing circuit is closed, so as to achieve a further energy saving effect; if the relevant broadcast data is received, the broadcast data is continuously played through the corresponding playing circuit, and the condition that the corresponding playing circuit is immediately restarted after being closed to cause a fault is avoided; for example, after the audio playing circuit is started, when the audio playing circuit finishes playing the audio broadcasting data, the playing terminal needs to detect whether the audio broadcasting data is received within a preset time threshold, and when the audio broadcasting data is received, the audio broadcasting data is continuously played through the audio playing circuit; and when the audio broadcast data is not received, closing the audio playing circuit.
Compared with the prior art, the broadcast control method disclosed by the invention has the beneficial effects that: the invention provides a broadcast control method, which comprises the following steps: the system comprises a server and at least one playing terminal, wherein the server and the at least one playing terminal are applied to the same group of networks; the method comprises the following steps: the server generates a broadcast instruction and broadcast data according to input information of a user; the server sends the broadcast instruction and the broadcast data to the playing terminal; the playing terminal judges whether the broadcast type of the broadcast instruction corresponds to the data type of the broadcast data; when the broadcasting type of the broadcasting instruction and the data type of the broadcasting data are judged to correspond to each other, the playing terminal starts a corresponding playing circuit according to the broadcasting type of the broadcasting instruction; and the playing terminal plays the broadcast data through a playing circuit pointed by the broadcast instruction. According to the broadcasting method and the broadcasting system, the broadcasting instruction and the broadcasting data sent by the server are identified, when the broadcasting type of the broadcasting instruction and the data type of the broadcasting data are judged to correspond to each other, the corresponding playing circuit is started according to the broadcasting type of the broadcasting instruction to play the broadcasting data, so that the waste of human resources caused by manually starting the playing terminal is reduced, the broadcasting control is more flexible, meanwhile, when the broadcasting data are played, only the corresponding playing circuit is started, the playing circuit which is not involved in playing the broadcasting data does not need to be started, and the waste of electric power resources is reduced.
To achieve the same object, another aspect of the present invention provides a broadcast control system. Please refer to fig. 2, which is a schematic structural diagram of a broadcast control system according to an embodiment of the present invention. The system comprises a server 1 and at least one playing terminal 2 in the same group of networks, wherein the playing terminal 2 comprises an audio playing circuit and a video playing circuit;
the server 1 includes:
a data generating module 12, configured to generate a broadcast instruction and broadcast data according to input information of a user;
a data sending module 12, configured to send the broadcast instruction and the broadcast data to the playing terminal;
the play terminal 2 includes:
a judging module 21, configured to judge whether a broadcast type of the broadcast instruction corresponds to a data type of the broadcast data;
a playing circuit starting module 22, configured to start a corresponding playing circuit according to the broadcast type of the broadcast instruction when it is determined that the broadcast type of the broadcast instruction corresponds to the data type of the broadcast data;
and the playing circuit working module 23 is configured to play the broadcast data through the playing circuit pointed by the broadcast instruction.
In an optional embodiment, the broadcast type of the broadcast instruction includes audio broadcast, video broadcast, and audio-video broadcast; the data type of the broadcast data comprises audio broadcast data and video broadcast data;
the judging module 21 is configured to:
when the broadcasting type of the broadcasting instruction is identified to be audio broadcasting and the data type of the broadcasting data is audio broadcasting data, or when the broadcasting type of the broadcasting instruction is identified to be video broadcasting and the data type of the broadcasting data is video broadcasting data, or when the broadcasting type of the broadcasting instruction is identified to be audio and video broadcasting and the data type of the broadcasting data comprises audio broadcasting data and video broadcasting data, judging that the broadcasting type of the broadcasting instruction corresponds to the data type of the broadcasting data;
otherwise, judging that the broadcast type of the broadcast instruction and the data type of the broadcast data do not correspond to each other.
In an alternative embodiment, the playback circuit activation module 22 includes:
a broadcast type obtaining unit, configured to obtain a broadcast type of the broadcast instruction when it is determined that the broadcast type of the broadcast instruction corresponds to the data type of the broadcast data;
the first starting unit is used for starting the audio playing circuit when the broadcast type of the obtained broadcast instruction is audio broadcasting;
the second starting unit is used for starting the video playing circuit when the broadcast type of the obtained broadcast instruction is video broadcast;
and the third starting unit is used for starting the audio playing circuit and the video playing circuit when the broadcast type of the obtained broadcast instruction is audio and video broadcast.
In an optional implementation manner, the cast terminal 2 further includes:
a playing circuit closing module 24, configured to close the corresponding playing circuit when it is identified that the playing of the broadcast data by the corresponding playing circuit is finished.
In an alternative embodiment, the playback circuit shutdown module 24 includes:
the judging unit is used for judging whether the broadcast data needing to be played by the corresponding playing circuit is received within a preset time threshold value when the corresponding playing circuit is identified to finish playing the broadcast data;
the continuous playing unit is used for continuously playing the received broadcast data through the corresponding playing circuit when the broadcast data needing to be played by the corresponding playing circuit is judged to be received within a preset time threshold;
and the playing circuit closing unit is used for closing the corresponding playing circuit when judging that the broadcasting data needing to be played by the corresponding playing circuit is not received within a preset time threshold.
It should be noted that, the broadcast control system provided in the embodiment of the present invention is used for all the process steps of the broadcast control method, and the working principles and beneficial effects thereof are in one-to-one correspondence, and thus are not described again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.
Claims (6)
1. A broadcast control method is characterized in that the broadcast control method is applied to a server and at least one play terminal in the same group of networks, wherein the play terminal comprises an audio play circuit and a video play circuit; the method comprises the following steps:
the server generates a broadcast instruction and broadcast data according to input information of a user;
the server sends the broadcast instruction and the broadcast data to the playing terminal;
the playing terminal judges whether the broadcast type of the broadcast instruction corresponds to the data type of the broadcast data; the broadcasting type of the broadcasting instruction comprises audio broadcasting, video broadcasting and audio and video broadcasting; the data type of the broadcast data comprises audio broadcast data and video broadcast data; the step of the playing terminal judging whether the broadcast type of the broadcast instruction corresponds to the data type of the broadcast data includes: when the broadcasting type of the broadcasting instruction is identified to be audio broadcasting and the data type of the broadcasting data is audio broadcasting data, or when the broadcasting type of the broadcasting instruction is identified to be video broadcasting and the data type of the broadcasting data is video broadcasting data, or when the broadcasting type of the broadcasting instruction is identified to be audio and video broadcasting and the data type of the broadcasting data comprises audio broadcasting data and video broadcasting data, the playing terminal judges that the broadcasting type of the broadcasting instruction corresponds to the data type of the broadcasting data; otherwise, judging that the broadcast type of the broadcast instruction and the data type of the broadcast data do not correspond to each other;
when the broadcasting type of the broadcasting instruction and the data type of the broadcasting data are judged to correspond to each other, the playing terminal starts a corresponding playing circuit according to the broadcasting type of the broadcasting instruction; when the broadcasting type of the broadcasting instruction and the data type of the broadcasting data are judged to correspond to each other, the playing terminal acquires the broadcasting type of the broadcasting instruction; when the broadcasting type of the broadcasting instruction is the audio broadcasting, the playing terminal starts the audio playing circuit; when the broadcast type of the broadcast instruction is acquired by the broadcast terminal is video broadcast, starting the video play circuit; when the broadcasting type of the broadcasting instruction is the audio and video broadcasting, the playing terminal starts the audio playing circuit and the video playing circuit;
the broadcasting terminal broadcasts the broadcasting data through a broadcasting circuit pointed by the broadcasting instruction;
and when the playing terminal judges that the broadcast type of the broadcast instruction and the data type of the broadcast data do not correspond, the playing terminal prohibits response processing on the broadcast instruction and the broadcast data.
2. The broadcast control method of claim 1, wherein the method further comprises:
and when the playing terminal recognizes that the corresponding playing circuit finishes playing the broadcast data, closing the corresponding playing circuit.
3. The broadcast control method of claim 2, wherein the turning off the corresponding playback circuit when the playback terminal recognizes that the corresponding playback circuit finishes playing the broadcast data comprises:
when recognizing that the corresponding playing circuit finishes playing the broadcast data, the playing terminal judges whether the broadcast data needing to be played by the corresponding playing circuit is received within a preset time threshold;
when the playing terminal judges that the broadcasting data needing to be played by the corresponding playing circuit is received within a preset time threshold, the playing terminal continues to play the received broadcasting data through the corresponding playing circuit;
and when the playing terminal judges that the broadcasting data needing to be played by the corresponding playing circuit is not received within a preset time threshold, closing the corresponding playing circuit.
4. A broadcast control system is characterized by comprising a server and at least one play terminal in the same group of networks, wherein the play terminal comprises an audio play circuit and a video play circuit;
the server includes:
the data generation module is used for generating a broadcast instruction and broadcast data according to input information of a user;
a data sending module, configured to send the broadcast instruction and the broadcast data to the playback terminal;
the play terminal includes:
the judging module is used for judging whether the broadcast type of the broadcast instruction corresponds to the data type of the broadcast data or not; the broadcasting type of the broadcasting instruction comprises audio broadcasting, video broadcasting and audio and video broadcasting; the data type of the broadcast data comprises audio broadcast data and video broadcast data; when the broadcasting type of the broadcasting instruction is identified to be audio broadcasting and the data type of the broadcasting data is audio broadcasting data, or when the broadcasting type of the broadcasting instruction is identified to be video broadcasting and the data type of the broadcasting data is video broadcasting data, or when the broadcasting type of the broadcasting instruction is identified to be audio and video broadcasting and the data type of the broadcasting data comprises audio broadcasting data and video broadcasting data, judging that the broadcasting type of the broadcasting instruction corresponds to the data type of the broadcasting data; otherwise, judging that the broadcast type of the broadcast instruction and the data type of the broadcast data do not correspond to each other;
the playing circuit starting module is used for starting a corresponding playing circuit according to the broadcast type of the broadcast instruction when the broadcast type of the broadcast instruction and the data type of the broadcast data are judged to correspond to each other; when the broadcast type of the broadcast instruction and the data type of the broadcast data are judged not to correspond, response processing on the broadcast instruction and the broadcast data is forbidden; wherein, the play circuit starting module comprises: a broadcast type obtaining unit, configured to obtain a broadcast type of the broadcast instruction when it is determined that the broadcast type of the broadcast instruction corresponds to the data type of the broadcast data; the first starting unit is used for starting the audio playing circuit when the broadcast type of the obtained broadcast instruction is audio broadcasting; the second starting unit is used for starting the video playing circuit when the broadcast type of the obtained broadcast instruction is video broadcast; the third starting unit is used for starting the audio playing circuit and the video playing circuit when the broadcasting type of the obtained broadcasting instruction is audio and video broadcasting;
and the playing circuit working module is used for playing the broadcast data through the playing circuit pointed by the broadcast instruction.
5. The broadcast control system according to claim 4, wherein the play terminal further comprises:
and the playing circuit closing module is used for closing the corresponding playing circuit when the corresponding playing circuit is identified to finish playing the broadcast data.
6. The broadcast control system of claim 5, wherein the playout circuit shutdown module comprises:
the judging unit is used for judging whether the broadcast data needing to be played by the corresponding playing circuit is received within a preset time threshold value when the corresponding playing circuit is identified to finish playing the broadcast data;
the continuous playing unit is used for continuously playing the received broadcast data through the corresponding playing circuit when the broadcast data needing to be played by the corresponding playing circuit is judged to be received within a preset time threshold;
and the playing circuit closing unit is used for closing the corresponding playing circuit when judging that the broadcasting data needing to be played by the corresponding playing circuit is not received within a preset time threshold.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810824826.8A CN108965927B (en) | 2018-07-25 | 2018-07-25 | Broadcast control method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810824826.8A CN108965927B (en) | 2018-07-25 | 2018-07-25 | Broadcast control method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108965927A CN108965927A (en) | 2018-12-07 |
CN108965927B true CN108965927B (en) | 2021-05-04 |
Family
ID=64464721
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810824826.8A Active CN108965927B (en) | 2018-07-25 | 2018-07-25 | Broadcast control method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108965927B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1722756A (en) * | 2004-07-12 | 2006-01-18 | Lg电子株式会社 | Broadcasting system and method of controlling the same |
CN102202229A (en) * | 2011-05-18 | 2011-09-28 | 北京瀚景锦河科技有限公司 | Method and device for real-time video gateway |
CN104902320A (en) * | 2015-05-22 | 2015-09-09 | 青岛海信移动通信技术股份有限公司 | Playing method and playing device for media file |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016115716A1 (en) * | 2015-01-23 | 2016-07-28 | 华为技术有限公司 | Voice playing method and voice playing device |
CN105338401B (en) * | 2015-11-16 | 2019-08-27 | 深圳Tcl数字技术有限公司 | The playback method and system of multimedia file |
CN105577947B (en) * | 2015-12-18 | 2021-11-16 | 联想(北京)有限公司 | Control method and electronic device |
CN105550377B (en) * | 2016-02-03 | 2019-02-12 | Oppo广东移动通信有限公司 | The processing method and processing device of multimedia file |
CN107277132B (en) * | 2017-06-15 | 2021-07-06 | 深圳Tcl新技术有限公司 | DLNA (digital Living network alliance) pushing processing method, multimedia receiving end and storage medium |
-
2018
- 2018-07-25 CN CN201810824826.8A patent/CN108965927B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1722756A (en) * | 2004-07-12 | 2006-01-18 | Lg电子株式会社 | Broadcasting system and method of controlling the same |
CN102202229A (en) * | 2011-05-18 | 2011-09-28 | 北京瀚景锦河科技有限公司 | Method and device for real-time video gateway |
CN104902320A (en) * | 2015-05-22 | 2015-09-09 | 青岛海信移动通信技术股份有限公司 | Playing method and playing device for media file |
Also Published As
Publication number | Publication date |
---|---|
CN108965927A (en) | 2018-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110493091A (en) | A kind of control method and device of smart home device | |
CN105979375B (en) | A kind of starting method and device of smart television | |
CN110769319B (en) | Standby wakeup interaction method and device | |
CN106453892B (en) | The Android screen adjusted based on luminance dynamic is always on and energy-saving control method and system | |
CN109545213A (en) | Equipment control method and device, storage medium and air conditioner | |
CN105100915B (en) | A kind of method and television set switching audiovisual applications | |
CN106937167A (en) | A kind of background audio processing method and its mobile terminal | |
CN104714632A (en) | Automatic turn-on and turn-off control method, device and system of display screen | |
CN109889861A (en) | A kind of theme live broadcasting method, device, system, equipment and storage medium | |
CN106162332A (en) | One is televised control method and device | |
CN105979060A (en) | Play method and device | |
CN111399459A (en) | Intelligent household equipment control method, device, equipment and storage medium | |
CN115220912A (en) | Method and device for configuring system resources, electronic equipment and storage medium | |
CN105376645A (en) | Set-top box and power consumption reduction method | |
CN109686372B (en) | Resource playing control method and device | |
CN108965927B (en) | Broadcast control method and system | |
CN113673731A (en) | Conference scene generation method and device | |
CN108495175A (en) | A kind of method and apparatus for controlling communication message when smart television interconnection external equipment | |
CN111050216A (en) | Energy-saving method, equipment and storage medium for set top box sound mode | |
CN106658138B (en) | Smart television and its signal source switch method, device | |
CN105791933B (en) | A kind of method, apparatus and smart television switching audiovisual applications | |
CN105791932A (en) | Method of switching audio and video applications, device and intelligent television | |
CN106331819A (en) | Set-top box operation method, set-top box client device and set-top box | |
CN113867831B (en) | Intelligent device control method, intelligent device, storage medium and electronic device | |
CN109547858A (en) | TV set control method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |