CN108111871A - A kind of carousel method and system - Google Patents
A kind of carousel method and system Download PDFInfo
- Publication number
- CN108111871A CN108111871A CN201611070030.5A CN201611070030A CN108111871A CN 108111871 A CN108111871 A CN 108111871A CN 201611070030 A CN201611070030 A CN 201611070030A CN 108111871 A CN108111871 A CN 108111871A
- Authority
- CN
- China
- Prior art keywords
- video file
- programme
- file
- identification information
- video
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000003860 storage Methods 0.000 claims abstract description 47
- 230000006978 adaptation Effects 0.000 claims description 15
- 238000012544 monitoring process Methods 0.000 claims description 8
- 238000007726 management method Methods 0.000 description 25
- 238000010586 diagram Methods 0.000 description 18
- 238000004590 computer program Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 239000002699 waste material Substances 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/226—Characteristics of the server or Internal components of the server
- H04N21/2265—Server identification by a unique number or address, e.g. serial number
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/232—Content retrieval operation locally within server, e.g. reading video streams from disk arrays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/233—Processing of audio elementary streams
- H04N21/2335—Processing of audio elementary streams involving reformatting operations of audio signals, e.g. by converting from one coding standard to another
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
- H04N21/234309—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 or from Quicktime to Realvideo
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 carousel method and system, to solve the problem of to exist in the prior art the slow resource of losing time of speed of download.The carousel method specifically includes:Carousel system monitors the first document data bank, and the first document data bank storage content includes:The identification information of video file to be pulled;The carousel system pulls the video file of the first form corresponding to the newly-increased identification information when having increased identification information newly in listening to first document data bank from program request CDN.
Description
Technical field
The present invention relates to technical field of video processing, more particularly to a kind of carousel method and system.
Background technology
With the development of Internet technology, more and more resources are all propagated in the form of video, and video playing is
It is common to have program request, live streaming and carousel etc. through being a kind of important way of people's acquisition information, and in video playing mode
Several ways.The identification information of several video files is generally comprised in programme, wheel broadcast mode is letter will to be identified in programme
It ceases corresponding video file to play at least two channel loops, each channel is broadcast successively according to predetermined order interval scheduled duration
Put the corresponding video file of programme identification information.Assuming that a video file needs to play in 3 channel loops, 3 frequencies
The order in road is channel 1, channel 2 and channel 3, commences play out the video file on channel 1 first, and interval exists after ten minutes
The video file is commenced play out on channel 2, then is spaced and commences play out the video file, user on channel 3 after ten minutes
Reach the video playing mode of the video on demand effect of forward-reverse by selecting channel.
Video carousel method is in downloading video files in the prior art, the video frequency program for determining to play by user
Single, identification information corresponding in storage video file is applied alone in video frequency program, then is based on the corresponding mark of video file by user and believes
The unified downloading video files of breath.This method needs user that downloading video files, and unified all videos of download are manually operated
File, cumbersome, speed of download is slow, causes to waste substantial amounts of time resource.
The content of the invention
The embodiment of the present invention provides a kind of carousel method and system, slow to solve to exist in the prior art speed of download,
The problem of resource of losing time.
In a first aspect, an embodiment of the present invention provides a kind of carousel method, including:
Carousel system monitors the first document data bank, and the first document data bank storage content includes:To be pulled regards
The identification information of frequency file;
The carousel system in listening to first document data bank when having increased identification information newly, from program request CDN
Pull the video file of the first form corresponding to the newly-increased identification information.
With reference to first aspect, in the first possible embodiment of first aspect, the carousel system is from program request CDN
In pull the video file of the first form corresponding to the newly-increased identification information after, further include:
The carousel system stores the video file of first form pulled to the first file repository;
The carousel system monitors first file repository;
The carousel system, will be newly-increased when listening to first file repository and having increased the video file of the first form newly
Video file by the first format code transferring be the second form.
With reference to first aspect or the first possible embodiment of first aspect, second in first aspect are possible
In embodiment, the method further includes:
The carousel system obtains programme, and the programme includes the identification information of several video files;
The carousel system determines the identification information of the second document data bank video file not to be covered, and will determine
The video file identification information storage to first document data bank.
The embodiment of the present invention is by way of increasing the warehouses such as the first file repository and monitoring the warehouse, when listening to the
When one file repository adds the video file of the first form, by carousel system automatically by the increased video file by first
Format code transferring is the second form, and all video files are the second lattice by the first format code transferring by middle unification compared with the prior art
Formula, transcoding speed is fast, saves substantial amounts of time resource.
The possible embodiment of with reference to first aspect the first, in the third possible embodiment of first aspect
In, the method further includes:
The carousel system obtains programme, and the programme and its channel number are corresponded to storage to programme warehouse
In;The programme includes:The corresponding identification information of several video files and reproduction time;
The carousel system determines to play the channel number of video needed for live streaming CDN;
The carousel system obtains the corresponding programme of the channel number from the programme warehouse;And from the second file
The video file of the second form corresponding to identification information for each video file that the programme includes is downloaded in warehouse;
When reaching the reproduction time of video file for second form downloaded, downloaded to the live streaming CDN push
Second form video file.
The third possible embodiment with reference to first aspect, in the 4th kind of possible embodiment of first aspect
In, the method further includes:
The carousel system determines the corresponding video file of the programme identification information to the live streaming CDN push
When the error occurs, the video file of the second form stored in disaster tolerance storehouse is pushed to the live streaming CDN, and changes and mistake occur
The video file reproduction time, amended reproduction time is recorded in the programme.
Second aspect, an embodiment of the present invention provides a kind of carousel system, including:
First document data bank and file pull module;
First document data bank, for storing the identification information of video file to be pulled;
File pulls module, for monitoring first document data bank, and is listening to first document data bank
In when having increased identification information newly, the video file of the first form corresponding to the newly-increased identification information is pulled from program request CDN.
With reference to second aspect, in the first possible embodiment of second aspect, the system also includes:
First file repository and modular converter;
First file repository, for storing the video file of the first form;
The file pulls module, be additionally operable to pulled from program request CDN the newly-increased identification information it is corresponding first
After the video file of form, by the video file storage of first form pulled to first file repository;
The modular converter for monitoring first file repository, and increases newly listening to first file repository
By the first format code transferring it is second form by newly-increased video file during the video file of the first form.
With reference to the possible embodiment of the first of second aspect or second aspect, second in second aspect is possible
In embodiment, the system also includes:
Second document data bank and adaptation module;
Second document data bank, for storing the identification information of the video file of the second form;
The adaptation module, for obtaining programme, the programme includes the identification information of several video files, and
The identification information of the second document data bank video file not to be covered is determined, by the mark for the video file determined
Information storage is known to first document data bank.
With reference to the first possible embodiment of second aspect, in the third possible embodiment of second aspect
In, the system also includes:
Programme warehouse, the second file repository and channel management module;
The programme warehouse, for storing programme and its corresponding channel number, the programme includes:Several are regarded
The corresponding identification information of frequency file and reproduction time;
Second file repository, for storing the video file of the second form;
The channel management module, the programme and its channel number for the adaptation module to be obtained correspond to storage
Into the programme warehouse;It determines the channel number of broadcasting video needed for live streaming CDN, obtains and determine from the programme warehouse
The corresponding programme of the channel number;The programme that the adaptation module obtains is downloaded from second file repository
Including each video file the second form corresponding to identification information video file;Reach second form of download
Video file reproduction time when, to it is described live streaming CDN push download second form video file.
With reference to the third possible embodiment of second aspect, in the 4th kind of possible embodiment of second aspect
In, the system also includes:
Disaster tolerance storehouse, for storing the video file of the second form;
The channel management module is additionally operable to determine the programme identification information pair to the live streaming CDN push
There is mistake in the video file answered;And it is determining to regard to the programme identification information that CDN push is broadcast live is corresponding
Frequency file is pushed to the live streaming CDN when the error occurs, by the video file of the second form stored in the disaster tolerance storehouse, and repaiies
Change the reproduction time of the video file of existing mistake, amended reproduction time is recorded in the programme.
The embodiment of the present invention works as prison by way of increasing the databases such as the first document data bank and monitoring the database
When hearing that the first document data bank adds identification information, video text corresponding to the identification information is downloaded automatically by carousel system
Part, compared with the prior art in downloading video files are manually operated by user, and it is unified download all video files, download speed
Degree is fast, saves substantial amounts of time resource.
Description of the drawings
Fig. 1 is a kind of schematic diagram of the carousel network architecture provided in an embodiment of the present invention;
Fig. 2 is a kind of component connection figure of carousel system provided in an embodiment of the present invention;
Fig. 3 is a kind of deployment diagram of carousel system provided in an embodiment of the present invention;
Fig. 4 is a kind of flow diagram of programme editor provided in an embodiment of the present invention;
Fig. 5 is the flow diagram that a kind of video file provided in an embodiment of the present invention downloads transcoding;
Fig. 6 is a kind of flow diagram of video file push provided in an embodiment of the present invention;
Fig. 7 is a kind of flow diagram of video file management method provided in an embodiment of the present invention;
Fig. 8 is a kind of flow chart of carousel method provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical solutions and advantages of the present invention clearer, the present invention is made below in conjunction with attached drawing into
It is described in detail to one step, it is clear that described embodiment is only the implementation of part of the embodiment of the present invention rather than whole
Example.Based on the embodiments of the present invention, those of ordinary skill in the art are obtained without making creative work
All other embodiment, belongs to the scope of protection of the invention.
The embodiment of the present invention provides a kind of carousel method and system, slow to solve to exist in the prior art speed of download,
The problem of resource of losing time.Wherein, method and apparatus are based on same inventive concept, since method and device solves the problems, such as
Principle it is similar, therefore the implementation of apparatus and method can be with cross-reference, and overlaps will not be repeated.
The embodiment of the present invention can be applied in carousel network, shown in Figure 1, be carousel provided in an embodiment of the present invention
Network architecture schematic diagram.Carousel network includes Broadcast Control, on-demand content distribution network (English is broadcast live:Content Delivery
Network, referred to as:CDN CDN and carousel system), is broadcast live.
Wherein, editorial staff can carry out the editor of programme by the live streaming Broadcast Control, and Broadcast Control, which will then be broadcast live, to be editted
Programme be sent to carousel system.Carousel system is used for the identification information of the video file included based on programme from program request
Video file corresponding to the identification information of simultaneously video file described in transcoding is downloaded in CDN, then pushes away the video file after transcoding
Give the live streaming CDN.
It is shown in Figure 2, it is carousel system schematic diagram provided in an embodiment of the present invention, which can include:
Carousel system includes the first document data bank 11, file pulls module 12, the first file repository 13, modular converter
14th, the second document data bank 15, adaptation module 16, the second file repository 18, channel management module 19 and transcoding module 21.
Wherein, the carousel system can be deployed in a server, can also be deployed in multiple servers.
Optionally, when being disposed to carousel system, can realize in the following way, as shown in Figure 3:
Adaptation module can be realized in deployment by a server.First document data bank 11 can be stored in one
In a storage device.First file repository 13, modular converter 14, file pull module 12 and transcoding module 21 and can be deployed in
In one server.Second document data bank 15, the second file repository 18 and disaster tolerance storehouse 20 can be stored in a storage and set
In standby.In addition, channel management module 19 can be realized by a server.
Wherein, the server where channel management module 19 can also dispose a partial volume calamity storehouse and a preliminary data storehouse
Storehouse, the video file of the second form of broadcasting channel is distributed in the partial volume calamity storehouse for storage and disaster tolerance storehouse 20, described to play frequency
Road is the channel of the channel management module 19 configuration, and the preliminary data warehouse is used to store the corresponding section of the broadcasting channel
The video file of second form corresponding to the identification information of the video file that mesh list includes.
Wherein, 11 storage content of the first document data bank includes:The identification information of video file to be pulled.It is optional
Ground, the first document data bank 11 can include the first primary database, can also include first for database.Therefore when the first main number
When breaking down according to storehouse, the identification information of video file can be obtained in database from first.
Wherein, the form of the video file to be pulled can be mp4 forms etc., and the embodiment of the present invention is herein not
It is specifically limited.
The identification information can be title, number, code of video file etc..
Second document data bank, 15 storage content includes:The identification information of the video file of second form, the second file storehouse
Storehouse 18 is used for the video file of the second form.Optionally, the second document data bank 15 can include the second primary database and the
Two for database.Therefore when the second primary database breaks down, the mark of video file can be obtained in database from second
Know information.Second file repository 18 can include the second master data warehouse and second for data warehouse, therefore when the second main number
When breaking down according to warehouse, the video file of the second form can be obtained in data warehouse from second.
Second form can be Streaming Media (English:Transport Stream, referred to as:Ts) form etc., this hair
Bright embodiment is not specifically limited herein.
The programme of Broadcast Control transmission is broadcast live for receiving for the adaptation module 16.
The disaster tolerance storehouse 20 is used to store the video file of at least one second form.
The file pulls module 12 for pulling the video file of the first form from program request CDN and being stored in the first text
Part warehouse 13, the modular converter 14 are used to monitor the first file repository 13, obtain the video file of increased first form, and
It sends a notification message to the transcoding module 21, the notification message is used to indicate the transcoding module 21 by increased video text
Part from the first format conversion be the second form.The transcoding module 21 is after the notification message is received, by increased described
The video file transcoding of one form is the video file of the second form.
The channel management module 19 is used to transcoding being pushed to live streaming CDN for the video file of the second form.
Optionally, user can be illustrated in figure 4 programme editor by the way that broadcast control system is broadcast live to programme into edlin
Flow diagram.
S101:Live streaming Broadcast Control receives the command information of user's triggering, and the video that described instruction information is included
In programme, described instruction information is used to record N number of video file that user's selection plays the identification information recording of file
Information, the information of the video file include:Video file identification information, video files names, video file format, video text
Part size, reproduction time etc., the N are the positive integer more than or equal to 1.
Specifically, the carousel system further includes carousel administrative center 22.
S102:Broadcast Control is broadcast live and sends request message to carousel administrative center 22, the request message is for requesting query the
Whether two document data banks 15 include the identification information for N number of video file that the programme includes.
S103:Whether carousel administrative center 22 receives the request message, inquire about and wrap from the second document data bank 15
Include the identification information for N number of video file that the programme includes.
Optionally, carousel system is if it is determined that second document data bank 15 includes the N that the programme includes
The programme is then pushed to live streaming CDN and played by the identification information of a video file.
Optionally, carousel system is not if it is determined that second document data bank 15 includes i-th of video in the programme
The identification information of file, the video file that the identification information of i-th of the video file included to the programme is corresponding are drawn
It takes and transcoding, the i is all positive integers taken all over N is not more than, as shown in figure 5, the flow that transcoding is pulled for video file is shown
It is intended to.
S201:The programme of the completion is sent to adaptation module 16 by live streaming Broadcast Control.
S202:Adaptation module 16, which obtains the programme that live streaming Broadcast Control is sent and parses the programme, obtains the section
The identification information for N number of video file that mesh list includes.
S203:Adaptation module 16 inquires about N number of video file that the programme includes in the second file repository 18
Identification information.
S204:When adaptation module 16 determines not include in the second document data bank 15 identification information of j-th video file,
By the identification information storage of j-th of video file to first document data bank 11, wherein, the j is taken all over no more than N
Positive integer.
S205:File pulls module 12 and monitors the first document data bank 11.
Optionally, after step S205 is performed, it can also carry out S206:File pulls module 12 and listens to the first file
When the identification information of video file is added in database 11, by the mark of increased video file in the first document data bank 11
The storage state of the video file of corresponding first form of information is revised as in pulling.
Wherein, status indicator and the corresponding storage state of status indicator are as shown in table 1, and wherein table 1 is merely exemplary retouches
The correspondence of storage state and status indicator is stated, the embodiment of the present invention is not especially limited this.
Table 1
Status indicator | Storage state |
0 | It completes |
1 | In pulling |
2 | Pull completion |
3 | Pull failure |
4 | In transcoding |
5 | Transcoding fails |
6 | Transcoding is completed |
7 | Upper crossing |
8 | Upload failure |
9 | It uploads and completes |
S207:File pulls module 12 and increased in first document data bank 11 described regard is pulled from program request CDN
The video file of first form corresponding to the identification information of frequency file.
Optionally, pull during module 12 pulls first document data bank 11 from program request CDN and increase in step 207 file
There is mistake during the video file of first form corresponding to the identification information of the video file added, file pulls module
12 repair the storage state of the video file of the first form corresponding to increased identification information in first document data bank 11
It is changed to pull failure.
Optionally, after S207 is performed, it can also carry out S208:File pulls module 12 by first file data
The storage state of the video file of first form corresponding to increased identification information is revised as pulling completion in storehouse 11.
S209:File pulls module 12 and the video file of first form pulled is saved in the first file repository
13。
Optionally, pull module 12 in step S209 files and the video file of first form pulled is saved in
After one file repository 13, file pull module 12 by increased identification information in first document data bank 11 it is corresponding
The storage state of the video file of one form is revised as completing.
Optionally, it can also carry out S210:Modular converter 14 listens to the first file repository 13.
S211:Modular converter 14 passes through when listening to the first file repository 13 and adding the video file of the first form
The increased video file is the second form by the first format code transferring by transcoding module 21.
Optionally, in step S211 modular converters 14 by transcoding module 21 by the increased video file by the first lattice
When formula transcoding is the second form, the storage state of the increased video file is changed in transcoding by modular converter 14, if transcoding
Occur mistake in the process, then the storage state of the increased video file is changed to transcoding failure, when transcoding is completed, by institute
The storage state for stating increased video file is changed to transcoding completion.
S212:Modular converter 14 is by the corresponding identification information storage of the increased video file to the second document data bank
15。
S213:The video file for the second form that modular converter 14 obtains transcoding is stored to the second file repository 18.
S201, S205 and S210 may be performed simultaneously, can also first carry out there is no stringent priority execution sequence
S201, then S205 is performed, S210 is finally performed, S205 can also be first carried out, then S201 is performed, S210 is finally performed, it can also
S201 is first carried out, then performs S210, finally performs S205, naturally it is also possible to using other execution sequences.
When carousel system, which listens to the first document data bank 11, adds the identification information of video file, by carousel system
Automatically video file corresponding to the identification information of the video file is pulled, first is added when listening to the first file repository 13
During the video file of form, by carousel system automatically by the video file from the first format code transferring be the second form, compared to
All video files are uniformly pulled by user manually in the prior art, and unified pair again after all video files are uniformly pulled
All video files carry out transcodings, pull that speed is fast, and transcoding speed is fast, save substantial amounts of time resource.
Carousel system is all converted to video file corresponding to the identification information for the video file that the programme includes
After second form, the video file of second form is pushed in live streaming CDN, as shown in fig. 6, being pushing video file
Flow diagram.
Optionally, the carousel system further includes programme warehouse 17, for storing programme and its corresponding channel number,
The programme includes:The corresponding identification information of several video files and reproduction time.
S301:Channel management module 19 reports heartbeat message to carousel administrative center 22 on startup.
S302:Carousel system receives the command information of user by carousel administrative center 22, and described instruction information is used for
It is designated as the channel assignment channel number that the channel management module 19 manages.
S303:After carousel administrative center 22 receives command information, channel number is set for the channel management module 19.
S304:Channel management module 19 obtains the corresponding programme of channel number of the setting from programme warehouse 17.
S305:Each video text that the programme that channel management module 19 downloads acquisition from the second file repository 18 includes
The video file of second form corresponding to the identification information of part.
S306:The identification information for each video file that channel management module 19 includes the programme of the acquisition corresponds to
The second form video file be pushed to live streaming CDN.
It is by the video text of the second form that the video file of second form is pushed to live streaming CDN by channel management module 19
Part uploads to live streaming CDN.
Optionally, each video file included the programme of the acquisition in step S306 channels management module 19
When the video file of second form corresponding to identification information is pushed to live streaming CDN, channel management module 19 is regarded the push
The storage state of frequency file is changed to crossing, if there is mistake during push, by the storage of the video file of the push
State is changed to upload failure, when pushing completion, the storage state of the video file of the push is changed to upload and is completed.
Specifically, when the video of the second form corresponding to the identification information of each video file that the programme obtained includes
File all download complete, channel management module 19 reach download the second form video file reproduction time when, to
CDN is broadcast live to push, the identification information associated record of the reproduction time and video file is in programme.
Optionally, each video file included the programme of the acquisition in step S306 channels management module 19
The video file of second form corresponding to identification information is pushed to after live streaming CDN, the second form of the unified push of live streaming CDN
The sequence number of video file makes user when video playing is watched using point-to-point (English:Peer-to-peer, referred to as:
P2P) pattern is watched.
Local can be stored in by downloading the video file for the second form completed, and can also preserve mobile hard disk or USB flash disk
In.
It should be noted that carousel system includes at least one channel management module 19, each channel management module 19
Only it is responsible for the video playing of a channel.
The embodiment of the present invention passes through setting contents of channel management module 19 so that user can be changed by channel management module and be saved
Mesh list, therefore the control of video file has more flexibility.
Optionally, the carousel system further includes disaster tolerance storehouse 20, for storing the video file of the second form
Optionally, the channel management module 19 is additionally operable to determine to get the bid to the programme of the live streaming CDN push
Know the corresponding video file of information and mistake occur;And determining the programme identification information to the live streaming CDN push
Corresponding video file when the error occurs, the video file of the second form stored in the disaster tolerance storehouse 20 is pushed to described straight
CDN is broadcast, and changes the reproduction time for the video file for mistake occur, amended reproduction time is recorded in the program
Dan Zhong.
Optionally, user can manage the video file of the second form and regarding for the first form by carousel administrative center 22
Frequency file, as shown in fig. 7, managing the video file of the second form and the video file of first form for carousel administrative center 22
Flow diagram.
S401:The carousel administrative center 22 receives the command information of user's transmission, and described instruction information is used to inquire about
The video file of second form whether there is mistake.
S402:After carousel administrative center 22 receives command information, the second lattice have been inquired in the second file repository 18
There are mistakes for the video file of formula.
S403:Carousel administrative center 22 receives the command information of user's transmission, and described instruction information is described for deleting
In the presence of the second form of mistake.
S404:After carousel administrative center 22 receives command information, there are mistakes by described in the second file repository 18
The second form video file delete.
S405:Carousel administrative center 22 is in the second document data bank 15 by the video of second form that there is mistake
The identification information of file is deleted.
S406:Carousel administrative center 22 receives the command information of user's transmission, and described instruction information is for inquiry first
The video file of form whether there is mistake.
S407:After carousel administrative center 22 receives command information, the first lattice have been inquired in the first file repository 13
There are mistakes for the video file of formula.
S408:Carousel administrative center 22 receives the command information of user's transmission, and described instruction information is described for changing
In the presence of the storage state of the video file of the first form of mistake.
S409:Carousel administrative center 22 is in the first document data bank 11 by the video of first form that there is mistake
The storage state of file is revised as mistake.
User can directly inquire about the situation of video file by carousel administrative center, wrong video occur when determining
During file, user can delete the video file for mistake occur by carousel administrative center 22 so that the lattice of video file
Formula state sharpening while avoiding user's immediate operand according to storehouse, considerably reduces carousel system to live streaming CDN push
There is the situation of the video file of mistake.
The embodiment of the present invention works as prison by way of increasing the databases such as the first document data bank and monitoring the database
When hearing that the first document data bank adds identification information, video text corresponding to the identification information is downloaded automatically by carousel system
Part, compared with the prior art in downloading video files are manually operated by user, and it is unified download all video files, download speed
Degree is fast, saves substantial amounts of time resource.And the download of video file and transcoding need not pay close attention to the content of video file, only
Need the form of concern video file so that the form state sharpening of video file reduces complexity, saves substantial amounts of
Time resource.
As shown in fig.8, for carousel method schematic diagram provided in an embodiment of the present invention, the carousel method can be applied to
Server.The carousel method can specifically include as follows:
S501, carousel system monitor the first document data bank, and the first document data bank storage content includes:It waits to pull
Video file identification information.
Optionally, the first document data bank storage content further includes:The identification information of each video file it is corresponding first
The storage state of the video file of form.
S502, the carousel system have increased the identification information of video file newly in first document data bank is listened to
When, the video file of the first form corresponding to the newly-increased identification information is pulled from program request CDN.
Optionally, that the newly-increased identification information is pulled from program request CDN in carousel system described in step S502 is corresponding
After the video file of first form, the method further includes:
The carousel system stores the video file of first form pulled to the first file repository.
The carousel system monitors first file repository.
The carousel system will increase when listening to first file repository and having increased the video file of the first form newly
Video file by the first format code transferring be the second form.
Optionally, it is institute after the second form by the first format code transferring by increased video file in the carousel system
Carousel system is stated to obtain the corresponding identification information storage of the increased video file to the second document data bank, and by transcoding
The second form video file storage to the second file repository.
It should be noted that the function by video file by the first format code transferring for the second form to be used in carousel system
Module is increased income computer program ffmpeg for transcoding.
When carousel system, which listens to the first document data bank, adds the identification information of video file, by carousel system certainly
Video file corresponding to the identification information of the download video file is moved, the first form is added when listening to the first file repository
Video file when, by carousel system automatically by the video file from the first format code transferring be the second form, compared to existing
Unify all video files of download in technology manually by user, and unify again to all after unified all video files of download
Video file carries out transcoding, and speed of download is fast, and transcoding speed is fast, saves substantial amounts of time resource.
Optionally, it is institute after the second form by the first format code transferring by increased video file in the carousel system
State the video file that carousel system deletes increased first form described in first file repository.The carousel system is pre-
If deleting the video file of the second form after duration, the preset duration is determined based on actual conditions.
Increased video file after the second form, is being deleted described the by the carousel system by the first format code transferring
The video file of increased first form described in one file repository deletes the video text of the second form after preset duration
Part while ensure that timeliness, effectively avoids the waste of memory source.
In alternatively possible realization method, the carousel method can also be realized in the following way:
The carousel system obtains programme, and the programme includes the identification information of several video files.
The carousel system determines the identification information of the second document data bank video file not to be covered, and will determine
The video file identification information storage to first document data bank.
Wherein, it is several to represent one or more.
Optionally, the identification information for determining several video files that the programme includes in the carousel system corresponds to
When the equal transcoding of video file is the second form, by programme storage to programme warehouse.
In alternatively possible realization method, the carousel method can also be realized in the following way:
The carousel system obtains programme, and the programme and its channel number are corresponded to storage to programme warehouse
In.The programme includes:The corresponding identification information of several video files and reproduction time.
The carousel system determines to play the channel number of video needed for live streaming CDN.
The carousel system obtains the corresponding programme of the channel number from the programme warehouse, and from the second file
The video file of the second form corresponding to identification information for each video file that the programme includes is pulled in warehouse.
When reaching the reproduction time of video file of second form pulled, pulled to the live streaming CDN push
Second form video file.
Optionally, the carousel system determines corresponding to the programme identification information of the live streaming CDN push
Video file is pushed to the live streaming CDN when the error occurs, by the video file of the second form stored in disaster tolerance storehouse, and changes
There is the reproduction time of the video file of mistake, amended reproduction time is recorded in the programme.
The video file stored in the disaster tolerance storehouse can be advertisement, propaganda film etc..
It should be noted that the video file stored in the disaster tolerance storehouse is permanent effective in the case of no replacement.
Wherein, disaster tolerance storehouse can also store the mark for the video file that at least one programme and the programme include
The video file of corresponding second form of information.
Specifically, when it is empty that the second file repository, which is empty or programme warehouse, carousel system can obtain disaster tolerance storehouse
The programme of middle storage pushes away the video file of the second form corresponding to the identification information for the video file that the programme includes
Give the live streaming CDN.
In the case that the embodiment of the present invention mistake occurs when carousel system is to live streaming CDN pushing video files or work as
When second file repository is sky or programme warehouse is sky, the video file stored in disaster tolerance storehouse is played so that live streaming CDN can
With continuous playing video file, the waste of Internet resources is avoided.
Optionally, each video text that the programme that the carousel system is completed to obtain to the live streaming CDN push includes
During the video file of stream media format corresponding to the identification information of part, the programme of acquisition is deleted.It deletes and completes push
Programme can effectively avoid the waste of memory source while programme validity is ensured.
The embodiment of the present invention works as prison by way of increasing the databases such as the first document data bank and monitoring the database
When hearing that the first document data bank adds identification information, video text corresponding to the identification information is downloaded automatically by carousel system
Part, compared with the prior art in downloading video files are manually operated by user, and it is unified download all video files, download speed
Degree is fast, saves substantial amounts of time resource.And the download of video file and transcoding need not pay close attention to the content of video file, only
Need the form of concern video file so that the form state sharpening of video file reduces complexity, saves substantial amounts of
Time resource.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the present invention
Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the present invention
The calculating implemented on storage video file data (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) can be used
The form of machine program product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real
The device 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 the instruction generation being stored in the computer-readable memory includes referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or
The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation
Property concept, then can make these embodiments other change and modification.So appended claims be intended to be construed to include it is excellent
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and scope.In this way, if these modifications and changes of the present invention belongs to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these modification and variations.
Claims (10)
1. a kind of carousel method, which is characterized in that including:
Carousel system monitors the first document data bank, and the first document data bank storage content includes:Video text to be pulled
The identification information of part;
The carousel system is pulled when having increased identification information newly in listening to first document data bank from program request CDN
The video file of first form corresponding to the newly-increased identification information.
2. the method as described in claim 1, which is characterized in that the carousel system pulls described newly-increased from program request CDN
After the video file of first form corresponding to identification information, further include:
The carousel system stores the video file of first form pulled to the first file repository;
The carousel system monitors first file repository;
The carousel system regards newly-increased when listening to first file repository and having increased the video file of the first form newly
Frequency file is the second form by the first format code transferring.
3. method as claimed in claim 1 or 2, which is characterized in that the method further includes:
The carousel system obtains programme, and the programme includes the identification information of several video files;
The carousel system determines the identification information of the second document data bank video file not to be covered, and the institute that will be determined
The identification information storage of video file is stated to first document data bank.
4. method as claimed in claim 2, which is characterized in that the method further includes:
The carousel system obtains programme, and the programme and its channel number are corresponded to storage into programme warehouse;Institute
Stating programme includes:The corresponding identification information of several video files and reproduction time;
The carousel system determines to play the channel number of video needed for live streaming CDN;
The carousel system obtains the corresponding programme of the channel number from the programme warehouse;And from the second file repository
The video file of middle the second form corresponding to identification information for downloading each video file that the programme includes;
When reaching the reproduction time of video file for second form downloaded, to the institute of the live streaming CDN push downloads
State the video file of the second form.
5. method as claimed in claim 4, which is characterized in that the method further includes:
The carousel system determines occur to the corresponding video file of the programme identification information of the live streaming CDN push
During mistake, the video file of the second form stored in disaster tolerance storehouse is pushed to the live streaming CDN, and changes the institute for mistake occur
The reproduction time of video file is stated, amended reproduction time is recorded in the programme.
6. a kind of carousel system, which is characterized in that including:
First document data bank and file pull module;
First document data bank, for storing the identification information of video file to be pulled;
File pulls module, for monitoring first document data bank, and it is new in first document data bank is listened to
When having increased identification information, the video file of the first form corresponding to the newly-increased identification information is pulled from program request CDN.
7. system as claimed in claim 6, which is characterized in that the system also includes:
First file repository and modular converter;
First file repository, for storing the video file of the first form;
The file pulls module, is additionally operable to pulling the first form corresponding to the newly-increased identification information from program request CDN
Video file after, by the video file of first form pulled storage to first file repository;
The modular converter for monitoring first file repository, and has increased newly listening to first file repository
By the first format code transferring it is the second form by newly-increased video file during the video file of one form.
8. system as claimed in claims 6 or 7, which is characterized in that the system also includes:
Second document data bank and adaptation module;
Second document data bank, for storing the identification information of the video file of the second form;
The adaptation module, for obtaining programme, the programme includes the identification information of several video files, and determines
Go out the identification information of the second document data bank video file not to be covered, the mark for the video file determined is believed
First document data bank is arrived in breath storage.
9. system as claimed in claim 7, which is characterized in that the system also includes:
Programme warehouse, the second file repository and channel management module;
The programme warehouse, for storing programme and its corresponding channel number, the programme includes:Several videos text
The corresponding identification information of part and reproduction time;
Second file repository, for storing the video file of the second form;
The channel management module, the programme and its channel number for the adaptation module to be obtained correspond to storage to institute
It states in programme warehouse;It determines the channel number of broadcasting video needed for live streaming CDN, definite institute is obtained from the programme warehouse
State the corresponding programme of channel number;The programme that the adaptation module obtains is downloaded from second file repository to be included
Each video file the second form corresponding to identification information video file;Reach regarding for second form of download
During the reproduction time of frequency file, the video file for second form downloaded to the live streaming CDN push.
10. system as claimed in claim 9, which is characterized in that the system also includes:
Disaster tolerance storehouse, for storing the video file of the second form;
The channel management module is additionally operable to determine corresponding to the programme identification information of the live streaming CDN push
There is mistake in video file;And determining the corresponding video text of the programme identification information to the live streaming CDN push
Part is pushed to the live streaming CDN when the error occurs, by the video file of the second form stored in the disaster tolerance storehouse, and changes out
The reproduction time of the video file of existing mistake, amended reproduction time is recorded in the programme.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611070030.5A CN108111871A (en) | 2016-11-25 | 2016-11-25 | A kind of carousel method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611070030.5A CN108111871A (en) | 2016-11-25 | 2016-11-25 | A kind of carousel method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108111871A true CN108111871A (en) | 2018-06-01 |
Family
ID=62206064
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611070030.5A Pending CN108111871A (en) | 2016-11-25 | 2016-11-25 | A kind of carousel method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108111871A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114339267A (en) * | 2022-01-04 | 2022-04-12 | 广州虎牙科技有限公司 | File carousel streaming method and device and live streaming server |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1777104A (en) * | 2004-11-15 | 2006-05-24 | 乐金电子(中国)研发开发中心有限公司 | Data carousel based data processing method |
US20120254917A1 (en) * | 2011-04-01 | 2012-10-04 | Mixaroo, Inc. | System and method for real-time processing, storage, indexing, and delivery of segmented video |
US20120263434A1 (en) * | 2011-04-14 | 2012-10-18 | Cisco Technology, Inc. | Per-Subscriber Adaptive Bit Rate Stream Management Method |
CN103051692A (en) * | 2012-12-11 | 2013-04-17 | 中国能源建设集团广东省电力设计研究院 | Mobile operation system working platform supporting extreme network environment |
CN103702178A (en) * | 2013-12-13 | 2014-04-02 | 乐视网信息技术(北京)股份有限公司 | Play method and electronic equipment |
CN105721954A (en) * | 2016-01-29 | 2016-06-29 | 北京奇艺世纪科技有限公司 | System and method for playing videos in turns |
-
2016
- 2016-11-25 CN CN201611070030.5A patent/CN108111871A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1777104A (en) * | 2004-11-15 | 2006-05-24 | 乐金电子(中国)研发开发中心有限公司 | Data carousel based data processing method |
US20120254917A1 (en) * | 2011-04-01 | 2012-10-04 | Mixaroo, Inc. | System and method for real-time processing, storage, indexing, and delivery of segmented video |
US20120263434A1 (en) * | 2011-04-14 | 2012-10-18 | Cisco Technology, Inc. | Per-Subscriber Adaptive Bit Rate Stream Management Method |
CN103051692A (en) * | 2012-12-11 | 2013-04-17 | 中国能源建设集团广东省电力设计研究院 | Mobile operation system working platform supporting extreme network environment |
CN103702178A (en) * | 2013-12-13 | 2014-04-02 | 乐视网信息技术(北京)股份有限公司 | Play method and electronic equipment |
CN105721954A (en) * | 2016-01-29 | 2016-06-29 | 北京奇艺世纪科技有限公司 | System and method for playing videos in turns |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114339267A (en) * | 2022-01-04 | 2022-04-12 | 广州虎牙科技有限公司 | File carousel streaming method and device and live streaming server |
CN114339267B (en) * | 2022-01-04 | 2024-09-20 | 广州虎牙科技有限公司 | File carousel push method and device and live push server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11508353B2 (en) | Real time popularity based audible content acquisition | |
US9781486B2 (en) | RS-DVR systems and methods for unavailable bitrate signaling and edge recording | |
CN114666308B (en) | Request-based encoding system and method for streaming content portions | |
CN102572557B (en) | Current device location advertisement distribution method and system | |
CN102547478B (en) | Triggered slice on-demand system and method of streaming media based on CDN (Content Distribution Network) | |
CN103348322A (en) | Information processing device, information processing method, and program | |
CN102640512A (en) | Bookmark calibration for video on demand applications incorporating dynamic advertising | |
CN102460500A (en) | Social graph playlist service | |
US20150003808A1 (en) | Network Storage Device and Method | |
CN108574666B (en) | Data stream scheduling method, device and system | |
CN105635758A (en) | Background management method for smart television desktop and server | |
KR100809641B1 (en) | Method for exchanging contents between heterogeneous system and contents management system for performing the method | |
WO2016107197A1 (en) | Network program recording method, device and system, and recorded-program playing method and device | |
CN102665096B (en) | System and method for wireless distribution system proxy caches | |
CN113873288A (en) | Method and device for generating playback in live broadcast process | |
CN108111871A (en) | A kind of carousel method and system | |
CN102546786A (en) | Method and system for variable-length access of multi-media files in content distribution network | |
CN102017648A (en) | Metadata generation management device, metadata generation system, integrated circuit for metadata generation management, metadata generation management method, and program | |
CN103686212A (en) | Data pushing method, pushing front end system, terminal device and digital television system | |
JP4454251B2 (en) | Content distribution system | |
JP2008306260A (en) | Digest reproducing device, and content distribution server | |
KR101528856B1 (en) | Contents receiving apparatus obtaining application control information and method thereof | |
CN106303587A (en) | A kind of method and device downloading audio, video data | |
CN101753237A (en) | Sending method, acquiring method, server, terminal and system of service guide | |
Allen | Digital Asset Management |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180601 |