CN109803169A - The method and system of multichannel multicast are realized based on network bandwidth - Google Patents
The method and system of multichannel multicast are realized based on network bandwidth Download PDFInfo
- Publication number
- CN109803169A CN109803169A CN201910073306.2A CN201910073306A CN109803169A CN 109803169 A CN109803169 A CN 109803169A CN 201910073306 A CN201910073306 A CN 201910073306A CN 109803169 A CN109803169 A CN 109803169A
- Authority
- CN
- China
- Prior art keywords
- list
- program
- network bandwidth
- channel
- cached
- 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.)
- Granted
Links
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The method and system of multichannel multicast are realized based on network bandwidth, the following steps are included: obtaining or calculating the bandwidth B max of current network, obtain preset channel list, it is cached since the 1st program channel number in list is x, video data is downloaded in the Hx of buffer zone, the code rate Cx of the 1st program is calculated.And so on, the sum of the code rate of multiple programs in preset channel list is successively obtained and calculates, until the sum of code rate stops close to after Bmax, the channel number collection of the multiple programs cached is combined into cache list J;When user's switching channels, if target channel number y is fallen in program caching list J, gives the video data of buffer zone Hy to decoder and be switched fast and played.So buffered video data can be directly obtained from caching in switching, avoid the problem that handoff delay, and can make full use of bandwidth to solve the problems, such as delay, improve the viewing experience of user.
Description
Technical field
The present invention relates to network video broadcastings, and the method for especially realizing network video multichannel multicast belongs to video data
Transmission and broadcasting control technology field.
Background technique
With the development of broadband speed-raising and video traffic, the demand that user watches IPTV network video increasingly rises.Live streaming
Function is a critical function and user's common function for IPTV network machine top box.Operator carry out network construction when
It waits, to ensure that user watches the Flow Experience of IPTV live video class business, usually independently goes out the bandwidth occupied needed for IPTV
Come.In China major part province, 100Mbps is had reached to the exclusive network bandwidth that IPTV is used, small part province has reached
200Mbps even 500Mbps.
Under normal conditions, the live streaming of IPTV is realized by multicast protocol.IPTV platform informs a series of programme televised lives pair
The corresponding multicast address of the program is added i.e. when user enters for the first time watches certain living broadcast of programs content in the multicast address answered
It may be viewed by live content.When user switches programme televised live, need by leaving multicast, closing multicast data flow, establish new multicast
A series of conversion that processes are just able to achieve program such as connect, download new video flowing.This whole process is than relatively time-consuming, at present
The processing capacity of the technical method and decoding chip known, it usually needs 1 second or so time.
And this point, for getting used to using conventional cable television almost without the user of the viewing experience of delay switching and
Speech, intimate delay in 1 second is unacceptable.
On the other hand, in a series of programme televised live, SD program also has high-definition program.Usual SD section object code
Rate about 2Mbps, the code rate of high-definition program about 8Mbps.Using the exclusive bandwidth of 100Mbps, 8Mbps high-definition live broadcasting view is watched
Frequently, there is waste to a certain extent to bandwidth, remaining bandwidth almost wastes.
In this way, delay length feels the slow experience of network speed, another when there is one side user switching program in practice
Aspect but has the case where a large amount of bandwidth is not used, is wasted.
Therefore, bandwidth resources how are made good use of, while multichannel group broadcasting program is added, so that user is when replacing program, energy
Switching is enough rapidly completed, period of reservation of number is greatly reduced, promotes user experience, is problem in the urgent need to address at present.
Summary of the invention
It is slow while a part of bandwidth waste in video-see scarce for program existing in the prior art switching reaction
It falls into, the purpose of the present invention is to provide a kind of method and system that multichannel multicast is realized based on network bandwidth.
To achieve the above objectives, the technical solution adopted by the present invention is that:
The present invention provides a kind of method for realizing multichannel multicast based on network bandwidth, which comprises the following steps:
According to priority height successively caches program in channel predetermined list, and the program video data that channel number is x is deposited
It stores up into buffer zone Hx, the stopping when being cached to network bandwidth and occupying to the limit, the programme contribution cached is combined into cache list;
If the channel number y of switching falls into the cache list, directly plays, otherwise play in the usual way;
If switching channels y does not fall into the cache list, the channel predetermined list is updated, by current play channel
It is set as other channel priority in highest priority and the corresponding adjustment channel predetermined list;
Currently playing channel number y as x and is repeated into above step.
The method provided by the invention for realizing multichannel multicast based on network bandwidth, can also have the following features:
Wherein, the channel predetermined list can be initialized as the arrangement of individual subscriber hobby or channel number size continuous arrangement is made
For priority sequence;
Updating the channel predetermined list priority is according to viewing history recently from closely to remote arrangement or according to viewing frequency
The arrangement of rate sequence is arranged according to viewing duration sequence.
The method provided by the invention for realizing multichannel multicast based on network bandwidth, can also have the following features:
Wherein, the capacity of each buffer zone Hx is greater than or equal to the first frame size of data of corresponding program.
The method provided by the invention for realizing multichannel multicast based on network bandwidth, can also have the following features:
It is cached to network bandwidth and occupies to the limit, network bandwidth that acquisition preset or in real time calculate determining using following manner
Bmax, if the sum of the program code rate in cache list is less than Bmax, but the sum of program code rate in cache list is intended with next
The sum of program code rate of cache list is added and is more than or equal to Bmax, then it is assumed that network bandwidth is occupied to the limit.
The method provided by the invention for realizing multichannel multicast based on network bandwidth, can also have the following features:
It is cached to network bandwidth occupancy and is determined to the limit using following manner, obtain mounted mass under the code stream of each channel
Dx, by the number of dropped packets of the data packet of real-time statistics each programs in video transmitting procedure in the unit time, when by unit
Interior number of dropped packets, which is used as, judges mounted mass Dx under the corresponding code stream of the program,
When unit time number of dropped packets of some program within continuous several periods is all unqualified, then it is assumed that Netowrk tape
Width, which occupies, arrives the limit.
The method provided by the invention for realizing multichannel multicast based on network bandwidth, can also have the following features:
Wherein, for program being played on, the corresponding buffer zone Hx of the program is increased, and video data is cached to
In corresponding buffer zone Hx.
The method provided by the invention for realizing multichannel multicast based on network bandwidth, can also have the following features:
When being cached to network bandwidth and occupying to the limit, then current channels list priority ranking is pressed to cache list, so
Reduce the buffer zone capacity of low priority program afterwards;Or release low priority program buffer zone and by it from cache list
Middle rejecting.
The present invention also provides a kind of systems for realizing multichannel multicast based on network bandwidth characterized by comprising
List cache module, is used for:
According to priority height successively caches program in channel predetermined list, and the program video data that channel number is x is deposited
It stores up into buffer zone Hx, the stopping when being cached to network bandwidth and occupying to the limit, the programme contribution cached is combined into cache list;
Switch playing module, be used for:
If switching channels y falls into the cache list, directly plays, otherwise play in the usual way;
List update module, is used for:
If switching channels y does not fall into the cache list, the channel predetermined list is updated, by current play channel
It is set as other channel priority in highest priority and the corresponding adjustment channel predetermined list;And
Repetitive controller module, is used for:
Currently playing channel number y as x and is repeated into above step.
The system provided by the invention for realizing multichannel multicast based on network bandwidth, can also have the following features:
It is cached to network bandwidth and occupies to the limit, network bandwidth that acquisition preset or in real time calculate determining using following manner
Bmax, if the sum of the program code rate in cache list is less than Bmax, but the sum of program code rate in cache list is intended with next
The sum of program code rate of cache list is added and is more than or equal to Bmax, then it is assumed that network bandwidth is occupied to the limit.
The system provided by the invention for realizing multichannel multicast based on network bandwidth, can also have the following features:
It is cached to network bandwidth occupancy and is determined to the limit using following manner, obtain mounted mass under the code stream of each channel
Dx, by the number of dropped packets of the data packet of real-time statistics each programs in video transmitting procedure in the unit time, when by unit
Interior number of dropped packets, which is used as, judges mounted mass Dx under the corresponding code stream of the program,
When unit time number of dropped packets of some program within continuous several periods is all unqualified, then it is assumed that Netowrk tape
Width, which occupies, arrives the limit.
Effect and beneficial effect of the invention is: what is provided according to the present invention realizes multichannel multicast based on network bandwidth
Method is cached since the corresponding channel number x video flowing of the 1st program in the channel list of pre-set priority, by video counts
According to downloading to buffer zone HxIn, calculate the code rate C of the 1st programx.And so on, it successively obtains and calculates preset channel column
The sum of the code rate of multiple programs in table after the 1st program, until the sum of code rate is close to BmaxAfter stop, with the multiple of caching
The channel number collection of program is combined into cache list J;When user's switching channels, if target channel number x falls in program caching list J
It is interior, by channel number x buffer zone HxVideo data give decoder and be switched fast and played, if target channel number y does not have
It falls in cache list J, currently playing channel number y as the 1st program updating channel list and is repeated into above step.
By caching other programs in some program and channel list for selecting, until the capacity of caching is close to current network
Bandwidth, so can switching when buffered video data is directly obtained from caching, avoid the problem that handoff delay, and can fill
Divide and solve the problems, such as delay using bandwidth, improves the viewing experience of user.
Further, once user is switched, the actual program y that will just switch is updated as the first priority program
The channel list of pre-set priority carries out caching to the program set near actual program and forms cache list J, so using
Family carries out jump switching, is also able to achieve real-time update, caches in real time, reaches and makes full use of bandwidth to cache to be switched fast nothing
The effect of delay.
Detailed description of the invention
Fig. 1 is the step schematic diagram for realizing the method for multichannel multicast in the embodiment of the present invention based on network bandwidth;
Fig. 2 is the interaction flow schematic diagram for the method that multichannel multicast is realized based on network bandwidth that user participates in;And
Fig. 3 is the functional block diagram for realizing the system of multichannel multicast in the embodiment of the present invention based on network bandwidth.
Specific embodiment
Before the particular content for illustrating the present invention program by embodiment, the thinking of first simplified summary invention:
When obtaining set-top box device normal use first, the total size B for the IPTV network bandwidth that can be monopolizedmax.Work as user
It watches some programme televised live and (when channel number x), parses the code rate size C of the video flowingx。
A channel list M is preset, list can recorde a series of favorite channel numbers of user, priority in the top
It is high.The favorite channel number of user can watch the relatively high program of frequency from user.The higher program of frequency is watched, it can be with
The television channel number information watched by counting user in each period and number count, and the higher then number of frequency is more.
By the channel list M of frequency statistics frequency dynamic can also be watched by user and generates this period pair according to different time sections
The channel list M answered.Channel number in channel list M can also be opened and be edited to user.Preset channel list M, there is three
Kind of situation: with watch the list of frequency sequence arrangement or with the continuously arranged list of program channel size, with user
People likes the list of arrangement.This channel list M is exactly to be arranged the channel number of program again according to default rule in fact
Column sequence, including sort (001,002,003,004 etc.) according to channel number, watch frequency sequence sort (005,009,
089,006 etc.) or individual subscriber fancy grade arranges (012,045,068 etc.).
For example the channel number in channel list M is followed successively by a, b, c ..., obtains the 1st channel number a of channel list M, creates
One piece of buffer zone Ha, and the multicast that channel number is a is added, the video flowing that channel number is a is downloaded into buffer zone HaIn, it will
Video data gives the parsing module of set-top box, parses the video stream bit rate size that channel number is a and is denoted as Ca.Obtain channel column
Second channel number b in table M, equally carries out step as above, parses Cb.If Ca+Cb<Bmax, indicate while program a and section be added
Mesh b multicast simultaneously downloads this two-path video stream simultaneously, does not exceed IPTV network bandwidth.
Newly-built buffer zone is repeated to the step of parsing video code rate and calculate summation, calculates Ca+Cb+Cc+ ... until this
The summation of a little program code rates is close to Bmax(such as the code rate of next high-definition program is 8Mbps, it is assumed that BmaxFor 100Mpbs, if
Summation has reached 93Mpbs at this time, then it is assumed that already close to Bmax.The 93Mpbs+8Mbps=if adding at this time
101Mbps has then been more than Bmax100Mbps certainly exist the problem of bandwidth deficiency if multi-path download multicast data flow at this time).This
The channel set cached a bit is J.
It is complete I frame data because needing first frame when set-top box device starts and shows image, so buffer zone is big
It is small to meet in the video flowing including a complete I frame.When user switches program, arranged to the channel number y of switching in caching
It in table J and labeled has cached, then it represents that the channel number of syllabus is that the video flowing of y has been saved in caching HyIt suffers.Directly from
Cache HyMiddle reading data, first frame picture can quickly be shown by giving player decoding.
Increase the buffer zone H for being playing programy, using channel number y as highest priority, update channel list M again
With cache list J, the normal play of actual program is can be realized in the caching of the channel number of reduction or release low priority, can also
Realize the recycling to buffer zone.
When user's switching channels, as the program y of switching, falls in above-mentioned cache list J, then play actual program.If will
Currently playing channel number y is not fallen in above-mentioned cache list J, then using y as the program of highest priority and repeat more than
Step.
According to scheme as above, then the method for the invention that multichannel multicast is realized based on network bandwidth is realized, it is clear that the party
The operation of method can make user when switching program, quickly show first frame image, and smooth playing.
Invention is further described in detail with reference to the accompanying drawings and embodiments.
Embodiment 1
Fig. 1 is the step schematic diagram for realizing the method for multichannel multicast in the embodiment of the present invention based on network bandwidth.
As shown in Figure 1, the method provided in this embodiment for realizing multichannel multicast based on network bandwidth has following step
S1-S4。
Step S1, according to priority height successively caches program in channel predetermined list, the program video for being x by channel number
Data are stored into buffer zone Hx, and the stopping when being cached to network bandwidth and occupying to the limit, the programme contribution cached is combined into slow
Deposit list J.
Obtain preset channel list and current network bandwidth Bmax.Since channel predetermined list the 1st program
Newly-built buffer zone, the corresponding video of the channel list intermediate frequency Taoist monastic name is successively flowed down and is downloaded in corresponding buffer zone, and
The video data of caching is parsed, the video stream bit rate of corresponding channel number is obtained.
Network bandwidth BmaxBe then by it is being known in advance or by code rate and downloading Mass Calculation learn.
The sum of the code rate of the multiple programs cached in the preset channel list is obtained and calculated one by one, until described
The sum of code rate is close to BmaxAfter stop, and the collection of any buffered program recorded at this time is combined into cache list J.
When the sum of code rate of multiple programs cached in the channel list is less than network bandwidth Bmax, and described
Next program is cached in channel list, if the sum of code rate of the code rate of the multiple programs cached and next program is greater than net
Network bandwidth BmaxWhen, that is, determine that the sum of described code rate is close to B at this timemax.Such as the code rate of next high-definition program is 8Mbps, it is false
If BmaxFor 100Mpbs, if summation has reached 93Mpbs at this time, then it is assumed that already close to Bmax.If adding at this time
93Mpbs+8Mbps=101Mbps has then been more than Bmax100Mbps, if multi-path download multicast data flow at this time, certainly exists bandwidth
Insufficient problem.At least there are three types of forms by channel list M:
Form one, to watch the list of frequency sequence arrangement;
Form two is to start with actual program channel number, continuously arranged list by size;
Form three, with the list of individual subscriber hobby arrangement.
This channel list in fact exactly carries out the channel number of program according to default rule to rearrange sequence, including
According to channel number sequence (001,002,003,004 etc.), viewing frequency sequence sequence (005,009,089,006 etc.) or
Individual subscriber fancy grade arranges (012,045,068 etc.).This preset channel list is arbitrary.
Wherein, the capacity of each buffer zone Hx is greater than or equal to the first frame size of data of corresponding program, such ability
So that play it is more smooth, at least can the preview program first frame picture.
Step S2 is directly played, is otherwise played in the usual way if the channel number y of switching falls into the cache list.
When user is switched to target channel number y, judge the channel number whether in program caching list J, if it is determined that
It as a result is just directly to be decoded broadcasting after reading in corresponding buffer zone Hy, and by the channel as channel list
First, and adjust list.
In this case, for program being played on, under the buffer zone for increasing the program, and video data is delayed
It is stored in corresponding buffer zone Hy;
For in cache list, by current channels list priority ranking, the buffer zone for reducing low priority program holds
Amount;Or it discharges the buffer zone of low priority program and rejects it from cache list.
For example, position of the y program in different channel list M may be different when being switched to y-th of program.
Such as sort (001,002,003,004 etc.) according to channel number, current cache list J is (001,002,003,004,005).Switching
It is 005 to certain program y, such as by the y program that channel number sorts, adjustment channel list is (005,004,003,002,001
Deng), if C001+C002+C003+C004+C005>BmaxIt so can be by the corresponding caching of No. 001 program in cache list J far from 005
H001Release increases the caching H that channel number is 005005。
If it is determined that not existing, enter in next step.
Directly play be exactly directly from corresponding buffer zone Hy call after directly play, otherwise in the usual way be from
It is played out after being downloaded in real time in broadband.
Step S3 updates the channel predetermined list if switching channels y does not fall into the cache list, will be current
Broadcasting channel is set as other channel priority in highest priority and the corresponding adjustment channel predetermined list.
When user is switched to target channel number y not in program caching list J, using current goal channel number as channel column
The highest priority of table, and adjust channel list and enter in next step.
For example, when be switched to y-th of section currently, current channel list M by the sequence of viewing frequency sequence (005,
009,089,006 etc.), corresponding cache list J is (005,009,089,006).
If y program is 008, not in current cache list J, then update channel list M be (008,005,009,089,
006 etc.), if C at this time005+C009+C089+C006+C008>Bmax, then by the corresponding caching H of No. 006 channel of low priority006It releases
It puts, increases the caching H that channel number is 008008。
Update the channel predetermined list priority be can also be according to nearest viewing history from closely to remote arrangement or or root
It is arranged according to viewing duration sequence.
Currently playing channel number y as x and is repeated above step by step S4.
Above step S1 using currently playing channel number y as x and is at least repeated, new program caching list J is obtained.
Embodiment 2
The sum of code rate of all programs is close to the network bandwidth Bmax, there are two types of situation, the case where above-described embodiment one only
It is that the sum of code rate is less than Bmax, i.e. enough situations of network bandwidth, but under certain conditions, it may appear that inadequate situation, it is real below
Example two is applied just in the normality of embodiment one, introduces the processing of inadequate exceptional situation.
Which kind of first have to judge under situation, original network bandwidth is inadequate relative to existing program caching list J
, it is realized by the process included the following steps:
In the code rate C for obtaining x-th of programxAnd current network bandwidth BmaxWhen, also mounted mass D under acquisition code streamx。
It, will be single by the number of dropped packets of the data packet of real-time statistics each programs in video transmitting procedure in the unit time
Number of dropped packets in the time of position is as mounted mass D under the corresponding code stream of the program is judged, when some program is in continuous several weeks
When unit time number of dropped packets in phase is all unqualified, i.e. the sum of the code rate of judgement actual program cache list J is greater than network bandwidth
Bmax.Specifically, the network flow monitor of set-top box reports the variation of lower mounted mass, if the lower mounted mass of any one program
Frequent report quality is poor: the present embodiment is subject to 3 monitoring periods, if continuously there is certain program view in the time in 3 monitoring periods
Mounted mass is all poor under frequency, then poor for frequent report quality, is considered as the network bandwidth i.e. code rate of program caching list J at this time
The sum of reach or more than IPTV network bandwidth total size Bmax.The detection of the network flow monitor of set-top box is in real time 5
Second reports primary, i.e., is within 5 seconds a cycle, and the present embodiment is to be subject to continuous 3 periods to be judged, certain actual operation
In the process, it can require to be set as other report cycles according to network condition or for the different of mounted mass under program video
With continuous monitoring number of cycles.In actual operational process, in order to obtain preferable video download quality, it is proposed that at least connect
Continue 3 periods, very little (such as 2 periods) effect can be weaker.
Then, when in original program caching list J the sum of code rate of program be greater than network bandwidth BmaxWhen, program is delayed
It deposits in list J, corresponds to the caching of the downloading in buffer zone far from the program of the 1st program by channel list priority ranking and release
It puts, and the capacity for vacating corresponding buffer zone is used for other programs.Actual operating result is exactly to arrange program caching in fact
The minimum program caching of priority in table J relative to top line discharges.If the lower mounted mass of all programs is,
Then think that network bandwidth is not up to the total size B of IPTV network bandwidthmax。
Specific operation process, which is exchanged, below by way of user's progress program to explain user's operation and set-top box progress in detail instead
The specific interactive process that should be acted.
Fig. 2 is the interaction flow schematic diagram for the method that multichannel multicast is realized based on network bandwidth that user participates in, specifically such as
Under:
S101: it in set-top box, initializes a current channel x and is the channel list M of highest priority, and cached frequency
The cache list J in road is sky, and set-top box will successively cache corresponding channel, and the channel that success is cached according to channel list M
Number it is included in cache list J in order.Code rate size corresponding to channel number x is denoted as Cx, and mounted mass is denoted as under the code stream of channel number x
Dx。
S102: when user watches IPTV programme televised live, (channel number x) creates one piece of buffer zone Hx, for caching
The video flowing downloaded from playing platform.
S103: video content download to Hx is subjected to video parsing, parses the code rate Cx of video.
S104: the network flow monitor S that newly-built channel number is xxAnd lower mounted mass Dx.Network flow monitor passes through reality
The network packet of this road transmission of video of Shi Tongji, judges whether frequent packet loss, to judge the quality of lower mounted mass, records charge material
Amount is Dx.Channel x addition channel list J has been cached into (under normal circumstances, the caching of first channel will not send one's regards to topic)
S105: operating next channel number a in channel list M, creates one piece of buffer zone Ha, for caching
The video flowing downloaded from playing platform.
S106: New-deployed Network flow monitor SaAnd lower mounted mass Da.By counting the network packet of this road transmission of video, sentence
It is disconnected whether frequent packet loss, to judge the quality of lower mounted mass, recording mounted mass is Da。
S107: video is subjected to video parsing, parses the code rate C of videoa。
S108: all-network flow monitor (Sx, Sa...) report the variation of lower mounted mass.
S109: if the lower mounted mass of any one program frequently reports difference, then it is assumed that network bandwidth reaches or more than IPTV
The total size B of network bandwidthmax。
S110: the channel number and corresponding caching that the last one is added at this time discharge, and by this channel number from caching
It is removed in list J.
S111: the sum of all code rates in existing cache list J are calculated, the B of infinite approach can be obtainedmax。
S112: if the lower mounted mass of all programs is, then it is assumed that network bandwidth is not up to the total of IPTV network bandwidth
Size Bmax, cache list J is added in current cache channel number.
S113: repeating above S105 to the S112 process, and can be completed with x-th of channel number is the channel list M started, according to
It is secondary when being cached to bandwidth availability ratio highest, the record of cache list J.
S114: user switches program (assuming that target channel number is y).
S115: judge channel number y with the presence or absence of in program caching list J.
S116: if S115 judges channel number y there are in program caching list J, directly by buffer zone HyData give
Player decoding so can quickly play video, and adjust channel list M by highest priority of channel number y.
S117: expand buffer zone HyTo suitable value.(present example is to extend to 16MB from 2MB).
S118: by cache list J, according to the frequency in current channels list M relative to current channel lowest priority
Road corresponds to buffer zone and is reduced to minimum value (present example is 2MB).
S119: if S115 judges that channel number y there is no in program caching list J, updates program by top line of y
Channel list M deletes cache list J according to the channel number in current channels list M relative to current channel lowest priority
It removes, and discharges corresponding caching.
S120: being the channel list M of the first priority according to the channel number of the program y generated in S119, successively will be higher
Priority program is added in program caching list J according to the process of S102 to S112.
Embodiment 3
Fig. 3 is the functional block diagram for realizing the system of multichannel multicast in the embodiment of the present invention based on network bandwidth.
As shown in figure 3, the present embodiment also provides a kind of system for realizing multichannel multicast based on network bandwidth, which can be with
It operates in set-top box, including list cache module 100, switching playing module 200, list update module 300, Repetitive controller mould
Block 400.
List cache module 100, is used for:
According to priority height successively caches program in channel predetermined list, and the program video data that channel number is x is deposited
It stores up into buffer zone Hx, the stopping when being cached to network bandwidth and occupying to the limit, the programme contribution cached is combined into cache list.
Switch playing module 200, be used for:
If switching channels y falls into the cache list, directly plays, otherwise play in the usual way.
List update module 300, is used for:
If switching channels y does not fall into the cache list, the channel predetermined list is updated, by current play channel
It is set as other channel priority in highest priority and the corresponding adjustment channel predetermined list.
Repetitive controller module 400, is used for:
Currently playing channel number y as x and is repeated into above step.
It is cached to network bandwidth and occupies to the limit, network bandwidth that acquisition preset or in real time calculate determining using following manner
Bmax, if the sum of the program code rate in cache list is less than Bmax, but the sum of program code rate in cache list is intended with next
The sum of program code rate of cache list is added and is more than or equal to Bmax, then it is assumed that network bandwidth is occupied to the limit.
It is cached to network bandwidth occupancy and is determined to the limit using following manner, obtain mounted mass under the code stream of each channel
Dx, by the number of dropped packets of the data packet of real-time statistics each programs in video transmitting procedure in the unit time, when by unit
Interior number of dropped packets is as mounted mass Dx under the corresponding code stream of the program is judged, when some program is within continuous several periods
Unit time number of dropped packets it is all unqualified when, then it is assumed that network bandwidth is occupied to the limit.
The effect of embodiment and effect are: the side that multichannel multicast is realized based on network bandwidth provided according to embodiment
Method is cached since the corresponding channel number x video flowing of the 1st program in the channel list of pre-set priority, by video data
Download to buffer zone HxIn, calculate the code rate C of the 1st programx.And so on, it successively obtains and calculates preset channel list
In multiple programs after the 1st program the sum of code rate, until the sum of code rate is close to BmaxAfter stop, with multiple sections of caching
Purpose channel number collection is combined into cache list J;When user's switching channels, if target channel number x is fallen in program caching list J,
By channel number x buffer zone HxVideo data give decoder and be switched fast and played, if target channel number y is not fallen
In cache list J, currently playing channel number y as the 1st program updating channel list and is repeated into above step.Pass through
Other programs in selected some program and channel list are cached, until caching capacity close to current network band
Width so can directly obtain buffered video data in switching from caching, avoid the problem that handoff delay, and can be sufficiently sharp
Delay is solved the problems, such as with bandwidth, improves the viewing experience of user.
Further, once user is switched, the actual program y that will just switch is updated as the first priority program
The channel list of pre-set priority carries out caching to the program set near actual program and forms cache list J, so using
Family carries out jump switching, is also able to achieve real-time update, caches in real time, reaches and makes full use of bandwidth to cache to be switched fast nothing
The effect of delay.
Compared to traditional approach, such as under the bandwidth of 100Mbps, the video flowing of only 2Mbps or 8Mbps, this programme pair
The use of network bandwidth can rise towards maximum bandwidth, and bandwidth utilization rate is expanded to 10 times or more;
On the one hand it is advantageous in that switching program response speed is fast using bring of the present invention, the user experience is improved.We
Case realizes that multichannel multicast is downloaded simultaneously, when user switches program, does not need to exit original program connection again, create newly
Connection, the processes such as re-download.But directly give target program video caching to decoder and be decoded, it saves and asks
The processes such as seek, download, thus the response speed saved the time, improve switching program;
Multichannel multicast, channel list dynamic can match.Realize that multichannel multicast is downloaded simultaneously according to network bandwidth.The channel of downloading
List is added according to the code rate dynamic of program, and there are many kinds of for example for mode: it can be added with actual program to surrounding program dynamic,
The favorite addition list of user can also can also will be watched into the higher addition list of program frequencies.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from
Under the premise of the principle of the invention, several improvements and modifications can also be made, these improvements and modifications are also considered as protection of the invention
Within the scope of.The content being not described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.
Claims (10)
1. a kind of method for realizing multichannel multicast based on network bandwidth, which comprises the following steps:
According to priority height successively caches program in channel predetermined list, and the program video data storage that channel number is x is arrived
In the Hx of buffer zone, the stopping when being cached to network bandwidth and occupying to the limit, the programme contribution cached is combined into cache list;
If the channel number y of switching falls into the cache list, directly plays, otherwise play in the usual way;
If switching channels y does not fall into the cache list, the channel predetermined list is updated, current play channel is arranged
For other channel priority in highest priority and the corresponding adjustment channel predetermined list;
Currently playing channel number y as x and is repeated into above step.
2. the method according to claim 1 for realizing multichannel multicast based on network bandwidth, it is characterised in that:
Wherein, the channel predetermined list can be initialized as the arrangement of individual subscriber hobby or channel number size continuous arrangement as excellent
First grade sequence;
Updating the channel predetermined list priority is according to nearest viewing history from closely to remote arrangement or according to viewing frequency height
Low sequence arrangement is arranged according to viewing duration sequence.
3. the method according to claim 1 for realizing multichannel multicast based on network bandwidth, it is characterised in that:
Wherein, the capacity of each buffer zone Hx is greater than or equal to the first frame size of data of corresponding program.
4. the method according to claim 1 for realizing multichannel multicast based on network bandwidth, it is characterised in that:
It is cached to network bandwidth and occupies to the limit, network bandwidth B that acquisition preset or in real time calculate determining using following mannermax,
If the sum of program code rate in cache list is less than Bmax, but the sum of program code rate in cache list delays with next quasi- be added
The sum of program code rate of list is deposited more than or equal to Bmax, then it is assumed that network bandwidth is occupied to the limit.
5. the method according to claim 1 for realizing multichannel multicast based on network bandwidth, it is characterised in that:
It is cached to network bandwidth occupancy and is determined to the limit using following manner, obtain mounted mass Dx under the code stream of each channel, lead to
The number of dropped packets for crossing the data packet of real-time statistics each programs in video transmitting procedure in the unit time, will be in the unit time
Number of dropped packets, which is used as, judges mounted mass Dx under the corresponding code stream of the program,
When unit time number of dropped packets of some program within continuous several periods is all unqualified, then it is assumed that network bandwidth accounts for
Use the limit.
6. the method according to claim 1 for realizing multichannel multicast based on network bandwidth, it is characterised in that:
Wherein, for program being played on, the corresponding buffer zone H of the program is increasedx, and video data is cached to correspondence
Buffer zone HxIn.
7. the method for realizing multichannel multicast based on network bandwidth according to any one of claim 5 to 6, feature exist
In:
When being cached to network bandwidth and occupying to the limit, then current channels list priority ranking is pressed to cache list, then subtracted
The buffer zone capacity of small low priority program;Or it discharges the buffer zone of low priority program and picks it from cache list
It removes.
8. a kind of system for realizing multichannel multicast based on network bandwidth characterized by comprising
List cache module, is used for:
According to priority height successively caches program in channel predetermined list, and the program video data storage that channel number is x is arrived
In the Hx of buffer zone, the stopping when being cached to network bandwidth and occupying to the limit, the programme contribution cached is combined into cache list;
Switch playing module, be used for:
If switching channels y falls into the cache list, directly plays, otherwise play in the usual way;
List update module, is used for:
If switching channels y does not fall into the cache list, the channel predetermined list is updated, current play channel is arranged
For other channel priority in highest priority and the corresponding adjustment channel predetermined list;And
Repetitive controller module, is used for:
Currently playing channel number y as x and is repeated into above step.
9. the system according to claim 8 for realizing multichannel multicast based on network bandwidth, it is characterised in that:
It is cached to network bandwidth and occupies to the limit, network bandwidth B that acquisition preset or in real time calculate determining using following mannermax,
If the sum of program code rate in cache list is less than Bmax, but the sum of program code rate in cache list delays with next quasi- be added
The sum of program code rate of list is deposited more than or equal to Bmax, then it is assumed that network bandwidth is occupied to the limit.
10. the system according to claim 8 for realizing multichannel multicast based on network bandwidth, it is characterised in that:
It is cached to network bandwidth occupancy and is determined to the limit using following manner, obtain mounted mass Dx under the code stream of each channel, lead to
The number of dropped packets for crossing the data packet of real-time statistics each programs in video transmitting procedure in the unit time, will be in the unit time
Number of dropped packets, which is used as, judges mounted mass Dx under the corresponding code stream of the program,
When unit time number of dropped packets of some program within continuous several periods is all unqualified, then it is assumed that network bandwidth accounts for
Use the limit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910073306.2A CN109803169B (en) | 2019-01-25 | 2019-01-25 | Method and system for realizing multi-path multicast based on network bandwidth |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910073306.2A CN109803169B (en) | 2019-01-25 | 2019-01-25 | Method and system for realizing multi-path multicast based on network bandwidth |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109803169A true CN109803169A (en) | 2019-05-24 |
CN109803169B CN109803169B (en) | 2021-11-30 |
Family
ID=66560388
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910073306.2A Active CN109803169B (en) | 2019-01-25 | 2019-01-25 | Method and system for realizing multi-path multicast based on network bandwidth |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109803169B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111726673A (en) * | 2020-06-22 | 2020-09-29 | 青岛海信传媒网络技术有限公司 | Channel switching method and display device |
CN114449357A (en) * | 2020-11-02 | 2022-05-06 | 青岛海信宽带多媒体技术有限公司 | Method, device and terminal for optimizing IPTV multicast channel switching |
CN115734030A (en) * | 2022-12-14 | 2023-03-03 | 海看网络科技(山东)股份有限公司 | Method for accelerating mobile terminal to acquire live channel program list |
CN115842928A (en) * | 2021-09-18 | 2023-03-24 | 腾讯科技(深圳)有限公司 | Video code rate switching method and device, computer equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150112988A1 (en) * | 2008-06-18 | 2015-04-23 | Zeitera, Llc | Distributed and Tiered Architecture for Content Search and Content Monitoring |
CN104822084A (en) * | 2015-04-30 | 2015-08-05 | 华南理工大学 | Concurrent-stream-based rapid channel switching method of P2P real-time playing system |
CN104837056A (en) * | 2014-02-10 | 2015-08-12 | 中兴通讯股份有限公司 | Method and device for switching network television programs, and television system |
-
2019
- 2019-01-25 CN CN201910073306.2A patent/CN109803169B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150112988A1 (en) * | 2008-06-18 | 2015-04-23 | Zeitera, Llc | Distributed and Tiered Architecture for Content Search and Content Monitoring |
CN104837056A (en) * | 2014-02-10 | 2015-08-12 | 中兴通讯股份有限公司 | Method and device for switching network television programs, and television system |
CN104822084A (en) * | 2015-04-30 | 2015-08-05 | 华南理工大学 | Concurrent-stream-based rapid channel switching method of P2P real-time playing system |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111726673A (en) * | 2020-06-22 | 2020-09-29 | 青岛海信传媒网络技术有限公司 | Channel switching method and display device |
CN111726673B (en) * | 2020-06-22 | 2022-12-13 | Vidaa(荷兰)国际控股有限公司 | Channel switching method and display device |
CN114449357A (en) * | 2020-11-02 | 2022-05-06 | 青岛海信宽带多媒体技术有限公司 | Method, device and terminal for optimizing IPTV multicast channel switching |
CN115842928A (en) * | 2021-09-18 | 2023-03-24 | 腾讯科技(深圳)有限公司 | Video code rate switching method and device, computer equipment and storage medium |
CN115842928B (en) * | 2021-09-18 | 2024-03-12 | 腾讯科技(深圳)有限公司 | Video code rate switching method, device, computer equipment and storage medium |
CN115734030A (en) * | 2022-12-14 | 2023-03-03 | 海看网络科技(山东)股份有限公司 | Method for accelerating mobile terminal to acquire live channel program list |
CN115734030B (en) * | 2022-12-14 | 2024-01-26 | 海看网络科技(山东)股份有限公司 | Method for accelerating mobile terminal to acquire live channel program list |
Also Published As
Publication number | Publication date |
---|---|
CN109803169B (en) | 2021-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109803169A (en) | The method and system of multichannel multicast are realized based on network bandwidth | |
CN101917389B (en) | Network television direct broadcasting system | |
US5778137A (en) | Videostream management system | |
CN102177691B (en) | Reduce the system and method for media stream delay | |
CN1842160B (en) | Rapid media channel changing mechanism and access network node comprising same | |
JP3907839B2 (en) | Broadcast system | |
CN101466034A (en) | Method and device for sending and playing stream medium data and stream medium program request system | |
US20020188943A1 (en) | Digital interactive system for providing full interactivity with live programming events | |
CN107547940A (en) | Video playback processing method, equipment and computer-readable recording medium | |
CN110225420A (en) | A kind of broadcasting/decision-making technique/system, plays end and server-side at medium | |
CN101321275B (en) | System and method for processing video stream | |
CN1889558B (en) | Program channel difference processing method in IPIV bearing network | |
US20030135605A1 (en) | User rating feedback loop to modify virtual channel content and/or schedules | |
CN107277554B (en) | A kind of method of time shift program unicast conversion multicast | |
CN107566918A (en) | A kind of low delay under video distribution scene takes the neutrel extraction of root | |
CN1886986A (en) | A broadcast method and system for digital program | |
CN101198047A (en) | Television broadcasting method and system | |
CN101170691A (en) | A method, system and STB for monitoring IPTV service quality | |
CN107666593A (en) | A kind of realtime video transmission method under fluctuation network environment | |
CN107071549A (en) | Many player fast switch over method, device and storage medium under single decoder | |
CN101212443A (en) | Stream switching based advertisement insertion system and implementation method | |
CN101710968A (en) | Method for sharing and watching requested programmes through bidirectional set-top box and digital television broadcasting system thereof | |
EP1380171A2 (en) | System and method for inserting video and audio packets into a video transport stream | |
CN101202885B (en) | Method and apparatus for broadcasting television channel | |
JP5045715B2 (en) | Broadcast receiver |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |