CN106170103B - Video broadcasting method and device - Google Patents
Video broadcasting method and device Download PDFInfo
- Publication number
- CN106170103B CN106170103B CN201610399576.9A CN201610399576A CN106170103B CN 106170103 B CN106170103 B CN 106170103B CN 201610399576 A CN201610399576 A CN 201610399576A CN 106170103 B CN106170103 B CN 106170103B
- Authority
- CN
- China
- Prior art keywords
- video
- video playing
- media file
- collapse
- playing client
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
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/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/4425—Monitoring of client processing errors or hardware failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440281—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the temporal resolution, e.g. by frame skipping
Abstract
The invention discloses a kind of video broadcasting method and devices.Wherein, which includes: to receive the first request, wherein the first request is for requesting video playing client terminal playing video;Judge whether the difference between the current time of video playing client and the collapse time of video playing client last time collapse is less than predetermined threshold;In the case where judging that difference is less than predetermined threshold, then the broadcasting some or all of skipped in video playing client in the patch media file to video plays video.The present invention solves the time longer technical problem that the relevant technologies wait video playing after the collapse of video playing client.
Description
Technical field
The present invention relates to video fields, in particular to a kind of video broadcasting method and device.
Background technique
Currently, the number of viewing TV is constantly being reduced, and the number for watching network video is being increasing, when some
When watching video in video website, the media file of certain time length can be all played, which includes the default media played
Content is patch media file.The patch media file of different playing durations influences to use to varying degrees in broadcasting Shi Douhui
The experience of family viewing video.User normally watches video after having watched patch media file, if video also
When not watched, the playing program of video playing client collapses suddenly, then video stops playing, and user cannot continue to watch
Video.User is if it is intended to continue to watch the video do not watched of last time, it is necessary to restart video playing client.
After the restarting of video playing client, the video of last time viewing is reopened, patch matchmaker can be played at this time
Body file, only after patch playback of media files is complete, the video that user's last time is watched just starts normal play.It is regarding in this way
If to replay video after the collapse of frequency client end of playing back, user has to passively receive patch to watch the video liked
The broadcasting of piece media file waits the time of video playing longer so as to cause user after the collapse of video playing client.
Because the program that the problems such as compatibility of mobile device, technology are realized can all not can avoid video playing client collapses
It bursts, is not able to satisfy demand of the user to video-see, reduces user to the use interest of product, and then can not be video playing
The operator of client brings profit, and then people cannot be helped to improve the quality of living, and improves working efficiency, improves interpersonal relationships
Deng.
The time longer problem of video playing is waited after collapsing for the above-mentioned client of video playing in the related art,
Currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of video broadcasting method and devices, at least to solve the relevant technologies in video playing
The time longer technical problem of video playing is waited after client collapse.
According to an aspect of an embodiment of the present invention, a kind of video broadcasting method is provided.The video broadcasting method includes:
Receive the first request, wherein the first request is for requesting video playing client terminal playing video;Judge video playing client
Whether the difference between current time and the collapse time of video playing client last time collapse is less than predetermined threshold;Judging
In the case that difference is less than predetermined threshold out, then the portion in the patch media file to video is skipped in video playing client
Point or whole broadcastings, play video.
According to another aspect of an embodiment of the present invention, a kind of video play device is additionally provided.The video play device packet
It includes: the first receiving unit, for receiving the first request, wherein the first request is for requesting video playing client terminal playing video;
Judging unit, for judging the current time of video playing client and the collapse time of video playing client last time collapse
Between difference whether be less than predetermined threshold;First broadcast unit, for judge difference be less than predetermined threshold in the case where,
The broadcasting some or all of then skipped in video playing client in the patch media file to video.
In embodiments of the present invention, it is requested using reception first, the first request is for requesting video playing client terminal playing
Video;Judge the difference between the current time of video playing client and the collapse time of video playing client last time collapse
Whether value is less than predetermined threshold;In the case where judging that difference is less than predetermined threshold, then skipped in video playing client
To the mode of the broadcasting some or all of in the patch media file of video, by judging difference less than predetermined threshold
In the case of, then the broadcasting some or all of skipped in video playing client in the patch media file to video, also
It is to say, the difference between collapse time once collapsed in current time and video playing client is less than the feelings of predetermined threshold
Under condition, by skipping the broadcasting to content some or all of in patch media file, when reducing the broadcasting of patch media file
Between, to realize the technical effect shortened in the play time of video playing client collapse rear video viewing, and then solve
The relevant technologies wait the time longer technical problem of video playing after the collapse of video playing client.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of hardware block diagram of the terminal of video broadcasting method according to an embodiment of the present invention;
Fig. 2 is a kind of flow chart of video broadcasting method according to an embodiment of the present invention;
Fig. 3 is the flow chart of another video broadcasting method according to an embodiment of the present invention;
Fig. 4 is the flow chart of another video broadcasting method according to an embodiment of the present invention;
Fig. 5 is according to an embodiment of the present invention skipped in the patch media file to video in video playing client
The flow chart of all or part of playback method;
Fig. 6 is the flow chart of the recording method of the collapse time of video playing client according to an embodiment of the present invention;
Fig. 7 is the flow chart of another video broadcasting method according to an embodiment of the present invention;
Fig. 8 is a kind of schematic diagram of video play device according to an embodiment of the present invention;
Fig. 9 is the schematic diagram of another video play device according to an embodiment of the present invention;
Figure 10 is the schematic diagram of another video play device according to an embodiment of the present invention;
Figure 11 is the schematic diagram of another video play device according to an embodiment of the present invention;
Figure 12 is the schematic diagram of another video play device according to an embodiment of the present invention;
Figure 13 is the schematic diagram of another video play device according to an embodiment of the present invention;And
Figure 14 is a kind of structural block diagram of terminal according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
Embodiment 1
According to embodiments of the present invention, a kind of embodiment of video broadcasting method is provided, it should be noted that in attached drawing
The step of process illustrates can execute in a computer system such as a set of computer executable instructions, although also,
Logical order is shown in flow chart, but in some cases, it can be to be different from shown by sequence execution herein or retouch
The step of stating.
Optionally, in the present embodiment, above-mentioned video broadcasting method can be applied to server 102 as shown in Figure 1
In the hardware environment constituted with terminal 104.As shown in Figure 1, server 102 is attached by network with terminal 104, it is above-mentioned
Network includes but is not limited to: wide area network, Metropolitan Area Network (MAN) or local area network, and terminal 104 is not limited to PC, mobile phone, tablet computer etc..This
The video broadcasting method of inventive embodiments can be executed by server 102, can also be executed, be can also be by terminal 104
It is executed jointly by server 102 and terminal 104.Wherein, the video broadcasting method that terminal 104 executes the embodiment of the present invention can also be with
It is to be executed by client mounted thereto.
Fig. 2 is a kind of flow chart of video broadcasting method according to an embodiment of the present invention.As shown in Fig. 2, this method can be with
The following steps are included:
Step S202 receives the first request, wherein the first request is for requesting video playing client terminal playing video.
In the scheme that the application above-mentioned steps S202 is provided, the first request is received, wherein the first request is for requesting view
Frequency client end of playing back plays video.Video playing client can be the Video Applications being mounted in terminal for playing video,
Or the video playing plug-in unit being embedded in webpage.Any restriction is not done in the present embodiment to this.First request is in user
When wanting through video playing client terminal playing video to meet psychological needs, operation is played out to video playing client,
Video playing client end response, to the play operation of video playing client, and receives this and is used to requesting video playing objective in user
Family end plays the first request of video.This first request can by user to the video resource in video playing client into
After row is chosen, click is generated for playing the operating space of the video resource of the selection, video playing client and then reception
This first request, this first request be also possible to one section of video playing in video playing client it is complete after, next section view
The request that play next section of video that video playing client receives when frequency will play automatically.
The video of the embodiment can be the video positive played out by video playing client terminal playing, pass through reception
First request has achieved the purpose that request video playing client terminal playing video.
Step S204 judges the current time of video playing client and the collapse of video playing client last time collapse
Whether the difference between the time is less than predetermined threshold.
In the scheme that the application above-mentioned steps S204 is provided, after reception first is requested, video playing client is judged
Whether the difference between the current time at end and the collapse time of video playing client last time collapse is less than predetermined threshold.
During video playing client terminal playing video, the program of video playing client may be because of dynamic chain
Connecing that library loading error, software are incompatible, increase file or lose file etc. causes video playing client to be collapsed, and causes
Video playing client is unable to normal play video.When video playing client is collapsed every time, to video playing client
It is recorded when end is there is a situation where collapsing, obtains collapse record, collapse record can recorde the generation of video playing client
The information such as collapse time when collapse, the crash reason collapsed, to be recorded by the collapse to video playing client
Performance analyzed.After the collapse of video playing client, when user needs to watch video again, video can be broadcast
Client is put to restart.
In this embodiment, after video playing client is collapsed, Yao Chongqi video playing client could just
Often play video.Judge video playing client current time and the video playing client last time collapse collapse time it
Between difference whether be less than predetermined threshold.When the current time of video playing client can restart for video playing client
Time.The current time of video playing client and the collapse time of video playing client last time collapse are obtained, and to working as
The preceding time and the video playing client last time collapse collapse time execute calculating, obtain video playing client it is current when
Between the video playing client last time collapse collapse time between difference.Judge whether difference is less than predetermined threshold, it should
Predetermined threshold is the limiting time for the time that video playing client can play patch media file, for example, the predetermined threshold
It is 10 minutes.Optionally, the predetermined threshold is related with the duration of patch playback of media files, for example, when patch media text
Part play duration it is long when, the predetermined threshold is big, when patch playback of media files duration in short-term, the predetermined threshold
It is small.If it is determined that difference is less than predetermined threshold, step S206 is executed.
It should be noted that the embodiment of the present invention is not specifically limited the type for the media file that server is launched, clothes
The media file that business device is launched can be video file, audio file, picture file or text file etc., and it is several to be also possible to this
Any combination of kind file, for example, the combination of the combination of text file and picture file, video file and text file.Specifically
Product form can be such as video ads, primary advertisement, search advertisements.
Step S206, that some or all of skips in the patch media file to video in video playing client broadcasts
It puts, plays video.
In the scheme that the application above-mentioned steps S206 is provided, in the case where judging that difference is less than predetermined threshold, then
Whole broadcastings in the patch media file to video are skipped in video playing client, that is, abandoning the patch to video
Whole broadcastings in piece media file, avoid and again play out patch media file.For example, judging that difference is small
In the case where 10 minutes, then the whole in the patch media file of video is skipped in video playing client, directly play
Video avoids after the collapse of video playing client since the broadcasting of patch media file makes the waiting time of video playing
It is long, and then influence user and watch video.
Optionally, it in the case where judging that difference is less than predetermined threshold, then skips in video playing client to view
The broadcasting of part in the patch media file of frequency, that is, the broadcasting of the part in the patch media file to video is abandoned,
It avoids and is again completely played patch media file.The broadcasting for skipping the part in the patch media file to video can
To be selected to skip according to the significance level of the content in patch media file, for example, skipping not weighing in patch media file
Part is wanted, only the key content in patch media file is played out, can be some segment in patch media file,
Be also possible to multiple fragment combinations in patch media file at video.The patch to video is skipped in video playing client
After part patch media file in piece media file, user can be with the part of media text of direct viewing patch media file
Part, to realize the technical effect shortened in the play time of video playing client collapse rear video viewing.
Optionally, after whole patch media files that video is skipped in video playing client, from video playing visitor
The playback progress of video continues to play to video when family end collapses, the video content for watching user's direct viewing not,
The playback progress before preset time when can collapse from video playing client continues to play to video, in this way can be with
So that user is looked back the video of viewing, to be connected with the video that will be watched, shortens after the collapse of video playing client
The play time of video-see.
For example, time when video playing client is collapsed is 12:00:00, and video playing client is worked as
The preceding time is 12:09:00, when the current time 12:09:00 and video playing client of video playing client collapse
Difference 9 between time 12:00:00 is less than predetermined threshold 10, then the patch media of video are skipped in video playing client
File plays video, and then playback progress of the video in 12:09:00 can continue to play video, can also be from 12:08:
Playback progress when 00 plays video, and user is made to look back video of the video in normal play between 12:08:00 and 12:09:00
Content.
Optionally, after the patch media file that video is skipped in video playing client, by video playing client
The video content before preset time when collapsing is played out in a manner of F.F., until being played to the video not played
Ability normal play video when content, in the video before preset time when video playing client can also be collapsed
Critical video content is played out in the form of segment, so that user be made to rapidly enter in video plot, is shortened and is broadcast in video
Put the play time of client collapse rear video viewing.
Optionally, it if it is judged that difference is more than or equal to predetermined threshold, is then received in video playing client and plays patch
The request of media file, normal play patch media file, reaches media file propaganda objective.
Optionally, the predetermined threshold of the embodiment is from the media file of media file operator income and user experience two
Aspect is weighed, cannot be too big, can not be too small, in the current time and video playing client of video playing client
In the case that the difference between collapse time once collapsed is certain, if predetermined threshold is too big, playback of media files number
It is few, it is unfavorable for media file operator to the propaganda strength of media file, and then influence to receive benefit, if predetermined threshold is too small,
Normal play media file often, interrupts the continuity that user watches video, causes user experience imperfect.
S202 to step S206 through the above steps, scheme provided by the invention may be implemented by receiving the first request,
Wherein, the first request is for requesting video playing client terminal playing video;Judge the current time and view of video playing client
Whether the difference between the collapse time of frequency client end of playing back last time collapse is less than predetermined threshold;Judging that it is pre- that difference is less than
In the case where determining threshold value, then that some or all of skips in video playing client in the patch media file to video broadcasts
It puts, plays video, can solve the time longer skill that the relevant technologies wait video playing after the collapse of video playing client
Art problem, and then reach the technical effect that the time of waiting video playing is reduced after the collapse of video playing client.
As an alternative embodiment, being skipped in video playing client in the patch media file to video
All or part of play includes following one: the broadcasting to patch media file is skipped in video playing client;It is regarding
F.F. is carried out to the broadcasting of patch media file in frequency client end of playing back;Patch media text is only played in video playing client
Partial frame in part.
In video playing client, in the case where judging that difference is less than predetermined threshold, skip to patch media text
The broadcasting of part, directly broadcasting video, make user's direct viewing video.But media file is not achieved in this way and publicizes widely to user
Purpose, and then interests cannot be brought for media file operator.Optionally, to patch media text in video playing client
The broadcasting of part carries out F.F., shortens the play time of patch media file, while having reached and having declared to patch media file
The purpose of biography.Optionally, the partial frame in patch media file is only played in video playing client, when patch media file
In partial content to publicize it is useful, only the partial content in patch media file is played out, in video playing client
In only play patch media file in partial frame, to not only reach the propaganda objective to patch media file, but also reduce
The time of video playing is waited after the collapse of video playing client.
User experience (user experience) can be the psychology used the product by the user, impression, and to using product
Later to the impression of product, evaluation, user experience is also possible to the process how product contacts and play a role with the external world,
That is, contacting with people, meet the basic need of people.For example, the service purpose using APP of social category, reading class, amusement class is all
It is to accompany people, compensates for a part of lonely time and the demand of people.User experience is critically important to user, can provide product for user
Pole, efficient experience, and user is motivated persistently to use product, the correct user of Shi Douhui product is being used to product every time
Formula executes, to the needs of in terms of so that product is met user and get a profit, helps people to improve the quality of living, improves work effect
Rate and improvement interpersonal relationships.The video broadcasting method of the embodiment had not only reached the propaganda objective to patch media file, but also
The experience performance that user watches video is improved, the media file income and user for effectively balancing media file operator are seen
See the user experience of video.
As an alternative embodiment, video playing client may play patch before reception first is requested
Media file plays video, and time when video playing client is collapsed can be video playing client terminal playing patch
The time collapsed during media file is also possible to collapse during video playing client terminal playing video
Time.
Fig. 3 is the flow chart of another video broadcasting method according to an embodiment of the present invention.As shown in figure 3, the video is broadcast
It is further comprising the steps of to put method:
Step S301 receives the second request before reception first is requested, wherein the second request is for requesting video to be broadcast
Put client terminal playing video.
In the scheme that the application above-mentioned steps S301 is provided, before reception first request, receives second and request, this
Two requests are for requesting video playing client terminal playing video.Second request is wanted to broadcast by video playing client in user
When putting video to meet psychological needs, operation is played out to video playing client, video playing client end response is in user
To the play operation of video playing client, and this is received for requesting the second of video playing client terminal playing video to request.
Second request can be clicked by user after choosing to the video resource in video playing client for playing
The operating space of the video resource of the selection and generate, video playing client receive in turn this second request, this second request
Can be one section of video playing in video playing client it is complete after, video playing when next section of video will play automatically
The request that play next section of video that client receives.
Step S302 detects that video playing client occurs during playing patch media file or playing video
Collapse.
In the scheme that the application above-mentioned steps S302 is provided, during playing patch media file or playing video
Detect that video playing client is collapsed.After reception second is requested, media file operator is in video playing client
Rectify and often launch patch media file, video playing client plays out media file patch.In video playing client
During playing out to media file patch or video, the program of video playing client may be because of dynamic link library
Loading error, software are incompatible, increase file or lose file etc. causes video playing client to be collapsed, and causes video
Client end of playing back is unable to normal play patch media file or video, then examines during playing patch media file or video
Video playing client is measured to collapse.
Step S303, time of record video playing client when collapsing, using as collapse time.
In the scheme that the application above-mentioned steps S303 is provided, time when video playing client is collapsed is recorded,
Using as collapse time.It, will when detecting that video playing client is collapsed during playing patch media file
The time is recorded in local as collapse time.Optionally, the reason of local also record video playing client is collapsed
Etc. information, form collapse record, consequently facilitating subsequent analyze collapse record, and then video playing client changed
Into the performance of raising video playing client terminal playing video.
The embodiment is by before reception first is requested, receiving the second request, wherein the second request is for requesting video
Client end of playing back plays video;Detect that video playing client is sent out during playing patch media file or playing video
Raw collapse;Time when record video playing client is collapsed, to realize to client end of playing back as collapse time
The record of collapse time.
As an alternative embodiment, the broadcasting some or all of in skipping the patch media file to video
Later, video playing client terminal playing video removes the collapse time of video playing client last time collapse at the same time,
Initial value 00:00:00 can be set by the field for being used to indicate the collapse time of video playing client, in this way, in video
Client end of playing back collapses next time when, which is set as new collapse time, and new collapse time is recorded.It can
Selection of land can also set invalid value for the field for being used to indicate the collapse time of video playing client, for example, being set as
50:50:50, to achieve the purpose that the collapse time for collapsing the video playing client last time is removed.
As an alternative embodiment, after the collapse time once collapsed on removing video playing client,
Video playing client can be with normal play patch media file and video, that is, playing after playing patch media file
Video.
Fig. 4 is the flow chart of another video broadcasting method according to an embodiment of the present invention.As shown in figure 4, the video is broadcast
It is further comprising the steps of to put method:
Step S401 receives third request, wherein third is requested for requesting video playing client terminal playing video.
In the scheme that the application above-mentioned steps S401 is provided, the collapse once collapsed on removing video playing client
After time, third request is received, wherein third is requested for requesting video playing client terminal playing video.Third request
When user wants through video playing client terminal playing video to meet psychological needs, video playing client is played out
Operation, video playing client end response, to the play operation of video playing client, and receive this and are used to request video in user
Client end of playing back plays the third request of video.Third request can be by user to the video in video playing client
After resource is chosen, click generated for playing the operating space of the video resource of the selection, video playing client into
And receive the third request, the third request be also possible to one section of video playing in video playing client it is complete after, under
The request that play next section of video that video playing client receives when one section of video will play automatically.
Step S402 plays video in the case where judging that collapse time is removed in video playing client
Patch media file and video.
In the scheme that the application above-mentioned steps S402 is provided, after receiving third request, collapse time is being judged
In the case where removing, the patch media file and video of video are played in video playing client.Optionally, pass through judgement
Judge whether collapse time is removed for indicating the field of collapse time, if it is judged that for indicating the word of collapse time
Section is initial value or is invalid value, can determine that the collapse time of video playing client last time is removed, video playing
The patch media file and video of client terminal playing video, that is, the patch media file of video is played first, general video
The playing duration of patch media file be 15 seconds, 30 seconds, 45 seconds etc., to patch playback of media files it is complete after, and then play
Video reaches operator to the propaganda objective of media file, has also achieved the purpose that user watches video.
Optionally, the patch media file and video of video are played in video playing client, receive the first request, it should
First request judges the current time and video playing of video playing client for requesting video playing client terminal playing video
Whether the difference between the collapse time of client last time collapse is less than predetermined threshold, since video playing client is last
The collapse time of collapse is removed, so the current time of video playing client and video playing client last time collapse
Collapse time between difference be invalid value, directly broadcasting video patch media file and video.
After the collapse time that the embodiment is once collapsed on removing video playing client, asked by receiving third
It asks, third is requested for requesting video playing client terminal playing video;In the case where judging that collapse time is removed, regarding
The patch media file and video of video are played in frequency client end of playing back, to realize to the patch media file for playing video
The purpose played out with video.
As an alternative embodiment, the application step S206 skips the patch to video in video playing client
Broadcasting some or all of in piece media file further include: do not play patch media text between collapse time and current time
In the case where part, the broadcasting some or all of skipped in video playing client in the patch media file to video.
Fig. 5 is according to an embodiment of the present invention skipped in the patch media file to video in video playing client
The flow chart of all or part of playback method.As shown in figure 5, the patch matchmaker to video should be skipped in video playing client
Playback method some or all of in body file the following steps are included:
Step S501, judges whether video playing client has played patch media between collapse time and current time
File.
In the scheme that the application above-mentioned steps S501 is provided, video playing client when collapsing every time, at this
The collapse time of ground record video playing client.After video playing client is collapsed, Yao Chongqi video playing visitor
It family end could normal play video.What the current time and video playing client last time for obtaining video playing client were collapsed
Collapse time.Optionally, patch media file is recorded in the local broadcasting record searched and play patch media file after broadcasting,
Judge whether video playing client has the record for playing patch media file between collapse time and current time.
Step S502, in the case where judging not play patch media file between collapse time and current time,
The broadcasting some or all of skipped in video playing client in the patch media file to video.
The application above-mentioned steps S502 provide scheme in, judge video playing client collapse time and currently
After whether having played patch media file between time, if it is judged that not playing patch between collapse time and current time
Piece media file, that is, execution plays function for the first time if it is judged that video playing client is restarted after collapse
Can, then the broadcasting of the part in the patch media file to video is skipped in video playing client, skips the patch to video
The broadcasting of part in piece media file can select to skip patch according to the significance level of the content in patch media file
Partial content in media file collapses the play time of rear video viewing in video playing client to realize and shorten
Technical effect, and achieved the purpose that media file operator publicizes media file.
Optionally, in the case where judging not play patch media file between collapse time and current time, and
In the case where judging not play patch media file between collapse time and current time, the patch media to video are skipped
Whole broadcastings in file, to realize the skill shortened in the play time of video playing client collapse rear video viewing
Art effect, and achieved the purpose that media file operator publicizes media file.
The embodiment is by judging whether video playing client has played patch between collapse time and current time
Media file is broadcast in the case where judging not play patch media file between collapse time and current time in video
The broadcasting some or all of skipped in the patch media file to video in client is put, thus realize the broadcasting to video,
Reached reduces the technical effect for waiting the time of video playing after the collapse of video playing client.
As an alternative embodiment, in the current time and video playing client that judge video playing client
Whether the difference between the collapse time of last time collapse is less than after predetermined threshold, video broadcasting method further include: judging
In the case that difference is greater than or equal to predetermined threshold out, the patch media file and view of video are played in video playing client
Frequently.
The collapse time once collapsed in the current time and video playing client for obtaining video playing client, sentences
Whether the difference between the current time of disconnected video playing client and the collapse time of video playing client last time collapse
After predetermined threshold, when judge difference be greater than or equal to predetermined threshold when, that is, video playing client it is current when
Between apart from the video playing client last time collapse collapse time it is more long, at this time consider media file operator interests,
The patch media file that media file operator launches can play out in video playing client.In video playing client
After the patch media file for playing video in end, video is played out, to realize broadcasting to video and right
The interests of media file operator are taken into account.
As an alternative embodiment, patch media file includes at least one of: preceding patch media file,
In, preceding patch media file is arranged to play before video;In insert media file, wherein in insert media file be set
To be played during video playing;Bak stay media file, wherein bak stay media file is arranged to after the video
It plays.
With the development of digital technology and digital movie it is universal, patch media file is including preceding there are many form
Patch media file, in insert media file and bak stay media file.Preceding patch media file is arranged to broadcast before video
It puts, that is, being played out in video title;In insert media file be arranged to play during video playing, namely insert
Piece plays;Bak stay media file is arranged to play after the video, that is, playing out in video run-out.
Optionally, the first request is received, wherein the first request is for requesting video playing client terminal playing video;Judgement
Whether the difference between the current time of video playing client and the collapse time of video playing client last time collapse is small
In predetermined threshold;In the case where judging that difference is less than predetermined threshold, then skip in video playing client to video
Broadcasting some or all of in preceding patch media file.Optionally, judging feelings of the difference more than or equal to predetermined threshold
Under condition, the preceding patch media file and video of video are playd in order in video playing client.
Optionally, the first request is received;Judge one in the current time and video playing client of video playing client
Whether the difference between the collapse time of secondary collapse is less than predetermined threshold;In the case where judging that difference is less than predetermined threshold,
It is then skipped in video playing client to the broadcasting some or all of in media file slotting in video.
Optionally, the first request is received;Judge one in the current time and video playing client of video playing client
Whether the difference between the collapse time of secondary collapse is less than predetermined threshold;In the case where judging that difference is less than predetermined threshold,
The broadcasting some or all of then skipped in video playing client in the bak stay media file to video.
Technical solution of the present invention is illustrated below with reference to preferred embodiment.
Fig. 6 is the flow chart of the recording method of the collapse time of video playing client according to an embodiment of the present invention.Such as
Shown in Fig. 6, the recording method of the collapse time of the video playing client the following steps are included:
Step S601 starts video playing client.
In the scheme that the application above-mentioned steps S601 is provided, start video playing client.Video playing client exists
After receiving playing request, the patch media file and video of video are played.
Step S602, judges whether video playing client collapses.
In the scheme that the application above-mentioned steps S602 is provided, after starting video playing client, video is being played
Patch media file and video during, judge whether video playing client collapses.It can detecte video playing
It is led in client with the presence or absence of dynamic link library loading error, software incompatibility problem, increase file or loss file etc.
It causes video playing client to collapse, causes video playing client that cannot normally execute playing function.If it is judged that view
Frequency client end of playing back collapses, and executes step S603.
Step S603, the collapse time that record video playing client is collapsed.
In the scheme that the application above-mentioned steps S603 is provided, after judging that video playing client is collapsed,
The collapse time that video playing client is collapsed is obtained, and then the collapse time is recorded locally.Optionally, it removes
In the collapse time that local record video playing client is collapsed, also record that video playing client collapses collapses
The relevant informations such as reason of bursting, to be analyzed by collapse record the performance of video playing client.
The embodiment judges whether video playing client collapses, if sentenced by starting video playing client
Disconnected video playing client out is collapsed, then obtains the collapse time that video playing client is collapsed, record the collapse
Time, to realize the record of the collapse time to video playing client.
Fig. 7 is the flow chart of another video broadcasting method according to an embodiment of the present invention.As shown in fig. 7, the video is broadcast
It is further comprising the steps of to put method:
Step S701 receives the first request.
In the scheme that the application above-mentioned steps S701 is provided, the first request is for requesting video playing client terminal playing to regard
Frequently, which can be by user after choosing to the video resource in video playing client, and click is used for
It plays the operating space of the video resource of the selection and generates, video playing client receives first request in turn, is also possible to
After one section of video playing in video playing client is complete, video playing client when next section of video will play automatically
What is received will play the request of next section of video.
Step S702 judges whether the collapse time for obtaining the collapse of video playing client last time.
In the scheme that the application above-mentioned steps S702 is provided, after reception first is requested, video playing client is obtained
The collapse time of the last collapse in end executes if the collapse time of video playing client last time collapse is locally recording
Step S703 executes step S707 if the collapse time of video playing client last time collapse is not locally recording.
Step S703 calculates the current time of video playing client and the collapse of video playing client last time collapse
Difference between time.
In the scheme that the application above-mentioned steps S703 is provided, if when the collapse of video playing client last time collapse
Between locally recording, obtain video playing client current time, compare video playing client current time and video
The collapse time of client end of playing back last time collapse, calculates in the current time and video playing client of video playing client
The difference between collapse time once collapsed.
Step S704, judges whether difference is less than predetermined threshold.
In the scheme that the application above-mentioned steps S704 is provided, in the current time and video for calculating video playing client
After difference between the collapse time of client end of playing back last time collapse, judge whether difference is less than predetermined threshold, optionally,
The predetermined threshold is 10 minutes.If it is judged that difference is less than predetermined threshold, step S705 is executed, if it is judged that difference is greater than
Equal to predetermined threshold, step S707 is executed.
Optionally, judge whether video playing client has played patch media text between collapse time and current time
Part executes step S705 if it is judged that not playing patch media file between collapse time and current time.
Optionally, judge whether difference is less than predetermined threshold, and judge video playing client in collapse time and work as
Patch media file whether has been played between the preceding time, if it is judged that difference is less than predetermined threshold, and judges video playing
Client does not play patch media file between collapse time and current time, executes step S705.
Step S705, that some or all of skips in the patch media file to video in video playing client broadcasts
It puts, plays video.
In the scheme that the application above-mentioned steps S705 is provided, if it is judged that difference is less than predetermined threshold, broadcast in video
Put the broadcasting some or all of skipped in the patch media file to video in client, play video, so as to avoid
Since the broadcasting of patch media file makes the waiting for a long time of video playing after the collapse of video playing client, and then user is seen
It sees video, realizes the technical effect shortened in the play time of video playing client collapse rear video viewing.
Step S706 removes the collapse time of video playing client last time collapse.
In the scheme that the application above-mentioned steps S706 is provided, skip part in the patch media file to video or
Whole broadcastings after playing video, removes the collapse time of video playing client last time collapse, can will be used to indicate
The field of the collapse time of video playing client is set as initial value 00:00:00, in this way, one under video playing client
Secondary when collapsing, which is set as new collapse time, and new collapse time is recorded.Alternatively it is also possible to will
For indicating that the field of the collapse time of video playing client is set as invalid value, for example, 50:50:50 is set as, to reach
To the purpose for the collapse time for removing the collapse of video playing client last time.
Judge whether collapse time is removed, if it is judged that collapse time is removed, is broadcast in video playing client
Put the patch media file and video of video.
Step S707 plays the patch media file of video.
In the scheme that the application above-mentioned steps S707 is provided, if when the collapse of video playing client last time collapse
Between do not locally recording, then directly play video patch media file, after the patch playback of media files of video is complete,
Play video.
If it is judged that when the collapse of the current time of video playing client and the collapse of video playing client last time
Between between difference be more than or equal to predetermined value, then directly broadcasting video patch media file, in the patch media file of video
After playing, video is played, realizes to the patch media file of video and the broadcasting of video, shortens in video playing client
The play time of end collapse rear video viewing balance media file operator to the media file of patch media file income and
The user experience of user's viewing video.
Embodiment 2
The application environment of the embodiment of the present invention can be, but not limited to referring to the application environment in embodiment 1, in the present embodiment
This is repeated no more.The embodiment of the invention provides a kind of optional concrete applications for implementing above-mentioned video broadcasting method to show
Example.
Optionally, in the present embodiment, above-mentioned patch media file can be, but not limited to as bumper advertisements, and bumper advertisements are
The producer of advertisement operators and film, publisher, the cooperation of projection side, can bind the high-quality film of import, according to the upper of film
Reflecting the working days plays out, be with the open movie film shown or broadcast, TV programme, network video and stick on one is special
The bumper advertisements of production, that is, with piece advertisement.Bumper advertisements have strong directive property to user, strong guiding performance and strong
Impressiveness.Bumper advertisements in cinema projection, can also not only broadcast in tv video tape, VCD, not only play once, can also
It is multiple to play.With the development of digital technology and digital movie it is universal, there are many forms for bumper advertisements file, including
Preceding bumper advertisements, in insert bumper advertisements and bak stay advertisement.Preceding bumper advertisements are arranged to play before video, that is,
Video title plays out;In insert bumper advertisements be arranged to play during video playing, that is, in insert advertisement;Afterwards
Bumper advertisements are arranged to play after the video, that is, playing out in video run-out.
As an alternative embodiment, being said for bumper advertisements to technical solution of the present invention before below
It is bright.
Video playing client can play preceding bumper advertisements before playing video, before broadcasting during bumper advertisements,
Video playing client is collapsed suddenly, and bumper advertisements can not normal play before causing.Video playing client is restarted,
Receive the request for requesting the video playing client to continue to play.It is receiving for requesting the video playing client to continue
After the request of broadcasting, the collapse time of video playing client last time collapse is obtained, calculates working as video playing client
Difference between preceding time and the collapse time of video playing client last time collapse, judges whether difference is less than predetermined threshold
Value, it is assumed that the predetermined threshold can be 10 minutes.Optionally, judge current time and the video playing visitor of video playing client
Whether between the collapse time of family end last time collapse bumper advertisements were not played.If it is judged that difference is less than predetermined threshold,
And judge not broadcast between the current time of video playing client and the collapse time of video playing client last time collapse
Bumper advertisements are let off, the played part skipped in the preceding bumper advertisements to video in video playing client plays, into
And continue to play the preceding bumper advertisements not played, video is played after the preceding bumper advertisements not played play, optionally,
In the case where judging that difference is greater than or equal to predetermined threshold, the preceding patch matchmaker of video is playd in order in video playing client
Body file and video, so as to avoid after the collapse of video playing client due to before being inserted into the broadcastings of bumper advertisements broadcast video
What is put is waiting for a long time, and then influences user and watch video, realizes shortening in the collapse rear video viewing of video playing client
Play time technical effect.
As another optional embodiment, technical solution of the present invention is said for inserting bumper advertisements in
It is bright.
In insert bumper advertisements be arranged to play during video playing, when video playing client is in video playing
During video can not normal play when collapsing suddenly.Video playing client is restarted, is received for requesting this
The request of video playing client terminal playing.After receiving the request for requesting the video playing client terminal playing, if view
The frequency client end of playing back last time collapse time of collapse is locally recording, and calculates the current time and video of video playing client
Difference between the collapse time of client end of playing back last time collapse, judges whether difference is less than predetermined threshold, if video is broadcast
The collapse time for putting the collapse of client last time inserts bumper advertisements in local no record, normal play.
If it is judged that difference is less than predetermined threshold, skipped in video playing client to bumper advertisements slotting in video
In some or all of broadcasting, and then continue play video, so as to avoid video playing client collapse after due in
The broadcasting for inserting bumper advertisements makes the waiting for a long time of video playing, and then influences user and watch video, realizes shortening in video
Client end of playing back collapses the technical effect of the play time of rear video viewing.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because
According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention
It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much
In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing
The part that technology contributes can be embodied in the form of software products, which is stored in a storage
Medium such as read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access
Memory, referred to as RAM) in, including some instructions are used so that a terminal device (can be mobile phone, computer, service
Device or the network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 3
According to embodiments of the present invention, it additionally provides a kind of for implementing the video play device of above-mentioned video broadcasting method.
Fig. 8 is a kind of schematic diagram of video play device according to an embodiment of the present invention.As shown in figure 8, the apparatus may include: first
Receiving unit 10, judging unit 20 and the first broadcast unit 30.
It should be noted that the first receiving unit 10 in the embodiment can be used for executing in the embodiment of the present application 1
Step S202, the judging unit 20 in the embodiment can be used for executing the step S204 in the embodiment of the present application 1, the embodiment
In the first broadcast unit 30 can be used for executing the step S206 in the embodiment of the present application 1.
First receiving unit 10, for receiving the first request, wherein the first request is for requesting video playing client to be broadcast
Put video.
Video playing client can be the Video Applications being mounted in terminal for playing video.First request exists
When user wants through video playing client terminal playing video to meet psychological needs, behaviour is played out to video playing client
Make, video playing client end response, to the play operation of video playing client, is received in user by the first receiving unit 10
This realizes and is asked by the first receiving unit 10 reception first for requesting the first of video playing client terminal playing video to request
It asks and has achieved the purpose that request video playing client terminal playing video.
Judging unit 20, current time and video playing client last time for judging video playing client are collapsed
Collapse time between difference whether be less than predetermined threshold.
After the first receiving unit 10 receives the first request, during video playing client terminal playing video, depending on
The program of frequency client end of playing back may because of dynamic link library loading error, software is incompatible, increase file or loses text
Part etc. causes video playing client to be collapsed, and video playing client is caused to be unable to normal play video.In video playing
It when client is collapsed every time, is recorded when to video playing client there is a situation where collapsing, obtains collapse record, it should
The information such as the collapse time recorded can recorde when video playing client is collapsed, the crash reason collapsed are collapsed,
To be analyzed by collapse record the performance of video playing client.
After video playing client is collapsed, Yao Chongqi video playing client could normal play video.It is logical
It crosses judging unit 20 and judges the current time of video playing client and the collapse time of video playing client last time collapse
Between difference whether be less than predetermined threshold.When the current time of video playing client can restart for video playing client
Time.The current time of video playing client and the collapse time of video playing client last time collapse are obtained, and right
Current time and the collapse time of video playing client last time collapse execute calculating, obtain the current of video playing client
Difference between time and the collapse time of video playing client last time collapse.Whether difference is judged by judging unit 20
Less than predetermined threshold, which is the time that video playing client can play patch media file.
First broadcast unit 30, for judge difference be less than predetermined threshold in the case where, then in video playing client
The broadcasting some or all of skipped in the patch media file to video in end, plays video.
In the case where judging unit 20 judges that difference is less than predetermined threshold, then skipped in video playing client pair
Whole broadcastings in the patch media file of video, that is, whole broadcastings in the patch media file to video are abandoned,
It avoids and again plays out patch media file.For example, in the case where judging difference less than 10 minutes, then in video
The whole in the patch media file of video is skipped in client end of playing back, and video is directly played by the first broadcast unit 30, is kept away
Exempt from after video playing client is collapsed since the broadcasting of patch media file makes the waiting for a long time of video playing.
Optionally, in the case where judging unit 20 judges that difference is less than predetermined threshold, then in video playing client
In skip the broadcasting of part in patch media file to video, that is, abandoning in the patch media file to video
Partial broadcasting directly plays video by the first broadcast unit 30, avoids and again completely broadcast patch media file
It puts.The broadcasting for skipping the part in the patch media file to video can be according to the important journey of the content in patch media file
Degree can be some segment in patch media file, multiple be also possible in patch media file to select to skip
The video that section is combined into.The part patch media file in the patch media file to video is skipped in video playing client
Later, user can be with the part of media file of direct viewing patch media file, to realize shortening in video playing client
The technical effect of the play time of end collapse rear video viewing.
Optionally, after whole patch media files that video is skipped in video playing client, the first broadcast unit
The playback progress of 30 videos when collapsing from video playing client continues to play to video, watches user's direct viewing not
Video content, the broadcasting before preset time when the first broadcast unit 30 can also be collapsed from video playing client
Progress continues to play to video, and family can be used in this way and look back the video of viewing, thus connected with the video that will be watched,
Shorten the play time in the collapse rear video viewing of video playing client.
Optionally, after the patch media file that video is skipped in video playing client, pass through the first broadcast unit
Video content before 30 preset time when collapsing video playing client is played out in a manner of F.F., until
Ability normal play video when being played to the video content not played, the first broadcast unit 30 can also send out video playing client
The critical video content in the video before preset time when raw collapse is played out in the form of segment, to keep user fast
Speed enters in video plot, shortens the play time in the collapse rear video viewing of video playing client.
Optionally, it if it is determined that unit 20 judges that difference is more than or equal to predetermined threshold, is then terminated in video playing client
The request for playing patch media file is received, normal play patch media file reaches media file propaganda objective.
Optionally, the predetermined threshold of the embodiment is from the media file of media file operator income and user experience two
Aspect is weighed, cannot be too big, can not be too small, in the current time and video playing client of video playing client
In the case that the difference between collapse time once collapsed is certain, if predetermined threshold is too big, playback of media files number
It is few, it is unfavorable for media file operator to the propaganda strength of media file, and then influence to receive benefit, if predetermined threshold is too small,
Normal play media file often, interrupts the continuity that user watches video, causes user experience imperfect.
The embodiment receives the first request by the first receiving unit 10, and the first request is for requesting video playing client
Video is played, judges that the current time of video playing client and video playing client last time are collapsed by judging unit 20
Collapse time between difference whether be less than predetermined threshold, by the first broadcast unit 30 judging difference be less than predetermined threshold
In the case where value, then the broadcasting some or all of skipped in video playing client in the patch media file to video,
Video is played, has achieved the purpose that play out video, collapses rear video in video playing client to realize shortening
The technical effect of the play time of viewing, and then solve the relevant technologies and wait video playing after the collapse of video playing client
Time longer technical problem.
Fig. 9 is the schematic diagram of another video play device according to an embodiment of the present invention.As shown in figure 9, the video is broadcast
Putting device may include: the first receiving unit 10, judging unit 20 and the first broadcast unit 30.The video play device can be with
It include: the second receiving unit 40, detection unit 50 and recording unit 60.
It should be noted that the first receiving unit 10 of the embodiment, judging unit 20 and the first broadcast unit 30 and sheet
Effect in the video play device of invention embodiment illustrated in fig. 8 is identical, and details are not described herein again.
Second receiving unit 40, for before reception first is requested, receiving the second request, wherein the second request is used for
Request video playing client terminal playing video.
Before receiving the first request by the first receiving unit 10, the second request is received by the second receiving unit 40,
Second request is for requesting video playing client terminal playing video.Second request can be by user to video playing visitor
After video resource on the end of family is chosen, click generates, video for playing the operating space of the video resource of the selection
Client end of playing back receives second request in turn, and one section of video which is also possible in video playing client is broadcast
What video playing client received after discharging, when next section of video will play automatically will play asking for next section of video
It asks.
Detection unit 50, for detecting video playing client during playing patch media file or playing video
End collapses.
After receiving the second request by the second receiving unit 40, media file operator rectifies in video playing client
Patch media file is often launched, video playing client plays out media file patch.In video playing client to matchmaker
During body document paster plays out, the program of video playing client may because of dynamic link library loading error,
Software is incompatible, increases file or loses file etc. causes video playing client to be collapsed, and causes video playing client
End is unable to normal play patch media file, then detects view during playing patch media file by detection unit 50
Frequency client end of playing back collapses, and shortens the play time in the collapse rear video viewing of video playing client.
Recording unit 60, for recording time when video playing client is collapsed, using as collapse time.
Detect that video playing client collapses during playing patch media file when passing through detection unit 50
When bursting, local is recorded in using the time as collapse time.Optionally, video playing is also recorded local by recording unit 60
The information such as the reason of client is collapsed form collapse record, consequently facilitating subsequent analyze collapse record, and then right
Video playing client improves, and improves the performance for playing video.
Figure 10 is the schematic diagram of another video play device according to an embodiment of the present invention.As shown in Figure 10, the video
Playing device may include: the first receiving unit 10, judging unit 20 and the first broadcast unit 30.The video play device may be used also
To include: clearing cell 70.
It should be noted that the first receiving unit 10 of the embodiment, judging unit 20 and the first broadcast unit 30 and sheet
Effect in the video play device of invention embodiment illustrated in fig. 8 is identical, and details are not described herein again.
Clearing cell 70, after the broadcasting some or all of in skipping the patch media file to video, clearly
Except the collapse time of video playing client last time collapse.Clearing cell 70 will can be used to indicate video playing client
The field of collapse time is set as initial value 00:00:00, in this way, when video playing client is collapsed next time, the word
Section is set as new collapse time, and new collapse time is recorded.Optionally,.Clearing cell 70 can also will be used for table
Show that the field of the collapse time of video playing client is set as invalid value, for example, 50:50:50 is set as, so that reaching will regard
The purpose that the collapse time of frequency client end of playing back last time collapse is removed.
Figure 11 is the schematic diagram of another video play device according to an embodiment of the present invention.As shown in figure 11, the video
Playing device may include: the first receiving unit 10, judging unit 20, the first broadcast unit 30 and clearing cell 70.The video
Playing device further include: third receiving unit 80 and the second broadcast unit 90.
It should be noted that the first receiving unit 10 of the embodiment, judging unit 20, the first broadcast unit 30 and removing
Unit 70 is identical as the effect in embodiment illustrated in fig. 10 of the present invention, and details are not described herein again.
Third receiving unit 80 receives after the collapse time that once collapses on removing video playing client
Third request, wherein third is requested for requesting video playing client terminal playing video.
Third request can be clicked by user after choosing to the video resource in video playing client
It is generated for playing the operating space of the video resource of the selection, video playing client is connect by third receiving unit 80
Receive the third request, the third request be also possible to one section of video playing in video playing client it is complete after, Xia Yiduan
The request that play next section of video that video playing client receives when video will play automatically.
Second broadcast unit 90, in the case where judging that collapse time is removed, in video playing client
Play the patch media file and video of video.
After receiving third request by third receiving unit 80, in the case where judging that collapse time is removed,
The patch media file and video of video are played in video playing client by the second broadcast unit 90.Optionally, pass through
Judge to judge whether collapse time is removed for indicating the field of collapse time, if it is judged that for indicating collapse time
Field be initial value or be invalid value, can determine that the collapse time of video playing client last time is removed.Video
Client end of playing back plays the patch media file and video of video by the second broadcast unit 90, that is, playing video first
Patch media file, the playing duration of the patch media file of general video are 15 seconds, 30 seconds, 45 seconds etc., to patch media text
After part plays, video is and then played, reaches operator to the propaganda objective of media file, has also reached user and has watched view
The purpose of frequency.
Figure 12 is the schematic diagram of another video play device according to an embodiment of the present invention.As shown in figure 12, the video
Playing device may include: the first receiving unit 10, judging unit 20, the first broadcast unit 30 and clearing cell 70.The video
Playing device further include: third receiving unit 80 and the second broadcast unit 90.First broadcast unit 30 includes: judgment module 31
With playing module 32.
It should be noted that the first receiving unit 10 of the embodiment, judging unit 20, the first broadcast unit 30 are removed
Unit 70, third receiving unit 80 and the second broadcast unit 90 are identical as the effect in embodiment illustrated in fig. 11 of the present invention, herein
It repeats no more.
Judgment module 31, for judging whether video playing client has played patch between collapse time and current time
Piece media file.
Video playing client when collapsing every time, in the collapse time of local record video playing client.?
After video playing client is collapsed, Yao Chongqi video playing client could normal play video.Obtain video playing
The collapse time of the current time of client and the collapse of video playing client last time, optionally, patch media file is being broadcast
It is recorded in the local broadcasting record searched and play patch media file after putting, video playing client is judged by judgment module 31
Whether there is the record for playing patch media file between collapse time and current time.
Playing module 32, in the feelings for judging not play patch media file between collapse time and current time
Under condition, the broadcasting some or all of skipped in video playing client in the patch media file to video.
Judging whether video playing client plays between collapse time and current time by judgment module 31
After patch media file, if judging not play patch matchmaker between collapse time and current time by judgment module 31
Body file, that is, if judging that video playing client after collapse, is restarted by judgment module 31, for the first time
Playing function is executed, then that some or all of skips in video playing client in the patch media file to video broadcasts
It puts, the broadcasting for skipping the part in the patch media file to video can be according to the important journey of the content in patch media file
Degree plays video by playing module 32 to select to skip.To realize shortening after the collapse of video playing client
The technical effect of the play time of video-see, and achieved the purpose that media file operator publicizes media file.
Optionally, judge not play patch media file between collapse time and current time by judgment module 31
In the case where, and judge not play patch media file between collapse time and current time by judgment module 31
In the case of, the broadcasting some or all of skipped in the patch media file to video, and then view is played by playing module 32
Frequency has reached matchmaker to realize the technical effect shortened in the play time of video playing client collapse rear video viewing
The purpose that body file operator publicizes media file.
Figure 13 is the schematic diagram of another video play device according to an embodiment of the present invention.As shown in figure 13, the video
Playing device may include: the first receiving unit 10, judging unit 20, the first broadcast unit 30.The video play device also wraps
Include third broadcast unit 100.
It should be noted that the first receiving unit 10 of the embodiment, judging unit 20 and the first broadcast unit 30 and sheet
Effect in invention embodiment illustrated in fig. 8 is identical, and details are not described herein again.
Third broadcast unit 100, in the current time and video playing client for judging video playing client
Whether the difference between collapse time once collapsed is less than after predetermined threshold, is judging difference more than or equal to predetermined threshold
In the case where value, the patch media file and video of video are played in video playing client.
The collapse time once collapsed in the current time and video playing client for obtaining video playing client leads to
It crosses judging unit 20 and judges the current time of video playing client and the collapse time of video playing client last time collapse
Between difference whether be less than after predetermined threshold, when by judging unit 20 judge difference be greater than or equal to predetermined threshold
When, that is, video playing client it is current the time gap video playing client last time collapse collapse time it is more long, this
When in view of media file operator interests, media file operator launch patch media file can video playing visitor
Family plays out in end.After the patch media file for playing video in video playing client, video is played out,
To realize broadcasting to video, and taking into account to the interests of media file operator.
Herein it should be noted that above-mentioned module is identical as example and application scenarios that corresponding step is realized, but not
It is limited to 1 disclosure of that of above-described embodiment.It should be noted that above-mentioned module as a part of device may operate in as
In hardware environment shown in FIG. 1, hardware realization can also be passed through by software realization, wherein hardware environment includes network
Environment.
By above-mentioned module, the relevant technologies are can solve when waiting video playing after video playing client is collapsed
Between longer technical problem, and then reach shorten video playing client collapse rear video viewing play time technology effect
Fruit.
Embodiment 4
The embodiments of the present invention also provide a kind of storage mediums.Optionally, in the present embodiment, above-mentioned storage medium can
For saving program code performed by a kind of video broadcasting method of above-described embodiment.
Optionally, in the present embodiment, above-mentioned storage medium can be located in multiple network equipments of computer network
At least one network equipment.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps:
Receive the first request, wherein the first request is for requesting video playing client terminal playing video;
Judge between the current time of video playing client and the collapse time of video playing client last time collapse
Difference whether be less than predetermined threshold;
In the case where judging that difference is less than predetermined threshold, then the patch to video is skipped in video playing client
Broadcasting some or all of in media file plays video.
Optionally, storage medium is also configured to store the program code for executing following steps: asking in reception first
Before asking, further includes: receive the second request, wherein the second request is for requesting video playing client terminal playing video;It is playing
Detect that video playing client is collapsed during patch media file or broadcasting video;Record video playing client
Time when collapsing, using as collapse time.
Optionally, storage medium is also configured to store the program code for executing following steps: skipping to video
Patch media file in some or all of broadcasting after, remove the video playing client last time collapse collapse when
Between.
Optionally, storage medium is also configured to store the program code for executing following steps: broadcasting removing video
After the collapse time for putting the collapse of client last time, third request is received, wherein third request is for requesting video playing objective
Family end plays video;In the case where judging that collapse time is removed, the patch of video is played in video playing client
Media file and video.
Optionally, storage medium is also configured to store the program code for executing following steps: in video playing visitor
The broadcasting some or all of skipped in the end of family in the patch media file to video further include: judge that video playing client exists
Whether patch media file has been played between collapse time and current time;Judging between collapse time and current time
In the case where not playing patch media file, the part in the patch media file to video is skipped in video playing client
Or whole broadcasting.
Optionally, storage medium is also configured to store the program code for executing following steps: judging that video broadcasts
It is predetermined whether the difference between collapse time that the current time and video playing client last time for putting client are collapsed is less than
After threshold value, in the case where judging that difference is greater than or equal to predetermined threshold, video is played in video playing client
Patch media file and video.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read only memory ROM, with
Machine accesses the various media that can store program code such as memory RAM, mobile hard disk, magnetic or disk.
Embodiment 5
According to embodiments of the present invention, it additionally provides a kind of for implementing the server or terminal of above-mentioned video broadcasting method.
Figure 14 is a kind of structural block diagram of terminal according to an embodiment of the present invention.As shown in figure 14, which may include:
One or more (one is only shown in figure) processors 141, memory 143 and transmitting device 145 are (in such as above-described embodiment
Sending device), as shown in figure 14, which can also include input-output equipment 147.
Wherein, memory 143 can be used for storing software program and module, such as the video playing side in the embodiment of the present invention
Method and the corresponding program instruction/module of device, processor 141 by the software program that is stored in memory 143 of operation and
Module realizes above-mentioned video broadcasting method thereby executing various function application and data processing.Memory 143 can wrap
Include high speed random access memory, can also include nonvolatile memory, as one or more magnetic storage device, flash memory or
Other non-volatile solid state memories of person.In some instances, memory 143 can further comprise remote relative to processor 141
The memory of journey setting, these remote memories can pass through network connection to terminal.The example of above-mentioned network includes but unlimited
In internet, intranet, local area network, mobile radio communication and combinations thereof.
Above-mentioned transmitting device 145 is used to that data to be received or sent via network, can be also used for processor with
Data transmission between memory.Above-mentioned network specific example may include cable network and wireless network.In an example,
Transmitting device 145 includes a network adapter (Network Interface Controller, NIC), can pass through cable
It is connected with other network equipments with router so as to be communicated with internet or local area network.In an example, transmission dress
145 are set as radio frequency (Radio Frequency, RF) module, is used to wirelessly be communicated with internet.
Wherein, specifically, memory 143 is for storing application program.
The application program that processor 141 can call memory 143 to store by transmitting device 145, to execute following steps
It is rapid:
Receive the first request, wherein the first request is for requesting video playing client terminal playing video;
Judge between the current time of video playing client and the collapse time of video playing client last time collapse
Difference whether be less than predetermined threshold;
In the case where judging that difference is less than predetermined threshold, then the patch to video is skipped in video playing client
Broadcasting some or all of in media file plays video.
Optionally, the specific example in the present embodiment can be shown with reference to described in above-described embodiment 1 and embodiment 3
Example, details are not described herein for the present embodiment.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent product
When selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, skill of the invention
Substantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art scheme
The form of part product embodies, which is stored in a storage medium, including some instructions are used so that one
Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present invention
State all or part of the steps of method.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side
Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only one
Kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module
It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (14)
1. a kind of video broadcasting method characterized by comprising
Receive the first request, wherein first request is for requesting video playing client terminal playing video;
Judge the current time of the video playing client and the collapse time of video playing client last time collapse
Between difference whether be less than predetermined threshold;
In the case where judging that the difference is less than the predetermined threshold, then skip in the video playing client to institute
The broadcasting some or all of stated in the patch media file of video, plays the video.
2. the method according to claim 1, wherein skipping in the video playing client to the video
Patch media file in some or all of broadcasting include following one:
The broadcasting to the patch media file is skipped in the video playing client;
Fast forward broadcasting is carried out to the patch media file in the video playing client;
The partial frame in the patch media file is only played in the video playing client.
3. the method according to claim 1, wherein before first request of reception, further includes:
Receive the second request, wherein second request is for requesting video described in the video playing client terminal playing;
Detect that the video playing client occurs during playing the patch media file or playing the video
Collapse;
The time when collapse occurs for the video playing client is recorded, using as the collapse time.
4. the method according to claim 1, wherein skipping the portion in the patch media file to the video
Point or whole broadcastings after, further includes:
Remove the collapse time of the video playing client last time collapse.
5. according to the method described in claim 4, it is characterized in that, once collapsing on removing the video playing client
After collapse time, further includes:
Receive third request, wherein the third request is for requesting video described in the video playing client terminal playing;
In the case where judging that the collapse time is removed, the patch of the video is played in the video playing client
Piece media file and the video.
6. the method according to claim 1, wherein skipping in the video playing client to the video
Patch media file in some or all of broadcasting further include:
Judge whether the video playing client has played the patch between the collapse time and the current time
Media file;
In the case where judging not play the patch media file between the collapse time and the current time,
The broadcasting some or all of skipped in the video playing client in the patch media file to the video.
7. the method according to claim 1, wherein the current time that judges the video playing client with
Whether the difference between the collapse time of the video playing client last time collapse is less than after predetermined threshold, further includes:
In the case where judging that the difference is greater than or equal to the predetermined threshold, played in the video playing client
The patch media file and the video of the video.
8. method according to any one of claim 1 to 7, which is characterized in that the patch media file includes following
At least one:
Preceding patch media file, wherein the preceding patch media file is arranged to play before the video;
In insert media file, wherein in described insert media file be arranged to play during the video playing;
Bak stay media file, wherein the bak stay media file is arranged to play after the video.
9. a kind of video play device characterized by comprising
First receiving unit, for receiving the first request, wherein first request is for requesting video playing client terminal playing
Video;
Judging unit, for judging that the current time of the video playing client is collapsed with the video playing client last time
Whether the difference between routed collapse time is less than predetermined threshold;
First broadcast unit, in the case where judging that the difference is less than the predetermined threshold, then being broadcast in the video
Put the broadcasting some or all of skipped in the patch media file to the video in client.
10. device according to claim 9, which is characterized in that described device further include:
Second receiving unit, for receiving the second request before first request of reception, wherein the second request use
The video described in the request video playing client terminal playing;
Detection unit, for detecting that the video is broadcast during playing the patch media file or playing the video
Client is put to collapse;
Recording unit, for recording the time when collapse occurs for the video playing client, as when the collapse
Between.
11. device according to claim 9, which is characterized in that described device further include:
Clearing cell removes institute after the broadcasting for some or all of skipping in the patch media file to the video
State the collapse time of video playing client last time collapse.
12. device according to claim 11, which is characterized in that described device further include:
Third receiving unit after the collapse time for once collapsing on removing the video playing client, receives the
Three requests, wherein the third request is for requesting video described in the video playing client terminal playing;
Second broadcast unit, in the case where judging that the collapse time is removed, in the video playing client
The middle patch media file and the video for playing the video.
13. device according to claim 9, which is characterized in that first broadcast unit includes:
Judgment module, for judging whether the video playing client is broadcast between the collapse time and the current time
The patch media file is put;
Playing module, for judging not play the patch media text between the collapse time and the current time
Some or all of in the case where part, skipped in the video playing client in the patch media file to the video
It plays.
14. device according to claim 9, which is characterized in that described device further include:
Third broadcast unit, in the current time and the video playing client for judging the video playing client
Whether the difference between collapse time once collapsed is less than after predetermined threshold, is judging the difference more than or equal to institute
In the case where stating predetermined threshold, played in the video playing client video patch media file and the view
Frequently.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610399576.9A CN106170103B (en) | 2016-06-07 | 2016-06-07 | Video broadcasting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610399576.9A CN106170103B (en) | 2016-06-07 | 2016-06-07 | Video broadcasting method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106170103A CN106170103A (en) | 2016-11-30 |
CN106170103B true CN106170103B (en) | 2019-04-12 |
Family
ID=57359135
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610399576.9A Active CN106170103B (en) | 2016-06-07 | 2016-06-07 | Video broadcasting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106170103B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107682743B (en) * | 2017-03-27 | 2019-08-02 | 腾讯科技(北京)有限公司 | The control method for playing back and device of patch media file |
US11178451B2 (en) | 2018-08-17 | 2021-11-16 | Roku, Inc. | Dynamic playout of transition frames while transitioning between playout of media streams |
US11317143B2 (en) * | 2018-08-17 | 2022-04-26 | Roku, Inc. | Dynamic reduction in playout of replacement content to help align end of replacement content with end of replaced content |
CN111479128A (en) * | 2020-04-01 | 2020-07-31 | 黑龙江省农业科学院农业遥感与信息研究所 | System and method for popularizing agricultural planting technology by using Internet |
US11917231B2 (en) | 2020-10-29 | 2024-02-27 | Roku, Inc. | Real-time altering of supplemental content duration in view of duration of modifiable content segment, to facilitate dynamic content modification |
CN112565817B (en) * | 2020-11-30 | 2022-11-15 | 中影环球(北京)科技有限公司 | Design method and system for advertisement skip-broadcasting |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7945636B2 (en) * | 2002-05-15 | 2011-05-17 | In-Store Broadcasting Network, Llc | Providing a multi-tier enterprise level application |
CN101145921B (en) * | 2006-09-11 | 2011-01-19 | 千兆科技(深圳)有限公司 | Internet high-resolution video advertisement system and its implementation method |
CN101155253B (en) * | 2006-09-26 | 2010-11-10 | 深圳Tcl新技术有限公司 | Intelligent timing switch television system and implementing method thereof |
US20080306818A1 (en) * | 2007-06-08 | 2008-12-11 | Qurio Holdings, Inc. | Multi-client streamer with late binding of ad content |
CN104301788A (en) * | 2014-09-26 | 2015-01-21 | 北京奇艺世纪科技有限公司 | Method and device for providing video interaction |
-
2016
- 2016-06-07 CN CN201610399576.9A patent/CN106170103B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106170103A (en) | 2016-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106170103B (en) | Video broadcasting method and device | |
CN106998486B (en) | Video playing method and device | |
CN106488270B (en) | Live broadcast room switching method and device | |
CN111447505B (en) | Video clipping method, network device, and computer-readable storage medium | |
EP3193509B1 (en) | Video advertisement filtering method, device and equipment | |
CN104811814A (en) | Video playing-based information processing method and system, client and server | |
CN107896334B (en) | live broadcast method and device | |
CN108781300A (en) | For method, system and medium based on Network status recommendation | |
CN102460434B (en) | Method for selecting versions of a document from a plurality of versions received after a search, and related receiver | |
CN109348302A (en) | Connect wheat user recommended method, device, server and storage medium in live streaming | |
US20170171329A1 (en) | Video recommendaton method and system, and server | |
US20170311009A1 (en) | Promotion information processing method, device and apparatus, and non-volatile computer storage medium | |
US11540028B2 (en) | Information presenting method, terminal device, server and system | |
CN103763303A (en) | Method and device for drama series playing | |
CN108810578A (en) | Advertisement cut-in method and system applied to user terminal | |
CN106341735A (en) | Information pushing method and device | |
CN110830823A (en) | Play progress correction method and device, electronic equipment and readable storage medium | |
CN106921865A (en) | Method for processing video frequency and device | |
CN103763575B (en) | A kind of programme method of combination and device | |
CN105511961A (en) | Data sending method and terminal | |
US20170171339A1 (en) | Advertisement data transmission method, electrnoic device and system | |
CN104954874B (en) | multimedia data playing method and device | |
CN107690080A (en) | The playing method and device of media information | |
CN103702218A (en) | Video playing method and device | |
CN106331763A (en) | Method of playing slicing media files seamlessly and device of realizing the method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |