CN104837037B - A kind of generation method and device of video carousel list - Google Patents
A kind of generation method and device of video carousel list Download PDFInfo
- Publication number
- CN104837037B CN104837037B CN201510247552.7A CN201510247552A CN104837037B CN 104837037 B CN104837037 B CN 104837037B CN 201510247552 A CN201510247552 A CN 201510247552A CN 104837037 B CN104837037 B CN 104837037B
- Authority
- CN
- China
- Prior art keywords
- carousel
- video
- time
- end time
- time range
- 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.)
- Expired - Fee Related
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26258—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
-
- 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/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/61—Network physical structure; Signal processing
- H04N21/6106—Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
- H04N21/6125—Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet
-
- 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/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/643—Communication protocols
- H04N21/6437—Real-time Transport Protocol [RTP]
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
The invention discloses a kind of generation methods and device of video carousel list to promote user experience to simplify the generating process of video carousel list.The method includes:The video information for waiting for carousel video is obtained, and waits for that carousel video sorts according to preset rules by described;Determine carousel time range;Video carousel list is generated according to the video information for waiting for carousel video and carousel time range.The needed carousel video that the program selects user is according in sequence sequentially cyclic pac king to the carousel time range of video carousel list, and wait for the end time of carousel video as the end time of the video carousel list the last one filling, the generating process of the video carousel list does not need at the beginning of its carousel is arranged for each video in user and the end time, therefore the generating process of video carousel list is simplified, the formation efficiency of video carousel list is improved, the user experience is improved.
Description
Technical field
The present invention relates to Internet technical field, more particularly to a kind of the generation method and device of video carousel list.
Background technology
With the development of science and technology, TV and internet of today are by all kinds of films and television programs, news, broadcast, chat, religion
It the abundant comprehensive resource such as educates and plays and carry out showing in the form of video shared, therefore video has become people's work
Make, learn, social and irreplaceable amusement and recreation important way.And in the broadcast system of video, carousel has become very
A kind of universal broadcasting form, so-called carousel are exactly by same video loop play, are broadcast between one kind of program request and live streaming
Mode is put, is played particularly suitable for popular new film and focus incident is reported.Currently, user is in setting carousel mode playback video
When, it usually needs initial time and the end time of its broadcasting are set for each video, to which the initial time in setting is opened
Begin to play the video, terminate the broadcasting of the video in the end time of setting, is needing to carry out carousel or needs to multiple videos
In the case that carousel is multiple, the program is complicated for operation cumbersome, and inefficiency.
Invention content
The present invention provides a kind of generation method and device of video carousel list, to simplify the generation of video carousel list
Journey promotes user experience.
According to a first aspect of the embodiments of the present invention, a kind of generation method of video carousel list is provided, including:
The video information for waiting for carousel video is obtained, and waits for that carousel video sorts according to preset rules by described;Wherein, described
Video information includes video playing duration and video name;
Determine carousel time range;
Video carousel list is generated according to the video information for waiting for carousel video and carousel time range.
In one embodiment, the determining carousel time range, including:
Receive carousel initial time input by user and end time;
Whether the initial time and end time for detecting the carousel are accurate to the second;
When the initial time of the carousel and end time are accurate to second, confirm the initial time and end time it
Interior time range is carousel time range;
Be accurate to timesharing in the initial time of the carousel or/and end time, by the initial time or/and at the end of
Between minute after number of seconds be set as 0 second after, when confirming that the initial time and time range within the end time are carousel
Between range;
When the initial time of the carousel or/and end time are accurate to hour, by the initial time or/and end
The number of minutes and number of seconds after the hour of time were set as 0 point after 0 second, confirmed the initial time and the time within the end time
Ranging from carousel time range;
When the initial time of the carousel or end time are accurate to the date, by the initial time or/and at the end of
Between date after hourage, the number of minutes and number of seconds be set as at 0 point after 0 second 0 minute, confirm the initial time and end time it
Interior time range is carousel time range.
In one embodiment, the determining carousel time range further includes:
When the initial time of the carousel and end time are accurate to the date, detect the carousel initial time and
Whether the date of end time is identical;
In the initial time of the carousel and the identical date of end time, the initial time of the carousel is set as
0 point of the date 0 minute and 0 second, and the end time of the carousel is set as 24 points of the date after 0 second 0 minute, confirm institute
It is carousel time range to state initial time and the time range within the end time;
In the initial time of the carousel and the date of end time and the when of differing, the initial time of the carousel is set
Be set to the date 0 point 0 second 0 minute, and by the end time of the carousel be set as the date 24 points 0 second 0 minute or 0 point
0 point after 0 second, confirms that the initial time and the time range within the end time are carousel time range.
In one embodiment, the video information and carousel time range that carousel video is waited for described in the basis generate video
Carousel list, including:
The total duration primary according to the needed carousel video carousel of the video playing duration calculation of carousel video is waited for, and calculate
The number for the complete total duration for including in the carousel time range;
Since the initial time of the carousel time range, carousel video cyclic pac king will be waited for described in after sequence to regarding
In the carousel time range of frequency carousel list, and the number of its complete cycle filling is complete equal to include in the carousel time range
The number of the whole total duration;
After complete cycle filling in remaining carousel time range, be sequentially filled after sequence it is described wait for carousel video,
Until the described of filling waits for the corresponding end time arrival of carousel video or the end time beyond the carousel time range;
It will wait for that the carousel video corresponding end time is set as the knot of the video carousel list described in the last one of filling
The beam time, and show in the video carousel list video name of needed carousel video.
In one embodiment, the video information and carousel time range that carousel video is waited for described in the basis generate video
Carousel list further includes:
The total duration primary according to the needed carousel video carousel of the video playing duration calculation of carousel video is waited for;
The carousel number of carousel video is waited for described in setting;
Since the initial time of the carousel time range, carousel video cyclic pac king will be waited for described in after sequence to regarding
In frequency carousel list, and the number of its complete cycle filling is equal to the carousel number of setting;
It will wait for that the carousel video corresponding end time is set as the knot of the video carousel list described in the last one of filling
The beam time, and show in the video carousel list video name of needed carousel video.
According to a second aspect of the embodiments of the present invention, a kind of generating means of video carousel list are also provided, including:
Acquisition module waits for carousel video according to preset rules for obtaining the video information for waiting for carousel video, and by described
Sequence;Wherein, the video information includes video playing duration and video name;
Carousel time range determining module, for determining carousel time range;
Video carousel list generation module, video information and carousel time range for waiting for carousel video according to generate
Video carousel list.
In one embodiment, the carousel time range determining module includes:
Time point selects submodule, for receiving carousel initial time input by user and end time;
Whether the first detection sub-module, initial time and end time for detecting the carousel are accurate to the second;
First confirms submodule, for when the initial time of the carousel and end time are accurate to second, described in confirmation
Initial time and the time range within the end time are carousel time range;
Second confirms submodule, will be described for being accurate to timesharing in the initial time of the carousel or/and end time
After number of seconds after the minute of initial time or/and end time is set as 0 second, the initial time is confirmed and within the end time
Time range be carousel time range;
Third confirms submodule, for when the initial time of the carousel or/and end time are accurate to hour, by institute
It states the number of minutes and number of seconds after the hour of initial time or/and end time and is set as 0 point after 0 second, confirm the initial time
It is carousel time range with the time range within the end time;
4th confirms submodule, will be described for when the initial time of the carousel or end time are accurate to the date
Hourage, the number of minutes and number of seconds after the date of initial time or/and end time are set as at 0 point after 0 second 0 minute, described in confirmation
Initial time and the time range within the end time are carousel time range.
In one embodiment, the carousel time range determining module further includes:
Second detection sub-module, for when the initial time of the carousel and end time are accurate to the date, detecting
Whether the initial time of the carousel and the date of end time are identical;
5th confirms submodule, is used in the initial time of the carousel and the identical date of end time, will be described
The initial time of carousel be set as the date 0 point 0 second 0 minute, and the end time of the carousel is set as the date
24 points after 0 second 0 minute, confirm that the initial time and the time range within the end time are carousel time range;
6th confirms submodule, in the initial time of the carousel and the date of end time and the when of differing, inciting somebody to action
The initial time of the carousel be set as the date 0 point 0 second 0 minute, and the end time of the carousel is set as described
24 points of date 0 minute and 0 second or 0 point confirm that the initial time and the time range within the end time are carousel after 0 second 0 minute
Time range.
In one embodiment, the video carousel list generation module includes:
First computational submodule waits for the needed carousel video carousel of the video playing duration calculation of carousel video for basis
Primary total duration, and the number for the complete total duration for including is calculated in the carousel time range;
First filling submodule will wait for described in after sequence for since the initial time of the carousel time range
In carousel video cyclic pac king to the carousel time range of video carousel list, and the number of its complete cycle filling is equal to the wheel
Broadcast the number for the complete total duration for including in time range;
Second filling submodule, in remaining carousel time range, being sequentially filled sequence after complete cycle filling
Carousel video is waited for described in afterwards, until filling is described when the carousel video corresponding end time arriving at or exceeding the carousel
Between range end time;
First setting submodule, for will wait for that the carousel video corresponding end time is set as described in the last one of filling
The end time of the video carousel list, and show in the video carousel list video name of needed carousel video.
In one embodiment, described device further includes:
Second computational submodule waits for the needed carousel video carousel of the video playing duration calculation of carousel video for basis
Primary total duration;
Second setting submodule, for setting the carousel number for waiting for carousel video;
Third fills submodule, for since the initial time of the carousel time range, will wait for described in after sequence
In carousel video cyclic pac king to video carousel list, and the number of its complete cycle filling is equal to the carousel number of setting;
Third sets submodule, for will wait for that the carousel video corresponding end time is set as described in the last one of filling
The end time of the video carousel list, and show in the video carousel list video name of needed carousel video.
Technical solution provided in an embodiment of the present invention can generate following advantageous effect:Obtain the video letter for waiting for carousel video
Breath, and wait for that carousel video sorts according to preset rules by described;Wherein, the video information includes video playing duration and video
Title;Determine carousel time range;Video carousel is generated according to the video information for waiting for carousel video and carousel time range
It is single.The program automatically by user selection needed carousel video according to sort sequentially cyclic pac king to video carousel list carousel
In time range, and using the last one filling wait for end time of carousel video as the video carousel list at the end of
Between, the generating process of the video carousel list do not need at the beginning of its carousel is arranged for each video in user and at the end of
Between, therefore the generating process of video carousel list is simplified, the formation efficiency of video carousel list is improved, the user experience is improved.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
It obtains it is clear that understand through the implementation of the invention.The purpose of the present invention and other advantages can be by the explanations write
Specifically noted structure is realized and is obtained in book, claims and attached drawing.
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
Description of the drawings
Attached drawing is used to provide further understanding of the present invention, and a part for constitution instruction, the reality with the present invention
It applies example to be used to explain the present invention together, not be construed as limiting the invention.
In the accompanying drawings:
Fig. 1 is a kind of flow chart of the generation method of video carousel list of the present invention shown according to an exemplary embodiment;
Step S20 in a kind of generation method of video carousel lists of the Fig. 2 for the present invention shown according to an exemplary embodiment
Embodiment flow chart;
Step in the generation method of another video carousel lists of the Fig. 3 for the present invention shown according to an exemplary embodiment
The embodiment flow chart of S20;
Step S30 in a kind of generation method of video carousel lists of the Fig. 4 for the present invention shown according to an exemplary embodiment
Embodiment flow chart;
Step in the generation method of another video carousel lists of the Fig. 5 for the present invention shown according to an exemplary embodiment
The embodiment flow chart of S30;
Fig. 6 is a kind of block diagram of the generating means of video carousel list of the present invention shown according to an exemplary embodiment;
The carousel time in a kind of generating means of video carousel lists of the Fig. 7 for the present invention shown according to an exemplary embodiment
The block diagram of range determination module 62;
In the generating means of another video carousel lists of the Fig. 8 for the present invention shown according to an exemplary embodiment when carousel
Between range determination module 62 block diagram;
Video carousel in a kind of generating means of video carousel lists of the Fig. 9 for the present invention shown according to an exemplary embodiment
The block diagram of single generation module 63;
Video in the generating means of another video carousel lists of the Figure 10 for the present invention shown according to an exemplary embodiment
The block diagram of carousel list generation module 63.
Specific implementation mode
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings, it should be understood that preferred reality described herein
Apply example only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention.
The embodiment of the present disclosure provides a kind of generation method of video carousel list, the generation for simplifying video carousel list
Journey promotes user experience.As shown in Figure 1, the method comprising the steps of S10-S30:
In step slo, the video information for waiting for carousel video is obtained, and waits for that carousel video is arranged according to preset rules by described
Sequence;Wherein, the video information includes video playing duration and video name.
That is, user firstly the need of voluntarily select one or more videos as waiting for carousel video, the selection root of the video
It is carried out according to the hobby of user;After choosing and waiting for carousel video, if described, to wait for that carousel video has multiple, and needing will be multiple
It is described to wait for that carousel video is ranked up, wherein the preset rules in sorting according to preset rules can be user according to certainly
Oneself demand voluntarily waits for that carousel video sorts to described, can also be the head of reproduction time length according to video, video name
The sets itselfs such as sequence, the pouplarity of video, the significance level of video of letter.
In step S20, carousel time range is determined.The carousel time range includes initial time and the end of carousel
Time automatically can sequentially follow the needed carousel video after sequence according to sequence after choosing carousel time range
Ring filling to video carousel list carousel time range.
In step s 30, video carousel list is generated according to the video information for waiting for carousel video and carousel time range.
Include video playing duration and video name by above-mentioned, in the video information for waiting for carousel video, naturally it is also possible to include it
He wants other video informations occurred in the video carousel list.It therefore, can be according to the video for waiting for carousel video
Information and carousel time range, by the needed carousel video after sequence according to sequence sequentially cyclic pac king to video carousel list
After in carousel time range, wait for the end time of carousel video as the knot of the video carousel list the last one filling
The beam time, and show in the video carousel list title of all videos, in order to which user watches.
In one embodiment, as shown in Fig. 2, step S20 may include:
Step S201, carousel initial time input by user and end time are received;That is, the carousel initial time and
End time is voluntarily inputted by user as needed in this embodiment, although in some embodiments it may also according to default
The automatic setting of rule, for example, if be required for proceeding by carousel from 0 o'clock sharp daily, and terminated in second day 0 o'clock sharp,
Then can in the state of system default by the initial time of carousel and end time be automatically made respectively the same day 0 o'clock sharp and
Second day 0 o'clock sharp.And in the disclosure, the initial time of the above-mentioned carousel of setting and end time can be according to the need of user
It to be adjusted at any time.
Step S202, it detects the initial time of the carousel and whether the end time is accurate to the second.That is, usual video
Playing duration is accurate to the second, if the initial time of the carousel of setting and end time are not accurate to the second, needs pair
It is adjusted, in case the initial time and end time of setting are clashed with video playing duration.
Step S203, when the initial time of the carousel and end time are accurate to second, confirm the initial time and
Time range within end time is carousel time range;If the initial time of the carousel of setting and end time are accurate to
Second, then it need not be adjusted, when confirming that the initial time and time range within the end time are carousel at this time
Between range.
Step S204, it is accurate to timesharing in the initial time of the carousel or/and end time, by the initial time
Or/and after the number of seconds after the minute of end time is set as 0 second, the initial time and the time model within the end time are confirmed
It encloses for carousel time range;If the initial time of the carousel of setting or/and end time are accurate only to point, need to its into
Row adjustment, is directly set as 0 second by the number of seconds after minute at this time, it is of course also possible to be carried out as needed to the setting value
It manually adjusts, or the setting value under default conditions is carried out to it in systems and is modified.
Step S205, when the initial time of the carousel or/and end time are accurate to hour, by the initial time
Or/and the number of minutes after the hour of end time and number of seconds were set as 0 point after 0 second, confirmed the initial time and end time
Within time range be carousel time range;If the initial time of the carousel of setting or/and end time are accurate only to small
When, then need to be adjusted the number of minutes and number of seconds, at this time by after hour the number of minutes and number of seconds be set as 0 point 0 second,
It is of course also possible to be manually adjusted as needed to the setting value, or setting under default conditions is carried out to it in systems
Definite value is modified.
Step S206, when the initial time of the carousel or end time are accurate to the date, by the initial time or/
It is set as at 0 point after 0 second 0 minute with hourage, the number of minutes and the number of seconds after the date of end time, confirms the initial time and knot
Time range within the beam time is carousel time range.If the initial time of the carousel of setting or end time are accurate only to
Hour, then it needs to be adjusted hourage, the number of minutes and number of seconds, at this time by hourage, the number of minutes and the number of seconds after the date
It is set as at 0 point 0 minute and 0 second, it is of course also possible to the setting value is manually adjusted as needed, or it is right in systems
Its setting value carried out under default conditions is modified.
In one embodiment, as shown in figure 3, step S20 may also include:
Step S207, when the initial time of the carousel and end time are accurate to the date, the carousel is detected
Whether the date of initial time and end time are identical;It is accurate to the date in the initial time of the carousel and end time
When, it is possible that the situation that two dates are identical, at this point it is possible to divide situation to hourage, the number of minutes and the number of seconds after the date
It is set.Step S208, in the initial time of the carousel and the identical date of end time, by the starting of the carousel
Time be set as the date 0 point 0 second 0 minute, and by the end time of the carousel be set as the date 24 points 0 minute 0
After second, confirm that the initial time and the time range within the end time are carousel time range;That is, if the carousel
Initial time it is identical with the date of end time, it should be that the carousel time range is set as one is whole that user is required
It, thus the initial time of the carousel can be set as at this time the date 0 point 0 second 0 minute, and by the knot of the carousel
The beam time be set as the date 24 points 0 second 0 minute, or the end time of the carousel is set as the date one day after
0 point after 0 second 0 minute, confirm that the initial time and the time range within the end time are carousel time range.
Step S209, in the date of the initial time of the carousel and end time and the when of differing, by the carousel
Initial time be set as the date 0 point 0 second 0 minute, and the end time of the carousel is set as the 24: 0 of the date
After 0 second 0 minute, confirm that the initial time and the time range within the end time are carousel time range at point 0 second or 0 point.
That is, if the initial time of the carousel is identical with the date of end time, user is required should be two dates it
Between the number of days that differs, the initial time of the carousel can be set as at this time the date 0 point 0 second 0 minute, and by the wheel
The end time broadcast is set as 0 second 0 minute or on the date at 24 points of at 0 points after 0 second 0 minute, confirm the initial time and at the end of
Between within time range be carousel time range.
In one embodiment, as shown in figure 4, step S30 may include:
Step S301, according to when the needed carousel video carousel of the video playing duration calculation of carousel video once it is total when
It is long, and the number for the complete total duration for including is calculated in the carousel time range;That is, being waited for described in after it will sort
Before in carousel video cyclic pac king to the carousel time range of video carousel list, it is necessary first to which calculating it can be more with cyclic pac king
Few time, at this time firstly the need of according to when the needed carousel video carousel of the video playing duration calculation of carousel video once total
It is long.
Step S302, since the initial time of the carousel time range, it will wait for that carousel video follows described in after sequence
In ring filling to the carousel time range of video carousel list, and the number of its complete cycle filling is equal to the carousel time range
The number for the complete total duration for including inside.That is, since the initial time of the carousel time range after filling sequence
First video for waiting for carousel video, and after being filled first, in accordance with its result of calculation complete cycle, refill surplus
Remaining carousel time range.
Step S303, after complete cycle filling in remaining carousel time range, be sequentially filled after sequence described waits for
Carousel video, until the described of filling waits for the corresponding end time arrival of carousel video or the knot beyond the carousel time range
The beam time;That is, the described of filling waits for that the carousel video corresponding end time has exceeded or arrived at the carousel time model
When the end time enclosed, shows that the carousel time range has been filled and finish.
Step S304, it will wait for that the carousel video corresponding end time is set as the video wheel described in filling the last one
Single end time is broadcast, and shows the video name of needed carousel video in the video carousel list.That is, if last
Wait for that the carousel video corresponding end time has exceeded the end time of the carousel time range described in one, if carousel video
The end time is constant after single generation, then video council is played to half and stops, and can will be waited for described in the last one of filling at this time
The carousel video corresponding end time is set as the end time of the video carousel list, in this way, the video after the video is not
The video carousel list can be entered, and this carousel can terminate after playing the video.
In one embodiment, as shown in figure 5, step S30 may also include:
Step S305, according to when the needed carousel video carousel of the video playing duration calculation of carousel video once it is total when
It is long;That is, before being waited for described in after it will sort in carousel video cyclic pac king to the carousel time range of video carousel list, it is first
Basis is first needed to wait for the primary total duration of the needed carousel video carousel of the video playing duration calculation of carousel video.
Step S306, the carousel number of carousel video is waited for described in setting;User can wait for described in sets itself as needed
The carousel number of carousel video, at this point, in the video carousel list will automatic cycle filling setting carousel number sequence
Needed carousel video afterwards.
Step S307, since the initial time of the carousel time range, it will wait for that carousel video follows described in after sequence
In ring filling to video carousel list, and the number of its complete cycle filling is equal to the carousel number of setting.That is, described wait for carousel
When the number of video complete cycle filling is equal to the carousel number of setting, show that the carousel time range of the secondary carousel has been filled
It finishes.
Step S308, it will wait for that the carousel video corresponding end time is set as the video wheel described in filling the last one
Single end time is broadcast, and shows the video name of needed carousel video in the video carousel list.That is, setting
In the case of carousel number, no matter it is described to wait for whether the carousel video corresponding end time arrives at or have exceeded described in the last one
The end time of carousel time range shows that the carousel time range of the secondary carousel has been filled and finishes, can will fill out at this time
Described in the last one filled at the end of carousel video (namely the last one video for waiting for carousel video after sequence) is corresponding
Between be set as end time of the video carousel list, in this way, and this carousel can terminate after playing the video.
The above method provided in an embodiment of the present invention obtains the video information for waiting for carousel video, and waits for that carousel regards by described
Frequency sorts according to preset rules;Wherein, the video information includes video playing duration and video name;Determine carousel time model
It encloses;Video carousel list is generated according to the video information for waiting for carousel video and carousel time range.The program is automatically by user
The needed carousel video of selection, and will be last according to sequence sequentially in cyclic pac king to the carousel time range of video carousel list
One filling wait for end time of the end time of carousel video as the video carousel list, the life of the video carousel list
It is not needed at the beginning of its carousel is arranged for each video in user at process and the end time, therefore simplifies video carousel
Single generating process, improves the formation efficiency of video carousel list, the user experience is improved.
The generation method of corresponding video carousel list provided in an embodiment of the present invention, the present invention also provides the lifes of video carousel list
At device, as shown in fig. 6, the device may include:
Acquisition module 61 waits for carousel video according to default rule for obtaining the video information for waiting for carousel video, and by described
Then sort;Wherein, the video information includes video playing duration and video name;
Carousel time range determining module 62, for determining carousel time range;
Video carousel list generation module 63, the video information for waiting for carousel video according to and the life of carousel time range
At video carousel list.
In one embodiment, as shown in fig. 7, the carousel time range determining module 62 includes:
Time point selects submodule 621, for receiving carousel initial time input by user and end time;
Whether the first detection sub-module 622, initial time and end time for detecting the carousel are accurate to the second;
First confirms submodule 623, for when the initial time of the carousel and end time are accurate to second, confirming institute
It is carousel time range to state initial time and the time range within the end time;
Second confirms submodule 624, will for being accurate to timesharing in the initial time of the carousel or/and end time
After number of seconds after the minute of the initial time or/and end time is set as 0 second, the initial time and end time are confirmed
Within time range be carousel time range;
Third confirms submodule 625, for when the initial time of the carousel or/and end time are accurate to hour,
By after the hour of the initial time or/and end time the number of minutes and number of seconds be set as 0 point after 0 second, confirm the starting
Time range within time and end time is carousel time range;
4th confirms submodule 626, for when the initial time of the carousel or end time are accurate to the date, by institute
It states the hourage after the date of initial time or/and end time, the number of minutes and number of seconds and is set as at 0 point after 0 second 0 minute, confirm institute
It is carousel time range to state initial time and the time range within the end time.
In one embodiment, as shown in figure 8, the carousel time range determining module 62 further includes:
Second detection sub-module 627, for when the initial time of the carousel and end time are accurate to the date, examining
Whether initial time and the date of end time for surveying the carousel are identical;
5th confirms submodule 628, is used in the initial time of the carousel and the identical date of end time, by institute
State carousel initial time be set as the date 0 point 0 second 0 minute, and the end time of the carousel is set as the day
24 points of phase confirm that the initial time and the time range within the end time are carousel time range after 0 second 0 minute;
6th confirms submodule 629, in the initial time of the carousel and the date of end time and the when of differing,
By the initial time of the carousel be set as the date 0 point 0 second 0 minute, and the end time of the carousel is set as institute
0 second 0 minute or on date are stated at 24 points of at 0 points after 0 second 0 minute, confirm that the initial time and the time range within the end time are wheel
Broadcast time range.
In one embodiment, as shown in figure 9, the video carousel list generation module 63 includes:
First computational submodule 631 waits for the needed carousel video of the video playing duration calculation of carousel video for basis
The primary total duration of carousel, and the number for the complete total duration for including is calculated in the carousel time range;
First filling submodule 632, for since the initial time of the carousel time range, described in after sequence
It waits in carousel video cyclic pac king to the carousel time range of video carousel list, and the number of its complete cycle filling is equal to described
The number for the complete total duration for including in carousel time range;
Second filling submodule 633 is used for after complete cycle filling in remaining carousel time range, the row of being sequentially filled
Carousel video is waited for described in after sequence, until the described of filling waits for that the carousel video corresponding end time arrives at or beyond the carousel
The end time of time range;
First setting submodule 634, for will wait for that the carousel video corresponding end time sets described in the last one of filling
It is set to the end time of the video carousel list, and shows the video name of needed carousel video in the video carousel list
Claim.
In one embodiment, as shown in Figure 10, described device further includes:
Second computational submodule 635 waits for the needed carousel video of the video playing duration calculation of carousel video for basis
The primary total duration of carousel;
Second setting submodule 636, for setting the carousel number for waiting for carousel video;
Third fills submodule 637, for since the initial time of the carousel time range, described in after sequence
It waits in carousel video cyclic pac king to video carousel list, and the number of its complete cycle filling is equal to the carousel number of setting;
Third sets submodule 638, for will wait for that the carousel video corresponding end time sets described in the last one of filling
It is set to the end time of the video carousel list, and shows the video name of needed carousel video in the video carousel list
Claim.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer
The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.)
Formula.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (6)
1. a kind of generation method of video carousel list, which is characterized in that including:
The video information for waiting for carousel video is obtained, and waits for that carousel video sorts according to preset rules by described;Wherein, the video
Information includes video playing duration and video name;
Determine carousel time range;
Video carousel list is generated according to the video information for waiting for carousel video and carousel time range;
The determining carousel time range, including:
Receive carousel initial time input by user and end time;
Whether the initial time and end time for detecting the carousel are accurate to the second;
When the initial time of the carousel and end time are accurate to second, the initial time is confirmed and within the end time
Time range is carousel time range;
It is accurate to timesharing in the initial time of the carousel or/and end time, by the initial time or/and end time
After number of seconds after minute is set as 0 second, confirm that the initial time and the time range within the end time are carousel time model
It encloses;
When the initial time of the carousel or/and end time are accurate to hour, by the initial time or/and end time
Hour after the number of minutes and number of seconds be set as 0 point after 0 second, confirm the initial time and the time range within the end time
For carousel time range;
When the initial time of the carousel or end time are accurate to the date, by the initial time or/and end time
Hourage, the number of minutes and number of seconds after date are set as at 0 point after 0 second 0 minute, confirm the initial time and within the end time
Time range is carousel time range;
The determining carousel time range further includes:
When the initial time of the carousel and end time are accurate to the date, initial time and the end of the carousel are detected
Whether the date of time is identical;
In the initial time of the carousel and the identical date of end time, the initial time of the carousel is set as described
0 point of date 0 minute and 0 second, and the end time of the carousel is set as 24 points of the date after 0 second 0 minute, confirm described rise
Time range within time beginning and end time is carousel time range;
In the initial time of the carousel and the date of end time and the when of differing, the initial time of the carousel is set as
0 point of the date of the initial time 0 minute and 0 second, and the end time of the carousel is set as to the date of the end time
24 points of 0 second 0 minute or 0 points after 0 second 0 minute, confirm that the initial time and the time range within the end time are the carousel time
Range.
2. the method as described in claim 1, which is characterized in that wait for the video information and carousel of carousel video described in the basis
Time range generates video carousel list, including:
The total duration primary according to the needed carousel video carousel of the video playing duration calculation of carousel video is waited for, and described in calculating
The number for the complete total duration for including in carousel time range;
Since the initial time of the carousel time range, carousel video cyclic pac king will be waited for video wheel described in after sequence
It broadcasts in single carousel time range, and the number of its complete cycle filling is equal to the complete institute in the carousel time range included
State the number of total duration;
After complete cycle filling in remaining carousel time range, be sequentially filled after sequence it is described wait for carousel video, until
The described of filling waits for the corresponding end time arrival of carousel video or the end time beyond the carousel time range;
At the end of waiting for that the carousel video corresponding end time is set as the video carousel list described in the last one of filling
Between, and show in the video carousel list video name of needed carousel video.
3. the method as described in claim 1, which is characterized in that wait for the video information and carousel of carousel video described in the basis
Time range generates video carousel list, further includes:
The total duration primary according to the needed carousel video carousel of the video playing duration calculation of carousel video is waited for;
The carousel number of carousel video is waited for described in setting;
Since the initial time of the carousel time range, carousel video cyclic pac king will be waited for video wheel described in after sequence
It broadcasts in list, and the number of its complete cycle filling is equal to the carousel number of setting;
At the end of waiting for that the carousel video corresponding end time is set as the video carousel list described in the last one of filling
Between, and show in the video carousel list video name of needed carousel video.
4. a kind of generating means of video carousel list, which is characterized in that including:
Acquisition module waits for that carousel video sorts according to preset rules for obtaining the video information for waiting for carousel video, and by described;
Wherein, the video information includes video playing duration and video name;
Carousel time range determining module, for determining carousel time range;
Video carousel list generation module, video information and carousel time range for waiting for carousel video according to generate video
Carousel list;
The carousel time range determining module includes:
Time point selects submodule, for receiving carousel initial time input by user and end time;
Whether the first detection sub-module, initial time and end time for detecting the carousel are accurate to the second;
First confirms submodule, for when the initial time of the carousel and end time are accurate to second, confirming the starting
Time range within time and end time is carousel time range;
Second confirms submodule, for being accurate to timesharing in the initial time of the carousel or/and end time, by the starting
After number of seconds after the minute of time or/and end time is set as 0 second, confirm the initial time and within the end time when
Between ranging from carousel time range;
Third confirms submodule, for when the initial time of the carousel or/and end time are accurate to hour, described will rise
Begin the number of minutes after the hour of time or/and end time and number of seconds was set as 0 point after 0 second, confirms the initial time and knot
Time range within the beam time is carousel time range;
4th confirms submodule, for when the initial time of the carousel or end time are accurate to the date, by the starting
Hourage, the number of minutes and number of seconds after the date of time or/and end time are set as at 0 point after 0 second 0 minute, confirm the starting
Time range within time and end time is carousel time range;
The carousel time range determining module further includes:
Second detection sub-module, for when the initial time of the carousel and end time are accurate to the date, described in detection
Whether the initial time of carousel and the date of end time are identical;
5th confirms submodule, is used in the initial time of the carousel and the identical date of end time, by the carousel
Initial time be set as the date 0 point 0 second 0 minute, and the end time of the carousel is set as the 24 of the date
Point confirms that the initial time and the time range within the end time are carousel time range after 0 second 0 minute;
6th confirms submodule, will be described in the initial time of the carousel and the date of end time and the when of differing
The initial time of carousel be set as the date of the initial time 0 point 0 second 0 minute, and by the end time of the carousel set
For 0 second 0 minute or after 0 second 0 minute on the date of the end time, the initial time is confirmed and within the end time at 24 points of at 0 points
Time range be carousel time range.
5. device as claimed in claim 4, which is characterized in that the video carousel list generation module includes:
First computational submodule waits for that the needed carousel video carousel of the video playing duration calculation of carousel video is primary for basis
Total duration, and calculate in the carousel time range number for the complete total duration for including;
First filling submodule will wait for carousel described in after sequence for since the initial time of the carousel time range
In video cyclic pac king to the carousel time range of video carousel list, and its complete cycle filling number be equal to the carousel when
Between include in range the complete total duration number;
Second filling submodule, in remaining carousel time range, being sequentially filled after sorting after complete cycle filling
It is described to wait for carousel video, until the described of filling waits for that the carousel time model is arrived at or exceeded to the carousel video corresponding end time
The end time enclosed;
First setting submodule, for will wait for that the carousel video corresponding end time is set as described described in the last one of filling
The end time of video carousel list, and show in the video carousel list video name of needed carousel video.
6. device as claimed in claim 4, which is characterized in that described device further includes:
Second computational submodule waits for that the needed carousel video carousel of the video playing duration calculation of carousel video is primary for basis
Total duration;
Second setting submodule, for setting the carousel number for waiting for carousel video;
Third fills submodule, for since the initial time of the carousel time range, will wait for carousel described in after sequence
In video cyclic pac king to video carousel list, and the number of its complete cycle filling is equal to the carousel number of setting;
Third sets submodule, for will wait for that the carousel video corresponding end time is set as described described in the last one of filling
The end time of video carousel list, and show in the video carousel list video name of needed carousel video.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510247552.7A CN104837037B (en) | 2015-05-14 | 2015-05-14 | A kind of generation method and device of video carousel list |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510247552.7A CN104837037B (en) | 2015-05-14 | 2015-05-14 | A kind of generation method and device of video carousel list |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104837037A CN104837037A (en) | 2015-08-12 |
CN104837037B true CN104837037B (en) | 2018-10-26 |
Family
ID=53814634
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510247552.7A Expired - Fee Related CN104837037B (en) | 2015-05-14 | 2015-05-14 | A kind of generation method and device of video carousel list |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104837037B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105939489A (en) * | 2016-03-31 | 2016-09-14 | 乐视控股(北京)有限公司 | Multimedia data carousel method and device |
CN106488274B (en) * | 2016-10-19 | 2019-11-15 | 广东广新信息产业股份有限公司 | The program inventory generation method and system of multimedia terminal |
CN107360466A (en) * | 2017-08-22 | 2017-11-17 | 天脉聚源(北京)传媒科技有限公司 | A kind of method and device to the single sequence of video frequency program |
CN109257631B (en) * | 2018-09-30 | 2021-04-27 | 武汉斗鱼网络科技有限公司 | Video carousel playing method and device, computer equipment and storage medium |
CN109710868A (en) * | 2018-12-21 | 2019-05-03 | 北京金山安全软件有限公司 | Picture carousel method and device |
CN112866739A (en) * | 2021-01-21 | 2021-05-28 | 商客通尚景科技(上海)股份有限公司 | Method for playing live photos in turn in real time |
CN113068062B (en) * | 2021-04-06 | 2022-06-17 | 上海网梯数码科技有限公司 | Automatic film arrangement push-streaming live broadcast method |
CN113810776A (en) * | 2021-08-27 | 2021-12-17 | 杭州当虹科技股份有限公司 | Method and device for automatically generating playlist |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103747299A (en) * | 2014-01-14 | 2014-04-23 | 合一信息技术(北京)有限公司 | Information random alternate playing method and system |
CN103916718A (en) * | 2013-01-05 | 2014-07-09 | 腾讯科技(北京)有限公司 | Method and system for playing video based on video clip |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007235195A (en) * | 2006-02-27 | 2007-09-13 | Canon Inc | Image recorder and image display method |
CN101494510B (en) * | 2008-01-25 | 2011-07-13 | 中兴通讯股份有限公司 | Information broadcast method and system in turn |
CN102665129B (en) * | 2012-04-27 | 2015-05-27 | 北京人民广播电台 | Played content-customizing method and played content-customizing device |
-
2015
- 2015-05-14 CN CN201510247552.7A patent/CN104837037B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103916718A (en) * | 2013-01-05 | 2014-07-09 | 腾讯科技(北京)有限公司 | Method and system for playing video based on video clip |
CN103747299A (en) * | 2014-01-14 | 2014-04-23 | 合一信息技术(北京)有限公司 | Information random alternate playing method and system |
Also Published As
Publication number | Publication date |
---|---|
CN104837037A (en) | 2015-08-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104837037B (en) | A kind of generation method and device of video carousel list | |
CN104822074B (en) | A kind of recommendation method and device of TV programme | |
US8600991B2 (en) | Contents information reproducing apparatus, contents information reproducing system, contents information reproducing method, contents information reproducing program, recording medium and information processing apparatus | |
CN108174233A (en) | A kind of live broadcasting method, device, server and medium | |
CN108769824A (en) | A kind of video mixed flow method, apparatus, system, equipment and medium | |
CN103747282A (en) | Program list arranging method and equipment | |
CN106534087A (en) | System and method for live broadcast, server and unmanned plane | |
CN108833809A (en) | A kind of video mixed flow control method, device, system, equipment and medium | |
CN109218765A (en) | A kind of net cast room recommended method and device | |
CN105939489A (en) | Multimedia data carousel method and device | |
CN103313127B (en) | A kind of television channel switching method and device | |
CN106331089A (en) | Video play control method and system | |
CN112118472A (en) | Method and apparatus for playing multimedia | |
CN104581340B (en) | Client, stream medium data method of reseptance and stream medium data transmission system | |
CN104994429B (en) | A kind of method and device playing video | |
CN104837061B (en) | A kind of video broadcasts single modification management method and device | |
US11178461B2 (en) | Asynchronous video conversation systems and methods | |
CN107135407B (en) | Synchronous method and system in a kind of piano video teaching | |
CN107872724A (en) | A kind of preview video generation method and device | |
CN104618376B (en) | Play method, server and the display device of media content | |
CN104270676B (en) | A kind of information processing method and electronic equipment | |
CN104935974B (en) | A kind of editor broadcasts single method and device | |
CN108614829A (en) | A kind of playback method and terminal | |
CN108604238A (en) | method, system and medium for media guidance | |
CN106254956A (en) | A kind of method and device choosing interactive information according to program key word |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A method and device for generating video carousel Effective date of registration: 20210104 Granted publication date: 20181026 Pledgee: Inner Mongolia Huipu Energy Co.,Ltd. Pledgor: WUXI TVMINING MEDIA SCIENCE & TECHNOLOGY Co.,Ltd. Registration number: Y2020990001517 |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20181026 Termination date: 20210514 |