CN110650351A - Live broadcast control method, system, server and computer readable storage medium - Google Patents

Live broadcast control method, system, server and computer readable storage medium Download PDF

Info

Publication number
CN110650351A
CN110650351A CN201910759316.1A CN201910759316A CN110650351A CN 110650351 A CN110650351 A CN 110650351A CN 201910759316 A CN201910759316 A CN 201910759316A CN 110650351 A CN110650351 A CN 110650351A
Authority
CN
China
Prior art keywords
file
slice file
slice
live broadcast
broadcast control
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.)
Granted
Application number
CN201910759316.1A
Other languages
Chinese (zh)
Other versions
CN110650351B (en
Inventor
蒋伟
王�琦
李立锋
王斌
杜欧杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
MIGU Video Technology Co Ltd
MIGU Culture Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Video Technology Co Ltd
MIGU Culture Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, MIGU Video Technology Co Ltd, MIGU Culture Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201910759316.1A priority Critical patent/CN110650351B/en
Publication of CN110650351A publication Critical patent/CN110650351A/en
Application granted granted Critical
Publication of CN110650351B publication Critical patent/CN110650351B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234345Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements the reformatting operation being performed only on part of the stream, e.g. a region of the image or a time segment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention relates to the technical field of communication, and discloses a live broadcast control method, a live broadcast control system, a server and a computer readable storage medium. In the invention, a live broadcast control method comprises the following steps: generating a first slicing file for a broadcasting control end to obtain through a first transmission protocol according to a received live broadcasting signal; if a control instruction sent out based on the first slice file is received, adjusting the second slice file according to the control instruction; the second slice file specifically includes: generating a slice file for the non-broadcast control end to obtain through a second transmission protocol according to the live broadcast signal; the real-time performance of the first transmission protocol is higher than that of the second transmission protocol; the embodiment of the invention also provides a live broadcast control system, a server and a computer readable storage medium; the broadcasting control of the public network can be realized, and the flexibility of the broadcasting control is improved.

Description

Live broadcast control method, system, server and computer readable storage medium
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a live broadcast control method, a live broadcast control system, a server and a computer readable storage medium.
Background
The network live broadcast absorbs and continues the advantages of the internet, the online live broadcast is carried out by utilizing a video mode, the contents such as product display, related conferences, background introduction, scheme evaluation, online investigation, conversation interview, online training and the like can be released to the internet on site, and the popularization effect of the activity site is enhanced by utilizing the characteristics of intuition, quickness, good expression form, rich contents, strong interactivity, unlimited region, divisible audience and the like of the internet.
However, the inventors found that at least the following problems exist in the related art: the broadcast control personnel are required to perform broadcast control based on the special live broadcast signal in the intranet, namely, the broadcast control personnel receive a specific live broadcast signal, which is different from the live broadcast signal received by a common user. Because the broadcast control personnel can only carry out broadcast control based on the intranet, the flexibility of broadcast control is lower.
Disclosure of Invention
The embodiment of the invention aims to provide a live broadcast control method, a system, a server and a computer readable storage medium, so that public network broadcast control can be realized, and the flexibility of broadcast control is improved.
In order to solve the above technical problem, an embodiment of the present invention provides a live broadcast control method, including: generating a first slicing file for a broadcasting control end to obtain through a first transmission protocol according to a received live broadcasting signal; if a control instruction sent out based on the first slice file is received, adjusting the second slice file according to the control instruction; the second slice file specifically includes: generating a slice file for the non-broadcast control end to obtain through a second transmission protocol according to the live broadcast signal; wherein the real-time property of the first transmission protocol is higher than the real-time property of the second transmission protocol.
The embodiment of the present invention further provides a live broadcast control system, including: the first protocol conversion module is used for generating a first slicing file for the broadcasting control end to obtain through a first transmission protocol according to the received live broadcasting signal; the adjusting module is used for adjusting the second slice file according to the control instruction when the control instruction sent out based on the first slice file is received; the second slice file specifically includes: the second protocol conversion module is used for generating a slice file for the non-broadcast control end to obtain through a second transmission protocol according to the live broadcast signal; wherein the real-time property of the first transmission protocol is higher than the real-time property of the second transmission protocol.
An embodiment of the present invention further provides a server, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the live control method as described above.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program, and the computer program realizes the live broadcast control method when being executed by a processor.
Compared with the prior art, the embodiment of the invention provides a live broadcast control method, which comprises the steps of generating a first slicing file for a broadcast control terminal to obtain through a first transmission protocol according to a received live broadcast signal; if a control instruction sent out based on the first slice file is received, adjusting the second slice file according to the control instruction; the second slice file specifically includes: generating a slice file for the non-broadcast control end to obtain through a second transmission protocol according to the live broadcast signal; wherein the real-time property of the first transmission protocol is higher than the real-time property of the second transmission protocol. Because the real-time property of the first transmission protocol is higher than that of the second transmission protocol, the first slice file acquired by the broadcast control personnel can be earlier than the second slice file acquired by the non-broadcast control end, so that the broadcast control personnel can conveniently execute broadcast control operation by utilizing the time difference between the first slice file and the second slice file. And because the first slice file acquired by the broadcasting control end and the second slice file acquired by the non-broadcasting control end are generated according to the same live broadcast signal, a special broadcasting control environment is not required to be built, so that public network broadcasting control can be realized, and the broadcasting control flexibility is improved.
In addition, according to the received live broadcast signal, a first slicing file for the broadcast control terminal to obtain is generated through a first transmission protocol, and the method comprises the following steps: storing a slice file represented by the live broadcast signal in a first area according to the sequence of the received live broadcast signal; and when the first area is detected to have the slice file stored, generating a first slice file through a first transmission protocol according to the stored current slice file. The first slice file is generated by a first transmission protocol each time a slice file entry is detected in the first area, i.e. based on the current slice file that is entered. By the method, the real-time performance of the first clip file acquired by the broadcast control end can be improved.
In addition, the second slice file is specifically obtained as follows: storing the slice files represented by the live broadcast signals in a second area according to the sequence of the received live broadcast signals; counting the number of the subsequently stored slice files when the current slice file is detected to be stored in the second area; and when the number of the slicing files reaches a preset value, generating a second slicing file through a second transmission protocol according to the current slicing file. That is, assuming that the first slice file is just obtained according to the stored current slice file a, when it is detected that the slice file a is stored in the second area, the second slice file is not immediately generated according to the slice file a through the second transmission protocol, but the subsequently stored slice file is continuously obtained after the slice file a is stored, and when the number of the subsequently stored slice files reaches the preset value, the second slice file is generated according to the slice file a through the second transmission protocol.
In addition, adjusting the second slice file according to the control instruction comprises: extracting identification information of a target slice file from the control instruction, wherein the target slice file is as follows: forbidding the slice files acquired by the non-broadcast control end; searching a slice file corresponding to the identification information in the second slice file; and adjusting the second slice file by executing preset operation on the searched slice file. By extracting the identification information of the slice file acquired by the non-broadcast control terminal from the control instruction and executing the preset operation on the slice file corresponding to the identification information, the second slice file acquired by the non-broadcast control terminal does not have related contents such as illegal information and the like which are prohibited to be played.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
Fig. 1 is a flowchart of a live broadcast control method according to a first embodiment of the present invention;
fig. 2 is a flowchart of sub-step 102 in a live broadcast control method according to a first embodiment of the present invention;
fig. 3 is a flowchart of a method for acquiring a second slice file in a live broadcast control method according to a second embodiment of the present invention;
fig. 4 is a flowchart of a live broadcast control method according to a third embodiment of the present invention;
fig. 5 is a schematic structural connection diagram of a live broadcast control system according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural connection diagram of a server according to a fifth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
A first embodiment of the present invention relates to a live broadcast control method. Generating a first slicing file for a broadcasting control end to obtain through a first transmission protocol according to a received live broadcasting signal; if a control instruction sent out based on the first slice file is received, adjusting the second slice file according to the control instruction; the second slice file specifically includes: generating a slice file for the non-broadcast control end to obtain through a second transmission protocol according to the live broadcast signal; wherein the real-time property of the first transmission protocol is higher than the real-time property of the second transmission protocol.
In this embodiment, because the real-time property of the first transmission protocol is higher than that of the second transmission protocol, the first slice file acquired by the broadcast control personnel can be earlier than the second slice file acquired by the non-broadcast control end, so that the broadcast control personnel can conveniently execute the broadcast control operation by using the time difference between the first slice file and the second slice file. And because the first slice file acquired by the broadcasting control end and the second slice file acquired by the non-broadcasting control end are generated according to the same live broadcast signal, a special broadcasting control environment is not required to be built, so that public network broadcasting control can be realized, and the broadcasting control flexibility is improved.
The implementation details of the live broadcast control method according to this embodiment are specifically described below, and the following description is only provided for the convenience of understanding, and is not necessary for implementing this embodiment.
A flowchart of a live broadcast control method in this embodiment is shown in fig. 1, and includes:
step 101, receiving a live signal.
And 102, generating a first slicing file for a broadcasting control end to obtain through a first transmission protocol according to the received live broadcasting signal.
The first transmission Protocol is generally a Protocol with higher Real-Time performance in the field, and for example, the first transmission Protocol may be a Real Time Messaging Protocol (RTMP Protocol), a Real Time Streaming Protocol (RTSP Protocol), or the like, and is not limited specifically herein.
In one example, step 102 may include the following sub-steps, as shown in FIG. 2:
and a substep 1021, storing the slice file represented by the live broadcast signal in the first area according to the sequence of the received live broadcast signals.
And a sub-step 1022 of detecting whether the slice file is stored in the first region. If the first area is detected to have the slice file stored, go to sub-step 1023; otherwise, returning to step 1022, it continues to detect whether the slice file is stored in the first area.
And a substep 1023 of generating a first slice file by means of a first transmission protocol, based on the current slice file stored.
Specifically, if ts represents a slice file, the obtained slice files are respectively as follows according to the sequence of the received live broadcast signals: ts1, ts2, ts3, … …, tn, which are sequentially stored in the first area. When it is detected that ts1 exists in the first area, ts1 is converted into ts1 'through the first transport protocol for the broadcast control end to obtain, and when it is detected that ts2 exists in the first area, ts1 is converted into ts 2' through the first transport protocol for the broadcast control end to obtain, and so on. It will be appreciated that the first slice file is generated by the first transport protocol each time a slice file entry is detected for the first region, i.e. in dependence on the current slice file being entered. By the method, the real-time performance of the first slice file acquired by the broadcast control end can be improved, and the first slice file acquired by the broadcast control end and the slice file represented by the live broadcast signal have no time interval as far as possible.
In other examples, a sequence table seq-table xml may also be generated according to the sequence of the received live broadcast signal, the name of the slice file stored in the first area, and the duration of the slice file, and stored in the first area. Xml can be generated as follows:
Figure BDA0002169774700000041
in an example, when the first clip file is obtained, a live link address live-url for the broadcast control end to obtain may be generated according to the first clip file, and the broadcast control end may obtain the first clip file according to the live link address.
And 103, judging whether a control instruction sent out based on the first slice file is received. If the control instruction sent based on the first slice file is judged to be received, entering step 104; otherwise, returning to step 101, re-receiving the live broadcast signal, and executing the subsequent operation.
Specifically, when the broadcast control personnel find that illegal contents exist in the first slice file, a control instruction can be sent in a key pressing mode, a touch control mode and the like, and the control instruction is used for adjusting the corresponding illegal contents in the slice file acquired by the non-broadcast control end.
In this embodiment, if a control instruction sent based on the first slice file is not currently received, it may be stated that the content represented by the current first slice file does not have illegal and illegal contents, and therefore, it is not necessary to adjust the second slice file corresponding to the current first slice file and acquired by the non-broadcast control end, the processing flow of the current first slice file is ended, and the step 101 is returned, and the subsequent operation is executed according to the received live broadcast signal again.
And 104, adjusting the second slice file according to the control instruction.
The second slice file specifically includes: and generating a slice file for the non-broadcast control terminal to acquire through a second transmission protocol according to the live broadcast signal, wherein the real-time performance of the first transmission protocol is higher than that of the second transmission protocol.
The second transmission protocol may include, but is not limited to: HTTP-based Streaming media network transport protocol (HTTP Live Streaming, abbreviated as "HLS" protocol).
In one example, a slice file represented by the live signal may be stored in the second area according to the order of the received live signals; and detecting whether the second area has the slice file stored, and generating a second slice file through a second transmission protocol according to the stored current slice file when detecting that the second area has the slice file stored. For example, if the slice file is denoted by ts, the obtained slice files are respectively: ts1, ts2, ts3, … …, tn. When it is detected that ts1 exists in the second area, ts1 is converted into ts1 "through the second transport protocol for the non-broadcast control end to obtain, and when it is detected that ts2 exists in the second area, ts1 is converted into ts 2" through the second transport protocol for the non-broadcast control end to obtain, and so on.
In an example, when the second slice file is obtained through conversion, a live link address for the non-broadcast control end to obtain may be generated according to the second slice file, and the non-broadcast control end may obtain the second slice file according to the live link address.
In addition, after a first slicing file for the broadcast control end to obtain is generated through a first transmission protocol according to the received live broadcast signal, the identity information of a user who sends a request to the live broadcast signal can be judged; if the user is judged to be the user of the broadcast control end, sending a first slicing file to the broadcast control end; and/or after the second slice file is acquired, the identity information of the user who sends the request to the live broadcast signal can be judged; and if the user is judged to be the user of the non-broadcast control end, sending a second slice file to the non-broadcast control end. For example, a specific request address may be allocated to the broadcast control terminal, so that whether the identity information of the user requesting the live signal is the broadcast control terminal or the non-broadcast control terminal may be determined according to the request address. Of course, the present embodiment does not limit the manner of determining the identity information.
As can be easily found, in the live broadcast control method provided by this embodiment, because the real-time property of the first transmission protocol is higher than that of the second transmission protocol, the first slice file acquired by the broadcast control personnel can be earlier than the second slice file acquired by the non-broadcast control end, so that the broadcast control personnel can perform broadcast control operation by using the time difference between the first slice file and the second slice file. And because the first slice file acquired by the broadcasting control end and the second slice file acquired by the non-broadcasting control end are generated according to the same live broadcast signal, a special broadcasting control environment is not required to be built, so that public network broadcasting control can be realized, and the broadcasting control flexibility is improved.
A second embodiment of the present invention relates to a live broadcast control method. The second embodiment is a further improvement on the first embodiment, and the specific improvement is that: in this embodiment, the second slice file is specifically obtained as follows: storing the slice files represented by the live broadcast signals in a second area according to the sequence of the received live broadcast signals; counting the number of the subsequently stored slice files when the current slice file is detected to be stored in the second area; and when the number of the slicing files reaches a preset value, generating a second slicing file through a second transmission protocol according to the current slicing file.
In this embodiment, a flowchart of a method for acquiring a second slice file is shown in fig. 3, and includes:
step 201, receiving a live signal.
Step 202, according to the sequence of the received live broadcast signals, storing the slice files represented by the live broadcast signals in a second area.
For example, if the slice file is denoted by ts, the obtained slice files are respectively: ts1, ts2, ts3, … …, tn, which are sequentially stored in the second area.
Step 203, counting the number of the subsequently stored slice files when the current slice file is detected to be stored in the second area.
It should be emphasized that the current slice file as referred to herein specifically is: in the process of generating a first slicing file for a broadcast control end to obtain through a first transmission protocol according to a received live broadcast signal, when a current slicing file is detected in a first area, namely the current slicing file is converted into the first slicing file through the first transmission protocol, the current slicing file is called.
For example, if the first slice file is obtained just according to the stored current slice file a, when it is detected that the slice file a is stored in the second area, the second slice file is not generated through the second transmission protocol immediately according to the slice file a, but the subsequently stored slice files are continuously obtained after the slice file a is stored, and the number of the subsequently stored slice files is counted.
And 204, detecting whether the number of the slice files reaches a preset value. If the number of the slice files reaches the preset value, entering step 205; otherwise, returning to step 204, and continuing to detect whether the number of the slice files reaches a preset value.
The preset value can be set according to actual requirements. For example, the number of the optical fibers may be 3 or 5, and is not particularly limited herein.
And step 205, generating a second slicing file through a second transmission protocol according to the current slicing file.
With reference to the example in step 203, if the preset value is 3 and the time length of each slice file is 10s, and the number of the subsequently stored slice files is 3, a second slice file is generated according to the slice file a through a second transmission protocol, so that the time length of the slice file a acquired by the non-broadcast control end is at least later than the time length of the slice file a acquired by the broadcast control end: preset values per slice time, i.e.: 3 × 10s ═ 30 s.
As can be easily found, in the live broadcast control method provided by this embodiment, according to the order of the received live broadcast signals, the slice file represented by the live broadcast signals is stored in the second area; counting the number of the subsequently stored slice files when the current slice file is detected to be stored in the second area; and when the number of the slicing files reaches a preset value, generating a second slicing file through a second transmission protocol according to the current slicing file.
A third embodiment of the present invention relates to a live broadcast control method. The third embodiment is a further improvement on the first embodiment, and the specific improvement is that: in this embodiment, adjusting the second slice file according to the control instruction includes: extracting identification information of a target slice file from the control instruction, wherein the target slice file is as follows: forbidding the slice files acquired by the non-broadcast control end; searching a slice file corresponding to the identification information in the second slice file; and adjusting the second slice file by executing preset operation on the searched slice file. By extracting the identification information of the slice file acquired by the non-broadcast control terminal from the control instruction and executing the preset operation on the slice file corresponding to the identification information, the second slice file acquired by the non-broadcast control terminal does not have related contents such as illegal information and the like which are prohibited to be played.
A flowchart of the live broadcast control method in this embodiment is shown in fig. 4, and includes:
step 301, receiving a live signal.
Step 302, according to the received live broadcast signal, a first slicing file for the broadcast control end to obtain is generated through a first transmission protocol.
Step 303, determining whether a control command issued based on the first slice file is received. If the control instruction sent based on the first slice file is judged to be received, step 304 is entered; otherwise, returning to step 301, re-receiving the live broadcast signal, and performing subsequent operations.
Since steps 301 to 303 in this embodiment are substantially the same as steps 101 to 103 in the first embodiment, the description is omitted here to avoid repetition.
And step 304, extracting the identification information of the target slice file from the control command.
Wherein, the target slice file is: and forbidding the slice files acquired by the non-broadcast control end.
In one example, the identification information is time information of the target slice file in each second slice file. For example, the first clip files for the broadcast control end to obtain are respectively: ts1 ', ts 2', ts3 ', … … and tn' respectively, wherein the second slice files acquired by the non-broadcast end are: ts1 ", ts 2", ts3 ", … …, tn". Wherein ts1 'and ts 1' have the same content, ts2 'and ts 2' have the same content, and so on. When the broadcast control personnel at the broadcast control end acquires and plays ts3 ', ts 3' is found to include illegal contents, and then the non-broadcast control personnel may acquire and play ts1 ".
In this case, the play controller may select ts3 'to obtain the time information of ts 3' in the first clip file, for example, if ts3 'starts to be played at the 30 th s in the playing process, the identification information of ts 3' may be: for 30 s. Thus, it can be determined that the identification information of the target slice file (in this example, ts3 ") is 30 s.
Step 305, finding the slice file corresponding to the identification information in the second slice file.
Here, the following is still explained as an example in step 304: that is, the slice file to be played at the 30 th s among the second slice files is searched, so that ts3 ″ can be locked and searched.
And step 306, adjusting the second slice file by executing preset operation on the searched slice file.
In one example, the slice file may be replaced with a multimedia file having the same duration as the found slice file. The multimedia file may be: an advertisement file, or the last slice file adjacent to the slice file. Therefore, related contents such as illegal information and the like which are forbidden to be played do not exist in the second slice file acquired by the non-playing control terminal.
For example, if the found slice file is ts2 ", ts 2" may be determined as an invalid slice file, and the ts2 "may be replaced by the last slice file adjacent to the slice file, that is, ts 1".
For another example, if the found slice file is ts2 ", ts 2" may be determined as an invalid slice file, and the ts2 "may be replaced by an advertisement file having the same duration as that of the slice file.
By the method, the second slice file acquired by the non-playing control end does not have related contents such as illegal information and the like which are prohibited to be played, and seamless transition between ts1 and ts 2' can be realized.
In other examples, an alarm prompt message may be sent to the user at the non-broadcast control end according to the searched slice file, so that the user at the non-broadcast control end can know in advance: since the slice file to be played next includes illegal contents, the service is not provided for the moment, and the multimedia file is used for replacing the illegal contents.
The present embodiment may be a modification of the second embodiment.
It is easy to find that, in the live broadcast control method provided in this embodiment, by extracting the identification information of the slice file that is obtained by the non-broadcast control end from the control instruction and executing the preset operation on the slice file corresponding to the identification information, the second slice file that is obtained by the non-broadcast control end does not have related content that is forbidden to be broadcast, such as illegal information.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A fourth embodiment of the present invention relates to a live broadcast control system, as shown in fig. 5, including: a first protocol conversion module 401, configured to generate, according to a received live broadcast signal, a first slice file for a broadcast control end to obtain through a first transmission protocol; an adjusting module 402, configured to, when receiving a control instruction issued based on a first slice file, adjust a second slice file according to the control instruction; the second slice file specifically includes: a second protocol conversion module 403, configured to generate, according to the live broadcast signal and through a second transmission protocol, a slice file for the non-broadcast control end to obtain; wherein the real-time property of the first transmission protocol is higher than the real-time property of the second transmission protocol.
In one example, generating a first clip file for a broadcast control end to acquire according to a received live broadcast signal through a first transport protocol includes: storing a slice file represented by the live broadcast signal in a first area according to the sequence of the received live broadcast signal; and when the first area is detected to have the slice file stored, generating a first slice file through a first transmission protocol according to the stored current slice file.
In one example, the second slice file is obtained by: storing the slice files represented by the live broadcast signals in a second area according to the sequence of the received live broadcast signals; counting the number of the subsequently stored slice files when the current slice file is detected to be stored in the second area; and when the number of the slicing files reaches a preset value, generating a second slicing file through a second transmission protocol according to the current slicing file.
In one example, after generating, according to a received live broadcast signal, a first clip file for a broadcast control end to acquire through a first transport protocol, the method further includes: judging the identity information of a user who sends a request to the direct broadcast signal; if the user is judged to be the user of the broadcast control end, sending a first slicing file to the broadcast control end; and/or after the second slice file is acquired, further comprising: judging the identity information of a user who sends a request to the direct broadcast signal; and if the user is judged to be the user of the non-broadcast control end, sending a second slice file to the non-broadcast control end.
In one example, adjusting the second slice file according to the control instruction includes: extracting identification information of a target slice file from the control instruction, wherein the target slice file is as follows: forbidding the slice files acquired by the non-broadcast control end; searching a slice file corresponding to the identification information in the second slice file; and adjusting the second slice file by executing preset operation on the searched slice file.
In one example, the preset operation is performed on the found slice file, specifically: and replacing the slicing file by adopting the multimedia file with the same time length as that of the slicing file.
In one example, the multimedia file is specifically: an advertisement file, or the last slice file adjacent to the slice file.
It should be understood that this embodiment is a system example corresponding to the first embodiment, and may be implemented in cooperation with the first embodiment. The related technical details mentioned in the first embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first embodiment.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, elements that are not so closely related to solving the technical problems proposed by the present invention are not introduced in the present embodiment, but this does not indicate that other elements are not present in the present embodiment.
A fifth embodiment of the present invention relates to a server, as shown in fig. 6, including: at least one processor; and a memory 502 communicatively coupled to the at least one processor; wherein the memory 502 stores instructions executable by the at least one processor to enable the at least one processor to perform a live control method as in any one of the first to third embodiments.
Where the memory 502 and the processor are coupled in a bus, the bus may include any number of interconnected buses and bridges that couple one or more of the processor and various circuits of the memory 502 together. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor is transmitted over a wireless medium via an antenna, which further receives the data and transmits the data to the processor.
The processor is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 502 may be used to store data used by the processor in performing operations.
A sixth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (10)

1. A live broadcast control method is characterized by comprising the following steps:
generating a first slicing file for a broadcasting control end to obtain through a first transmission protocol according to a received live broadcasting signal;
if a control instruction sent based on the first slice file is received, adjusting a second slice file according to the control instruction; the second slice file specifically includes: generating a slice file for a non-broadcast control end to obtain through a second transmission protocol according to the live broadcast signal;
wherein the real-time of the first transport protocol is higher than the real-time of the second transport protocol.
2. The live broadcast control method according to claim 1, wherein the generating a first clip file for a broadcast control end to obtain according to a received live broadcast signal through a first transport protocol comprises:
storing a slice file represented by the live broadcast signal in a first area according to the sequence of the received live broadcast signal;
and when the first area is detected to have the slice file stored, generating the first slice file through a first transmission protocol according to the stored current slice file.
3. The live broadcast control method according to claim 2, wherein the second slice file is obtained by:
storing a slice file represented by the live broadcast signal in a second area according to the sequence of the received live broadcast signal;
counting the number of the subsequently stored slice files when the current slice file is detected to be stored in the second area;
and when the number of the slicing files reaches a preset value, generating a second slicing file through a second transmission protocol according to the current slicing file.
4. The live broadcast control method according to claim 1, wherein after generating, according to the received live broadcast signal, a first clip file for a broadcast control end to obtain through a first transport protocol, the method further comprises:
judging the identity information of a user who sends a request to the live broadcast signal;
if the user is judged to be the user of the broadcast control end, the first slicing file is sent to the broadcast control end;
and/or the presence of a gas in the gas,
after the second slice file is acquired, the method further comprises the following steps:
judging the identity information of a user who sends a request to the live broadcast signal;
and if the user is judged to be the user of the non-broadcast control end, sending the second slice file to the non-broadcast control end.
5. The live broadcast control method according to claim 1, wherein the adjusting the second slice file according to the control instruction comprises:
extracting identification information of a target slice file from the control instruction, wherein the target slice file is as follows: forbidding the slice file acquired by the non-broadcast control terminal;
searching for a slice file corresponding to the identification information in the second slice file;
and adjusting the second slice file by executing preset operation on the searched slice file.
6. The live broadcast control method according to claim 5, wherein the performing a preset operation on the found slice file specifically includes:
and replacing the slicing file by adopting a multimedia file with the same time length as the time length of the slicing file.
7. The live broadcast control method according to claim 6, wherein the multimedia file specifically comprises: an advertisement file, or a last one of the slices adjacent to the slice file.
8. A live control system, comprising:
the first protocol conversion module is used for generating a first slicing file for the broadcasting control end to obtain through a first transmission protocol according to the received live broadcasting signal;
the adjusting module is used for adjusting a second slice file according to a control instruction when the control instruction sent based on the first slice file is received; the second slice file specifically includes: the second protocol conversion module is used for generating a slice file for the non-broadcast control end to obtain through a second transmission protocol according to the live broadcast signal;
wherein the real-time of the first transport protocol is higher than the real-time of the second transport protocol.
9. A server, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a live control method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the live control method of any one of claims 1 to 7.
CN201910759316.1A 2019-08-16 2019-08-16 Live broadcast control method, system, server and computer readable storage medium Active CN110650351B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910759316.1A CN110650351B (en) 2019-08-16 2019-08-16 Live broadcast control method, system, server and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910759316.1A CN110650351B (en) 2019-08-16 2019-08-16 Live broadcast control method, system, server and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110650351A true CN110650351A (en) 2020-01-03
CN110650351B CN110650351B (en) 2021-12-07

Family

ID=68990125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910759316.1A Active CN110650351B (en) 2019-08-16 2019-08-16 Live broadcast control method, system, server and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110650351B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011068784A1 (en) * 2009-12-01 2011-06-09 Azuki Systems, Inc. Method and system for secure and reliable video streaming with rate adaptation
CN102130958A (en) * 2011-03-22 2011-07-20 宋健 Method and system for video live broadcasting in small file slice mode based on hypertext transport protocol (HTTP)
CN103501392A (en) * 2013-10-16 2014-01-08 江西省文明手机台传播有限责任公司 Method for performing real-time audio and video shooting and live broadcast by using mobile phone
US20160029047A1 (en) * 2014-07-25 2016-01-28 Verizon Patent And Licensing Inc. On-demand load balancer and virtual live slicer server farm for program ingest
CN107396205A (en) * 2017-07-25 2017-11-24 观止云(北京)信息技术有限公司 A kind of low delay fluidizes HLS implementation methods
CN108391176A (en) * 2018-04-09 2018-08-10 四川百视通科技有限公司 The real time conversion system and its working method of a kind of RTMP agreements to HLS protocol
CN108495151A (en) * 2018-03-22 2018-09-04 深圳牛视科技有限公司 A kind of m3u8 format videos live broadcast system and method
US20180376223A1 (en) * 2017-06-19 2018-12-27 Wangsu Science & Technology Co., Ltd. Streaming media file processing method and live streaming
CN109982107A (en) * 2017-12-27 2019-07-05 上海文广互动电视有限公司 The file content injected system and method for tv telecasting control platform

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011068784A1 (en) * 2009-12-01 2011-06-09 Azuki Systems, Inc. Method and system for secure and reliable video streaming with rate adaptation
CN102130958A (en) * 2011-03-22 2011-07-20 宋健 Method and system for video live broadcasting in small file slice mode based on hypertext transport protocol (HTTP)
CN103501392A (en) * 2013-10-16 2014-01-08 江西省文明手机台传播有限责任公司 Method for performing real-time audio and video shooting and live broadcast by using mobile phone
US20160029047A1 (en) * 2014-07-25 2016-01-28 Verizon Patent And Licensing Inc. On-demand load balancer and virtual live slicer server farm for program ingest
US20180376223A1 (en) * 2017-06-19 2018-12-27 Wangsu Science & Technology Co., Ltd. Streaming media file processing method and live streaming
CN107396205A (en) * 2017-07-25 2017-11-24 观止云(北京)信息技术有限公司 A kind of low delay fluidizes HLS implementation methods
CN109982107A (en) * 2017-12-27 2019-07-05 上海文广互动电视有限公司 The file content injected system and method for tv telecasting control platform
CN108495151A (en) * 2018-03-22 2018-09-04 深圳牛视科技有限公司 A kind of m3u8 format videos live broadcast system and method
CN108391176A (en) * 2018-04-09 2018-08-10 四川百视通科技有限公司 The real time conversion system and its working method of a kind of RTMP agreements to HLS protocol

Also Published As

Publication number Publication date
CN110650351B (en) 2021-12-07

Similar Documents

Publication Publication Date Title
CN102036058B (en) Method, server, terminal and system for switching videos in video monitoring system
US20130212231A1 (en) Method, apparatus and system for dynamic media content insertion based on http streaming
CN102055718B (en) Method, device and system for layering request content in http streaming system
CN108881956B (en) Live stream transmission method and device and related equipment
EP3734927A1 (en) Content service implementation method and device, and content delivery network node
CN109218765B (en) Live video room recommendation method and device
CN110933517A (en) Code rate switching method, client and computer readable storage medium
KR20070118608A (en) System and method for providing rss content in a broadcast system
CN105847386A (en) Live broadcasting stream processing method, device and system
CN102232300A (en) Method and apparatus for transmitting and receiving personal broadcasting data based on peer-to-peer communication
CN112714335A (en) Live media stream recording method, system and computer readable storage medium
US11962839B2 (en) Content-modification system with testing and reporting feature
US20090193455A1 (en) Information storage medium and method for providing additional contents based on trigger, and digital broadcast reception apparatus
CN112995783A (en) Advertisement insertion method, electronic device and storage medium
US10555049B2 (en) Music sharing and advertising
EP3868122A1 (en) Real-time ad tracking proxy
KR101805424B1 (en) Manifest mechanism in broadcast involved system
CN111182334B (en) Data processing method, server, terminal, and storage medium
CN110650351B (en) Live broadcast control method, system, server and computer readable storage medium
US20200389687A1 (en) Content-Modification System with Content-Presentation Device Grouping Feature
CN111246315B (en) Video interaction method, system, edge node, client and storage medium
CN108271040B (en) Method and device for playing video
CN113794898B (en) DASH media stream transmission method, electronic equipment and storage medium
CN107040820B (en) Method and device for acquiring program information and video conversion device
CN111200562B (en) Flow guiding method, static father node, edge node and CDN (content delivery network)

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