CN108174233A - A kind of live broadcasting method, device, server and medium - Google Patents
A kind of live broadcasting method, device, server and medium Download PDFInfo
- Publication number
- CN108174233A CN108174233A CN201810015656.9A CN201810015656A CN108174233A CN 108174233 A CN108174233 A CN 108174233A CN 201810015656 A CN201810015656 A CN 201810015656A CN 108174233 A CN108174233 A CN 108174233A
- Authority
- CN
- China
- Prior art keywords
- video sequence
- online
- broadcast
- broadcasting room
- direct broadcasting
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
- H04N21/2387—Stream processing in response to a playback request from an end-user, e.g. for trick-play
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
- H04N21/4884—Data services, e.g. news ticker for displaying subtitles
Abstract
The invention discloses a kind of live broadcasting method, device, server and medium, the method is applied to direct broadcast server, including:Receive the watching request of viewer end viewing target direct broadcasting room;Based on the watching request, the line duration data that described target direct broadcasting room the last time is broadcast live online and the current time for receiving the watching request are obtained;According to the line duration data and the current time, the current playing point of video sequence to prestore is determined;Since the current playing point, the video sequence is sent to the viewer end, so that the viewer end plays the video sequence since the current playing point.The present invention solves the existing technique effect for reducing main broadcaster's workload and reducing the technical issues of spectators' turnover rate cannot be taken into account, realize the workload for reducing main broadcaster and the turnover rate for reducing spectators of main broadcaster's direct-seeding of the prior art.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of live broadcasting method, device, server and media.
Background technology
At present, with the progress of network communication technology and the speed-raising of broadband network, network direct broadcasting has obtained more and more
Development and application, the quantity for the main broadcaster being broadcast live are also more and more.
In order to attract more spectators, main broadcaster needs enough online hours, in case spectators are lost in, however, main broadcaster
If the always on body that inevitably results in cannot be born, and main broadcaster also can emergent management thing in need situation, inevitably indulge in
It is accidentally broadcast live, causes spectators that cannot obtain the video of the main broadcaster, can not be interactive according to video content in the direct broadcasting room of the main broadcaster,
The strong influence participation enthusiasm of spectators increases spectators' turnover rate.
As it can be seen that existing main broadcaster's direct-seeding, exists and reduces main broadcaster's workload and reduce what spectators' turnover rate cannot be taken into account
Technical problem.
Invention content
The embodiment of the present application solves main broadcaster of the prior art by providing live broadcasting method, device, server and medium
The technical issues of direct-seeding, existing reduction main broadcaster's workload and reduction spectators' turnover rate cannot be taken into account.
In a first aspect, providing a kind of live broadcasting method, the method is applied to direct broadcast server, including:
Receive the watching request of viewer end viewing target direct broadcasting room;
Based on the watching request, line duration data and connect that described target direct broadcasting room the last time is broadcast live online are obtained
Receive the current time of the watching request;
According to the line duration data and the current time, the current playing point of video sequence to prestore is determined;
Since the current playing point, the video sequence is sent to the viewer end, so that the viewer end is from institute
Current playing point is stated to start to play the video sequence.
Optionally, it before the watching request of the reception viewer end viewing target direct broadcasting room, further includes:It receives and stores
The video sequence that the corresponding main broadcaster end of the target direct broadcasting room uploads.
Optionally, the line duration data are:End time that described target direct broadcasting room the last time is broadcast live online or
The airtime that target direct broadcasting room the last time described in person is broadcast live online.
Optionally, it is described according to the line duration data and the current time, determine working as the video sequence to prestore
Preceding broadcast point, including:Calculate the difference duration between the line duration data and the current time;According to the difference
Duration determines the current playing point of the video sequence to prestore, and the current playing point is the broadcasting starting point from the video sequence
Backward, with the broadcast point of the broadcasting starting point apart from the difference duration.
Optionally, it since the current playing point, after sending the video sequence to the viewer end, also wraps
It includes:The online live streaming request that the corresponding main broadcaster end of the target direct broadcasting room is sent is received, the online live streaming request characterization please
It asks and proceeds by online live streaming;Stop sending the video sequence to the viewer end;Receive the online of the main broadcaster end transmission
Live video, and the online live video is sent to the viewer end.
Second aspect provides a kind of live broadcast device, which is characterized in that device is stated as direct broadcast server, including:
Receiving module, for receiving the watching request of viewer end viewing target direct broadcasting room;
Acquisition module, for being based on the watching request, obtain that described target direct broadcasting room the last time is broadcast live online
Line time data and the current time for receiving the watching request;
Determining module, for according to the line duration data and the current time, determining the video sequence to prestore
Current playing point;
Sending module, for since the current playing point, sending the video sequence to the viewer end, so that institute
It states viewer end and the video sequence is played since the current playing point.
Optionally, described device further includes:Memory module, for receiving and storing the corresponding main broadcaster of the target direct broadcasting room
Hold the video sequence uploaded.
Optionally, the line duration data are:End time that described target direct broadcasting room the last time is broadcast live online or
The airtime that target direct broadcasting room the last time described in person is broadcast live online;The determining module further includes:Computing unit, based on
Calculate the difference duration between the line duration data and the current time;Determination unit, during for according to the difference
The long current playing point for determining the video sequence to prestore, the current playing point are past for the broadcasting starting point from the video sequence
Afterwards, with the broadcast point of the broadcasting starting point apart from the difference duration.
The third aspect provides a kind of direct broadcast server, on a memory and can locate including memory, processor and storage
The computer program run on reason device, which is characterized in that the processor realizes any institute of first aspect when performing described program
The method stated.
Fourth aspect provides a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that
First aspect any method is realized when the program is executed by processor.
Method, apparatus, server and the medium provided in the embodiment of the present application, at least has the following technical effect that or excellent
Point:
Method, apparatus provided by the embodiments of the present application, client, server and medium are receiving viewer end viewing mesh
After the watching request for marking direct broadcasting room, line duration data and receive institute that meeting be broadcast live online according to target direct broadcasting room the last time
The current time of watching request is stated to determine the current playing point of the video sequence to prestore, and since the current playing point,
The video sequence is sent to the viewer end, so that the viewer end plays the video sequence since the current playing point
Row, so that during main broadcaster is not online, spectators, which enter direct broadcasting room, can not only watch the video sequence to prestore, moreover it is possible to ensure each
The video sequence of viewer end viewing is synchronous, in order to which spectators can carry out the interactions such as barrage based on the video sequence of viewing,
The workload of main broadcaster is not only reduced, also reduces the turnover rate of spectators.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present invention, for this
For the those of ordinary skill of field, without creative efforts, others are can also be obtained according to these attached drawings
Attached drawing.
Fig. 1 is the flow chart of live broadcasting method in the embodiment of the present application;
Fig. 2 is the structure diagram of live broadcast device in the embodiment of the present application;
Fig. 3 is the structure diagram of direct broadcast server in the embodiment of the present application;
Fig. 4 is the structure diagram of the embodiment of the present application Computer readable storage medium storing program for executing 400.
Specific embodiment
The embodiment of the present application solves the prior art by providing login method, device, client, server and medium
In main broadcaster's direct-seeding it is existing reduce main broadcaster's workload and reduce the technical issues of spectators' turnover rate cannot be taken into account, realize
The technique effect of the workload for reducing main broadcaster and the turnover rate for reducing spectators.
The technical solution of the embodiment of the present application is in order to solve the above technical problems, general thought is as follows:
A kind of live broadcasting method, the method are applied to direct broadcast server, including:
Receive the watching request of viewer end viewing target direct broadcasting room;
Based on the watching request, line duration data and connect that described target direct broadcasting room the last time is broadcast live online are obtained
Receive the current time of the watching request;
According to the line duration data and the current time, the current playing point of video sequence to prestore is determined;
Since the current playing point, the video sequence is sent to the viewer end, so that the viewer end is from institute
Current playing point is stated to start to play the video sequence.
It specifically, can be according to target direct broadcasting room most after the watching request for receiving viewer end viewing target direct broadcasting room
The nearly primary line duration data being broadcast live online and the current time of the watching request is received to determine the video sequence to prestore
The current playing point of row, and since the current playing point, the video sequence is sent to the viewer end, so that the sight
Many ends play the video sequence since the current playing point, so that during main broadcaster is not online, spectators enter live streaming
Between can not only watch the video sequence to prestore, moreover it is possible to ensure that the video sequence of each viewer end viewing is synchronous, in order to see
Crowd can carry out the interactions such as barrage based on the video sequence of viewing, not only reduce the workload of main broadcaster, also reduce spectators'
Turnover rate.
In order to better understand the above technical scheme, in conjunction with appended figures and specific embodiments to upper
Technical solution is stated to be described in detail.
Embodiment one
As shown in Figure 1, present embodiments providing a kind of live broadcasting method, the method is applied to direct broadcast server, including:
Step S101 receives the watching request of viewer end viewing target direct broadcasting room;
Step S102, based on the watching request, obtain that described target direct broadcasting room the last time is broadcast live online it is online when
Between data and receive the current time of the watching request;
Step S103 according to the line duration data and the current time, determines the current of the video sequence to prestore
Broadcast point;
Step S104 since the current playing point, sends the video sequence to the viewer end, so that the sight
Many ends play the video sequence since the current playing point.
In the embodiment of the present application, the direct broadcast server can be computer equipment, high in the clouds or computer equipment group,
This is not restricted.
It is realized and communicated by wired or wireless network between the direct broadcast server, the main broadcaster end and the viewer end,
This is not restricted.
In the following, the specific implementation step of live broadcasting method provided in this embodiment is discussed in detail with reference to Fig. 1:`
First, step S101 is performed, receives the watching request of viewer end viewing target direct broadcasting room.
In the embodiment of the present application, the viewer end can be smart mobile phone, desktop computer, notebook or tablet computer etc.
Electronic equipment, this is not restricted.
Specifically, the mode of the viewer end transmission watching request is more, such as:Spectators user can be described
The page of live streaming application (APP) is opened in viewer end, and the corresponding target live streaming in the main broadcaster end is clicked on the APP pages
Between picture identification, so as to send the watching request to the direct broadcast server;Alternatively, spectators user can also receive at oneself
The mark of the corresponding main broadcaster of the target direct broadcasting room is clicked in main broadcaster's list of Tibetan, so as to send the watching request to described straight
Server is broadcast, this is not restricted, also will not enumerate.
Then, step S102 is performed, based on the watching request, obtains the last online live streaming of the target direct broadcasting room
Line duration data and receive the current time of the watching request.
It should be noted that the last online live streaming of the target direct broadcasting room refers to, from receiving the watching request
Current time forward, access the target direct broadcasting room, and record from the recent main broadcaster's direct-on-line of the current time
Video and online with the live streaming of audience interaction.
For example, the online live streaming time recent main broadcaster A is:The 12 of March 2:00-20:00, the 7 of March 3:00-
10:00, the 16 of March 3:00-23:00.Spectators B is the 15 of March 3:00 enters the corresponding direct broadcasting rooms of the main broadcaster A, then this
When the last online live streaming refer to the 7 of March 3:00-10:00 that online live streaming.
In the embodiment of the present application, the line duration data can be the last online live streaming of the target direct broadcasting room
Airtime or the centre that is broadcast live online of described target direct broadcasting room the last time fix reproduction time.
Preferably, the line duration data are the end times being broadcast live online described target direct broadcasting room the last time, with
Convenient for can from the beginning play the video to prestore at the end of the online live streaming.
For example, the online live streaming time recent main broadcaster A is:The 12 of March 2:00-20:00, the 7 of March 3:00-
10:00, the 16 of March 3:00-23:00.Spectators B is the 8 of March 4:00 enters the corresponding direct broadcasting rooms of the main broadcaster A, then at this time
The last online live streaming refer to the 16 of March 3:00-23:00 that online live streaming.The line duration data
Can be the 16 of March 3:00 or the 23 of March 3:00.
Specifically, the line duration data can be the direct broadcast server when each main broadcaster is broadcast live online
The data for obtaining and storing can be stored as list and individually store, can also be stored in daily record, this is not restricted.
Next, performing step S103, according to the line duration data and the current time, the video to prestore is determined
The current playing point of sequence.
In the embodiment of the present application, the acquisition modes of the video sequence to prestore can there are many, be set forth below two kinds
For:
The first, main broadcaster uploads.
I.e. before the watching request of the reception viewer end viewing target direct broadcasting room, the direct broadcast server can receive simultaneously
Store the video sequence that the corresponding main broadcaster end of the target direct broadcasting room uploads.
Specifically, main broadcaster can choose oneself satisfied one or more video, and should at the main broadcaster end
One or more videos are uploaded to the direct broadcast server, so that the one or more video is stored as by the direct broadcast server
The video sequence.
In specific implementation process, the sequence of the video in the video sequence can be that main broadcaster carries out at the main broadcaster end
Setting or the direct broadcast server it is random or be configured according to duration or source video sequence, this is not restricted.
For example, video A, video B and video C are uploaded to the direct broadcast server, and set playing sequence by main broadcaster A
Video B, video A and video C are followed successively by, then the direct broadcast server stores the video sequence as (video B → video A → is regarded
Frequency C).
Second, viewer polls.
Multiple online live videos can be generated during the target direct broadcasting room be broadcast live online in main broadcaster, are seen
Crowd can vote to the multiple online live video, and it is forward multiple online straight that the direct broadcast server can obtain ballot
Video is broadcast, and is stored as the video sequence, the sequence of the video sequence is corresponding with ballot ranking.
For example, main broadcaster A has 20 online live streamings for nearly one month, coexists and contains 20 online live videos, into institute
The spectators for stating the corresponding direct broadcasting rooms of main broadcaster A online live video can vote to this 20, and direct broadcast server chooses ballot
Forward preceding 5 online live videos, and after being ranked up according to ranking, it is stored as the video sequence.
Certainly, in specific implementation process, the mode of the video sequence to prestore described in acquisition is not limited to both the above, can be with
It is configured as needed, this is not restricted, also will not enumerate.
In the embodiment of the present application, according to the difference of the line duration data, the method for determining current playing point also may be used
There are many, it is set forth below for two kinds:
The first, line duration data are the end time being broadcast live online described target direct broadcasting room the last time.
It is described to work as when the line duration data are the end time that described target direct broadcasting room the last time is broadcast live online
The method of preceding broadcast point is:The difference duration between the line duration data and the current time is calculated, further according to institute
The current playing point that difference duration determines the video sequence to prestore is stated, the current playing point is the broadcasting from the video sequence
Starting point backward, with the broadcast point of the broadcasting starting point apart from the difference duration.
For example, the last online live streamings of main broadcaster A are the 7 of March 3:00-10:00, spectators B are the 15 of March 3:
00 enters the corresponding direct broadcasting rooms of the main broadcaster A, then the method for the current playing point is at this time:With the current time 15:00
Subtract the last end time 10 being broadcast live online:00, obtain 5 hours of difference duration.Assuming that the video sequence is sequentially
The total duration of broadcasting be 20 hours, then the current playing point for the video sequence sequentially continuously play 5 hours when
Play position, i.e.,.Assuming that the total duration that the video sequence sequentially plays is 4 hours, then the current playing point is described
Video sequence sequentially continuous 5 hours of loop play when play position, due to being loop play, i.e., described current playing point is
The play position of 1 hour is played since the starting of the video sequence.
Specifically, the end time being broadcast live online according to the current time and described target direct broadcasting room the last time
Difference determines the current playing point of the video sequence, can guarantee and starts in the just offline downtime of each main broadcaster, depending on
Frequency sequence is the loop play, and make to enter the target direct broadcasting room in each period from the beginning since the downtime
Viewer end can guarantee synchronization.
Second, at the beginning of line duration data is the last online live streamings of the target direct broadcasting room.
It is described to work as when at the beginning of the line duration data is the online live streamings of target direct broadcasting room the last time
The method of preceding broadcast point can be:Calculate the difference duration between the line duration data and the current time, then root
The current playing point of the video sequence to prestore is determined according to the difference duration, the current playing point is from the video sequence
Starting point is played backward, with broadcast point of the broadcasting starting point apart from the difference duration.But determining in this way is currently playing
Point can only ensure the audio video synchronization that each spectators into the target direct broadcasting room see, but cannot be guaranteed that institute's video sequence is from institute
It states downtime and starts loop play from the beginning.
Therefore video sequence is the loop play from the beginning since the downtime in order to ensure, when described online
When time data is at the beginning of being broadcast live online target direct broadcasting room the last time, the method for the current playing point may be used also
Think:The difference duration between the line duration data and the current time is calculated, then is subtracted with the difference duration
The total duration that the last time is broadcast live online obtains final duration, and working as the video sequence to prestore is determined further according to the final duration
Preceding broadcast point, the current playing point backward, starting point distance are played with described for the broadcasting starting point from the video sequence
The broadcast point of the final duration.
For example, the last online live streamings of main broadcaster A are the 7 of March 3:00-10:00, spectators B are the 15 of March 3:
00 enters the corresponding direct broadcasting rooms of the main broadcaster A, then the method for the current playing point is at this time:With the current time 15:00
It subtracts 7 at the beginning of the last online live streaming:00,8 hours of difference duration are obtained, then subtract the online playing duration of main broadcaster
3 hours obtain final 5 hours of duration.Assuming that the total duration that the video sequence sequentially plays is 20 hours, then it is described
Current playing point sequentially continuously plays play position during 5 hours for the video sequence, i.e.,.Assuming that the video sequence according to
The total duration that sequence plays is 4 hour, then the current playing point is the video sequence sequentially continuous 5 hours of loop play
When play position, due to being loop play, i.e., described current playing point is that 1 is played since the starting of the video sequence
The play position of hour.
Certainly, in specific implementation process, the method for determining the current playing point is not limited to both the above, does not make herein
Limitation.
Subsequently, step S104 is performed, since the current playing point, sends the video sequence to the spectators
End, so that the viewer end plays the video sequence since the current playing point.
Specifically, after the direct broadcast server determines the current playing point, the viewer end can be controlled to work as from described
Preceding time, the sequentially video sequence described in continuous loop play since the current playing point, so that into the target
Each viewer end of direct broadcasting room can watch synchronous video when main broadcaster is not online, and barrage is carried out so as to be based on video content
Or speech exchange, it improves spectators and participates in enthusiasm, reduce spectators' turnover rate.
As an example it is assumed that the total duration of video sequence is 8 hours, line duration data are nearest for the target direct broadcasting room
The primary end time being broadcast live online, the last online live streamings of main broadcaster A are the 7 of March 3:00-10:00.
Spectators A is the 10 of March 3:00 enters the direct broadcasting room of main broadcaster A, then at this point, spectators A viewer end from the beginning sequentially
Video sequence described in loop play;
Spectators B is the 15 of March 3:00 enters the corresponding direct broadcasting rooms of the main broadcaster A, then at this point, determining described currently playing
Point for the video sequence sequentially continuously play 5 hours when play position, therefore spectators B viewer end from video sequence from
Head position 5 hours played starts video sequence described in sequentially loop play;
Spectators C is the 20 of March 3:00 enters the corresponding direct broadcasting rooms of the main broadcaster A, then at this point, determining described currently playing
Point sequentially continuously plays play position during 10 hours for the video sequence, thus spectators B viewer end from video sequence
From the beginning it played the position of 2 hours and start video sequence described in sequentially loop play;
If as it can be seen that spectators A, spectators B with spectators C is consistent continuously watches video in the target direct broadcasting room, can
Guarantee spectators A, spectators B are synchronous with the spectators C video contents watched in the same time.
It in the embodiment of the present application, can be with for the ease of when main broadcaster reaches the standard grade, the Online Video of main broadcaster can be quickly switched into
Setting when receive the characterization request that the corresponding main broadcaster end of the target direct broadcasting room sends proceed by be broadcast live online it is online straight
When broadcasting request, the direct broadcast server stops sending the video sequence to the viewer end, and receives the main broadcaster end and send
Online live video, and send the online live video to the viewer end.
In the embodiment of the present application, the situation of currently viewing video is judged for the ease of spectators, it is straight target can be arranged on
The offline mark of setting and/or online mark in direct broadcasting room mark between broadcasting so that spectators can be based on the offline mark and/or
Line mark judges it is the main broadcaster played live streaming or the video playing that prestores played online in presently described target direct broadcasting room.
It specifically, can be according to target direct broadcasting room most after the watching request for receiving viewer end viewing target direct broadcasting room
The nearly primary line duration data being broadcast live online and the current time of the watching request is received to determine the video sequence to prestore
The current playing point of row, and since the current playing point, the video sequence is sent to the viewer end, so that the sight
Many ends play the video sequence since the current playing point, so that during main broadcaster is not online, spectators enter live streaming
Between can not only watch the video sequence to prestore, moreover it is possible to ensure that the video sequence of each viewer end viewing is synchronous, in order to see
Crowd can carry out the interactions such as barrage based on the video sequence of viewing, not only reduce the workload of main broadcaster, also reduce spectators'
Turnover rate.
Based on same inventive concept, this application provides one corresponding device of embodiment, detailed in Example two.
Embodiment two
The present embodiment provides a kind of live broadcast device, as shown in Fig. 2, described device is direct broadcast server, including:
Receiving module 201, for receiving the watching request of viewer end viewing target direct broadcasting room;
Acquisition module 202 for being based on the watching request, obtains what described target direct broadcasting room the last time was broadcast live online
Line duration data and the current time for receiving the watching request;
Determining module 203, for according to the line duration data and the current time, determining the video sequence to prestore
Current playing point;
Sending module 204, for since the current playing point, sending the video sequence to the viewer end, with
The viewer end is made to play the video sequence since the current playing point.
In the embodiment of the present application, the direct broadcast server can be computer equipment, high in the clouds or computer equipment group,
This is not restricted.
In the embodiment of the present application, described device further includes:
Memory module, for receiving and storing the video sequence that the corresponding main broadcaster end of the target direct broadcasting room uploads.
In the embodiment of the present application, the line duration data are:What described target direct broadcasting room the last time was broadcast live online
The airtime that end time or described target direct broadcasting room the last time are broadcast live online;The determining module 203 further includes:
Computing unit, for calculating the difference duration between the line duration data and the current time;
Determination unit, it is described current for determining the current playing point of the video sequence to prestore according to the difference duration
Broadcast point be from the broadcasting starting point of the video sequence backward, with broadcasting of the broadcasting starting point apart from the difference duration
Point.
Since the device that the present embodiment is introduced is to implement to fill used by a kind of live broadcasting method in the embodiment of the present application one
It puts, so based on the method described in the embodiment of the present application one, those skilled in the art can understand the present embodiment
The specific embodiment of device and its various change form, so how to be realized in the embodiment of the present application for the device at this
Method be no longer discussed in detail.As long as those skilled in the art implement to set used by the method in the embodiment of the present application
It is standby, belong to the range to be protected of the application.
Based on same inventive concept, this application provides one corresponding direct broadcast server of embodiment, detailed in Example three.
Embodiment three
The present embodiment provides a kind of direct broadcast server, as shown in figure 3, including memory 310, processor 320 and being stored in
On memory 310 and the computer program 311 that can run on the processor 320, when processor 320 performs computer program 311
Realize following steps:
Receive the watching request of viewer end viewing target direct broadcasting room;
Based on the watching request, line duration data and connect that described target direct broadcasting room the last time is broadcast live online are obtained
Receive the current time of the watching request;
According to the line duration data and the current time, the current playing point of video sequence to prestore is determined;
Since the current playing point, the video sequence is sent to the viewer end, so that the viewer end is from institute
Current playing point is stated to start to play the video sequence.
In specific implementation process, when processor 320 performs computer program 311, it can realize any in embodiment one
Embodiment.
By the direct broadcast server that the present embodiment is introduced by implement the embodiment of the present application one in a kind of live broadcasting method adopted
Equipment, so based on the method described in the embodiment of the present application one, those skilled in the art can understand this reality
The specific embodiment and its various change form of the direct broadcast server of example are applied, so how to be realized for the server herein
Method in the embodiment of the present application is no longer discussed in detail.As long as those skilled in the art implement the side in the embodiment of the present application
Equipment used by method belongs to the range to be protected of the application.
Based on same inventive concept, this application provides one corresponding storage medium of embodiment, detailed in Example four.
Example IV
The present embodiment provides a kind of computer readable storage medium 400, as shown in figure 4, being stored thereon with computer program
411, which realizes following steps when being executed by processor:
Receive the watching request of viewer end viewing target direct broadcasting room;
Based on the watching request, line duration data and connect that described target direct broadcasting room the last time is broadcast live online are obtained
Receive the current time of the watching request;
According to the line duration data and the current time, the current playing point of video sequence to prestore is determined;
Since the current playing point, the video sequence is sent to the viewer end, so that the viewer end is from institute
Current playing point is stated to start to play the video sequence.
In specific implementation process, when which is executed by processor, it can realize any in embodiment one
Embodiment.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the present invention
Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the present invention
The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real
The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or
The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation
Property concept, then additional changes and modifications may be made to these embodiments.So appended claims be intended to be construed to include it is excellent
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of live broadcasting method, which is characterized in that the method is applied to direct broadcast server, including:
Receive the watching request of viewer end viewing target direct broadcasting room;
Based on the watching request, line duration data and receive that described target direct broadcasting room the last time is broadcast live online are obtained
The current time of the watching request;
According to the line duration data and the current time, the current playing point of video sequence to prestore is determined;
Since the current playing point, the video sequence is sent to the viewer end, so that the viewer end is worked as from described
Preceding broadcast point starts to play the video sequence.
2. the method as described in claim 1, which is characterized in that please in the viewing of the reception viewer end viewing target direct broadcasting room
Before asking, further include:
Receive and store the video sequence that the corresponding main broadcaster end of the target direct broadcasting room uploads.
3. the method as described in claim 1, which is characterized in that the line duration data are:
The end time or the target direct broadcasting room that described target direct broadcasting room the last time is broadcast live online are the last online straight
The airtime broadcast.
4. method as claimed in claim 3, which is characterized in that it is described according to the line duration data and it is described current when
Between, determine the current playing point of video sequence to prestore, including:
Calculate the difference duration between the line duration data and the current time;
The current playing point of the video sequence to prestore is determined according to the difference duration, the current playing point is from the video
The broadcasting starting point of sequence backward, with the broadcast point of the broadcasting starting point apart from the difference duration.
5. the method as described in claim 1, which is characterized in that since the current playing point, sending the video sequence
After row to the viewer end, further include:
The online live streaming request that the corresponding main broadcaster end of the target direct broadcasting room is sent is received, the online live streaming request characterization please
It asks and proceeds by online live streaming;
Stop sending the video sequence to the viewer end;
The online live video that the main broadcaster end is sent is received, and sends the online live video to the viewer end.
6. a kind of live broadcast device, which is characterized in that described device is direct broadcast server, including:
Receiving module, for receiving the watching request of viewer end viewing target direct broadcasting room;
Acquisition module, for being based on the watching request, obtain that described target direct broadcasting room the last time is broadcast live online it is online when
Between data and receive the current time of the watching request;
Determining module, for according to the line duration data and the current time, determining the current of the video sequence to prestore
Broadcast point;
Sending module, for since the current playing point, sending the video sequence to the viewer end, so that the sight
Many ends play the video sequence since the current playing point.
7. device as claimed in claim 6, which is characterized in that further include:
Memory module, for receiving and storing the video sequence that the corresponding main broadcaster end of the target direct broadcasting room uploads.
8. device as claimed in claim 6, which is characterized in that the line duration data are:The target direct broadcasting room is nearest
The airtime that the primary end time being broadcast live online or described target direct broadcasting room the last time are broadcast live online;It is described to determine
Module further includes:
Computing unit, for calculating the difference duration between the line duration data and the current time;
Determination unit, it is described currently playing for determining the current playing point of the video sequence to prestore according to the difference duration
It puts as the broadcasting starting point from the video sequence backward, with broadcast point of the broadcasting starting point apart from the difference duration.
9. a kind of direct broadcast server including memory, processor and stores the meter that can be run on a memory and on a processor
Calculation machine program, which is characterized in that the processor realizes claim 1-5 any methods when performing described program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
Claim 1-5 any methods are realized during execution.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810015656.9A CN108174233A (en) | 2018-01-08 | 2018-01-08 | A kind of live broadcasting method, device, server and medium |
PCT/CN2018/082357 WO2019134293A1 (en) | 2018-01-08 | 2018-04-09 | Live streaming method, device, server and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810015656.9A CN108174233A (en) | 2018-01-08 | 2018-01-08 | A kind of live broadcasting method, device, server and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108174233A true CN108174233A (en) | 2018-06-15 |
Family
ID=62517634
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810015656.9A Pending CN108174233A (en) | 2018-01-08 | 2018-01-08 | A kind of live broadcasting method, device, server and medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108174233A (en) |
WO (1) | WO2019134293A1 (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108989855A (en) * | 2018-07-06 | 2018-12-11 | 武汉斗鱼网络科技有限公司 | A kind of advertisement cut-in method, device, equipment and medium |
CN109831675A (en) * | 2019-02-27 | 2019-05-31 | 武汉斗鱼鱼乐网络科技有限公司 | A kind of active process method, server and readable storage medium storing program for executing that platform is broadcast live |
CN110958465A (en) * | 2019-12-17 | 2020-04-03 | 广州酷狗计算机科技有限公司 | Video stream pushing method and device and storage medium |
CN111212294A (en) * | 2018-11-22 | 2020-05-29 | 腾讯科技(深圳)有限公司 | Method and device for updating state of live broadcast room and readable storage medium |
CN111209067A (en) * | 2019-12-31 | 2020-05-29 | 北京达佳互联信息技术有限公司 | Multimedia resource processing method and device, storage medium and computing equipment |
CN111246239A (en) * | 2020-02-12 | 2020-06-05 | 广州虎牙科技有限公司 | Method, system, apparatus, device and storage medium for testing live programs |
CN111385664A (en) * | 2018-12-29 | 2020-07-07 | 广州市百果园网络科技有限公司 | Interactive data processing method and device for live broadcast room, storage medium and server |
CN111726650A (en) * | 2020-06-30 | 2020-09-29 | 广州繁星互娱信息科技有限公司 | Video live broadcast method and device and computer storage medium |
CN112235593A (en) * | 2020-10-16 | 2021-01-15 | 广州博冠信息科技有限公司 | Live broadcast processing method and device, electronic equipment and computer readable storage medium |
CN117651168A (en) * | 2024-01-29 | 2024-03-05 | 广东茉莉数字科技集团股份有限公司 | Calculation method and system for calculating effective multicast duration of anchor |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102790911A (en) * | 2011-05-16 | 2012-11-21 | 腾讯科技(深圳)有限公司 | Method and system for playback of live broadcast |
CN105898524A (en) * | 2015-11-02 | 2016-08-24 | 乐视致新电子科技(天津)有限公司 | Program watch-back method, player and terminal |
CN106162252A (en) * | 2015-03-27 | 2016-11-23 | 天脉聚源(北京)科技有限公司 | A kind of net cast is spread the method and system put |
CN106792219A (en) * | 2016-12-20 | 2017-05-31 | 天脉聚源(北京)传媒科技有限公司 | A kind of live method and device reviewed |
US20170188097A1 (en) * | 2014-07-09 | 2017-06-29 | Platypus Ip Llc | Indexing and compiling recordings in dwindling memory |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160014477A1 (en) * | 2014-02-11 | 2016-01-14 | Benjamin J. Siders | Systems and Methods for Synchronized Playback of Social Networking Content |
-
2018
- 2018-01-08 CN CN201810015656.9A patent/CN108174233A/en active Pending
- 2018-04-09 WO PCT/CN2018/082357 patent/WO2019134293A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102790911A (en) * | 2011-05-16 | 2012-11-21 | 腾讯科技(深圳)有限公司 | Method and system for playback of live broadcast |
US20170188097A1 (en) * | 2014-07-09 | 2017-06-29 | Platypus Ip Llc | Indexing and compiling recordings in dwindling memory |
CN106162252A (en) * | 2015-03-27 | 2016-11-23 | 天脉聚源(北京)科技有限公司 | A kind of net cast is spread the method and system put |
CN105898524A (en) * | 2015-11-02 | 2016-08-24 | 乐视致新电子科技(天津)有限公司 | Program watch-back method, player and terminal |
CN106792219A (en) * | 2016-12-20 | 2017-05-31 | 天脉聚源(北京)传媒科技有限公司 | A kind of live method and device reviewed |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108989855A (en) * | 2018-07-06 | 2018-12-11 | 武汉斗鱼网络科技有限公司 | A kind of advertisement cut-in method, device, equipment and medium |
CN111212294B (en) * | 2018-11-22 | 2021-10-29 | 腾讯科技(深圳)有限公司 | Method and device for updating state of live broadcast room and readable storage medium |
CN111212294A (en) * | 2018-11-22 | 2020-05-29 | 腾讯科技(深圳)有限公司 | Method and device for updating state of live broadcast room and readable storage medium |
CN111385664A (en) * | 2018-12-29 | 2020-07-07 | 广州市百果园网络科技有限公司 | Interactive data processing method and device for live broadcast room, storage medium and server |
CN111385664B (en) * | 2018-12-29 | 2023-04-14 | 广州市百果园网络科技有限公司 | Interactive data processing method and device for live broadcast room, storage medium and server |
CN109831675A (en) * | 2019-02-27 | 2019-05-31 | 武汉斗鱼鱼乐网络科技有限公司 | A kind of active process method, server and readable storage medium storing program for executing that platform is broadcast live |
CN110958465A (en) * | 2019-12-17 | 2020-04-03 | 广州酷狗计算机科技有限公司 | Video stream pushing method and device and storage medium |
CN111209067A (en) * | 2019-12-31 | 2020-05-29 | 北京达佳互联信息技术有限公司 | Multimedia resource processing method and device, storage medium and computing equipment |
CN111246239A (en) * | 2020-02-12 | 2020-06-05 | 广州虎牙科技有限公司 | Method, system, apparatus, device and storage medium for testing live programs |
CN111726650A (en) * | 2020-06-30 | 2020-09-29 | 广州繁星互娱信息科技有限公司 | Video live broadcast method and device and computer storage medium |
CN112235593A (en) * | 2020-10-16 | 2021-01-15 | 广州博冠信息科技有限公司 | Live broadcast processing method and device, electronic equipment and computer readable storage medium |
CN117651168A (en) * | 2024-01-29 | 2024-03-05 | 广东茉莉数字科技集团股份有限公司 | Calculation method and system for calculating effective multicast duration of anchor |
CN117651168B (en) * | 2024-01-29 | 2024-04-26 | 广东茉莉数字科技集团股份有限公司 | Calculation method and system for calculating effective multicast duration of anchor |
Also Published As
Publication number | Publication date |
---|---|
WO2019134293A1 (en) | 2019-07-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108174233A (en) | A kind of live broadcasting method, device, server and medium | |
US11678000B2 (en) | Method and system for providing social media content synchronized to media presentation | |
US20210329317A1 (en) | Playback synchronization in a group viewing a media title | |
US11792444B2 (en) | Dynamic viewpoints of live event | |
US9538250B2 (en) | Methods and systems for creating and managing multi participant sessions | |
US8819738B2 (en) | System and method for real-time composite broadcast with moderation mechanism for multiple media feeds | |
CN102782669B (en) | Social media playback | |
US9131256B2 (en) | Method and apparatus for synchronizing content playback | |
US20160134690A1 (en) | System and Method for Providing a Virtual Environment with Shared Video on Demand | |
US20160234556A1 (en) | System and Method for Organizing, Ranking and Identifying Users as Official Mobile Device Video Correspondents | |
CN106303648A (en) | A kind of method and device synchronizing to play multi-medium data | |
US10116976B2 (en) | System and method for distributing media content associated with an event | |
CN108495152A (en) | A kind of net cast method, apparatus, electronic equipment and medium | |
CN109451326A (en) | A kind of methods of exhibiting, device, server and the storage medium of main broadcaster's information | |
CN108600850A (en) | Video sharing method, client, server and storage medium | |
CN108174227B (en) | Virtual article display method and device and storage medium | |
CN111918705A (en) | Synchronizing conversational content to external content | |
CN107318052A (en) | Player method, television set and the storage medium of television video | |
US20230283813A1 (en) | Centralized streaming video composition | |
CN110832871B (en) | Method, server system and computer readable medium for real-time incorporation of user-generated content into a broadcast media stream | |
CN108156529B (en) | Data display method, device and system | |
KR102051985B1 (en) | Synchronization of Media Rendering in Heterogeneous Networking Environments | |
CN117437824B (en) | Lecture training method and related device | |
US20240129568A1 (en) | Systems and methods for enhancing group media consumption sessions | |
US20240129572A1 (en) | Systems and methods for enhancing group media consumption sessions |
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: 20180615 |