CN103596040B - Television receiving system in double modes of digital television terrestrial multimedia broadcasting and internet - Google Patents
Television receiving system in double modes of digital television terrestrial multimedia broadcasting and internet Download PDFInfo
- Publication number
- CN103596040B CN103596040B CN201310642489.8A CN201310642489A CN103596040B CN 103596040 B CN103596040 B CN 103596040B CN 201310642489 A CN201310642489 A CN 201310642489A CN 103596040 B CN103596040 B CN 103596040B
- Authority
- CN
- China
- Prior art keywords
- data cached
- internet
- module
- stream
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The invention provides a television receiving system in double modes of digital television terrestrial multimedia broadcasting and the internet. The television receiving system comprises a network detection module, a DTMB channel module, an internet channel module, a media pack caching module and an audio-video decoder, wherein the network detection module is used for detecting the network state of a DTMB network and the network state of the internet; the DTMB channel module is used for receiving and processing television program data of the DTMB network and caching the television program data to the media pack caching module to form first cache data; the internet channel module is used for receiving and processing television program data of the internet and caching the television program data to the media pack caching module to form second cache data; the media pack caching module is used for achieving switching between a DTMB channel and an internet channel according to the network states and a preset switching strategy and sending the first cache data or the second cache data into the audio-video decoder; the audio-video decoder is used for decoding and broadcasting the first cache data or the second cache data. Therefore, the television receiving system can optimize receiving efficiency, receiving cost, the receiving range and television viewing effects of television contents.
Description
Technical field
The present invention relates to internet television and digital TV technology, more particularly, to a kind of DTTB with
The double mode TV receiving system in internet.
Background technology
DTMB(Digital Television Terrestrial Multimedia Broadcasting, DTV
Terrestrial broadcasting)One of basic transmission means as DTV, its development is produced to national culture and propaganda action cause, consumer electronics
The technology trends in industry and future suffer from great impact.SARFT(The State Administration of Radio and Television) is first to following various numerals within 2006
New media makes positioning, and wherein DTTB is taken in the public good publicity being used for undertaking national defined by expliciting the position
Business.The TV user of China 2/3, except minority satellite digital TV is outdoor, basic dependence ground simulation transmission receives TV Festival
Mesh signal.Wireless coverage remains China's TV user topmost reception mode.DTTB is using numeral no
Line transmits, as long as having antenna and top box of digital machine or DTV can receive, is difficult to be limited by environment.Both can be using fixation
Broadcast television reception terminal received signals, also can watch program by mobile device in the state of movement, without as having
Line TV has to could receive in terminal incoming fiber optic cable like that.DTTB is to expand China rural area ground
The effective means that the backwoodsman radio and television that area, particularly cable television are difficult to cover cover.DTTB
Using open circuit broadcast way, spectators are not required to paying and turn on TV just may be viewed by, greatly reduce people and watch abundant TV programme
Cost.
And simultaneously, with the fast development of internet, convenience that internet television also accesses because of it and content and other
The rich of service is accepted more and more widely.Current internet content distribution(OTT)It is based primarily upon HTTP
(HyperText Transfer Protocol, Hypertext Transport Protocol)Stream media technology(HTTP Streaming), including
Apple HLS, Microsoft Silverlight and Adobe HDS etc..They all utilize the matchmaker to certain time length for the HTTP
Body fragment is continuously distributed, and by strict protocol realization client according to current network conditions Automatic adjusument media
The mechanism of code check, under the premise of ensureing that broadcasting is continual, the relatively low media code stream of play quality when network condition is poor, and
When network condition takes a turn for the better, it is automatically adjusted to high code rate, realize the Automatic adjusument according to network condition for the content quality.
But prior art fails to realize merging by DTTB and internet television, and therefore prior art is in reality
Border uses and above there will naturally be inconvenience and defect, it is therefore necessary to being improved.
Content of the invention
For above-mentioned defect, it is an object of the invention to provide a kind of DTTB is double mode with internet
TV receiving system, its can optimize the receiving efficiency of television content, receive cost, range of receiving and television-viewing effect
Really.
To achieve these goals, the present invention provides a kind of DTTB TV double mode with internet to connect
Receipts system, includes:
Network detection module, for detecting the network state of DTMB network and internet;
DTMB channel module, for receiving and processing the television programme data of DTMB network, and is cached to media bag caching
Module, forms first data cached;
Internet channel module, for receiving and processing the television programme data of internet, and is cached to media bag caching
Module, forms second data cached;
Media bag cache module, for realizing DTMB channel and interconnection according to described network state and predetermined switchover policy
Switching between network channel, and by the described first data cached or described second data cached feeding audio/video decoder;
Audio/video decoder, plays described first data cached or described second for decoding data cached.
According to TV receiving system of the present invention, described DTMB channel module further includes:
DTMB interface sub-module, for receiving the television programme data of described DTMB network, will include the biography of video and audio
Defeated streaming enters program demultiplex module;
Program demultiplex module, for extracting the first compression elementary stream of respective program in described transport stream and caching
To described media bag cache module, form described first data cached;
Described internet channel module further includes:
Internet interface submodule, for receiving play list file and the transfer stream file of described internet, will be described
Transfer stream file sends into media pretreatment submodule;
Media pre-process submodule, for extracting the second compression elementary stream in described transfer stream file and being cached to institute
State media bag cache module, form described second data cached.
According to TV receiving system of the present invention, described DTMB interface sub-module, for receiving described DTMB network
Television programme data and it is demodulated with system and channel decoding, the described transport stream that will include video and audio sends into described section
Mesh demultiplex module;
Described program demultiplex module, for extracting and parsing the Program Specific Information in described transport stream, distinguishes
The multiple television programme data interweaving in described transport stream, extract the described first compression elementary stream of respective program, according to institute
Described first compression elementary stream is sent into described media bag by the compression elementary stream serial number stated in the header packet information of transport stream
Cache module is sequentially spliced and is cached, and forms described first data cached;
Described internet interface submodule, for receiving and processing play list file and the transport stream literary composition of described internet
Part, described transfer stream file is sent into described media and pre-processes submodule;
Described media pre-process submodule, for extracting the second compression elementary stream in described transfer stream file, according to
Described second compression elementary stream is sent into described media by the compression elementary stream serial number in the header packet information of described transport stream
Bag cache module is sequentially spliced and is cached, and forms described second data cached;
Described media bag cache module, for when described first data cached or described second data cached reach predetermined
Buffer threshold, the described first data cached or described second header in data cached is removed and obtains the first basic code
Stream or the second elementary stream send into described audio/video decoder.
According to TV receiving system of the present invention, described TV receiving system is arranged at Set Top Box or television terminal
In.
According to TV receiving system of the present invention, described internet channel module passes through internet content distribution path
Receive the television programme data of described internet, described DTMB channel module receives described DTMB by DTMB content distribution path
The television programme data of network;
Same program source forms parallel described internet content distribution path and described DTMB content distribution path;
In described internet content distribution path, when described program source is the transport stream of multi program multiplex, optional pass through
Program in the described transport stream of multi program multiplex is separated into single program by demolition module, then respectively through transcoding/section
The file that Media Stream transcoding is multiple code checks by module, and the transfer stream file for adapting to the distribution of HTTP streaming medium content of cutting into slices;
In DTMB content distribution path, if described program source is that single program is detached, described program source is encoded
Multiplexing module formed Polymera interweave transport stream, be then passed through by DTMB standard Channel Coding and Modulation and by antenna general
Described transport stream is launched in the way of wireless signal.
According to TV receiving system of the present invention, described internet content distribution path and described DTMB content distribution
In path, the time synchronization information of data is consistent.
According to TV receiving system of the present invention, when user selects to play certain program, if described network detection module
Described DTMB channel module is detected and described internet channel module can receive described program corresponding TV Festival mesh number
According to when, then described media bag cache module preferentially passes through the first caching number that described DTMB channel module obtains described DTMB network
According to, and described first data cached be sent to described audio/video decoder and play out.
According to TV receiving system of the present invention, if currently playing be DTMB network described first caching number
According to, and described media bag cache module detect described first data cached less than buffer threshold when, then pass through described internet
Channel module obtains the second data cached of described internet, and described second data cached is switched to described audio/video decoding
Device plays out;
If currently playing is the described second data cached of internet, and described media bag cache module detect described
Second data cached less than described buffer threshold when, then pass through described DTMB channel module and obtain the first of described DTMB network to delay
Deposit data, and the described first described audio/video decoder of data cached feeding is played out;
If currently playing is the described second data cached of internet, and described media bag cache module detect described
First is data cached when reaching described buffer threshold, then data cached send into described first described audio/video decoder and broadcast
Put, and interrupt data cached by the second of the described internet of described internet channel module acquisition.
According to TV receiving system of the present invention, described media bag cache module is new obtain data cached for preparation
Stream is data cached, and that is playing is data cached data cached for playing stream, reads respectively and analysis described preparation stream caching number
According to described play stream data cached in time synchronization information, switched as follows:
If first data cached lock in time information T1a of the described broadcasting stream play is described with preparation switching
First data cached lock in time information T1b of preparation stream is equal, directly by the described preparation stream described sound of data cached feeding
Video Decoder is decoded playing;
If first data cached lock in time T1a of the described broadcasting stream play is more than the described pre- of preparation switching
First data cached lock in time T1b of standby stream, and the n-th lock in time Tnb data cached with described preparation stream is equal,
Then by described preparation stream data cached from T1b to Tnb between data remove, will be data cached for the described preparation stream starting from Tnb
Send into described audio/video decoder to be decoded playing;
If first data cached lock in time T1a of the described broadcasting stream play is less than the described pre- of preparation switching
First data cached lock in time T1b of standby stream, and the described n-th data cached lock in time Tna of stream that play is equal to institute
State the preparation data cached first lock in time T1b of stream, continue to take described play stream data cached in from T1a to Tna between
Data plays out, then take described preparation stream data cached be decoded play.
According to TV receiving system of the present invention, if described network detection module detects the bandwidth of described internet
During higher than threshold value, send the information whether selecting to obtain television programme data from described internet.
The present invention makes full use of the cost advantage of DTTB and wide covering advantage, takes into account in internet television
That holds is rich, and DTB Digital Terrestrial Broadcasting TV and internet television are combined together, is formed and has complementary advantages and mutually coordinated double
Channel digital TV receiving system, expands the coverage of digital TV contents propagation, optimizes connecing of digital TV contents
Produce effects rate, receive cost and television-viewing effect.Preferably receiving television content by digital television ground broadcast signal is use
Rating cost has been saved at family, reduces the requirement that internet is connected;And can for the user having preferable internet condition of contact
Select to obtain Video service by internet, and obtain high-quality video tastes in the case of higher bandwidth.
Brief description
Fig. 1 is the structural representation of the DTTB of the present invention TV receiving system double mode with internet;
Fig. 2 is the structural representation of the digit preference television terrestrial broadcasting of the present invention TV receiving system double mode with internet
Figure;
Fig. 3 is the software systems of the digit preference television terrestrial broadcasting of the present invention TV receiving system double mode with internet
Structural representation;
Fig. 4 is the flow chart of digital TV contents distribution procedure involved in the present invention;
Fig. 5 A~Fig. 5 C is the schematic diagram of three kinds of data cached situations during channel switching involved in the present invention.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, below in conjunction with drawings and Examples, right
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only in order to explain the present invention, and
It is not used in the restriction present invention.
First, digital TV receiving system
Fig. 1 is the structural representation of the DTTB of the present invention TV receiving system double mode with internet,
Described TV receiving system 100 includes network detection module 10, DTMB channel module 20, internet channel module 30, media
Bag cache module 40 and audio/video decoder 50, wherein:
Described network detection module 10, for detecting the network state of DTMB network and internet it is preferred that detecting
The signal strength signal intensity of DTMB network and the bandwidth of internet.
Described DTMB channel module 20, for receiving and processing the television programme data from DTMB network, and is cached to
Media bag cache module 40, forms first data cached.
Described internet channel module 30, for receiving and processing the television programme data from internet, and is cached to
Media bag cache module 40, forms second data cached.
Described media bag cache module 40, for realizing DTMB channel and mutually according to network state and predetermined switchover policy
Networking channel between switching, and by first data cached or second data cached send into audio/video decoder 50.Described cut
Change strategy to preferably include, but is not limited to:
1)When user selects to play certain program, if network detection module 10 detects DTMB channel module 20 and internet letter
When road module 30 can receive program corresponding television programme data, then media bag cache module 40 preferentially passes through DTMB channel
The first of module 20 acquisition DTMB network is data cached, and the first data cached audio/video decoder 50 that is sent to is broadcast
Put.
2)If currently playing is the first data cached of DTMB network, and media bag cache module 40 detects first and delays
When deposit data is less than buffer threshold, then the second data cached of internet is obtained by internet channel module 30, and by second
The data cached audio/video decoder 50 that is switched to plays out.
3)If currently playing is the second data cached of internet, and media bag cache module 40 detects the second caching
When data is less than buffer threshold, then by DTMB channel module 20 acquisition DTMB network first is data cached, and first is delayed
Deposit data is sent into audio/video decoder 50 and is played out.
4)If currently playing is the second data cached of internet, and media bag cache module 40 detects the first caching
When data reaches buffer threshold, then the first data cached audio/video decoder 50 of sending into is played out, and interrupt by interconnection
The second of network channel module 30 acquisition internet is data cached.
Described audio/video decoder 50, plays first for decoding data cached or second data cached.
Fig. 1 describes the DTTB involved in the present invention TV receiving system 100 double mode with internet
Major system modules, described TV receiving system 100 is arranged in Set Top Box or television terminal, or exists otherwise.
This system module figure only describe the present invention protection content involved by part, some other general module, such as central controller,
Memory and media handling and playing module etc., not within the scope of the present invention.
It is contemplated that making full use of the cost advantage of DTTB and wide covering advantage, take into account internet skill
The development of art and internet television content rich, DTB Digital Terrestrial Broadcasting TV and internet television are combined together, open
A kind of by DTTB and internet Dual channel reception digital TV contents and optimize television content reception effect
The method and system of rate, cost and television-viewing effect.Digital cable customers are allowed to remain to by honest and clean when connecting in no internet
The digital television ground broadcast signal of valency receives internet television live content, expands the area of coverage of internet television content
Domain, also enables to have digital television ground broadcast signal simultaneously and receiving terminal that internet connects is according to signal and network-like
Condition freely in two interchannel switch contents receiving datas, improve while optimizing and receive cost video reception efficiency and
Receive the quality of content.
Fig. 2 is the structural representation of the digit preference television terrestrial broadcasting of the present invention TV receiving system double mode with internet
Figure, described TV receiving system 100 includes network detection module 10, DTMB channel module 20, internet channel module 30, matchmaker
Body bag cache module 40 and audio/video decoder 50, wherein:
Described network detection module 10, for detecting the network state of DTMB network and internet.Preferably, described net
Network detection module 10 is a dispatching control module, for detecting the signal strength signal intensity of DTMB network and the bandwidth of internet, can lead to
Cross hardware or systems soft ware is realized.
Described DTMB channel module 20 further includes:
DTMB interface sub-module 21, for receiving the television programme data of DTMB network, will include video and audio and other
Data message TS(Transport Stream, transport stream)Send into program demultiplex module 22.Preferably, DTMB connects
Openning module 21 is used for receiving the television programme data of DTMB network and it being demodulated with system and channel decoding, will include and regard
The TS of audio frequency sends into program demultiplex module 22.
Program demultiplex module 22, for extracting a PES of respective program in TS(Packetized
Elementary Streams, compresses elementary stream)And it is cached to media bag cache module 40, form first data cached.Excellent
Choosing, program demultiplex module 22 is used for extracting and parsing the PSI in TS(Program Specific
Information, Program Specific Information), distinguish the multiple television programme data interweaving in TS, extract the first of respective program
First PES is sent into media bag cache module 40 according to the PES serial number in the header packet information of TS and is sequentially spliced simultaneously by PES
Caching, forms first data cached(Also a PES grouped data can be claimed).
Described internet channel module 30 further includes:
Internet interface submodule 31, for receiving play list file and the TS file of internet, these interconnect network propagation
Put data all to be obtained by HTTP request by application program, and TS file is sent into media pretreatment submodule 32.Internet connects
Openning module 31 connects Internet, but Ethernet interface, wifi module, 3G/4G interface or other internet interface.
Media pre-process submodule 32, for extracting the 2nd PES in TS file and being cached to media bag cache module 40,
Form second data cached(Also the 2nd PES grouped data can be claimed).Preferably, media pretreatment submodule 32 is used for extracting TS
2nd PES is sent into media bag cache module 40 according to the PES serial number in the header packet information of TS and enters by the 2nd PES in file
Row sequentially splices and caches, and forms second data cached.Media pretreatment submodule 32 is similar to program demultiplex module 22, from
Extract the PES bag of audio frequency and video in TS file, but need not distinguish between different programs, because by internet interface based on HTTP
Streaming media playing be to have chosen the TS file to certain program by upper layer application to obtain, and only comprise in TS file right
Answer audio/video flow or other data messages of single programs.
Described media bag cache module 40, for realizing DTMB channel and mutually according to network state and predetermined switchover policy
Networking channel between switching, and by first data cached or second data cached send into audio/video decoder 50.Preferably
Be, media bag cache module 40 be used for when first data cached or second data cached reach predetermined buffer threshold, by the
One data cached or second data cached in header remove and obtain an ES(Elementary Streams, basic code
Stream)Or the 2nd ES simultaneously sends into audio/video decoder 50.The PES grouped data being buffered in media bag cache module 40 will be by one
Individual mark digit separator is the data from digital television ground broadcast signal or the data from internet, this two groups of data
(The PES packet spliced)By by according to the PTS in respective PES header data(Presentation Time Stamp)And DTS(The decoding time marks
Sign)Carry out data cached time synchronized, and determine to select one group of PES therein by system application according to synchronized relation(Comprise
Audio frequency and video basic flow)Send into audio/video decoder 50 to be decoded playing.
Described switchover policy preferably includes, but is not limited to:
1)When user selects to play certain program, if network detection module 10 detects DTMB channel module 20 and internet letter
When road module 30 can receive program corresponding television programme data, then media bag cache module 40 preferentially passes through DTMB channel
The first of module 20 acquisition DTMB network is data cached, and the first data cached audio/video decoder 50 that is sent to is broadcast
Put.
2)If currently playing is the first data cached of DTMB network, and media bag cache module 40 detects first and delays
When deposit data is less than buffer threshold, then the second data cached of internet is obtained by internet channel module 30, and by second
The data cached audio/video decoder 50 that is switched to plays out.
3)If currently playing is the second data cached of internet, and media bag cache module 40 detects the second caching
When data is less than buffer threshold, then by DTMB channel module 20 acquisition DTMB network first is data cached, and first is delayed
Deposit data is sent into audio/video decoder 50 and is played out.
4)If currently playing is the second data cached of internet, and media bag cache module 40 detects the first caching
When data reaches buffer threshold, then the first data cached audio/video decoder 50 of sending into is played out, and interrupt by interconnection
The second of network channel module 30 acquisition internet is data cached.
Described audio/video decoder 50, plays first for decoding data cached or second data cached.
Internet content distribution service is combined by the present invention with DTTB service, has provided the user double
The Digital TV Receiving approach of channel, expands overlay area and the audience of digital TV contents service, formerly selects logical
Cross in the case that digital television ground broadcast signal receives television content and saved rating cost for user, reduce to internet
The requirement connecting.And the user having preferable internet condition of contact be may be selected to obtain the video clothes of pure OTT by internet
Business, and obtain high-quality video tastes in the case of higher bandwidth.Improve for user by the many reception patterns of multichannel and connect
Receive the flexibility of digital TV contents, have also been enlarged application scenarios and the scope of digital TV contents service.
Fig. 3 is the software systems of the digit preference television terrestrial broadcasting of the present invention TV receiving system double mode with internet
Structural representation, as general DTV STB, simply digital TV ground is wide in the present invention for its basic structure
The driving interface of the receiver module and internet link block of broadcasting signal exists simultaneously, and program demultiplexing, program data are located in advance
Reason and network detection are realized, for upper application software, the seamless switching that double-channel selects and program is play in bottom and are provided ability
And interface.The ability of each for bottom module is exposed to upper layer application by interface by application programming interfaces/middleware, and user interface
Present to user with application program for Man Machine Interface and by final programme information and media play.Wherein, internet connects
Mouth driving, DTMB interface driver, program demultiplexing, media pretreatment, network detection interface are carried by middleware for upper layer application
Supply the bottom hardware ability of function involved in the present invention, other modules are identical with general digital TV receiving system, not at this
In invention scope.
2nd, content distribution process
Fig. 4 is the flow chart of digital TV contents distribution procedure involved in the present invention, and internet channel module 30 passes through mutually
The television programme data of networking content distribution path reception internet, DTMB channel module 20 is connect by DTMB content distribution path
Receive the television programme data of DTMB network.
Program involved in the present invention is derived from same Broadcast Control platform, and program source is consistent.Same program source forms parallel mutual
Networking content distribution path and DTMB content distribution path.
In internet content distribution path, when program source is the TS of multi program multiplex, optional by demolition module(Can
Choosing)Program in the TS of multi program multiplex is separated into single program, then respectively through transcoding/section module, media circulates
Code is the file of multiple code checks, and cuts into slices as adapting to HTTP streaming medium content distribution small documents fragment, becomes TS file(According to should
Determined with the requirement and the stream media technology being adopted of system, such as Apple HLS).The present invention does not limit internet content and divides
Send out adopted mode and technology, such as HLS(HTTP Live Streaming, hypertext live TV stream)Or MPEG-DASH etc..
In DTMB content distribution path, if program source is that single program is detached, the encoded Multiplexing module of program source
(Optional)Form the TS that Polymera interweaves, be then passed through the Channel Coding and Modulation by DTMB standard and pass through antenna by TS with no
The mode of line signal is launched.
Because the content in two content distribution paths both is from same program source TS stream, therefore internet content distribution path
Consistent with the time synchronization information of data in DTMB content distribution path, if PTS with DTS is consistent.
Wherein demolition module and coding/Multiplexing module are optional module, are that Polymera interweaves according to the TS stream of program source
Or single program selects to use, when program source is the TS stream that Polymera interweaves, then internet content distribution path needs to tear open
Program is demultiplexed by bar module, separates single program data;If program source is that single program is detached, DTMB content is divided
Sending out path needs the TS stream of formation multiplexing that multiple single-unit mesh interweave.Transcoding section module and internet content distribution module according to
The HTTP Streaming technology being adopted, meets general implementation;Channel Coding and Modulation, transmitter module meet DTMB
Technical standard.
3rd, receiving and playing process
The displaying of programme information, such as menu, channel list etc. is all by the EPG of same Broadcast Control platform(Electronic
Program Guide, electronic program guides)System provides, not within the scope of the present invention.DTMB in TV receiving system 100
Interface sub-module 21 and internet interface submodule 31 work independently, and receive the data from each automatic network respectively, when user is led to
Cross channel switch or when menu setecting plays certain program, System Priority selects to obtain program from digital television ground broadcast signal
Data plays out, and in calling program demultiplex module 22 to flow TS, the audio frequency and video PES bag of respective program extracts and root
According to PES serial number information in TS header packet information, PES bag is sequentially spliced and be cached to media bag cache module 40.Meanwhile, system note
Record selected section purpose mark, obtain the corresponding program data of this program will pass through this mark from internet.When media bag delays
PES data in storing module 40 reaches certain threshold length(As the program data of 30 seconds playout length, this thresholding is according to program code
Rate is specified by actual system design requirement), the PES header in PES data removes the ES bag obtaining audio frequency and video by system
And send into audio/video decoder 50 be decoded play.If when user selects to play certain program, system is detected by network
Module 10 detects DTMB interface sub-module 21 and is not received by data, directly invokes internet interface submodule 31, by section
Purpose mark information obtains the play list file of program by HTTP request, the M3U8 file of such as HLS or MPEG-DASH's
MPD file, and corresponding TS clip file is obtained by HTTP request according to this play list file, to different codes during this
The selection of rate, switching and the cache policy to TS clip file, then carried out according to selected HTTP stream media protocol, not at this
In invention scope.System calls media pretreatment submodule 32 to extract PES bag from TS file and be cached to media bag in order
Cache module 40, when the PES bag data of caching reaches certain threshold length, the PES header in PES data is removed by system
Obtain audio frequency and video ES bag and send into audio/video decoder 50 be decoded play.
If network detection module 10 detects DTMB interface sub-module 21 and internet interface submodule 31 can receive
Data, then system can switch in two interchannels, select corresponding program data play out, the strategy of switching is as follows:
1st, System Priority selects to play out from DTTB acquisition program data.I.e. when user selects to play
Certain program, if network detection module 10 DTMB channel module 20 is detected and internet channel module 30 can receive program pair
During the television programme data answered, then media bag cache module 40 preferentially obtains the first of DTMB network by DTMB channel module 20
Data cached, and the first data cached audio/video decoder 50 that is sent to is played out.
2nd, when the data length of the media bag cache module 40 play is less than buffer threshold(Certain playing duration)When,
System, according to the program identification information currently play, obtains the TS file of respective program by HTTP from internet(If
The program data play comes from received terrestrial digital broadcasting), or the TS extracting respective program by program demultiplex module 22
Bag(If the program data play comes from internet).No matter which kind of situation, the PES data in TS bag all can be extracted
Come and be cached in media bag cache module 40 corresponding queue in order.Particularly, if currently playing is DTMB network
First data cached, and media bag cache module 40 detect first data cached less than buffer threshold when, then pass through interconnection
The second of network channel module 30 acquisition internet is data cached, and the second data cached audio/video decoder 50 that is switched to is carried out
Play;If currently playing is the second data cached of internet, and media bag cache module 40 to detect second data cached
During less than buffer threshold, then by DTMB channel module 20 acquisition DTMB network first is data cached, and first is cached number
Play out according to sending into audio/video decoder 50.
It is data cached data cached for preparation stream that media bag cache module 40 newly obtains, and playing data cached is
Play stream data cached, respectively read and analysis preparation stream data cached and play stream data cached in time synchronization information
(PTS and DTS label in PES bag), determine the relativeness of two groups of data cached locks in time, then according to lock in time phase
Three kinds of situations to relation, are switched as follows:
(a)If the preparation that first data cached lock in time information T1a of the broadcasting stream play is switched with preparation
Flow first data cached lock in time information T1b equal, directly by preparation stream data cached feeding audio/video decoder 50
It is decoded playing, as shown in Figure 5A;
(b)If first data cached lock in time T1a of the broadcasting stream play is more than the preparation stream of preparation switching
First data cached lock in time T1b(T1a>T1b), and the n-th lock in time Tnb phase data cached with preparation stream
Deng, then by preparation stream data cached from T1b to Tnb between data remove, by the preparation stream starting from Tnb data cached feeding sound
Video Decoder 50 is decoded playing, as shown in Figure 5 B.
(c)If first data cached lock in time T1a of the broadcasting stream play is less than the preparation stream of preparation switching
First data cached lock in time T1b(T1a<T1b), and play n-th data cached lock in time Tna of stream equal to pre-
First data cached lock in time T1b of standby stream, continue to take play stream data cached in from T1a to Tna between data carry out
Play, then take preparation stream data cached be decoded play, as shown in Figure 5 C.
Fig. 5 A~Fig. 5 C is the schematic diagram of three kinds of data cached situations during channel switching involved in the present invention, when in figure is synchronous
Between numeral represent 1 ... the sequencing of n identified time, footnote a and b represents the Media Stream play and preparation stream respectively;
Dotted line frame expresses possibility the data cached of presence.
3rd, the program data no matter currently play comes from which channel, and system keeps from DTTB letter
Number obtain data, when broadcast singal recover, and in media bag cache module 40 corresponding program data length be more than caching door
Limit, system automatically switches back into plays the program data obtaining from digital television ground broadcast signal, and interrupt please from internet simultaneously
Seek data.Particularly, if currently playing is the second data cached of internet, and media bag cache module 40 detects
One data cached then the first data cached audio/video decoder 50 of sending into is played out when reaching buffer threshold, and in open close
Cross internet channel module 30 acquisition internet second is data cached.
4th, when network detection module 10 detects, current internet connection state is very good, and available bandwidth is higher than certain door
During limit value(Real system sets), whether system can select to obtain program data by internet by user interface prompt user
Information, and decide whether to carry out from DTTB data exchange to internet data according to the operation of user
Play.
In sum, the present invention makes full use of the cost advantage of DTTB and wide covering advantage, takes into account mutually
Network television content rich, DTB Digital Terrestrial Broadcasting TV and internet television are combined together, formed have complementary advantages and phase
The double-channel digital TV receiving system mutually coordinated, expands the coverage of digital TV contents propagation, optimizes numeral electricity
Depending on content receiving efficiency, receive cost and television-viewing effect.Preferably electricity is received by digital television ground broadcast signal
Regard content and saved rating cost as user, reduce the requirement that internet is connected;And for there being preferable internet connection strap
The user of part may be selected to obtain Video service by internet, and obtains high-quality video tastes in the case of higher bandwidth.
Certainly, the present invention also can have other various embodiments, in the case of without departing substantially from present invention spirit and its essence, ripe
Know those skilled in the art and work as and various corresponding changes and deformation can be made according to the present invention, but these corresponding changes and change
Shape all should belong to the protection domain of appended claims of the invention.
Claims (9)
1. a kind of DTTB TV receiving system double mode with internet is it is characterised in that include:
Network detection module, for detecting the network state of DTMB network and internet;
DTMB channel module, for receiving and processing the television programme data of DTMB network, and is cached to media bag cache module,
Form first data cached;
Internet channel module, for receiving and processing the television programme data of internet, and is cached to media bag cache module,
Form second data cached;
Media bag cache module, for realizing DTMB channel and internet letter according to described network state and predetermined switchover policy
Switching between road, and by the described first data cached or described second data cached feeding audio/video decoder;
Audio/video decoder, plays described first data cached or described second for decoding data cached;
Described internet channel module receives the television programme data of described internet by internet content distribution path, described
DTMB channel module receives the television programme data of described DTMB network by DTMB content distribution path;
Same program source forms parallel described internet content distribution path and described DTMB content distribution path;
In described internet content distribution path, when described program source is the transport stream of multi program multiplex, optional by demolition
Program in the described transport stream of multi program multiplex is separated into single program by module, then respectively through transcoding/section module
The file that Media Stream transcoding is multiple code checks, and the transfer stream file for adapting to the distribution of HTTP streaming medium content of cutting into slices;
In DTMB content distribution path, if described program source is that single program is detached, the encoded multiplexing of described program source
Module formed Polymera interweave transport stream, be then passed through by DTMB standard Channel Coding and Modulation and will be described by antenna
Transport stream is launched in the way of wireless signal.
2. TV receiving system according to claim 1 is it is characterised in that described DTMB channel module further includes:
DTMB interface sub-module, for receiving the television programme data of described DTMB network, will include the transport stream of video and audio
Send into program demultiplex module;
Program demultiplex module, for extracting the first compression elementary stream of respective program in described transport stream and being cached to institute
State media bag cache module, form described first data cached;
Described internet channel module further includes:
Internet interface submodule, for receiving play list file and the transfer stream file of described internet, by described transmission
Stream file sends into media pretreatment submodule;
Media pre-process submodule, for extracting the second compression elementary stream in described transfer stream file and being cached to described matchmaker
Body bag cache module, forms described second data cached.
3. TV receiving system according to claim 2 is it is characterised in that described DTMB interface sub-module, for receiving
The television programme data of described DTMB network is simultaneously demodulated system and channel decoding to it, will include the described transmission of video and audio
Streaming enters described program demultiplex module;
Described program demultiplex module, for extracting and parsing the Program Specific Information in described transport stream, distinguishes described
The multiple television programme data interweaving in transport stream, extract the described first compression elementary stream of respective program, according to described biography
Described first compression elementary stream is sent into described media bag caching by the compression elementary stream serial number in the header packet information of defeated stream
Module is sequentially spliced and is cached, and forms described first data cached;
Described internet interface submodule, for receiving and processing play list file and the transfer stream file of described internet,
Described transfer stream file is sent into described media and pre-processes submodule;
Described media pre-process submodule, for extracting the second compression elementary stream in described transfer stream file, according to described
Described second compression elementary stream is sent into described media bag and is delayed by the compression elementary stream serial number in the header packet information of transport stream
Storing module is sequentially spliced and is cached, and forms described second data cached;
Described media bag cache module, for when described first data cached or described second data cached reach predetermined slow
Deposit thresholding, the described first data cached or described second header in data cached is removed obtain the first elementary stream or
Person second elementary stream simultaneously sends into described audio/video decoder.
4. TV receiving system according to claim 1 is it is characterised in that described TV receiving system is arranged at Set Top Box
Or in television terminal.
5. TV receiving system according to claim 1 is it is characterised in that described internet content distribution path and described
In DTMB content distribution path, the time synchronization information of data is consistent.
6. the TV receiving system according to any one of Claims 1 to 5 is it is characterised in that certain saves when user selects broadcasting
Mesh, if described network detection module described DTMB channel module is detected and described internet channel module can receive described
During the corresponding television programme data of program, then described media bag cache module preferentially passes through described in described DTMB channel module acquisition
The first of DTMB network is data cached, and described first data cached be sent to described audio/video decoder and play out.
If 7. TV receiving system according to claim 6 is it is characterised in that currently playing is the described of DTMB network
First is data cached, and described media bag cache module detect described first data cached less than buffer threshold when, then pass through
It is second data cached that described internet channel module obtains described internet, and by described second data cached be switched to described
Audio/video decoder plays out;
If currently playing is the described second data cached of internet, and described media bag cache module detects described second
Data cached less than described buffer threshold when, then pass through the first caching number that described DTMB channel module obtains described DTMB network
According to, and the described first described audio/video decoder of data cached feeding is played out;
If currently playing is the described second data cached of internet, and described media bag cache module detects described first
Data cached when reaching described buffer threshold, then by described first data cached send into described audio/video decoder and play out,
And interrupt data cached by the second of the described internet of described internet channel module acquisition.
8. TV receiving system according to claim 7 it is characterised in that described media bag cache module new obtain slow
Deposit data is that preparation stream is data cached, and that is playing is data cached data cached for playing stream, reads respectively and analysis is described
Time synchronization information during preparation stream data cached and described broadcasting stream is data cached, is switched as follows:
If the described preparation that first data cached lock in time information T1a of the described broadcasting stream play is switched with preparation
Flow first data cached lock in time information T1b equal, directly by the described preparation stream described audio frequency and video of data cached feeding
Decoder is decoded playing;
If first data cached lock in time T1a of the described broadcasting stream play is more than the described preparation stream of preparation switching
First data cached lock in time T1b, and the n-th lock in time Tnb data cached with described preparation stream is equal, then will
Described preparation stream data cached from T1b to Tnb between data remove, by the data cached feeding of the described preparation stream starting from Tnb
Described audio/video decoder is decoded playing;
If first data cached lock in time T1a of the described broadcasting stream play is less than the described preparation stream of preparation switching
First data cached lock in time T1b, and the described n-th data cached lock in time Tna of stream that play is equal to described pre-
First data cached lock in time T1b of standby stream, continue to take described play stream data cached in from T1a to Tna between data
Play out, then take described preparation stream data cached be decoded play.
If TV receiving system according to claim 6 it is characterised in that described network detection module detect described
When the bandwidth of internet is higher than threshold value, send the information whether selecting to obtain television programme data from described internet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310642489.8A CN103596040B (en) | 2013-12-03 | 2013-12-03 | Television receiving system in double modes of digital television terrestrial multimedia broadcasting and internet |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310642489.8A CN103596040B (en) | 2013-12-03 | 2013-12-03 | Television receiving system in double modes of digital television terrestrial multimedia broadcasting and internet |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103596040A CN103596040A (en) | 2014-02-19 |
CN103596040B true CN103596040B (en) | 2017-02-15 |
Family
ID=50085995
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310642489.8A Active CN103596040B (en) | 2013-12-03 | 2013-12-03 | Television receiving system in double modes of digital television terrestrial multimedia broadcasting and internet |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103596040B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104301773A (en) * | 2014-09-28 | 2015-01-21 | 四川长虹电器股份有限公司 | Method for making network broadcast channel playing and DTV channel playing compatible |
CN104320717B (en) * | 2014-10-13 | 2018-05-01 | 四川长虹电器股份有限公司 | A kind of method and terminal televisions for changing program source |
CN104349218B (en) * | 2014-10-15 | 2016-08-17 | 汤志刚 | Terrestrial DTV two-way interaction VOD system |
CN106230485A (en) * | 2016-09-12 | 2016-12-14 | 深圳市凯利华电子有限公司 | A kind of indoor wireless distribution system based on DTV VLC transmission system |
CN106792200A (en) * | 2017-02-17 | 2017-05-31 | 深圳创维数字技术有限公司 | A kind of Working mode switching method, device and Set Top Box |
CN107861707B (en) * | 2017-12-08 | 2021-07-20 | 北京酷我科技有限公司 | Data synchronization providing method for panoramic sound effect |
CN108965997B (en) * | 2018-07-06 | 2019-09-17 | 刘雅芸 | Stream media live broadcasting method and device based on mobile vulnerable network environment |
CN113055694A (en) * | 2019-12-26 | 2021-06-29 | 亦非云互联网技术(上海)有限公司 | Television live broadcast method, device and system, readable storage medium and smart television |
CN113259777A (en) * | 2020-02-10 | 2021-08-13 | 亦非云互联网技术(上海)有限公司 | Transmission application method, system, medium and device based on DTMB and IP mixed mode |
CN111246284B (en) * | 2020-03-09 | 2021-05-25 | 深圳创维-Rgb电子有限公司 | Video stream playing method, system, terminal and storage medium |
CN115278552B (en) * | 2022-07-05 | 2023-11-28 | 东方明珠新媒体股份有限公司 | Method and system for realizing video broadcasting based on 5G |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1984233A (en) * | 2006-05-22 | 2007-06-20 | 天栢宽带网络科技(上海)有限公司 | Double-mode set top box and double-mode data transmission |
CN101355689A (en) * | 2008-09-08 | 2009-01-28 | 深圳市同洲电子股份有限公司 | Method and system for controlling VOD of digital television as well as digital television receive terminal |
CN101854463A (en) * | 2010-06-04 | 2010-10-06 | 中国联合网络通信集团有限公司 | Method and device for implementing dual-mode set-top box |
CN102348117A (en) * | 2010-08-03 | 2012-02-08 | 深圳Tcl新技术有限公司 | System of transmitting digital high definition signal with low bandwidth, method thereof and network multimedia television |
CN103237241A (en) * | 2013-05-09 | 2013-08-07 | 无锡北斗星通信息科技有限公司 | Double-mode television (TV) capable of receiving ground TV signals and network TV signals |
CN103313126A (en) * | 2013-05-08 | 2013-09-18 | 无锡北斗星通信息科技有限公司 | Multifunctional television capable of receiving wired television signals and network television signals |
-
2013
- 2013-12-03 CN CN201310642489.8A patent/CN103596040B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1984233A (en) * | 2006-05-22 | 2007-06-20 | 天栢宽带网络科技(上海)有限公司 | Double-mode set top box and double-mode data transmission |
CN101355689A (en) * | 2008-09-08 | 2009-01-28 | 深圳市同洲电子股份有限公司 | Method and system for controlling VOD of digital television as well as digital television receive terminal |
CN101854463A (en) * | 2010-06-04 | 2010-10-06 | 中国联合网络通信集团有限公司 | Method and device for implementing dual-mode set-top box |
CN102348117A (en) * | 2010-08-03 | 2012-02-08 | 深圳Tcl新技术有限公司 | System of transmitting digital high definition signal with low bandwidth, method thereof and network multimedia television |
CN103313126A (en) * | 2013-05-08 | 2013-09-18 | 无锡北斗星通信息科技有限公司 | Multifunctional television capable of receiving wired television signals and network television signals |
CN103237241A (en) * | 2013-05-09 | 2013-08-07 | 无锡北斗星通信息科技有限公司 | Double-mode television (TV) capable of receiving ground TV signals and network TV signals |
Also Published As
Publication number | Publication date |
---|---|
CN103596040A (en) | 2014-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103596040B (en) | Television receiving system in double modes of digital television terrestrial multimedia broadcasting and internet | |
CN100380962C (en) | Receiving unit for executing seamless switch between video frequency signals | |
RU2641470C2 (en) | Transmission/receiving device, coding/decoding method and device | |
CN101588488B (en) | Multiple-position streaming media broadcasting method and system | |
CN103733631B (en) | Media content transceiving method and transceiving apparatus using same | |
US20110043614A1 (en) | Content transmission method and display device | |
KR20130014428A (en) | Transmission apparatus and method, and reception apparatus and method for providing 3d service using the content and additional image seperately transmitted with the reference image transmitted in real time | |
CN101917389A (en) | Network television direct broadcasting system | |
US20110063411A1 (en) | Receiving device, receiving method, transmission device and computer program | |
CN102474653A (en) | System and method for configurable packet streaming processing delay | |
JP2004297628A (en) | Stream switching apparatus and apparatus for providing contents thereto | |
US20230188767A1 (en) | Transmission device, transmission method, reception device, and reception method | |
CN1964485B (en) | A method for quick playing of multimedia broadcast channel | |
EP3439309B1 (en) | Method and apparatus for transmitting and receiving broadcast signals | |
CN105142003A (en) | Television program playing method and device | |
CN102045586A (en) | Network device, information processing apparatus, stream switching method and content distribution system | |
US20070067796A1 (en) | Method and apparatus for providing advertisement in digital broadcasting system | |
CN105900439B (en) | Reproduce the method and apparatus of multi-medium data | |
US9001276B2 (en) | System and method for multiplexing video contents from multiple broadcasting channels into single broadcasting channel | |
CN107018428A (en) | A kind of digital television system, headend equipment and set top box | |
CN100551063C (en) | The method that a kind of multimedia broadcasting (DMB) channels is play fast | |
JP2004320394A (en) | Transmitting system, receiving apparatus, and regeneration method for digital broadcasting | |
KR20130056829A (en) | Transmitter/receiver for 3dtv broadcasting, and method for controlling the same | |
KR101745652B1 (en) | Broadcasting transmitter and receiver for rapid receiving of decoding information, and method thereof | |
CN103118285A (en) | Method for enabling multi-scenario television to be compatible with ordinary television |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |