CN101808239A - Method for controlling TS flow broadcasting and device - Google Patents
Method for controlling TS flow broadcasting and device Download PDFInfo
- Publication number
- CN101808239A CN101808239A CN201010115857A CN201010115857A CN101808239A CN 101808239 A CN101808239 A CN 101808239A CN 201010115857 A CN201010115857 A CN 201010115857A CN 201010115857 A CN201010115857 A CN 201010115857A CN 101808239 A CN101808239 A CN 101808239A
- Authority
- CN
- China
- Prior art keywords
- buffer memory
- flow
- time
- flow buffer
- stream
- 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
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a method for controlling TS flow broadcasting and a device, which belong to the technical field of digital television. The method comprises the following steps: obtaining the TS flow buffer memory time and the TS flow pack number; obtaining the TS flow velocity according to the TS flow buffer memory time and the TS flow pack number; judging whether the TS flow needs to be regulated or not according to the TS flow buffer memory time and the TS flow buffer memory preset threshold value; regulating the TS flow velocity if the TS flow velocity needs to be regulated; and broadcasting the TS flow according to the current TS flow velocity if the TS flow velocity does not need to be regulated. Through the technical scheme, the regulation on the TS flow velocity is realized, and the control on the flow rate of the TS flow is further realized, so user terminals can receive the smooth TS flow, and the use experience of users can be improved.
Description
Technical field
The present invention relates to the digital television techniques field, the method and apparatus that particularly a kind of TS of control spreads and.
Background technology
Along with the development of digital television techniques,, proposed in the prior art by optical fiber or gigabit Ethernet transmission of digital TS stream in order to improve the transmission rate of TS (Transport Stream, transport stream) stream.In the transmission course of TS stream,, promptly once transmit several milliseconds-several seconds TS stream for the transmission rate that improves TS stream adopts the pattern of burst transfer mostly.
The inventor finds in realizing process of the present invention, prior art has the following disadvantages at least: because the clock that broadcasts and the clock of Network Transmission there are differences, when adopting the mode transfer numeral TS stream of burst transfer, if the TS flow rate that broadcasts is fast, will occurs not having TS to spread after a period of time and the phenomenon of pause promptly occur; If the TS flow rate that broadcasts is slow partially, then the phenomenon that buffer overflows can appear, and make user terminal can not receive TS stream smoothly, the phenomenon of mosaic can appear occurring in paraphonia or the video when causing the user to watch program.
Summary of the invention
In order to guarantee that user terminal can receive TS stream smoothly, improve user's experience, the embodiment of the invention has proposed the method and apparatus that a kind of TS of control spreads and, and described technical scheme is as follows:
On the one hand, the method that the embodiment of the invention provides a kind of TS of control to spread and, described method comprises:
Obtain the quantity of TS flow buffer memory time, TS stream bag;
Quantity according to described TS flow buffer memory time, described TS stream bag is obtained the TS flow rate;
Predetermined threshold value according to described TS flow buffer memory time, TS flow buffer memory judges whether described TS flow rate is adjusted, if then described TS flow rate is adjusted; Otherwise, broadcast according to current described TS flow rate.
The described quantity of obtaining TS flow buffer memory time, TS stream bag specifically comprises:
Obtain the timestamp information in each Program Clock Reference bag, from described timestamp information, obtain described TS flow buffer memory time;
Obtain the quantity of the described TS stream bag between per two Program Clock Reference bags.
Described quantity according to described TS flow buffer memory time, described TS stream bag is obtained the TS flow rate, specifically comprises:
Described TS flow rate equals the quantity of described TS stream bag divided by described TS flow buffer memory time.
Described predetermined threshold value according to described TS flow buffer memory time, TS flow buffer memory judges whether described TS flow rate is adjusted, if then described TS flow rate is adjusted; Otherwise, broadcast according to current described TS flow rate, specifically comprise:
If described TS flow buffer memory time is not equal to the predetermined threshold value of described TS flow buffer memory, then judged result is for being;
If described TS flow buffer memory time equals the threshold value of described preset buffer memory TS stream, then judged result is for denying.
Again on the one hand, the device that the embodiment of the invention provides a kind of TS of control to spread and, described device comprises:
First acquisition module is used to obtain the quantity of TS flow buffer memory time, TS stream bag;
Second acquisition module is used for obtaining the TS flow rate according to the quantity of described TS flow buffer memory time, described TS stream bag;
Judge module is used for judging whether described TS flow rate is adjusted according to the predetermined threshold value of described TS flow buffer memory time, TS flow buffer memory;
Processing module is if be used for result that described judge module judges for being then described TS flow rate to be adjusted; Otherwise, broadcast by current described TS flow rate.
Described first acquisition module specifically comprises:
First acquiring unit is used for obtaining the timestamp information of each Program Clock Reference bag, obtains described TS flow buffer memory time from described timestamp information;
Second acquisition unit is used to obtain the quantity that the TS stream between per two Program Clock Reference bags wraps.
Described second acquisition module specifically comprises:
First acquiring unit is used to obtain described TS flow rate, and described TS flow rate equals the quantity of described TS stream bag divided by described TS flow buffer memory time.
Described judge module specifically comprises:
First judging unit, if be used for the predetermined threshold value that described TS flow buffer memory time is not equal to described TS flow buffer memory, then judged result is for being;
Second judging unit, if be used for the predetermined threshold value that described TS flow buffer memory time equals described TS flow buffer memory, then judged result is for denying.
The beneficial effect of the technical scheme that the embodiment of the invention provides is:
Compare by predetermined threshold value TS flow buffer memory time and TS flow buffer memory, judge whether the TS flow rate is adjusted, if the predetermined threshold value of TS flow buffer memory time and TS flow buffer memory is unequal, then the TS flow rate is adjusted, otherwise broadcasted according to current TS stream speed.By such scheme, realized adjustment, and then realized the flow of TS stream is controlled the TS flow rate, make user terminal can receive TS stream smoothly, improved user's experience.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the method flow diagram that control TS that the embodiment of the invention 1 provides spreads and;
Fig. 2 is the method flow diagram that control TS that the embodiment of the invention 2 provides spreads and;
Fig. 3 is the schematic diagram of the computational methods that provide of the embodiment of the invention 2;
Fig. 4 is the structural representation of the 8QAM that provides of the embodiment of the invention 2;
Fig. 5 is the device schematic diagram that control TS that the embodiment of the invention 3 provides spreads and;
Fig. 6 is another schematic diagram of device that control TS that the embodiment of the invention 3 provides spreads and;
Fig. 7 is another schematic diagram of device that control TS that the embodiment of the invention 3 provides spreads and;
Fig. 8 is another schematic diagram of device that control TS that the embodiment of the invention 3 provides spreads and.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment 1
In order to guarantee that user terminal can receive TS stream smoothly, improve user's experience, the embodiment of the invention has proposed the method that a kind of TS of control spreads and, and referring to Fig. 1, particular content is as follows:
101: the quantity of obtaining TS flow buffer memory time, TS stream bag;
102: the quantity according to TS flow buffer memory time, TS stream bag is obtained the TS flow rate;
103: the predetermined threshold value according to TS flow buffer memory time, TS flow buffer memory judges whether the TS flow rate is adjusted, if then the TS flow rate is adjusted; Otherwise, broadcast according to current TS stream speed.
Further, obtain the quantity of TS flow buffer memory time, TS stream bag, specifically comprise:
Obtain the timestamp information in each Program Clock Reference bag, from timestamp information, obtain TS flow buffer memory time;
Obtain the quantity of the TS stream bag between per two Program Clock Reference bags.
Further, obtain the TS flow rate, specifically comprise according to the quantity of TS flow buffer memory time, TS stream bag:
The TS flow rate equals the quantity of TS stream bag divided by TS flow buffer memory time.
Further, judge whether the TS flow rate is adjusted according to the predetermined threshold value of TS flow buffer memory time, TS flow buffer memory, if then the TS flow rate is adjusted; Otherwise, broadcast according to current TS stream speed, specifically comprise:
If TS flow buffer memory time is not equal to the predetermined threshold value of TS flow buffer memory, then judged result is for being;
If TS flow buffer memory time equals the predetermined threshold value of TS flow buffer memory, then judged result is for denying.
In sum, the method that the embodiment of the invention provides a kind of TS of control to spread and, compare by predetermined threshold value TS flow buffer memory time and TS flow buffer memory, judge whether the TS flow rate is adjusted, if the predetermined threshold value of TS flow buffer memory time and TS flow buffer memory is unequal, then the TS flow rate is adjusted, otherwise broadcasted according to current TS stream speed.By such scheme, realized adjustment, and then realized the flow of TS stream is controlled the TS flow rate, make user terminal can receive TS stream smoothly, improved user's experience.
For the method that the invention described above embodiment is provided describes, see also following embodiment.
Embodiment 2
In order to guarantee that user terminal can receive TS stream smoothly, improve user's experience, the embodiment of the invention has proposed the method that a kind of TS of control spreads and, and referring to Fig. 2, particular content is as follows:
201: controller is provided with the predetermined threshold value of storage TS stream;
Particularly, above-mentioned predetermined threshold value is specially the time gate limit value, and controller is provided with the quantity of time gate limit value according to the TS flow rate of broadcast items.For example: 3 time gate limit values can be set, be respectively time upper limit value, time normal value, time lower limit; 2 time gate limit values can also only be set, be respectively time upper limit value, time normal value; Or a time gate limit value only is set, be the time normal value.During specific implementation, the embodiment of the invention does not limit this.
In the practical application, controller comes the occurrence of design time threshold value according to the capacity of buffer, adopting the capacity of buffer in the embodiment of the invention is 512M, is that example describes with 3 time gate limit values, wherein, 3 time gate limit values are respectively: the time upper limit value is 9 seconds, the time normal value is 6 seconds, and the time lower limit is 3 seconds, can also be designed to other value, during specific implementation, the embodiment of the invention does not limit this.
202: controller extracts the timestamp information in each PCR (Program Clock Reference, Program Clock Reference) bag, obtains TS flow buffer memory time by timestamp information, obtains the quantity of the TS stream bag between per two PCR bag by counter;
Particularly, specifically comprise in each PCR bag: timestamp information, timestamp information are meant entrained temporal information in each PCR bag, can obtain the transmitting time of PCR bag by temporal information.For example: the timestamp information in the PCR1 bag is 13:45:09 second, and the timestamp information of PCR2 bag is 13:45:10 second, and the transmitting time that then can obtain the PCR1 bag is 13:45:09 second, and the transmitting time of PCR2 bag is 13:45:10 second.
Referring to Fig. 3, particularly, statistics TS flow buffer memory time Δ T is:
Δ T1=Tpcr1-Tpcr0, wherein, Tpcr0 is that timestamp information, the Tpcr1 of PCR0 bag is that timestamp information, the Δ T1 of PCR1 bag is the TS flow buffer memory time between PCR1 bag and the PCR0 bag; Δ T2=Tpcr2-Tpcr1, wherein, Tpcr2 is that timestamp information, the Tpcr1 of PCR2 bag is that timestamp information, the Δ T2 of PCR1 bag is the TS flow buffer memory time between PCR2 bag and the PCR1 bag.
Particularly, controller can obtain the quantity of the TS stream bag between per two PCR bag by counter, be specially: find that from finding that first PCR0 mark picks up counting to the timing of next PCR1 mark stops by counter, obtain the quantity of two TS stream bags between the PCR bag, the quantity Δ SUM_package of the TS stream bag between per two PCR bag is:
Δ SUM_package=SUM1_package-SUM0_package, wherein, SUM0_package is that quantity, the SUM1_package of the TS stream bag during PCR0 wraps are that quantity, the Δ SUM_package that the TS stream in the PCR1 bag wraps is the quantity of the TS stream bag between PCR1 bag and the PCR0 bag.
203: obtain TS flow rate between the PCR bag according to the quantity of TS flow buffer memory time and TS stream bag;
Particularly, the TS flow rate V between per two PCR bag is:
V=ΔSUM_package÷ΔT。
Further, according to step 202, step 203, Δ T, Δ SUM_package, the V that can get access between PCRn bag and PCR (n-1) bag are respectively:
ΔT=Tpcrn-Tpcr(n-1)、ΔSUM_package=SUMn_package-SUM(n-1)_package、V=ΔSUM_package÷ΔT。
204: judge whether to exist sudden change according to timestamp information, if corresponding TS stream is broadcasted fast; Otherwise execution in step 205;
Particularly, judge whether the timestamp information of two PCR bags exists sudden change, if the existence sudden change then represents to change program source or mistake appears in program transmission.For example the timestamp information of PCR1 bag is 13:45:09 second, the timestamp information of PCR2 bag is 19:46:23 second, Δ T=19:46:23-13:45:09=6:01:14, can judge between PCR1 bag and the PCR2 bag according to practical situations and to have sudden change, then the TS stream between second broadcasts with speed faster with 13:45:09 second and 19:46:23.Concrete timestamp information whether suddenly change and the value of TS flow rate relevant according to the applicable cases of reality, during specific implementation, the embodiment of the invention does not limit this.For example: the TS flow rate of current VOD film source is 3MBit/s, when this film source finishes, during the film source of another 12MBit/s of user's program request, then controller can be according to the variation of detected TS flow rate, slowly 3MBit/s is transferred to 12MBit/s, in the whole adjustment process, the variation of the imperceptible TS of user stream, the TS smoothness of spreading.
205: judge whether TS flow buffer memory time is not equal to predetermined threshold value, if be not equal to predetermined threshold value, then judged result is for being execution in step 206, otherwise execution in step 207;
Particularly, if TS flow buffer memory time is not equal to predetermined threshold value, then the speed of 206 pairs of TS streams of execution in step is adjusted, otherwise execution in step 207 is broadcasted according to the speed of current TS stream.
206: the speed to TS stream is adjusted;
Further, the embodiment of the invention to be to exist 3 time gate limit values, is respectively time upper limit value, time normal value, time lower limit the speed adjustment of TS stream is described in detail, and specifically may further comprise the steps:
206A: whether judge TS flow buffer memory time greater than the time upper limit value, if then adjust the speed of TS stream greater than the time upper limit value; Otherwise execution in step 206B;
Particularly, as TS flow buffer memory time Δ T during greater than the time upper limit value, controller increases the speed of TS stream for the first time fast, after increasing for the first time the speed of TS stream, whether controller judges TS flow buffer memory time greater than the time normal value, if after increasing the speed of TS stream for the first time, TS flow buffer memory time is greater than the time normal value, then increase the speed of TS stream for the second time fast, equal the time normal value until TS flow buffer memory time.For example: the current time TS flow buffer memory time is 12 seconds, controller has been judged TS flow buffer memory time and has been exceeded time upper limit value (12 seconds>9 seconds), if the speed of current TS stream is 3M, then controller increases the speed of TS stream for the first time fast, the speed of TS stream is brought up to 9M, if after increasing the speed of TS stream for the first time, at this moment TS flow buffer memory time is 10 seconds, controller judged TS flow buffer memory time greater than time normal value (10 seconds greater than 6 seconds) then controller the speed of TS stream is brought up to 12M fast, fell back to the time normal value 6 seconds until TS flow buffer memory time.
206B: judge TS flow buffer memory time whether greater than the time normal value less than the time upper limit value, if greater than the time normal value less than the time upper limit value, then adjust the speed of TS stream; Otherwise execution in step 206C;
Particularly, when TS flow buffer memory time greater than the time normal value during less than the time upper limit value, controller slowly increases the speed of TS stream for the first time, after slowly increasing the speed of TS stream for the first time, whether controller judges TS flow buffer memory time greater than the time normal value, if after increasing the speed of TS stream for the first time, TS flow buffer memory time is greater than the time normal value, then slowly increase the speed of TS stream for the second time, equal the time normal value until TS flow buffer memory time.For example: the current time TS flow buffer memory time is 8 seconds, controller judged TS flow buffer memory time greater than the time normal value less than time upper limit value (6 seconds<8 seconds<9 seconds), if the speed of current TS stream is 3M, then controller slowly increases the speed of TS stream for the first time, the speed of TS stream is brought up to 4M, if after slowly increasing the speed of TS stream for the first time, at this moment TS flow buffer memory time is 7 seconds, controller has been judged TS flow buffer memory time greater than time normal value (7 seconds>6 seconds), then controller is slowly brought up to 5M with the speed of TS stream, falls back to the time normal value 6 seconds until TS flow buffer memory time.
206C: judge whether TS flow buffer memory time is lower than the time normal value greater than the time lower limit,, then adjust the speed of TS stream if be lower than the time normal value greater than the time lower limit; Otherwise execution in step 206D;
Particularly, when TS flow buffer memory time is lower than the time normal value greater than time during lower limit, controller slowly reduces the speed of TS stream for the first time, after slowly reducing the speed of TS stream for the first time, controller judges whether TS flow buffer memory time is lower than the time normal value, if after slowly reducing the speed of TS stream for the first time, TS flow buffer memory time is lower than the time normal value, then slowly reduce the speed of TS stream for the second time, equal the time normal value until TS flow buffer memory time.For example: the current time TS flow buffer memory time is 4 seconds, controller has been judged TS flow buffer memory time and has been lower than the time normal value greater than time lower limit (3 seconds<4 seconds<6 seconds), if the speed of current TS stream is 5M, then controller slowly reduces the speed of TS stream for the first time, the speed of TS stream is reduced to 4M, if after slowly reducing the speed of TS stream for the first time, at this moment TS flow buffer memory time is 5 seconds, controller has been judged TS flow buffer memory time and has been lower than time normal value (5 seconds<6 seconds), then controller slowly reduces to 3M with the speed of TS stream, is elevated to the time normal value 6 seconds until TS flow buffer memory time.
206D: TS flow buffer memory time is lower than the time lower limit, adjusts the speed of TS stream;
Particularly, when TS flow buffer memory time is lower than the time during lower limit, controller reduces the speed of TS stream for the first time fast, after reducing the speed of TS stream fast for the first time, controller judges whether TS flow buffer memory time is lower than the time normal value, if after reducing the speed of TS stream for the first time fast, TS flow buffer memory time is lower than the time normal value, then reduce the speed of TS stream for the second time fast, equal the time normal value until TS flow buffer memory time.For example: the current time TS flow buffer memory time is 1 second, controller has been judged TS flow buffer memory time and has been lower than time lower limit (1 second<3 seconds), if the speed of current TS stream is 12M, then controller reduces the speed of TS stream for the first time fast, the speed of TS stream is reduced to 6M, if after reducing the speed of TS stream for the first time fast, at this moment TS flow buffer memory time is 4 seconds, controller has been judged TS flow buffer memory time and has been lower than time normal value (4 seconds<6 seconds), then controller reduces to 3M fast with the speed of TS stream, is elevated to the time normal value 6 seconds until TS flow buffer memory time.
207: the speed according to current TS stream is broadcasted.
Referring to Fig. 4, being example with the IPQAM of 8 passage 64QAM (Quadrature Amplitude Modulation, digital modulator) below carries out further introduction to said method:
Server sends FPGA (the Field Programmable Gate Array that a plurality of single-unit orders flow to equipment by kilomega network simultaneously to 8 passage 64QAM, field programmable gate array) chip, fpga chip is as the stream processing controller, carry out MAC (Media Access Control, media interviews control) after the processing, the TS between the clock information in the FPGA extraction TS stream in the PCR bag and 2 the PCR bags of counters count flows the quantity of wrapping.And deposit TS stream in the SDRAM buffer, and the capacity of SDRAM buffer is 512Mbit, and being directed to 8 passage 64QAM at most can the about 13 seconds TS flow data of buffer memory, and the computational accuracy of TS flow rate V can be got 16 (binary system) behind the decimal point.Because two crystal oscillators are high-precision, generally all be below the 200PPM, the situation of thresholding can appear at several hrs or after tens hours so occur surpassing.Finding TS flow buffer memory time for the first time when controller has overtime to go up in limited time, increases the TS flow rate fast, and the 16th with fractional part becomes 1 for the first time; If when controller found that for the second time the TS flow buffer memory time value continues to increase, the 15th with fractional part became 1 for the second time; If controller finds that for the third time the TS flow buffer memory time value continues to increase, then increase the TS flow rate successively, till the time gate limit value is got back to 6 seconds.With the IPQAM of 64QAM is that example can allow the TS flow rate to adjust 30 times, has guaranteed that fully TS flow buffer memory time can adjust to the time normal value.
In sum, the method that the embodiment of the invention provides a kind of TS of control to spread and, by TS flow buffer memory time and predetermined threshold value are compared, judge whether the TS flow rate is adjusted, if TS flow buffer memory time and predetermined threshold value are unequal, then the TS flow rate is adjusted, otherwise broadcasted according to current TS stream speed.By such scheme, realized adjustment, and then realized the flow of TS stream is controlled the TS flow rate, make user terminal can receive TS stream smoothly, improved user's experience.
Embodiment 3
In order to guarantee that user terminal can receive TS stream smoothly, improve user's experience, the embodiment of the invention has proposed the device that a kind of TS of control spreads and, and referring to Fig. 5, this device mainly comprises following content:
Processing module 304 is if be used for result that judge module 303 judges for being then the TS flow rate to be adjusted; Otherwise, broadcast by current TS stream speed.
Further, referring to Fig. 6, first acquisition module 301 specifically comprises:
The first acquiring unit 301A is used for obtaining the timestamp information of each Program Clock Reference bag, obtains TS flow buffer memory time from timestamp information;
Further, referring to Fig. 7, second acquisition module 302 specifically comprises:
The first acquiring unit 302A is used to obtain the TS flow rate, and the TS flow rate equals the quantity of TS stream bag divided by TS flow buffer memory time.
Further, referring to Fig. 8, judge module 303 specifically comprises:
The first judging unit 303A, if be used for the predetermined threshold value that TS flow buffer memory time is not equal to TS flow buffer memory, then judged result is for being;
The second judging unit 303B, if be used for the predetermined threshold value that TS flow buffer memory time equals TS flow buffer memory, then judged result is for denying.
In sum, the device that the embodiment of the invention provides a kind of TS of control to spread and, compare by predetermined threshold value TS flow buffer memory time and TS flow buffer memory, judge whether the TS flow rate is adjusted, if the predetermined threshold value of TS flow buffer memory time and TS flow buffer memory is unequal, then the TS flow rate is adjusted, otherwise broadcasted according to current TS stream speed.By said apparatus, realized adjustment, and then realized the flow of TS stream is controlled the TS flow rate, make user terminal can receive TS stream smoothly, improved user's experience.
Below only be preferred embodiment of the present invention, or not within the spirit and principles in the present invention not all in order to restriction the present invention, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (8)
1. control the method that TS spreads and for one kind, it is characterized in that, described method comprises:
Obtain the quantity of TS flow buffer memory time, TS stream bag;
Quantity according to described TS flow buffer memory time, described TS stream bag is obtained the TS flow rate;
Predetermined threshold value according to described TS flow buffer memory time, TS flow buffer memory judges whether described TS flow rate is adjusted, if then described TS flow rate is adjusted; Otherwise, broadcast according to current described TS flow rate.
2. the method for claim 1 is characterized in that, the described quantity of obtaining TS flow buffer memory time, TS stream bag specifically comprises:
Obtain the timestamp information in each Program Clock Reference bag, from described timestamp information, obtain described TS flow buffer memory time;
Obtain the quantity of the described TS stream bag between per two Program Clock Reference bags.
3. the method for claim 1 is characterized in that, described quantity according to described TS flow buffer memory time, described TS stream bag is obtained the TS flow rate, specifically comprises:
Described TS flow rate equals the quantity of described TS stream bag divided by described TS flow buffer memory time.
4. the method for claim 1 is characterized in that, described predetermined threshold value according to described TS flow buffer memory time, TS flow buffer memory judges whether described TS flow rate is adjusted, if then described TS flow rate is adjusted; Otherwise, broadcast according to current described TS flow rate, specifically comprise:
If described TS flow buffer memory time is not equal to the predetermined threshold value of described TS flow buffer memory, then judged result is for being;
If described TS flow buffer memory time equals the predetermined threshold value of described TS flow buffer memory, then judged result is for denying.
5. control the device that TS spreads and for one kind, it is characterized in that, described device comprises:
First acquisition module is used to obtain the quantity of TS flow buffer memory time, TS stream bag;
Second acquisition module is used for obtaining the TS flow rate according to the quantity of described TS flow buffer memory time, described TS stream bag;
Judge module is used for judging whether described TS flow rate is adjusted according to the predetermined threshold value of described TS flow buffer memory time, TS flow buffer memory;
Processing module is if be used for result that described judge module judges for being then described TS flow rate to be adjusted; Otherwise, broadcast by current described TS flow rate.
6. device as claimed in claim 5 is characterized in that, described first acquisition module specifically comprises:
First acquiring unit is used for obtaining the timestamp information of each Program Clock Reference bag, obtains described TS flow buffer memory time from described timestamp information;
Second acquisition unit is used to obtain the quantity that the TS stream between per two Program Clock Reference bags wraps.
7. device as claimed in claim 5 is characterized in that, described second acquisition module specifically comprises:
First acquiring unit is used to obtain described TS flow rate, and described TS flow rate equals the quantity of described TS stream bag divided by described TS flow buffer memory time.
8. device as claimed in claim 5 is characterized in that, described judge module specifically comprises:
First judging unit, if be used for the predetermined threshold value that described TS flow buffer memory time is not equal to described TS flow buffer memory, then judged result is for being;
Second judging unit, if be used for the predetermined threshold value that described TS flow buffer memory time equals described TS flow buffer memory, then judged result is for denying.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010115857A CN101808239A (en) | 2010-03-01 | 2010-03-01 | Method for controlling TS flow broadcasting and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010115857A CN101808239A (en) | 2010-03-01 | 2010-03-01 | Method for controlling TS flow broadcasting and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101808239A true CN101808239A (en) | 2010-08-18 |
Family
ID=42609828
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010115857A Pending CN101808239A (en) | 2010-03-01 | 2010-03-01 | Method for controlling TS flow broadcasting and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101808239A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014089752A1 (en) * | 2012-12-11 | 2014-06-19 | 华为技术有限公司 | Stream media transmission method, apparatus and communication device |
CN104185035A (en) * | 2014-08-25 | 2014-12-03 | 西安交通大学 | Method for achieving uniform distribution of all paths of program code streams in construction process of multiple program TS streams |
WO2015021891A1 (en) * | 2013-08-14 | 2015-02-19 | 华为终端有限公司 | Method and device for controlling data stream |
CN106993236A (en) * | 2017-04-01 | 2017-07-28 | 青岛海信电器股份有限公司 | A kind of video broadcasting method and terminal |
CN110958540A (en) * | 2018-09-26 | 2020-04-03 | 炬芯(珠海)科技有限公司 | USB audio conversion method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1831993A (en) * | 2004-12-27 | 2006-09-13 | 松下电器产业株式会社 | Data processing apparatus |
CN1841984A (en) * | 2005-03-28 | 2006-10-04 | 索尼株式会社 | Communication processing apparatus, data communication system, and communication processing method |
CN100428798C (en) * | 2006-03-07 | 2008-10-22 | 华为技术有限公司 | Digital TV decoding method and system |
CN101296184A (en) * | 2008-05-30 | 2008-10-29 | 华为技术有限公司 | Method, system and device for data transmission |
CN101485205A (en) * | 2006-07-04 | 2009-07-15 | Nxp股份有限公司 | Method for controlling a receiver system and receiver system, in particular for wireless IP datacast |
-
2010
- 2010-03-01 CN CN201010115857A patent/CN101808239A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1831993A (en) * | 2004-12-27 | 2006-09-13 | 松下电器产业株式会社 | Data processing apparatus |
CN1841984A (en) * | 2005-03-28 | 2006-10-04 | 索尼株式会社 | Communication processing apparatus, data communication system, and communication processing method |
CN100428798C (en) * | 2006-03-07 | 2008-10-22 | 华为技术有限公司 | Digital TV decoding method and system |
CN101485205A (en) * | 2006-07-04 | 2009-07-15 | Nxp股份有限公司 | Method for controlling a receiver system and receiver system, in particular for wireless IP datacast |
CN101296184A (en) * | 2008-05-30 | 2008-10-29 | 华为技术有限公司 | Method, system and device for data transmission |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014089752A1 (en) * | 2012-12-11 | 2014-06-19 | 华为技术有限公司 | Stream media transmission method, apparatus and communication device |
CN104025524A (en) * | 2012-12-11 | 2014-09-03 | 华为技术有限公司 | Stream media transmission method, apparatus and communication device |
CN104025524B (en) * | 2012-12-11 | 2017-06-20 | 华为技术有限公司 | Flow-medium transmission method and device, communication equipment |
WO2015021891A1 (en) * | 2013-08-14 | 2015-02-19 | 华为终端有限公司 | Method and device for controlling data stream |
CN104378305A (en) * | 2013-08-14 | 2015-02-25 | 华为终端有限公司 | Method and device for controlling dataflow |
CN104378305B (en) * | 2013-08-14 | 2018-05-29 | 华为终端有限公司 | A kind of method and device for controlling data flow |
CN104185035A (en) * | 2014-08-25 | 2014-12-03 | 西安交通大学 | Method for achieving uniform distribution of all paths of program code streams in construction process of multiple program TS streams |
CN104185035B (en) * | 2014-08-25 | 2017-06-06 | 西安交通大学 | One kind builds the Polymera TS Liu Shishige roads equally distributed method of program stream |
CN106993236A (en) * | 2017-04-01 | 2017-07-28 | 青岛海信电器股份有限公司 | A kind of video broadcasting method and terminal |
CN106993236B (en) * | 2017-04-01 | 2019-07-23 | 青岛海信电器股份有限公司 | A kind of video broadcasting method and terminal |
CN110958540A (en) * | 2018-09-26 | 2020-04-03 | 炬芯(珠海)科技有限公司 | USB audio conversion method and device |
CN110958540B (en) * | 2018-09-26 | 2022-02-18 | 炬芯科技股份有限公司 | USB audio conversion method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103152651B (en) | A kind of automatic adjustment streaming media buffer district plays the method and system of thresholding | |
US12108102B2 (en) | Methods and systems for content control | |
CN101808239A (en) | Method for controlling TS flow broadcasting and device | |
US9736521B2 (en) | Using timed transport stream for receiver-side inter-device communication | |
CN101305612B (en) | Multi-source and resilient on-demand video streaming system for peer-to-peer subscriber cells | |
US9253229B1 (en) | Correlating video quality with video playback view | |
CN103024446A (en) | Loading and buffering method and system for online video | |
CN102404650A (en) | Method for synchronously controlling audio and video of online video | |
CN104935958A (en) | Real-time video transmission device and method | |
CN103338392A (en) | Method for seamless switching of images in video polling | |
US9083649B2 (en) | Systems and methods for managing network bandwidth via content buffering | |
CN103237232B (en) | Internet video streaming media idle bandwidth adaptive approach | |
WO2018175979A1 (en) | Enabling interactive control of live television broadcast streams | |
CN103856558B (en) | A kind of data processing method and device for terminal applies | |
CN1997162B (en) | PCR correction method and device | |
CN104754371A (en) | Synchronization of video based on clock adjustment | |
CN102696232B (en) | Transport layer for realizing transmission gap is revised | |
CN105530520A (en) | Local area network video-on-demand system | |
CN110807106B (en) | Multimedia data processing method and device, computer equipment and storage medium | |
CN101790075B (en) | Method and device for sending data | |
US8819748B2 (en) | Precise delivering of frames for video on demand streaming | |
US8630179B1 (en) | Internet protocol video quality of service | |
CN104301784A (en) | Digital television terminal capable of screenshot return, screenshot return method and screenshot return system | |
US8549343B2 (en) | Timing recovery apparatus and method thereof | |
TWI568254B (en) | Broadcast-on-demand method for wireless peer-to-peer streaming |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20100818 |