CN115695833A - Live broadcast method, system and medium - Google Patents
Live broadcast method, system and medium Download PDFInfo
- Publication number
- CN115695833A CN115695833A CN202211196199.0A CN202211196199A CN115695833A CN 115695833 A CN115695833 A CN 115695833A CN 202211196199 A CN202211196199 A CN 202211196199A CN 115695833 A CN115695833 A CN 115695833A
- Authority
- CN
- China
- Prior art keywords
- signal
- signals
- live broadcast
- gasket
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000011156 evaluation Methods 0.000 claims description 44
- 238000012423 maintenance Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000015556 catabolic process Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The application discloses a live broadcast method, a system and a medium, the method firstly obtains multi-channel live broadcast signals provided by different network service operators, wherein the multi-channel live broadcast signals correspond to the same video stream output by the same video acquisition end, then determines available signals from the multi-channel live broadcast signals and gasket signals, determines optimal signals according to the priority of the available signals, and sends the optimal signals to a playing end for playing, so that the live broadcast signals provided by a plurality of operators and related to the same video content are selected, and one of the live broadcast signals is played.
Description
Technical Field
The present application relates to the field of live video technologies, and in particular, to a live broadcasting method, system, and medium.
Background
With the development of mobile internet, live broadcasting has become one of the mainstream forms of content consumption, slow live broadcasting of scenery is a form of live broadcasting, the live broadcasting is characterized by showing the landscape, the overall landscape of a scenic spot, a characteristic block and the like, generally, the live broadcasting is continuously carried out for 24 hours, people can experience the feeling of being personally on the scene without going out by enjoying the slow live broadcasting of the scenery, the scenery can browse the landscape and the urban characteristics of various places at any time, and the slow live broadcasting of the scenery creates a chance for users to thoroughly draw out from the complicated life, cure soul, enjoy life and fully feel stars and the sea.
In the process of implementing the application, the inventor finds that in the related art, in order to better provide the full view of the scenery, a camera used for slow live broadcasting of the scenery is usually erected at a position which is difficult to be contacted by people, such as a position on a high-rise building of a city or a highest point of a scenic spot, and the like, so that the problems of unstable network signals, high field manual maintenance cost and the like exist, and the problems of screen jamming, black screen and the like are caused.
It should be noted that the information disclosed in this background section is only for background understanding of the present application concept and, therefore, it may contain information that does not form the prior art.
Disclosure of Invention
A first objective of the present application is to provide a live broadcast method, which avoids the problem of video quality degradation caused by unstable signals and reduces the on-site maintenance cost.
A second object of the present application is to propose a computer-readable storage medium.
A third object of the present application is to provide a live system.
A fourth object of the present application is to propose another live system.
In order to achieve the above object, an embodiment of a first aspect of the present application provides a live broadcasting method, including: acquiring multiple paths of live broadcast signals provided by different network service operators, wherein the multiple paths of live broadcast signals correspond to the same video stream output by the same video acquisition end; determining a usable signal from the plurality of live broadcast signals and the shim signal; determining an optimal signal according to the priority of the available signals; and sending the optimal signal to a playing end for playing.
According to the live broadcast method provided by the embodiment of the application, live broadcast signals provided by a plurality of operators and related to the same video content are selected, one path of live broadcast signal is played, when the currently played live broadcast signal is unstable or has a signal fault, the live broadcast signals provided by other operators and related to the same video content can be automatically switched to or switched to a gasket signal for continuous playing, the problems that the video quality is reduced and the cut-off cannot be played are avoided, the switching speed and the playing continuity of the live broadcast signals are improved, the playing quality of slow live broadcast programs is improved, and meanwhile the field maintenance cost is reduced.
According to one embodiment of the application, the priority of the available signal is determined by: evaluating signals provided by an operator in the available signals according to priority evaluation items to obtain an evaluation result, wherein the priority evaluation items comprise network quality and/or traffic cost; and determining the priority of the signals provided by the operator according to the evaluation result, wherein the priority of the shim signals is the lowest.
According to an embodiment of the present application, when determining an optimal signal according to the priority of the available signal, if the determined optimal signal is a live signal, the method further includes: and generating a shim file according to the optimal signal, wherein the shim file is used for generating the shim signal.
According to an embodiment of the application, generating a shim file from the optimal signal comprises: and recording the optimal signal from a preset moment until a preset time length is reached to obtain a gasket file.
According to an embodiment of the application, preset moment is equipped with a plurality ofly, and all preset moments correspond multiple different time intervals, are following when confirming available signal in multichannel live broadcast signal and the gasket signal, the gasket signal obtains in the gasket file under the corresponding time interval.
According to an embodiment of the application, in all different seasons that all preset moments correspond, every the season corresponds has a plurality of preset moments, and a plurality of preset moments that same season corresponds distribute in the different periods of nature day, follow when confirming the available signal in multichannel live broadcast signal and the gasket signal, the gasket signal obtains in the gasket file of corresponding period under the corresponding season.
According to an embodiment of the application, after generating a shim file from the optimal signal, the method further comprises: and replacing the existing gasket files in the corresponding time period of the corresponding time period by the newly generated gasket files.
To achieve the above object, a second aspect of the present application provides a computer-readable storage medium, where a live broadcast program is stored, and the live broadcast program, when executed by a processor, implements the live broadcast method in the foregoing embodiments.
In order to achieve the above object, a live broadcast system according to an embodiment of the present invention includes a memory, a processor, and a live broadcast program stored in the memory and executable on the processor, where when the processor executes the live broadcast program, the live broadcast method in the foregoing embodiment is implemented.
To achieve the above object, a fourth aspect of the present application provides another live broadcasting system, including: the system comprises a video acquisition end and a streaming media server; the video acquisition terminal is used for acquiring video images to obtain video streams and sending the video streams to the streaming media server through a plurality of different network service operators; the streaming media server is used for acquiring multi-channel live broadcast signals provided by different network service operators, determining available signals from the multi-channel live broadcast signals and the gasket signals, determining optimal signals according to the priority of the available signals, and sending the optimal signals to the playing end for playing, wherein the multi-channel live broadcast signals correspond to the same video stream output by the same video acquisition end, and the gasket signals are generated according to the previous live broadcast signals serving as the optimal signals.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
Fig. 1 is a schematic flow chart of a live broadcast method according to an embodiment of the present application.
Fig. 2 is a block diagram of a live system according to an embodiment of the present application.
Fig. 3 is a block diagram of a live system according to another embodiment of the present application.
Detailed Description
Reference will now be made in detail to the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
The live broadcast method, system, and medium of the embodiments of the present application are described below with reference to the accompanying drawings.
Referring to fig. 1, the live broadcasting method in the embodiment of the present application includes the following steps 100 to 400.
S100, acquiring multi-channel live broadcast signals provided by different network service operators.
When slow live broadcasting is carried out, a video acquisition end generally acquires video pictures to obtain video data, then the video data is sent to a routing device as a live stream, the live stream is sent to a streaming media server through the routing device, and the streaming media server sends the live stream to a playing end for video playing.
The network service operator refers to an operator in the communication field of, for example, china mobile, china unicom, china telecom, china radio and television, and the like, the multiple live broadcast signals acquired by the streaming media server are from different operators respectively, and the multiple live broadcast signals correspond to the same video stream output by the same video acquisition end, that is, the video pictures acquired by the same video acquisition end are sent to the streaming media server through different operators respectively, and the streaming media server selects one of the multiple live broadcast signals from the received multiple live broadcast signals to play.
And S200, determining available signals from the multipath live broadcast signals and the pad signals.
The gasket signal is a signal read from a gasket file, and the gasket file is pre-recorded audio and video content, so that the gasket signal is a pre-recorded audio and video signal. The shim file may be stored in a shim server, which may be part of a streaming media server. When receiving multiple live broadcast signals, the streaming media server needs to determine all available signals from the live broadcast signals and preconfigured pad signals, where the available signals refer to the live broadcast signals that can be normally received and used.
And S300, determining an optimal signal according to the priority of the available signals.
After determining all the available signals, the streaming server determines the optimal signal from all the available signals, which may be evaluated in terms of signal quality of the available signals.
Because the signal provided by the operator may be unstable and even cut off, when the current optimal signal is unstable, signal failure or other conditions that cause video quality to be reduced and even cannot be played, the streaming media server can immediately re-determine the available signal from the multiple live broadcast signals and the pad signal, and determine a new optimal signal according to the priority of the newly determined available signal, so that when the current live broadcast signal being played is cut off due to failure or other reasons, the live broadcast signals provided by other operators can be used for continuous playing, and the video content before and after continuous playing can have continuity.
It can be understood that, in step 200, the streaming media server may determine the available signals in real time, and determine new optimal signals in real time according to the priorities of the newly determined available signals, on one hand, when the available state of any live broadcast signal or shim signal changes, the streaming media server can immediately determine which of the changed available signals are available, and then when the current optimal signal is unstable or has a signal fault, the streaming media server may determine new optimal signals from the newly determined available signals, so as to guarantee the live broadcast signals; on the other hand, when the available signal with the priority higher than the current optimal signal is recovered to be communicated, the streaming media server can immediately re-determine the optimal signal, so that the available signal with the highest priority can be used as the optimal signal to be live broadcast, and better video content and video quality can be provided.
S400, sending the optimal signal to a playing end for playing.
After all the optimal signals are determined, the streaming media server sends the optimal signals to a playing end of a user so as to play video pictures acquired by a video acquisition end for the user to watch.
According to the live broadcast method provided by the embodiment of the application, live broadcast signals provided by a plurality of operators and related to the same video content are selected, one path of live broadcast signal is played, when the currently played live broadcast signal is unstable or has a signal fault, the live broadcast signals provided by other operators and related to the same video content can be automatically switched to or switched to a gasket signal for continuous playing, the problems that the video quality is reduced and the cut-off cannot be played are avoided, the switching speed and the playing continuity of the live broadcast signals are improved, the playing quality of slow live broadcast programs is improved, and meanwhile the field maintenance cost is reduced.
The following is a description of the live broadcast method of the present embodiment by taking the example of landscape slow live broadcast.
The video acquisition end comprises a camera which is installed at a higher position of a certain building and is used for acquiring video pictures of a target area on the ground in real time. The camera is connected with a double-card wireless router R, and after the camera is opened, the collected video pictures are sent to the router R. The router R supports installation of double sim cards, card slots of flow cards of two operators are built in the router R, and the router R is respectively distributed with an IP by two different operators A and operators B, so that two external IPs are shared to output live streams related to the video pictures, a wireless long-distance data transmission function is provided for users, and a double-link backup function is provided. The method comprises the steps that a gasket file is stored in a streaming media server S, after the server S receives live broadcast signals forwarded by an operator A and an operator B, the two paths of live broadcast signals and gasket signals are determined to be available signals, and therefore the server S determines that the live broadcast signals of the operator A are optimal signals according to the priority of the three paths of signals, and sends the live broadcast signals of the operator A to an intelligent television terminal to be played so that a user can watch scenery of a target area.
The streaming media server S monitors the communication state between the streaming media server S and the operator A and the communication state between the streaming media server S and the operator B, network communication between the streaming media server S and the operator A is disconnected at the moment T1, the signal of the operator A cannot be acquired, and at the moment, the available signal is the signal of the operator B and the gasket signal, so that the signal of the operator B is used as a new optimal signal according to the priority and is immediately switched to the signal of the operator B to be played, and interruption of a playing picture is avoided.
Then, at time T2, the network communication between the server S and the operator B is also disconnected, and the signals of the operator a and the operator B cannot be acquired, and at this time, the available signal is the shim signal, so that the shim signal is used as a new optimal signal and immediately starts to be played, and the shim signal is a video picture of the same target area recorded in advance, thereby avoiding interruption of the played picture.
And then, at the time of T3, network communication between the server S and the operators a and B is restored, signals of the operators a and B can be acquired, and at this time, all three signals are available signals, so that the signal of the operator a with the highest priority among all available signals at present is used as an optimal signal, and is immediately switched to the signal of the operator a for playing.
In some embodiments, the priority of the available signals is determined by: firstly, evaluating signals provided by an operator in available signals according to a priority evaluation item to obtain an evaluation result, wherein the priority evaluation item comprises network quality and/or traffic cost. The priority of the operator provided signal is then determined in dependence on the evaluation result, wherein the priority of the shim signal is lowest.
The priority rating term is mainly adapted to the operator's signals and not to the shim signals, which have a lower priority than all the operator's signals. In the priority evaluation item, the network quality refers to the signal quality between the server S and the operator, and the traffic cost refers to the cost to be paid for using the service of the operator, for example, the cost per megatraffic. The priority evaluation item used in evaluating the priority of the available signal may be selected according to the emphasis point, for example, when the cost is emphasized, only the traffic cost may be selected as the priority evaluation item, when the signal quality is emphasized, only the network quality may be selected as the priority evaluation item, and when the emphasis is balanced, both the network quality and the traffic cost are used as the priority evaluation item.
Assuming that the priority evaluation item includes both network quality and traffic charges, and the currently available signals include operator a signals, operator B signals, and shim signals, the available signals participating in the evaluation include operator a signals ca and operator B signals cb. The comprehensive evaluation result of each evaluation item can be characterized by a level, and the lower the level value is, the higher the priority is, for example, the comprehensive evaluation result of the network quality and the traffic cost of the signal ca is first level, and the comprehensive evaluation result of the signal cb is second level, and the priority of the signal ca is higher than the priority of the signal cb. The comprehensive evaluation result of each evaluation item can also be characterized by a score, and the higher the grade is, the higher the priority is, for example, the comprehensive evaluation result of the network quality and the traffic cost of the signal ca is 84 scores, and the comprehensive evaluation result of the signal cb is 76 scores, so that the priority of the signal ca is higher than that of the signal cb.
Since the priority of the shim signal is the lowest, if the evaluation result is represented by rank, the rank value of the shim signal is the highest allowable rank value, and if the evaluation result is represented by score, the score of the shim signal is 0.
Specifically, the comprehensive evaluation result of the available signal can be obtained by calculating the score of each evaluation item and the weight of the evaluation item. The streaming media server S may set a corresponding weight for each evaluation item in advance, assuming that the weight of the network quality is 0.5 and the weight of the traffic cost is 0.2. The server S monitors the communication state of the signal ca and the signal cb to obtain that the network quality of the signal ca is 80 minutes and the network quality of the signal cb is 70 minutes, which indicates that the signal quality of the signal ca is better than that of the signal cb. Moreover, since the same video stream is transmitted and the traffic unit price of the operator is usually fixed, the traffic fee for obtaining the signal ca is 70 points, and the network quality of the signal cb is 75 points, which means that the traffic charging standard of the operator a is slightly more expensive than that of the operator B. At this time, the total evaluation result of the available signal ca is 0.5 × 80+0.2 × 70=54, and the total evaluation result of the available signal cb is 0.5 × 70+0.2 × 75=50, so that the priority of the available signal ca is higher than that of the available signal cb.
It can be understood that, the operator corresponding to the available signal may also be evaluated according to the service quality of the operator to obtain an evaluation result, and the priority of the signal provided by the operator is determined according to the evaluation result of the available signal and the evaluation result of the operator. The quality of service refers to the response speed of an operator and the expertise in solving a problem after a network problem occurs. Specifically, the weight of the service quality may be 0.3, the service quality of different operators is usually fixed, and therefore the service quality scores of different operators are also usually fixed, so that the service quality of the obtained signal ca is 80 minutes, the network quality of the signal cb is 60 minutes, and then the comprehensive evaluation result of the available signal ca is 0.5 × 80+0.2 × 70+0.3 × 80=78, and the comprehensive evaluation result of the available signal cb is 0.5 × 70+0.2 × 75+0.3 × 60=68, so that the priority of the available signal ca is higher than that of the available signal cb.
In some embodiments, in the step 300, that is, in determining the optimal signal according to the priority of the available signals, if the determined optimal signal is a live signal, the live broadcast method further includes: and generating a gasket file according to the optimal signal.
The shim file is used to generate shim signals that are generated when the shim server reads the shim file. The shim signals are configured in advance, so the content of the shim signals can specifically adopt the content of the previous live broadcast signals, that is, when the currently determined optimal signals are the signals of an operator, the streaming media server S sends the optimal signals to the playing end for playing, records the optimal signals and generates a shim file, for example, the optimal signals can be recorded within a period of continuous time, and a shim file capable of playing for a certain time is generated.
In some embodiments, the manner of generating the shim file according to the optimal signal in step 300 may specifically be: and recording the optimal signal from the preset moment until the preset duration is reached to obtain the gasket file.
The preset time and the preset duration can be set according to needs, and the preset time can be selected at the time when the scenery in the target area is the most beautiful, for example, 12 noon on the first natural day of a certain month is selected: 00 as the preset time, the preset duration may be set to be an expected approximate time of equipment maintenance, for example, one hour, since the gasket file needs to be maintained for the operator's flow-out trouble when the gasket file is played, and thus the gasket file needs to be continuously played until the maintenance is completed. Specifically, if the optimal signal is the signal of the operator a at the preset time, the streaming media server S starts to record the shim file by using the optimal signal from the preset time, and continuously records the shim file for one hour, so as to obtain the shim file with the playing time of one hour.
In some embodiments, there are a plurality of preset times, and all the preset times correspond to a plurality of different time periods.
The preset time is set under a plurality of different time periods respectively, the optimal signal is recorded at each preset time to obtain the gasket file, and due to the difference of the time periods, the picture content played by the gasket file is different, so that different appearances of the target area under different time periods can be displayed conveniently. Specifically, for example, a preset time is set in each of four seasons of spring, summer, autumn, and winter, the four seasons may be divided by a lunar calendar division method, that is, the four seasons are spring 1 to 3 months, summer 4 to 6 months, autumn 7 to 9 months, and winter 10 to 12 months, and the preset time may be selected as a certain time in the first natural day of each season, that is, a certain time in 1 month 1 day, 4 month 1 day, 7 month 1 day, and 10 month 1 day.
When determining the available signal from the multipath live broadcast signal and the shim signal in step 200, the shim signal is obtained from the shim file at the corresponding time interval. In addition, after the gasket file is generated according to the optimal signal, the existing gasket file in the corresponding time period can be replaced by the newly generated gasket file.
Specifically, an optimal signal of one hour is recorded from noon H of 1 month and 1 day of Y year to obtain a shim file F12, and the file F12 is sent to a shim server to replace the shim file F11 recorded from 1 month and 1 day of the previous year (Y-1 year), that is, delete the file F11, so as to save the storage space occupied by the shim file. Then, before H noon in 3/1/3 of the year, if the signals of the operator a and the operator B are both cut off, the gasket file F12 is read to obtain the gasket signal for playing, so that the environmental climate in the played content is the same as the current actual environmental climate. Recording an optimal signal for one hour from noon H of 3 month 1 day of Y year to obtain a gasket file F22, sending the file F22 to a gasket server to replace the gasket file F21 recorded from 3 month 1 day of Y-1 year, and reading the gasket file F22 to obtain a gasket signal for playing before the noon H of 6 month 1 day of Y year if signals of an operator A and an operator B are cut off. Recording gasket files in autumn and winter, replacing the gasket files, selecting the gasket files, and the like.
In some embodiments, in all different time periods corresponding to all the preset times, each time period corresponds to a plurality of preset times, and the plurality of preset times corresponding to the same time period are distributed in different time periods of the natural day. When determining the available signal from the multiple live broadcast signals and the shim signals in step 200, the shim signals are obtained from the shim files at the corresponding time intervals.
In the four seasons, each season is provided with a plurality of preset moments, and the preset moments of each season are distributed in different time periods of a day, for example, each season is provided with four preset moments which are respectively set in early morning, midday, evening and night.
Specifically, an optimal signal of one hour is recorded from the early morning H1 time of 1 month and 1 day of the Y year to obtain a shim file F111, the file F111 is sent to a shim server and replaces the file recorded in the early morning H1 time of 1 month and 1 day of the Y-1 year, and the service time of the shim file F111 is from the H1 time to the H2 time of each natural day between 1 month and 1 day of the Y year and 3 months and 1 day.
Recording an optimal signal of one hour from the midday H2 time of 1 month and 1 day of Y year to obtain a gasket file F112, sending the file F112 to a gasket server and replacing the file recorded at the midday H2 time of 1 month and 1 day of Y-1 year, wherein the service time of the gasket file F112 is from the H2 time to the H3 time of each natural day between 1 month and 1 day of 3 months and 1 day of Y year.
Recording an optimal signal for one hour from the early evening H3 time of 1 month and 1 day of Y year to obtain a gasket file F113, sending the file F113 to a gasket server and replacing the file recorded at the early evening H3 time of 1 month and 1 day of Y-1 year, wherein the service time of the gasket file F113 is from the H3 time of each natural day to the H4 time between 1 month and 1 day of Y year and 3 months and 1 day.
Recording an optimal signal of one hour from the night H4 moment of 1 month and 1 day of Y year to obtain a gasket file F114, sending the file F114 to a gasket server and replacing the file recorded at the night H4 moment of 1 month and 1 day of Y-1 year, wherein the service time of the gasket file F114 is from the H4 moment to the H1 moment of each natural day between 1 month and 1 day of 3 months and 1 day of Y year.
Suppose that at a certain time of morning of 2 months and 5 days of Y year, the signal of the operator a being played is cut off, the available signals determined at this time are the signal of the operator B and the shim signal of the shim file F111, and the signal of the operator B is selected for playing, and if the signal of the operator B is cut off, the shim signal of the shim file F111 is played. Assuming that all the carrier signals are simultaneously interrupted at a certain time in the afternoon of 26/2/Y of Y year, the determined available signals are only the shim signals of the shim file F112, and thus the shim signals of the shim file F112 are played.
And for the summer, autumn and winter of Y year, and so on, respectively recording the optimal signals at the time of H1-H4 of the first natural day of the season, and replacing the gasket files in the corresponding season of Y-1 year and at the corresponding time.
In addition, an embodiment of the present application further provides a computer-readable storage medium, on which a live program is stored, and when executed by a processor, the live program implements the live method in the above embodiment.
According to the storage medium provided by the embodiment of the application, live broadcast signals provided by a plurality of operators and related to the same video content are selected, one of the live broadcast signals is played, when the currently played live broadcast signal is unstable or has a signal fault, the live broadcast signals can be automatically switched to live broadcast signals provided by other operators and related to the same video content or switched to gasket signals for continuous playing, the problems that the video quality is reduced and cut-off cannot be played are solved, the switching speed and the playing continuity of the live broadcast signals are improved, the playing quality of slow live broadcast programs is improved, and meanwhile the field maintenance cost is reduced.
In addition, referring to fig. 2, an embodiment of the present application further provides a live broadcasting system 10, which includes a memory 11, a processor 12, and a live broadcasting program that is stored in the memory 11 and can be run on the processor 12, where when the processor 12 executes the live broadcasting program, the live broadcasting method in the foregoing embodiment is implemented.
According to the live broadcast system provided by the embodiment of the application, live broadcast signals provided by a plurality of operators and related to the same video content are selected, one of the live broadcast signals is played, when the currently played live broadcast signal is unstable or has a signal fault, the live broadcast signals can be automatically switched to live broadcast signals provided by other operators and related to the same video content or switched to gasket signals for continuous playing, the problems that the video quality is reduced and the cut-off cannot be played are solved, the switching speed and the playing continuity of the live broadcast signals are improved, the playing quality of slow live broadcast programs is improved, and meanwhile the field maintenance cost is reduced.
In addition, referring to fig. 3, another live broadcast system 20 is further provided in the embodiment of the present application, which includes a video capture end 21 and a streaming media server 22.
The video collection terminal 21 is configured to collect a video image to obtain a video stream, and send the video stream to the streaming media server 22 through a plurality of different network service operators.
The streaming media server 22 is configured to obtain multiple live broadcast signals provided by different network service operators, determine an available signal from the multiple live broadcast signals and the gasket signal, determine an optimal signal according to a priority of the available signal, and send the optimal signal to the playing terminal 23 for playing. Wherein, the multiple live broadcast signals correspond to the same video stream output by the same video capture terminal 21.
Specifically, video acquisition end 21 can include camera and two card wireless router, and two card wireless router have two draw-in grooves, can cartridge two different operators' flow card, and then realize carrying out the video stream transmission through two different operators. The gasket signal is obtained by reading a gasket file, which is stored in the streaming media server 22 in advance, by the streaming media server 22. The streaming media server 22 obtains the live broadcast signals provided by the operator a and the operator B, and sends the signal of the operator a to the playing terminal 23 to provide the video stream to the playing terminal 23 when determining that the signal of the operator a is the optimal signal.
According to the live broadcast system provided by the embodiment of the application, live broadcast signals provided by a plurality of operators and related to the same video content are selected, one of the live broadcast signals is played, when the currently played live broadcast signal is unstable or has a signal fault, the live broadcast signals can be automatically switched to live broadcast signals provided by other operators and related to the same video content or switched to gasket signals for continuous playing, the problems that the video quality is reduced and the cut-off cannot be played are solved, the switching speed and the playing continuity of the live broadcast signals are improved, the playing quality of slow live broadcast programs is improved, and meanwhile the field maintenance cost is reduced.
In some embodiments, the priority of the available signals is determined by: the streaming media server 22 evaluates the signals provided by the operator in the available signals according to a priority evaluation item to obtain an evaluation result, wherein the priority evaluation item includes network quality and/or traffic cost; the streaming server 22 determines the priority of the operator-provided signal according to the evaluation result, wherein the priority of the shim signal is the lowest.
In some embodiments, when streaming media server 22 determines the optimal signal according to the priority of the available signals, if the determined optimal signal is a live signal, streaming media server 22 further generates a pad file according to the optimal signal, where the pad file is used to generate the pad signal.
In some embodiments, the manner in which streaming media server 22 generates the shim file from the optimal signal includes: and recording the optimal signal from the preset moment until the preset duration is reached to obtain the gasket file.
In some embodiments, there are a plurality of preset times, and all the preset times correspond to a plurality of different time periods, and the method for the streaming media server 22 to generate the shim file according to the optimal signal includes: replacing the gasket file obtained by the last recording at the corresponding time interval by the gasket file obtained by the current recording; when determining the available signal from the multipath live broadcast signal and the shim signal, the shim signal is obtained from the shim file under the corresponding time segment.
In some embodiments, each of the different time periods corresponding to all the preset times has a plurality of preset times, and the plurality of preset times corresponding to the same time period are distributed in different time periods of the natural day, and when the streaming media server 22 determines an available signal from the multiple live broadcast signals and the gasket signal, the gasket signal is obtained from the gasket file in the corresponding time period under the corresponding time period.
In some embodiments, streaming media server 22 also replaces the corresponding existing shim file with the newly generated shim file after generating the shim file from the optimal signal.
It should be noted that the logic and/or steps shown in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description of the present specification, reference to the description of "one embodiment," "some embodiments," "an example," "a specific example," or "some examples" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or to implicitly indicate the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise. Relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus, the electronic device, and the computer-readable storage medium embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and in relation to the description, reference may be made to some portions of the description of the method embodiments.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.
Claims (10)
1. A live broadcast method, comprising:
acquiring multiple paths of live broadcast signals provided by different network service operators, wherein the multiple paths of live broadcast signals correspond to the same video stream output by the same video acquisition end;
determining a usable signal from the plurality of live broadcast signals and the shim signal;
determining an optimal signal according to the priority of the available signal;
and sending the optimal signal to a playing end for playing.
2. The method of claim 1, wherein the priority of the available signal is determined by:
evaluating signals provided by operators in the available signals according to a priority evaluation item to obtain an evaluation result, wherein the priority evaluation item comprises network quality and/or flow charge;
and determining the priority of the signals provided by the operator according to the evaluation result, wherein the priority of the shim signals is the lowest.
3. The method of claim 1, wherein when determining the optimal signal according to the priority of the available signal, if the determined optimal signal is a live signal, the method further comprises:
and generating a gasket file according to the optimal signal, wherein the gasket file is used for generating the gasket signal.
4. The method of claim 3, wherein generating a shim file from the optimal signal comprises:
and starting to record the optimal signal from a preset moment until a preset time length is reached, and obtaining a gasket file.
5. The method according to claim 4, wherein the predetermined time is plural, all the predetermined times correspond to different time periods,
when determining the available signal from the multipath live broadcast signal and the gasket signal, the gasket signal is obtained from the gasket file under the corresponding time interval.
6. The method according to claim 5, wherein, in all different time periods corresponding to all preset times, each time period corresponds to a plurality of preset times, the preset times corresponding to the same time period are distributed in different time periods in a natural day, and when determining the available signal from the multipath live broadcast signal and the gasket signal, the gasket signal is obtained from a gasket file of the corresponding time period under the corresponding time period.
7. The method of claim 5 or 6, wherein after generating a shim file from the optimal signal, the method further comprises:
and replacing the existing gasket files in the corresponding time period under the corresponding time period by the newly generated gasket files.
8. A computer-readable storage medium, characterized in that a live program is stored on the computer-readable storage medium, which live program, when executed by a processor, implements a live method as claimed in any one of claims 1-7.
9. A live broadcast system comprising a memory, a processor and a live broadcast program stored on the memory and executable on the processor, wherein the processor executes the live broadcast program to implement the live broadcast method as claimed in any one of claims 1 to 7.
10. A live broadcast system, comprising: the system comprises a video acquisition end and a streaming media server;
the video acquisition terminal is used for acquiring video images to obtain video streams and sending the video streams to the streaming media server through a plurality of different network service operators;
the streaming media server is used for acquiring multi-channel live broadcast signals provided by different network service operators, determining available signals from the multi-channel live broadcast signals and the gasket signals, determining optimal signals according to the priority of the available signals, and sending the optimal signals to the playing end for playing, wherein the multi-channel live broadcast signals correspond to the same video stream output by the same video acquisition end, and the gasket signals are generated according to the previous live broadcast signals serving as the optimal signals.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211196199.0A CN115695833A (en) | 2022-09-29 | 2022-09-29 | Live broadcast method, system and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211196199.0A CN115695833A (en) | 2022-09-29 | 2022-09-29 | Live broadcast method, system and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115695833A true CN115695833A (en) | 2023-02-03 |
Family
ID=85064705
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211196199.0A Pending CN115695833A (en) | 2022-09-29 | 2022-09-29 | Live broadcast method, system and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115695833A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150156556A1 (en) * | 2013-12-04 | 2015-06-04 | Wowza Media Systems, LLC | Routing Media Content Based on Monetary Cost |
CN108012161A (en) * | 2017-11-10 | 2018-05-08 | 广州华多网络科技有限公司 | Net cast method, system and terminal device |
CN110708564A (en) * | 2019-10-21 | 2020-01-17 | 上海网达软件股份有限公司 | Live transcoding method and system for dynamically switching video streams |
CN114337724A (en) * | 2021-12-31 | 2022-04-12 | 科大讯飞股份有限公司 | Wireless communication method, device and equipment based on dual-channel technology |
CN114584561A (en) * | 2022-03-15 | 2022-06-03 | 联想(北京)有限公司 | Information processing method and device and electronic equipment |
-
2022
- 2022-09-29 CN CN202211196199.0A patent/CN115695833A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150156556A1 (en) * | 2013-12-04 | 2015-06-04 | Wowza Media Systems, LLC | Routing Media Content Based on Monetary Cost |
CN108012161A (en) * | 2017-11-10 | 2018-05-08 | 广州华多网络科技有限公司 | Net cast method, system and terminal device |
CN110708564A (en) * | 2019-10-21 | 2020-01-17 | 上海网达软件股份有限公司 | Live transcoding method and system for dynamically switching video streams |
CN114337724A (en) * | 2021-12-31 | 2022-04-12 | 科大讯飞股份有限公司 | Wireless communication method, device and equipment based on dual-channel technology |
CN114584561A (en) * | 2022-03-15 | 2022-06-03 | 联想(北京)有限公司 | Information processing method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102075696B (en) | Signal acquisition, transmission, signal editing and integration, broadcasting and viewing method and system | |
US7167632B2 (en) | Process for displaying broadcast and recorded transmissions possessing a common characteristic and associated receiver | |
CA2644314C (en) | Systems and methods for automated media programming (amp) | |
KR100965650B1 (en) | Information providing system, information providing device and method, information processing device and method | |
JP3439406B2 (en) | Program recording method | |
CN1235473A (en) | Digital multimedia recorder with enhanced EPG-related functions | |
CN105357542A (en) | Live broadcast method, device and system | |
JPH09312089A (en) | Video stream control system | |
CN101997886A (en) | Information issuing system and method | |
WO2003107657A1 (en) | Advertisement bidding for data recording devices | |
CN101849414A (en) | Contents watching device and contents recommending method | |
CN102415095A (en) | Digital video recorder recording and rendering programs formed from spliced segments | |
JP3565288B2 (en) | Information display method | |
CN105635749A (en) | Method and device for generating video frame set | |
CN102984558B (en) | The method of broadcasting pictures in Set Top Box and channel switch procedure thereof | |
JP2004112441A (en) | Advertising information providing system and method therefor | |
DE60128219T2 (en) | Method and apparatus for prerecorded and direct playback of work stored on a server | |
CN115695833A (en) | Live broadcast method, system and medium | |
CN101345068A (en) | Multimedia document recording, locating and playing method and device | |
JP4351587B2 (en) | Digest video providing system and method | |
CN107251566A (en) | Content reproduction system, record device, terminal installation and content reproducing method | |
JP2002232813A (en) | Broadcast receiving terminal equipment | |
Johnsson-Smaragdi | Sweden: opening the doors—cautiously | |
Waris Khan et al. | Evolution of Worldwide Cable Television and Rating Systems: A Case Study of Pakistan | |
JP2003534740A (en) | Apparatus and method for synchronizing a broadcast audiovisual program with supplemental information |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20230203 |