CN103546827B - Method, device and system for transmitting transport stream in television system - Google Patents

Method, device and system for transmitting transport stream in television system Download PDF

Info

Publication number
CN103546827B
CN103546827B CN201310528836.4A CN201310528836A CN103546827B CN 103546827 B CN103546827 B CN 103546827B CN 201310528836 A CN201310528836 A CN 201310528836A CN 103546827 B CN103546827 B CN 103546827B
Authority
CN
China
Prior art keywords
programs
transmission bag
transport stream
bag
current transmission
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
Application number
CN201310528836.4A
Other languages
Chinese (zh)
Other versions
CN103546827A (en
Inventor
张利强
王天星
王文军
李伟东
李红艳
李学雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Shibo Digital TV Technology Co Ltd
Original Assignee
Beijing Shibo Digital TV Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Shibo Digital TV Technology Co Ltd filed Critical Beijing Shibo Digital TV Technology Co Ltd
Priority to CN201310528836.4A priority Critical patent/CN103546827B/en
Publication of CN103546827A publication Critical patent/CN103546827A/en
Application granted granted Critical
Publication of CN103546827B publication Critical patent/CN103546827B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a method, device and system for transmitting a transport stream in a television system. The method comprises the step of receiving the transport stream to be transmitted; the step of obtaining program information from the transport stream and packaging current transmission packages of at least two programs into a plurality of new transmission packages of a new transport stream, wherein the new transmission packages belong to one fragment and include first transmission packages and second transmission packages, the number of the first transmission packages is equal to the number of the current transmission packages of the two programs, a load of each first transmission package correspondingly comprises first part data,a packaging identifier EID and a package head of the current transmission packages, and a load of each second transmission package comprises second part data and fragment information of the current transmission packages; the step of transmitting the first transmission packages, the second transmission packages, the mapping relation between the EIDs and a PID of the current transmission packages of the two programs and the program information. More programs can be provided without increasing PID filters at a television terminal.

Description

For transmitting the methods, devices and systems of the transport stream in television system
Technical field
The present invention relates to digital television techniques, more particularly, to a kind of method for transmitting the transport stream in television system, Device and system.
Background technology
In existing digital television system, various data such as video, audio frequency etc. of digital television program, are all by transmission (ts) stream is transmitted, and transport stream is to be made up of continuous transmission (ts) bag, and every kind of data all imparts a unique bag Identifier (packet identifier, pid).
Fig. 1 shows dvb(digital video broadcasting) front end system frame diagram, original video (v), Encoded device of the data such as audio frequency (a) etc. forms the standard transmission stream of standard ts bag composition after processing, adjust through multiplexer and qam Device processed is sent into transmission network after processing and is transmitted.Standard ts packet length is fixed as 188 bytes, and its middle wrapping head is 4 bytes, Remaining 184 byte is payload, and the structure of standard ts bag is as shown in the table:
One tunnel transport stream can transmit multiple programs, but due to limited bandwidth, just needs when providing more programs To be transmitted using multiple path transmission flow.Digital TV terminal, when providing certain program, needs transport stream was carried out Filter, obtains the various data (include voice data, video data etc.) of this program, for every kind of data of a program, by Pid makes a distinction, and digital TV terminal needs to open a single pid filter and it is filtered, and extracts this program Corresponding pid ts bag.Therefore, it is necessary to open simultaneously simultaneously when digital TV terminal needs to provide multiple program Multiple pid filters filter related data.But the hardware pid number of filters of digital TV terminal is limited, and this just limits Made digital TV terminal provides the quantity of program simultaneously.More programs how are provided to be to need badly under less hardware resource The problem solving.
Content of the invention
In view of this, the embodiment of the present invention provide a kind of method for transmitting the transport stream in television system, device and System, to reach the purpose saving pid filter used in digital television terminal system.
On the one hand, a kind of method for transmitting the transport stream in television system, described side are embodiments provided Method includes:
Receive transport stream waiting for transmission;
Obtain programme information from described transport stream, and the current transmission bag by least two programs in described transport stream It is encapsulated as the multiple new transmission bag of the new transport stream in a road, the plurality of new transmission bag belongs to a fragment, including first Transmission bag and the second transmission bag;Described first transmission bag is identical with the quantity of the current transmission bag of described at least two programs, often The load of individual described first transmission bag is corresponding include described in packet header of current transmission bag of programs at least two programs, the A part of data and package identification symbol eid;The current transmission of at least two programs described in load inclusion of described second transmission bag The Part II data of bag and the piece segment information of one fragment, described fragment information includes fragment identification and fragment length;
Transmit described first transmission bag, the second transmission bag, described eid and the current transmission bag of described at least two programs The mapping relations of bag mark pid and described programme information.
Further, the described current transmission encapsulation by least two programs in described transport stream is the new biography in a road The multiple new transmission bag of defeated stream includes:
After the Header compression of the current transmission bag of each programs in described at least two programs, respective with described Eid is placed on the Part I of the load of corresponding first transmission bag;
Part I data in the load of current transmission bag of each programs at least two programs described in extraction and Part II data;
The Part I data of the current transmission bag of each programs in described at least two programs is placed on corresponding The Part II of the load of one transmission bag, and described Part II data is added to institute according to the order of the described first transmission bag State in the load of the second transmission bag.
Further, programs in corresponding described at least two programs including of load of each described first transmission bag Current transmission bag packet header, be the packet header through overcompression;
Wherein, the described packet header through overcompression includes: reserved bit, original useful load unit start indicator, original from Suitable solution and original continuous counter field;Wherein, described original useful load unit start indicator, described original from Suitable solution and the useful load of the described original continuous counter field respectively current transmission bag of a described road transport stream Unit start indicator, Self Adaptive Control and seriality counter field.
Further, described Part I data be described in the current transmission bag of programs at least two programs bear Front 182 byte datas carrying, described Part II data be described in programs at least two programs current transmission Rear 2 byte datas of bag load.
Accordingly, the embodiment of the present invention additionally provides a kind of method for receiving the transport stream in television system, described Method includes:
Receive transport stream, described transport stream includes the first transmission bag, the second transmission bag, package identification symbol eid and former transmission In stream, the bag of the current transmission bag of at least two programs identifies mapping relations and the programme information of pid;Described first transmission bag Belong to a fragment with the described second transmission bag;Described first transmission bag and at least two programs described in described former transport stream The quantity of current transmission bag is identical, a set of section at least two programs described in the corresponding inclusion of load of each described first transmission bag The packet header of purpose current transmission bag, Part I data and respective eid;Described second transmission bag load include described at least The Part II data of the current transmission bag of two programs and the piece segment information of one fragment, described fragment information includes piece Segment identification and fragment length;
Find all first transmission bags and second transmission of one fragment according to described fragment identification and fragment length Bag;
Transmit in bag and the second transmission bag and described eid and former transport stream at least according to all the first of one fragment The mapping relations of the pid of current transmission bag of two programs, reduce described former transport stream described at least two programs current Transmission bag, obtain described at least two programs played data;
Mapping relations according to described eid and the pid of the current transmission bag of at least two programs and programme information and also The current transmission bag of described at least two programs of former described former transport stream, find described in every programs at least two programs Corresponding played data.
Further, described according to one fragment all first transmission bag and second transmission bag and described eid with The mapping relations of the pid of current transmission bag of at least two programs in former transport stream, reduce described former transport stream described at least The current transmission bag of two programs, comprising:
According to the mapping relations of described eid and the pid of the current transmission bag of at least two programs in former transport stream, will find Described at least two programs in the corresponding first transmission bag of every programs load in eid and the packet header reduction through overcompression The packet header of the current transmission bag of every programs at least two programs described in former transport stream;Wherein, described through overcompression Packet header includes: reserved bit, original useful load unit start indicator, original Self Adaptive Control and original continuous enumerator word Section;Wherein, described original useful load unit start indicator, described original Self Adaptive Control and described original continuous count Device field be respectively described in the useful load unit of at least current transmission bag of the former transport stream in former transport stream Zhong of two-way mono- tunnel rise Beginning designator, Self Adaptive Control and seriality counter field;
In at least two programs described in extraction, every programs corresponding described first transmit the Part I in the load of bag Corresponding Part II data in data, and the load of the second transmission bag;
Every programs corresponding Part I data and described Part II number at least two programs described in extracting According to the load being reduced to every programs corresponding current transmission bag at least two programs in former transport stream.
Further, before described Part I data is the current transmission bag load of programs in described former transport stream 182 byte datas, described Part II data is latter 2 of the current transmission bag load of programs in described former transport stream Byte data.
On the other hand, the embodiment of the present invention additionally provides a kind of device of the transport stream in transmission television system, described dress Put including:
Receiver module, for receiving transport stream waiting for transmission;
Package module, for obtaining programme information, and by described transmission from the transport stream that described receiver module receives The current transmission encapsulation of at least two programs in stream is the multiple new transmission bag of the new transport stream in a road, the plurality of new Transmission bag belong to a fragment, including first transmission bag and second transmission bag;Described first transmission is wrapped and described at least two sets The quantity of the current transmission bag of program is identical, at least two programs described in the corresponding inclusion of load of each described first transmission bag The packet header of current transmission bag of one programs, Part I data and package identification symbol eid;The load bag of described second transmission bag The piece segment information of the Part II data of the current transmission bag of at least two programs and one fragment, described fragment described in including Information includes fragment identification and fragment length;
Transport module, for transmitting the first transmission bag, the second transmission bag, described eid and the institute that described package module generates The bag stating the current transmission bag of at least two programs identifies the mapping relations of pid and described programme information.
Further, described package module includes:
Compression submodule, for by the Header compression of the current transmission bag of each programs in described at least two programs Afterwards, it is placed on the Part I of the load of corresponding first transmission bag with described respective eid;
Extracting sub-module, in the load of the current transmission bag of each programs at least two programs described in extracting Part I data and Part II data;
Add submodule, for by the Part I number of the current transmission bag of each programs in described at least two programs According to the Part II of the load being placed on corresponding first transmission bag, and by described Part II data according to the described first transmission bag Order be added to described second transmission bag load in.
Further, programs in corresponding described at least two programs including of load of each described first transmission bag Current transmission bag packet header, be the packet header through overcompression;
Wherein, the described packet header through overcompression includes: reserved bit, original useful load unit start indicator, original from Suitable solution and original continuous counter field;Wherein, described original useful load unit start indicator, described original from Suitable solution and the useful load of the described original continuous counter field respectively current transmission bag of a described road transport stream Unit start indicator, Self Adaptive Control and seriality counter field.
Further, described Part I data be described in the current transmission bag of programs at least two programs bear Front 182 byte datas carrying, described Part II data be described in programs at least two programs current transmission Rear 2 byte datas of bag load.
Accordingly, the embodiment of the present invention additionally provides a kind of device for receiving the transport stream in television system, described Device includes:
Receiver module, for receiving transport stream, described transport stream includes the first transmission bag, the second transmission bag, package identification Symbol eid and the mapping relations of the bag mark pid of the current transmission bag of at least two programs and programme information in former transport stream;Institute State the first transmission bag and described second transmission bag belongs to a fragment;Described in described first transmission bag and described former transport stream extremely The quantity of the current transmission bag of few two programs is identical, at least two sets described in the corresponding inclusion of load of each described first transmission bag The packet header of current transmission bag of programs, Part I data and respective eid in program;The load of described second transmission bag Including described in the Part II data of current transmission bag of at least two programs and the piece segment information of one fragment, described Segment information includes fragment identification and fragment length;
First searching modul, for received according to described receiver module second transmission bag in described fragment identification and Fragment length finds all first transmission bags and the second transmission bag of one fragment;
Recovery module, all first transmission bags for a fragment being found according to described first searching modul and the The two described eid that transmission is wrapped and described receiver module receives and the current transmission bag of at least two programs in former transport stream The mapping relations of pid, reduce described former transport stream described at least two programs current transmission bag, obtain described at least two sets The played data of program;
Second searching modul, for the described eid and at least former transport stream of two-way that are received according to described receiver module Described at least the two of the former transport stream of the mapping relations of the pid of current transmission bag and programme information and the reduction of described recovery module The current transmission bag of programs, find described in every corresponding played data of programs at least two programs.
Further, described recovery module includes:
Packet header reduces submodule, for according to described eid and the current transmission bag of at least two programs in former transport stream The mapping relations of pid, will find described in eid in the load of the corresponding first transmission bag of every programs at least two programs And the packet header through overcompression is reduced to the packet header of the current transmission bag of every programs at least two programs described in former transport stream; Wherein, the described packet header through overcompression includes: reserved bit, original useful load unit start indicator, original Self Adaptive Control With original continuous counter field;Wherein, described original useful load unit start indicator, described original Self Adaptive Control With described original continuous counter field be respectively described at least the former transport stream in former transport stream Zhong of two-way mono- tunnel work as forward pass The useful load unit start indicator of defeated bag, Self Adaptive Control and seriality counter field;
Extracting sub-module, negative for the corresponding described first transmission bag of programs every at least two programs described in extracting Corresponding Part II data in Part I data in load, and the load of the second transmission bag;
Load reduction submodule, for every programs corresponding Part I number at least two programs described in extracting According to being every programs corresponding current transmission bag at least two programs in former transport stream with described Part II data convert Load.
Further, before described Part I data is the current transmission bag load of programs in described former transport stream 182 byte datas, described Part II data is latter 2 of the current transmission bag load of programs in described former transport stream Byte data.
On the other hand, the embodiment of the present invention additionally provides a kind of digital television front-end system, including encoder, multiplexer and Qam manipulator, described digital television front-end system also includes the device for transmitting the transport stream in television system;
The described device for transmitting the transport stream in television system is located between described encoder and described multiplexer, institute State encoder by the transport stream of formation be sent to described in be used for transmitting the device of the transport stream in television system, described for transmitting The device of the transport stream in television system carries out process and forms new transport stream and by described new transport stream to described transport stream It is sent to multiplexer, described multiplexer is multiplexed to described new transport stream and is modulated by qam manipulator.
Accordingly, the embodiment of the present invention additionally provides a kind of digital television terminal system, including qam demodulator, demultiplexing Device and pid filter, described digital television terminal system also includes the device for receiving the transport stream in television system;
The described device for receiving the transport stream in television system be located at described pid filter and described decoder it Between, described qam demodulator, demultiplexer carry out qam demodulation and demultiplexing to the transport stream receiving, and pid filter extracts Transport stream after qam demodulation and demultiplexing has the fragment of identical pid, the described dress for receiving the transport stream in television system Put the fragment with identical pid to the transport stream after qam demodulation and demultiplexing to process, be reduced to former transport stream.
On the other hand, the embodiment of the present invention additionally provides a kind of digital television system, and described digital television system includes counting Word television headend system, transmission network and digital television terminal system;Wherein, described digital television front-end system is by described biography Transmission is streamed to described digital television terminal system by defeated network.
The method for transmitting the transport stream in television system of embodiment of the present invention proposition, apparatus and system, by inciting somebody to action The current transmission encapsulation of at least two programs is the multiple new transmission bag of the new transport stream in a road, the plurality of new transmission Include the first transmission bag and the second transmission bag, the first transmission bag and the second transmission bag belong to a fragment so that DTV Terminal system only needs to a pid filter and just can extract this fragment, by the current transmission of eid and at least two programs Bag the mapping relations of pid and programme information obtains the played data of each program it is achieved that digital TV terminal is not increasing More programs are provided in the case of hardware pid filter.
Brief description
Fig. 1 is dvb front end system frame diagram in prior art;
Fig. 2 is the flow chart of the method for transmitting the transport stream in television system that first embodiment of the invention provides;
Fig. 3 is the first biography in the method for transmitting the transport stream in television system that first embodiment of the invention provides The forming process schematic diagram of defeated bag;
Fig. 4 is first embodiment of the invention offer for transmitting one of the method for transport stream in television system piece The forming process schematic diagram of all of first transmission bag and the second transmission bag in section;
Fig. 5 is the flow chart of the method for receiving the transport stream in television system that second embodiment of the invention provides;
Fig. 6 is by one in the method for receiving the transport stream in television system that second embodiment of the invention provides Transmission bag in fragment is reduced to the process schematic of the current transmission bag of at least two programs;
Fig. 7 is the schematic diagram of the device for transmitting the transport stream in television system that third embodiment of the invention provides;
Fig. 8 is the schematic diagram of the device for receiving the transport stream in television system that fourth embodiment of the invention provides;
Fig. 9 is the structural representation of the digital television front-end system that fifth embodiment of the invention provides;
Figure 10 is the structural representation of the digital television terminal system that sixth embodiment of the invention provides;
Figure 11 is the structural representation of the digital television system that seventh embodiment of the invention provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just Part related to the present invention rather than full content is illustrate only in description, accompanying drawing.
Fig. 2 shows the first embodiment of the present invention.
Fig. 2 is a kind of realization of method for transmitting the transport stream in television system that first embodiment of the invention provides Flow chart, this realizes flow process, and details are as follows:
In step 201, receive transport stream waiting for transmission.
In the present embodiment, digital television front-end system receives the data such as the audio frequency and video including multiple programs waiting for transmission The transport stream of information.
In step 202., obtain programme information from transport stream, and working as at least two programs in described transport stream Front transmission encapsulation is the multiple new transmission bag of the new transport stream in a road.
Obtain programme information from described transport stream, and the current transmission bag by least two programs in described transport stream It is encapsulated as the multiple new transmission bag of the new transport stream in a road,
In the present embodiment, the transport stream receiving in step 201 is the sound of the multiple programs comprising transmission in need The data message of video etc., obtains programme information from described multiple path transmission flow, and at least two sets in described transport stream is saved Purpose current transmission encapsulation is the multiple new transmission bag of the new transport stream in a road, and the plurality of new transmission bag belongs to one Fragment, including the first transmission bag and the second transmission bag;Described first transmission bag and the current transmission bag of described at least two programs Quantity identical, the load of each described first transmission bag is corresponding include described at least two programs programs works as forward pass The packet header of defeated bag, Part I data and package identification symbol eid;Described second transmission bag load include described at least two sets save The Part II data of purpose current transmission bag and the piece segment information of one fragment, described fragment information includes fragment identification And fragment length.
Wherein, described programme information includes the pid of transmission bag and each transmission bag of the data such as the audio frequency and video of each program Position in described transport stream.Described package identification symbol (encapsulation identifier, eid) represents described current Mark in new transport stream for the transmission bag, length is 8 bits.
In corresponding described at least two programs including of load of each described first transmission bag, programs works as forward pass The packet header of defeated bag, is the packet header through overcompression;Wherein, the described packet header through overcompression includes: reserved bit, original useful load list First start indicator, original Self Adaptive Control and original continuous counter field;Wherein, described original useful load unit rises Beginning designator, described original Self Adaptive Control and described original continuous counter field are respectively working as of a described road transport stream The useful load unit start indicator of front transmission bag, Self Adaptive Control and seriality counter field.Wherein, described through overvoltage The packet header of contracting takies 8 bits, reserved bit, original useful load unit start indicator, original Self Adaptive Control and original company altogether Continuous enumerator takies length and is respectively 1 bit, 1 bit, 2 bits, 4 bits, and reserved bit is located at original useful load unit and initiates The anterior locations of designator, original Self Adaptive Control and original continuous counter field or back location.
The described current transmission encapsulation by least two programs in described transport stream is the many of the new transport stream in a road Individual new transmission bag includes following sub-step:
Sub-step 2021, after the Header compression of the current transmission bag of each programs in described at least two programs, with Described respective eid is placed on the Part I of the load of corresponding first transmission bag.
In the present embodiment, first the packet header of the current transmission bag of each programs in described at least two programs is carried out Compression, compression process is useful load unit start indicator in the packet header extract described current transmission bag, self-adaptive controlled System and seriality counter field, wherein, the useful load unit start indicator, Self Adaptive Control and the seriality meter that extract Number device field is referred to as original useful load unit start indicator, original Self Adaptive Control and original continuous enumerator word Section, it takies length and is respectively 1 bit, 2 bits, 4 bits, takies 7 bits altogether, adds a reserved bit, is formed through overcompression Packet header.Then corresponding first transmission will be placed on together with corresponding with current transmission bag for the described packet header through overcompression eid The Part I of the load of bag.The packet header of the described first transmission bag of Part I next-door neighbour of the load of described first transmission bag.
Sub-step 2022, first in the load of current transmission bag of each programs at least two programs described in extraction Partial data and Part II data.
In this embodiment, the data in the load of the current transmission bag of each programs in described at least two programs is entered Row is processed, and splits data into two parts, i.e. Part I data and Part II data, and described Part I data is located at described The anterior locations of current transmission bag are close to the position in packet header, and described Part II data is located at position after described current transmission bag Put, and the length of described Part I data is more than the length of described Part II data.Extract described first respectively Divided data and described part Part II data.
Sub-step 2023, the Part I data of the current transmission bag of each programs in described at least two programs is put In the Part II of the load of the corresponding first transmission bag and described Part II data is suitable according to the described first transmission bag Sequence is added in the load of described second transmission bag.
In the present embodiment, by the Part I data of the current transmission bag of each programs in described at least two programs Be placed on corresponding first transmission bag load Part II, and by the Part II data of multiple described current transmission bags according to The order of described first transmission bag is added in the load of described second transmission bag.The order of described first transmission bag is i.e. described to be worked as The order of front transmission bag, for example: five current transmission packet numbers at least two programs are respectively 1,2,3,4 and 5, works as five Part I data in front transmission bag and Part II data number are respectively 1,2,3,4 and 5, and Part I data is respectively Order according to this Part I data sequence number is placed on the Part II of the load of corresponding first transmission bag, then the first transmission bag Serial number be 1,2,3,4 and 5, identical with the numbering of corresponding Part II data, Part II data according to this second The order of partial data sequence number is added in the load of described second transmission bag.
Wherein, described first transmission bag includes: packet header, eid and the packet header through overcompression, Part I data, if institute State packet header, eid and the packet header through overcompression and Part I total length of data less than 188 bytes, then less than the position of 188 bytes Replaced with null byte, before described null byte may be located at Part I data it is also possible to be located at described Part I data it Afterwards.As a example after described null byte is located at described Part I data, Fig. 3 is first embodiment of the invention offer for passing The forming process schematic diagram of the first transmission bag in the method for transport stream in transmission of electricity viewing system.As shown in figure 3, packet header a represents The packet header of current transmission bag, packet header b represents the packet header of the first transmission bag, and the packet header why wrapped to different transmission adds mark A, b are to show that the packet header of current transmission bag and the first transmission bag is different;Wherein, the first transmission bag through overcompression Packet header is that a compression in packet header obtains by the packet header of current transmission bag, the packet header loading except eid with through overcompression of the first transmission bag Also include the Part I data of current transmission bag, if the packet header of the first transmission bag is packet header b, eid, the packet header through overcompression With Part I total length of data less than 188 bytes, then insufficient section is replaced by null byte.The structure of described first transmission bag is such as Shown in following table:
Described second transmission bag is first transmission bag of described fragment, and the load of described second transmission bag includes fragment letter Breath and the Part II data of multiple described current transmission bags, described fragment information includes the fragment identification (mte of described fragment Table id) and fragment length (mte section length), described segment information also includes indicating bit (point Field), described indicating bit indicates the beginning of a fragment, and it is described that the value of described fragment length represents that this fragment is comprised The shared length in described fragment of the content of current transmission bag.Fig. 4 is first embodiment of the invention offer for transmitting electricity In one of method of transport stream in viewing system fragment, the forming process of all of first transmission bag and the second transmission bag is shown It is intended to.As shown in figure 4, packet header a represents the packet header of current transmission bag, packet header b represents the packet header of the first transmission bag, and packet header c represents The packet header of the second transmission bag, why the packet header to different transmission bags add mark a, b, c be in order to show current transmission bag, The packet header of the first transmission bag and the second transmission bag is different;The load of the second transmission bag includes piece segment information and forms this fragment Multiple current transmission bags Part II data, if second transmission bag packet header be packet header c, piece segment information and this piece of composition The Part II total length of data of multiple current transmission bags of section is replaced by null byte, wherein less than 188 bytes, then insufficient section Null byte is not drawn in the diagram.Described second transmission packet structure is as shown in the table:
In step 203, transmission the first transmission bag, the second transmission bag, eid and the current transmission bag of at least two programs The mapping relations of pid and programme information.
In the present embodiment, transmitting step 202 is formed the first transmission bag, the second transmission bag, eid and at least two programs The mapping relations of the pid of current transmission bag and after programme information processed to new transport stream accordingly to other equipment It is sent to digital TV terminal through transmission network.
Described Part I data be described in the current transmission bag load of programs at least two programs front 182 Individual byte data, described Part II data be described in after the current transmission bag load of programs at least two programs 2 byte datas.
In a preferred implementation of the present embodiment, described Part I data be described at least two programs Front 182 byte datas of the current transmission bag load of one programs, described Part II data is described at least two programs In programs current transmission bag load rear 2 byte datas.Therefore, a fragment of formation includes 90 first Transmission bag and 1 second transmission bag, described second transmission bag is first transmission bag of described fragment, this 90 first transmission bags Formed by the current transmission encapsulation of at least two programs in 90 described transport streams with 1 second transmission bag.So to institute State Part I data and the division of described Part II data, need not insert when forming the first transmission bag and the second transmission bag Null byte, efficiency of transmission is high.When rear 2 byte datas that described Part II data loads for described current transmission bag, Fragment length value in piece segment information in described second transmission bag is (184 × 90+180).
The present embodiment is by being the new transport stream in a road by the current transmission encapsulation of at least two programs in transport stream Multiple new transmission bag, the plurality of new transmission bag belongs to a fragment, including the first transmission bag and the second transmission bag, institute State the first transmission bag and include eid, by the current transmission bag of the described first transmission bag, the second transmission bag, eid and at least two programs The mapping relations of pid and programme information sends it is achieved that digital TV terminal is in the feelings not increasing hardware pid filter More programs are provided under condition.
Fig. 5 shows the second embodiment of the present invention.
Fig. 5 is a kind of realization of method for receiving the transport stream in television system that second embodiment of the invention provides Flow chart, this realizes flow process, and details are as follows:
In step 501, receive transport stream.
In the present embodiment, digital television terminal system receive transport stream, described transport stream include the first transmission bag, second Transmission bag, package identification accord with the mapping relations of eid and the bag mark pid of the current transmission bag of at least two programs in former transport stream And programme information;Described first transmission bag and described second transmission bag belong to a fragment;Described first transmission bag with described Described in former transport stream, the quantity of the current transmission bag of at least two programs is identical, and the load of each described first transmission bag corresponds to Including described in the packet header of the current transmission bag of programs, Part I data and respective eid at least two programs;Described The Part II data of current transmission bag of at least two programs and one fragment described in load inclusion of the second transmission bag Piece segment information, described fragment information includes fragment identification and fragment length.Described transport stream is filtered by pid filter.
In step 502, all first transmission bags and second of a fragment are found according to fragment identification and fragment length Transmission bag.
In the present embodiment, each fragment comprising in transport stream, institute are found first according to fragment identification and fragment length First transmission bag stating each fragment is the second transmission bag, and other transmission bags are the first transmission bag.
In step 503, transmit in bag and the second transmission bag and eid and former transport stream according to all the first of a fragment The mapping relations of the pid of current transmission bag of at least two programs, reduce the current transmission of at least two programs of former transport stream Bag, obtain described at least two programs played data.
Exemplary, step 503 includes following sub-step:
Sub-step 5031, according to the mapping of described eid and the pid of the current transmission bag of at least two programs in former transport stream Relation, will find described in eid in the load of the corresponding first transmission bag of every programs at least two programs and through overvoltage The packet header of contracting is reduced to the packet header of the current transmission bag of every programs at least two programs described in former transport stream.Wherein, institute State the packet header through overcompression to include: reserved bit, original useful load unit start indicator, original Self Adaptive Control and original company Continuous property counter field;Wherein, described original useful load unit start indicator, described original Self Adaptive Control and described former Beginning seriality counter field be respectively described at least the having of the current transmission bag of the former transport stream in former transport stream Zhong of two-way mono- tunnel Effect load cell start indicator, Self Adaptive Control and seriality counter field.Therefore, will be every in described at least two programs Original useful load unit start indicator, described original in the packet header through overcompression of the corresponding first transmission bag of programs Described in Self Adaptive Control box, original continuous counter field extracts, and forms at least two programs of corresponding former transport stream In every programs the packet header of current transmission bag in useful load unit start indicator, Self Adaptive Control and seriality count Device field.The mapping relations of eid and eid and the pid of the current transmission bag of at least two programs according to the described first transmission bag, The eid of the described first transmission bag is reduced to the pid of the current transmission bag of at least two programs.Pid after reduction can with extremely The former pid of the current transmission bag of few two programs equal it is also possible to unequal, however it is necessary that ensureing that the pid after reduction can be unique Identify the data of this transmission bag.And then the packet header of the current transmission bag of at least two programs described in obtaining.
Sub-step 5032, at least two programs described in extraction, every programs corresponding described first transmit in the load of bag Part I data, and second transmission bag load in corresponding Part II data.At least two programs described in extraction In Part I data in the load of the first transmission bag in every corresponding all fragments of programs, and according to the first transmission bag Order extract second transmission bag load in corresponding Part II data.
Sub-step 5033, will extract described in every programs corresponding Part I data and described at least two programs Part II data convert is the load of every programs corresponding current transmission bag at least two programs in former transport stream.Specifically For, by the described Part I data extracted be placed on described in first of load of current transmission bag of at least two programs Point, by the corresponding described Part II data extracted be placed on described at least two programs current transmission bag load the Two parts, thus the load of the current transmission bag of at least two programs described in reduction.
Fig. 6 is by one in the method for receiving the transport stream in television system that second embodiment of the invention provides Transmission bag in fragment is reduced to the process schematic of the current transmission bag of at least two programs.As shown in fig. 6, packet header a represents The packet header of the current transmission bag of reduction, packet header b represents the packet header of the first transmission bag, and packet header c represents the packet header of the second transmission bag, it So the packet header to different transmission bags adds that mark a, b, c are to show current transmission bag, the first transmission bag and the second biography The packet header of defeated bag is different.Current by least two programs transmitting the former transport stream that bag reduces in a described fragment The structure of transmission bag is as shown in the table:
By at least packet header of the current transmission bag of the former transport stream of two-way and load described in reduction, and then obtain reduction extremely The current transmission bag of few two programs, obtain described at least two programs played data.
In step 504, the mapping relations according to the eid and pid of the current transmission bag of at least two programs and program The current transmission bag of at least two programs of the former transport stream of information and reduction, find described in every programs at least two programs Corresponding played data.
In the present embodiment, the mapping relations according to the eid receiving and the pid of the current transmission bag of at least two programs And programme information, find current transmission bag corresponding with each program, further according to described programme information, find and represent each The transmission bag of the audio, video data of program, thus obtain the played data of each program.
In a preferred implementation of the present embodiment, described Part I data is a set of section in described former transport stream Front 182 byte datas of purpose current transmission bag load, described Part II data is programs in described former transport stream Current transmission bag load rear 2 byte datas.Therefore, a fragment includes 90 first transmission bags and 1 second biography Defeated bag, described second transmission bag is first of described fragment transmission bag, this 90 first transmission bags and 1 second transmission bag by The current transmission encapsulation of at least two programs in 90 former transport streams forms.The the first transmission bag so obtaining and the second biography Defeated bag need not insert null byte, and efficiency of transmission is high.
The present embodiment pass through receive through pid filter filter transport stream, described transport stream include the first transmission bag, second Transmission bag, package identification accord with the mapping relations of eid and the bag mark pid of the current transmission bag of at least two programs in former transport stream And programme information, find the first transmission bag and the second transmission bag, reduce the current transmission of at least two programs of former transport stream Bag, finds the current transmission bag of the audio, video data carrying each program, thus obtaining each program according to programme information Played data is it is achieved that digital TV terminal provides more programs in the case of not increasing hardware pid filter.
Fig. 7 shows the third embodiment of the present invention.
Fig. 7 is that one of third embodiment of the invention is shown for the structure transmitting the device of transport stream in television system It is intended to.As shown in fig. 7, the device for transmitting the transport stream in television system described in the present embodiment includes: receiver module 701st, package module 702 and transport module 703.
Wherein, receiver module 701 is used for receiving multiple path transmission flow waiting for transmission.
Package module 702 is used for obtaining programme information from the transport stream that described receiver module receives, and by described biography The current transmission encapsulation of at least two programs in defeated stream is the multiple new transmission bag of the new transport stream in a road, the plurality of New transmission bag belongs to a fragment, including the first transmission bag and the second transmission bag;Described first transmission bag and described at least two The quantity of the current transmission bag of programs is identical, at least two programs described in the corresponding inclusion of load of each described first transmission bag In packet header of current transmission bag of programs, Part I data and package identification symbol eid;The load of described second transmission bag Including described in the Part II data of current transmission bag of at least two programs and the piece segment information of one fragment, described Segment information includes fragment identification and fragment length.
Wherein, described programme information includes the pid of transmission bag and each transmission bag of the data such as the audio frequency and video of each program Position in described transport stream.Described package identification symbol (encapsulation identifier, eid) represents described current Mark in new transport stream for the transmission bag, length is 8 bits.
In corresponding described at least two programs including of load of each described first transmission bag, programs works as forward pass The packet header of defeated bag, is the packet header through overcompression;Wherein, the described packet header through overcompression includes: reserved bit, original useful load list First start indicator, original Self Adaptive Control and original continuous counter field;Wherein, described original useful load unit rises Beginning designator, described original Self Adaptive Control and described original continuous counter field are respectively working as of a described road transport stream The useful load unit start indicator of front transmission bag, Self Adaptive Control and seriality counter field.Wherein, described through overvoltage The packet header of contracting takies 8 bits, reserved bit, original useful load unit start indicator, original Self Adaptive Control and original company altogether Continuous enumerator takies length and is respectively 1 bit, 1 bit, 2 bits, 4 bits, and reserved bit is located at original useful load unit and initiates The anterior locations of designator, original Self Adaptive Control and original continuous counter field or back location.
Described package module 702 also includes following submodule:
Compression submodule, for by the Header compression of the current transmission bag of each programs in described at least two programs Afterwards, it is placed on the Part I of the load of corresponding first transmission bag with described respective eid.First to described at least two programs In packet header of current transmission bag of each programs be compressed, compression process is in the packet header extract described current transmission bag Useful load unit start indicator, Self Adaptive Control and seriality counter field, wherein, the useful load list that extracts First start indicator, Self Adaptive Control and seriality counter field be referred to as original useful load unit start indicator, Original Self Adaptive Control and original continuous counter field, it takies length and is respectively 1 bit, 2 bits, 4 bits, takies altogether 7 bits, add a reserved bit, form the packet header through overcompression.Then by the described packet header through overcompression and and current transmission Wrap the Part I that corresponding eid is placed on the load of corresponding first transmission bag together.The of the load of described first transmission bag The packet header of the described first transmission bag of part next-door neighbour.
Extracting sub-module, in the load of the current transmission bag of each programs at least two programs described in extracting Part I data and Part II data.Data in the load of described current transmission bag is processed, splits data into Two parts, i.e. Part I data and Part II data, described Part I data is located at before described current transmission bag It is positioned next to the position in packet header, described Part II data is located at the back location of described current transmission bag, and described first The length of partial data is more than the length of described Part II data.Extract described Part I data and described part respectively Part II data.
Add submodule, for by the Part I number of the current transmission bag of each programs in described at least two programs According to the Part II of the load being placed on corresponding first transmission bag, and by described Part II data according to the described first transmission bag Order be added to described second transmission bag load in.Current transmission bag by each programs in described at least two programs Part I data be placed on corresponding first transmission bag load Part II, and the by multiple described current transmission bags Two partial datas are added in the load of described second transmission bag according to the order of the described first transmission bag.Described first transmission bag Order be described current transmission bag order, for example: five current transmission packet numbers at least two programs be respectively 1, 2nd, 3,4 and 5, the Part I data in five current transmission bags and Part II data number are respectively 1,2,3,4 and 5, Part I data is placed on the second of the load of corresponding first transmission bag respectively according to the order of this Part I data sequence number Part, then the serial number of the first transmission bag is 1,2,3,4 and 5, identical with the numbering of corresponding Part II data, second Divided data is added in the load of described second transmission bag according to the order of this Part II data sequence number.
Wherein, described first transmission bag includes: packet header, eid and the packet header through overcompression, Part I data, if institute State packet header, eid and the packet header through overcompression and Part I total length of data less than 188 bytes, then less than the position of 188 bytes Replaced with null byte, before described null byte may be located at Part I data it is also possible to be located at described Part I data it Afterwards.
Described second transmission bag is first transmission bag of described fragment, and the load of described second transmission bag includes fragment letter Breath and the Part II data of multiple described current transmission bags, described fragment information includes the fragment identification (mte of described fragment Table id) and fragment length (mte section length), described segment information also includes indicating bit (point Field), described indicating bit indicates the beginning of a fragment, and it is described that the value of described fragment length represents that this fragment is comprised The shared length in described fragment of the content of current transmission bag.Transport module, for transmit that described package module generates the The mapping that one transmission bag, the bag of the current transmission bag of the second transmission bag, described eid and described at least two programs identify pid is closed System and described programme information.
Transport module 703 be used for transmitting the first transmission bag that described package module generates, the second transmission bag, described eid with The mapping relations of the pid of current transmission bag of described at least two programs and described programme information.
In a preferred implementation of the present embodiment, described Part I data be described at least two programs Front 182 byte datas of the current transmission bag load of one programs, described Part II data is described at least two programs In programs current transmission bag load rear 2 byte datas.Therefore, a fragment of formation includes 90 first Transmission bag and 1 second transmission bag, described second transmission bag is first transmission bag of described fragment, this 90 first transmission bags Formed by the current transmission encapsulation of at least two programs in 90 described transport streams with 1 second transmission bag.So to institute State Part I data and the division of described Part II data, need not insert when forming the first transmission bag and the second transmission bag Null byte, efficiency of transmission is high.When rear 2 byte datas that described Part II data loads for described current transmission bag, Fragment length value in piece segment information in described second transmission bag is (184 × 90+180).
It is that a road is new that the present embodiment passes through package module by the current transmission encapsulation of at least two programs in transport stream Transport stream multiple new transmission bag, the plurality of new transmission bag belongs to a fragment, including the first transmission bag and second Transmission bag, described first transmission includes eid, and the described first transmission is wrapped by transport module, the second transmission bag, eid and at least two Mapping relations of the pid of current transmission bag of programs and programme information sends it is achieved that digital TV terminal is not increasing More programs are provided in the case of stiffened part pid filter.
Fig. 8 shows the fourth embodiment of the present invention.
Fig. 8 is a kind of structure of device for receiving the transport stream in television system that fourth embodiment of the invention provides Schematic diagram.As shown in figure 8, the device for receiving the transport stream in television system described in the present embodiment includes: receiver module 801st, the first searching modul 802, recovery module 803 and the second searching modul 804.
Wherein, receiver module 801 is used for receiving transport stream, and described transport stream includes the first transmission bag, the second transmission bag, envelope Dress identifier eid and the mapping relations of the bag mark pid of the current transmission bag of at least two programs and program in former transport stream Information;Described first transmission bag and described second transmission bag belong to a fragment;Described first transmission bag and described former transport stream Described at least two programs current transmission bag quantity identical, load of each described first transmission bag is corresponding include described The packet header of current transmission bag of programs, Part I data and respective eid at least two programs;Described second transmission The fragment letter of the Part II data of current transmission bag of at least two programs and one fragment described in load inclusion of bag Breath, described fragment information includes fragment identification and fragment length.Described transport stream is filtered by pid filter.
First searching modul 802 is used for transmitting the described fragment identification in bag according to described receiver module receives second Find all first transmission bags and the second transmission bag of one fragment with fragment length.Specifically, according to fragment identification Find each fragment comprising in transport stream with fragment length first, first transmission bag of each fragment described is the second transmission Bag, other transmission bags are the first transmission bag.
Recovery module 803 be used for found according to described first searching modul a fragment all first transmission bag and The pid of the current transmission bag of at least two programs in the second described eid that transmission is wrapped and receiver module receives and former transport stream Mapping relations, reduce described former transport stream described at least two programs current transmission bag, obtain described at least two sets save Purpose played data.Exemplary, described recovery module 804 includes following submodule:
Packet header reduces submodule, for according to described eid and the current transmission bag of at least two programs in former transport stream The mapping relations of pid, will find described in eid in the load of the corresponding first transmission bag of every programs at least two programs And the packet header through overcompression is reduced to the packet header of the current transmission bag of every programs at least two programs described in former transport stream. Wherein, the described packet header through overcompression includes: reserved bit, original useful load unit start indicator, original Self Adaptive Control With original continuous counter field;Wherein, described original useful load unit start indicator, described original Self Adaptive Control With described original continuous counter field be respectively described at least the former transport stream in former transport stream Zhong of two-way mono- tunnel work as forward pass The useful load unit start indicator of defeated bag, Self Adaptive Control and seriality counter field.Therefore, by described at least two sets Original useful load unit start indicator in the packet header through overcompression of the corresponding first transmission bag of every programs in program, Original continuous counter field described in described original Self Adaptive Control box extracts, and forms corresponding former transport stream at least Useful load unit start indicator in the packet header of current transmission bag of every programs in two programs, Self Adaptive Control and company Continuous property counter field.Eid and eid according to the described first transmission bag is with the pid's of the current transmission bag of at least two programs Mapping relations, the eid of the described first transmission bag are reduced to the pid of the current transmission bag of at least two programs.Pid after reduction Can equal with the former pid of the current transmission bag of at least two programs it is also possible to unequal, however it is necessary that after ensureing reduction The data of pid energy this transmission bag of unique mark.And then the packet header of the current transmission bag of at least two programs described in obtaining.
Extracting sub-module, negative for the corresponding described first transmission bag of programs every at least two programs described in extracting Corresponding Part II data in Part I data in load, and the load of the second transmission bag.At least two sets described in extraction The Part I data in the load of the first transmission bag in the corresponding all fragments of every programs in program, and according to the first biography The order of defeated bag extracts the corresponding Part II data in the load of the second transmission bag.
Load reduction submodule, for every programs corresponding Part I number at least two programs described in extracting According to being every programs corresponding current transmission bag at least two programs in former transport stream with described Part II data convert Load.Specifically, by the described Part I data extracted be placed on described at least two programs current transmission bag negative Carry Part I, by the corresponding described Part II data extracted be placed on described at least two programs current transmission bag Load Part II, thus reduction described at least two programs current transmission bag load.
By the packet header of the current transmission bag of at least two programs and load described in reduction, and then obtain at least two reducing The current transmission bag of programs, obtain described at least two programs played data.
Second searching modul 804 is used for described eid and at least former transport stream of two-way receiving according to described receiver module The mapping relations of the pid of current transmission bag and programme information and described recovery module reduction former transport stream described at least The current transmission bag of two programs, find described in every corresponding played data of programs at least two programs.Specifically, root According to mapping relations and the programme information of the eid the receiving and pid of the current transmission bag of at least two programs, find and each Program corresponding current transmission bag, further according to described programme information, finds the transmission of the audio, video data representing each program Bag, thus obtain the played data of each program.
In a preferred implementation of the present embodiment, described Part I data is a set of section in described former transport stream Front 182 byte datas of purpose current transmission bag load, described Part II data is programs in described former transport stream Current transmission bag load rear 2 byte datas.Therefore, a fragment includes 90 first transmission bags and 1 second biography Defeated bag, described second transmission bag is first of described fragment transmission bag, this 90 first transmission bags and 1 second transmission bag by The current transmission encapsulation of at least two programs in 90 former transport streams forms.The the first transmission bag so obtaining and the second biography Defeated bag need not insert null byte, and efficiency of transmission is high.
The present embodiment receives, by receiver module, the transport stream filtering through pid filter, and described transport stream includes the first biography Defeated bag, the second transmission bag, package identification accord with the bag mark pid of eid and the current transmission bag of at least two programs in former transport stream Mapping relations and programme information, the first searching modul find the first transmission bag and second transmission bag, recovery module reduction former The current transmission bag of at least two programs of transport stream, the second searching modul finds according to programme information and carries each program The current transmission bag of audio, video data, thus obtain the played data of each program it is achieved that digital TV terminal is not increasing More programs are provided in the case of hardware pid filter.
Fig. 9 shows the fifth embodiment of the present invention.
Fig. 9 is the structural representation of one of fifth embodiment of the invention digital television front-end system.As shown in figure 9, Digital television front-end system described in the present embodiment includes encoder 901, the device for transmitting the transport stream in television system 902nd, multiplexer 903 and qam manipulator 904;The described device for transmitting the transport stream in television system is located at described coding Between device and described multiplexer, described encoder by the transport stream of formation be sent to described in be used for transmitting the transmission in television system The device of stream, the described device for transmitting the transport stream in television system carries out process to described transport stream and forms new transmission Described new transport stream is simultaneously sent to multiplexer by stream, and described multiplexer is multiplexed to described new transport stream and is adjusted by qam Device processed is modulated.Wherein, described encoder 901, described multiplexer 903 and described qam manipulator 904 are prior art, Here repeat no more.
The described device 902 for transmitting the transport stream in television system includes: receiver module, package module and transmission mould Block, its each module is identical for transmitting each module of the device of the transport stream in television system with described in 3rd embodiment, this In repeat no more.The described device for transmitting the transport stream in television system can be integrated in a server, referred to as many Road transport stream encapsulation (multi ts encapsulation) server, referred to as mte server.
The device that digital television front-end system described in the present embodiment passes through for transmitting the transport stream in television system is real The now encapsulation to the current transmission bag of at least two programs in transport stream, such that it is able to make digital TV terminal not increase Plus more programs are provided in the case of pid filter.
Figure 10 shows the sixth embodiment of the present invention.
Figure 10 is the structural representation of one of sixth embodiment of the invention digital television terminal system.As Figure 10 institute Show, the digital television terminal system described in the present embodiment includes qam demodulator 1001, demultiplexer 1002, pid filter 1003 With the device 1004 for receiving the transport stream in television system;The described device position for receiving the transport stream in television system After described pid filter, described qam demodulator, demultiplexer carry out qam demodulation to the transport stream receiving and demultiplex There is the fragment of identical pid with the transport stream that, pid filter extracts after qam demodulation and demultiplexing, described for receiving TV The device of the transport stream in system is processed to the fragment with identical pid of the transport stream after qam demodulation and demultiplexing, also Originally it was former transport stream.Wherein, described qam demodulator 1001, described demultiplexer 1002 and described pid filter 1003, are Prior art, repeats no more here.
Device 1004 for receiving the transport stream in television system includes: receiver module, the first searching modul, goes back grand master pattern Block and the second searching modul.Its each module and the device for receiving the transport stream in television system described in fourth embodiment Each module is identical, repeats no more here.
Digital television terminal system described in the present embodiment first passes through pid filter and transport stream is filtered, and is used for The device receiving the transport stream in television system finds in the fragment of the pid identical transport stream extracted through pid filter The first transmission bag in fragment and the second transmission bag, the current transmission bag of reduction at least two programs, search according to programme information To the current transmission bag of the audio, video data of at least two programs described in carrying, thus obtaining the played data of each program, real Having showed digital TV terminal provides more programs in the case of not increasing hardware pid filter.
Figure 11 shows the seventh embodiment of the present invention.
Figure 11 is the structural representation of one of seventh embodiment of the invention digital television system.As shown in figure 11, originally Digital television system described in embodiment includes digital television front-end system 1101, transmission network 1102 and digital TV terminal system System 1103;Transmission is streamed to described digital TV terminal system by described transmission network by described digital television front-end system System.Wherein, described digital television front-end system 1101 includes the device for transmitting the transport stream in television system, described is used for The device of the transport stream in transmission television system is used for the current transmission bag of at least two programs in transport stream is packaged; Described digital television front-end system is identical with the digital television front-end system described in the 5th embodiment, repeats no more here;Described Transmission network 1102 is used for realizing the biography of the transport stream between described digital television front-end system and described digital television terminal system Defeated;Described digital television terminal system 1103 includes the device for receiving the transport stream in television system, described DTV Terminal system is identical with the digital television terminal system described in sixth embodiment, repeats no more here.
Digital television system described in the present embodiment utilizes for transmitting in television system in digital television front-end system The device of transport stream realize to the current transmission encapsulation of at least two programs in transport stream being the new transport stream in a road New transmission bag, described new transmission bag includes the first transmission bag and the second transmission bag, and described first transmission includes eid, institute State eid and represent mark in new transport stream for the current transmission bag;Transmission network by the first transmission bag in new transport stream, the Two transmission bags, eid are transferred to DTV with the mapping relations of the pid of current transmission bag of at least two programs and programme information Terminal system;Pid filter filter transport stream first in digital television terminal system, extracts pid identical fragment, finds The first transmission bag in described fragment and the second transmission bag, the current transmission bag of reduction at least two programs, according to programme information Find the current transmission bag of the audio, video data carrying each program, thus obtain each program played data it is achieved that Digital TV terminal provides more programs in the case of not increasing hardware pid filter.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore although being carried out to the present invention by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other Equivalent embodiments more can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (17)

1. a kind of method for transmitting the transport stream in television system is it is characterised in that methods described includes:
Receive transport stream waiting for transmission;
Obtain programme information from described transport stream, and the current transmission encapsulation by least two programs in described transport stream For the multiple new transmission bag of the new transport stream in a road, the plurality of new transmission bag belongs to a fragment, including the first transmission Bag and the second transmission bag;Part I is extracted in the load of the current transmission bag of each programs from described at least two programs Data and Part II data;Described first transmission bag is identical with the quantity of the current transmission bag of described at least two programs, often The load of individual described first transmission bag is corresponding include described in packet header of current transmission bag of programs at least two programs, the A part of data and package identification symbol eid;The current transmission of at least two programs described in load inclusion of described second transmission bag The Part II data of bag and the piece segment information of one fragment, described fragment information includes fragment identification and fragment length; Wherein, the load of each described first transmission bag corresponds to the current transmission bag of programs in described at least two programs including Packet header, be the packet header through overcompression;
Transmit described first transmission bag, the bag mark of the current transmission bag of the second transmission bag, described eid and described at least two programs Know the mapping relations of pid and described programme information.
2. method according to claim 1 it is characterised in that described by least two programs in described transport stream work as Front transmission encapsulation is that the multiple new transmission bag of the new transport stream in a road includes:
After the Header compression of the current transmission bag of each programs in described at least two programs, with respective eid be placed on right The Part I of the load of the first transmission bag answered;
Part I data and second in the load of current transmission bag of each programs at least two programs described in extraction Partial data;
The Part I data of the current transmission bag of each programs in described at least two programs is placed on corresponding first biography The Part II of the load of defeated bag, and described Part II data is added to described the according to the order of the described first transmission bag In the load of two transmission bags.
3. method according to claim 1 and 2 is it is characterised in that the load of each described first transmission bag corresponds to and includes Described at least two programs in programs current transmission bag packet header, be the packet header through overcompression;
Wherein, the described packet header through overcompression includes: reserved bit, original useful load unit start indicator, original self adaptation Control and original continuous counter field;Wherein, described original useful load unit start indicator, described original self adaptation Control the useful load unit of the current transmission bag being respectively a described road transport stream with described original continuous counter field Start indicator, Self Adaptive Control and seriality counter field.
4. method according to claim 1 and 2 is it is characterised in that described Part I data is described at least two sets sections Front 182 byte datas of the current transmission bag load of the programs in mesh, described Part II data is described at least two Rear 2 byte datas of the current transmission bag load of the programs in programs.
5. a kind of method for receiving the transport stream in television system is it is characterised in that methods described includes:
Receive transport stream, described transport stream is included in the first transmission bag, the second transmission bag, package identification symbol eid and former transport stream The bag of the current transmission bag of at least two programs identifies mapping relations and the programme information of pid;Described first transmission bag and institute State the second transmission bag and belong to a fragment;Carry in the load of the current transmission bag of each programs from described at least two programs Take Part I data and Part II data;Described first transmission bag and at least two programs described in described former transport stream The quantity of current transmission bag is identical, a set of section at least two programs described in the corresponding inclusion of load of each described first transmission bag The packet header of purpose current transmission bag, Part I data and respective eid;Described second transmission bag load include described at least The Part II data of the current transmission bag of two programs and the piece segment information of one fragment, described fragment information includes piece Segment identification and fragment length;Wherein, one in corresponding described at least two programs including of load of each described first transmission bag The packet header of the current transmission bag of programs, is the packet header through overcompression;
Find all first transmission bags and the second transmission bag of one fragment according to described fragment identification and fragment length;
Transmit at least two sets in bag and the second transmission bag and described eid and former transport stream according to all the first of one fragment The mapping relations of the pid of current transmission bag of program, reduce the current transmission of described at least two programs of described former transport stream Bag, obtain described at least two programs played data;
Mapping relations according to described eid and the pid of the current transmission bag of at least two programs and programme information and reduction The current transmission bag of described at least two programs of described former transport stream, find described at least two programs every programs correspond to Played data.
6. method according to claim 5 is it is characterised in that described all first transmission according to one fragment are wrapped With the mapping relations of the second transmission bag and the described eid and pid of the current transmission bag of at least two programs in former transport stream, reduction The current transmission bag of described at least two programs of described former transport stream, comprising:
According to the mapping relations of described eid and the pid of the current transmission bag of at least two programs in former transport stream, by the institute finding State the eid in the load of the corresponding first transmission bag of every programs at least two programs and the packet header through overcompression be reduced to former The packet header of the current transmission bag of every programs at least two programs described in transport stream;Wherein, the described packet header through overcompression Including: reserved bit, original useful load unit start indicator, original Self Adaptive Control and original continuous counter field; Wherein, described original useful load unit start indicator, described original Self Adaptive Control and described original continuous enumerator Field be respectively described at least the current transmission bag of the former transport stream in former transport stream Zhong of two-way mono- tunnel useful load unit initiate Designator, Self Adaptive Control and seriality counter field;
In at least two programs described in extraction, every programs corresponding described first transmit the Part I data in the load of bag, And second transmission bag load in corresponding Part II data;
Described in extracting, every programs corresponding Part I data and described Part II data be also at least two programs Originally it was the load of every programs corresponding current transmission bag at least two programs in former transport stream.
7. the method according to claim 5 or 6 is it is characterised in that described Part I data is in described former transport stream Front 182 byte datas of the current transmission bag load of one programs, described Part II data is one in described former transport stream Rear 2 byte datas of the current transmission bag load of programs.
8. a kind of device for transmitting the transport stream in television system is it is characterised in that described device includes:
Receiver module, for receiving transport stream waiting for transmission;
Package module, for obtaining programme information, and by described transport stream from the transport stream that described receiver module receives At least two programs current transmission encapsulation be the new transport stream in a road multiple new transmission bag, the plurality of new biography Defeated bag belongs to a fragment, including the first transmission bag and the second transmission bag;Each programs from described at least two programs Part I data and Part II data is extracted in the load of current transmission bag;Described first transmission is wrapped and described at least two sets The quantity of the current transmission bag of program is identical, at least two programs described in the corresponding inclusion of load of each described first transmission bag The packet header of current transmission bag of one programs, Part I data and package identification symbol eid;The load bag of described second transmission bag The piece segment information of the Part II data of the current transmission bag of at least two programs and one fragment, described fragment described in including Information includes fragment identification and fragment length;Wherein, described at least the two of the corresponding inclusion of load of each described first transmission bag The packet header of the current transmission bag of programs in programs, is the packet header through overcompression;
Transport module, for transmit the first transmission bag that described package module generates, the second transmission bag, described eid with described extremely The bag of the current transmission bag of few two programs identifies the mapping relations of pid and described programme information.
9. device according to claim 8 is it is characterised in that described package module includes:
Compression submodule, for by after the Header compression of the current transmission bag of each programs in described at least two programs, with Respective eid is placed on the Part I of the load of corresponding first transmission bag;
Extracting sub-module, for first in the load of the current transmission bag of each programs at least two programs described in extracting Partial data and Part II data;
Add submodule, for putting the Part I data of the current transmission bag of each programs in described at least two programs In the Part II of the load of the corresponding first transmission bag and described Part II data is suitable according to the described first transmission bag Sequence is added in the load of described second transmission bag.
10. device according to claim 8 or claim 9 is it is characterised in that the load of each described first transmission bag corresponds to and includes Described at least two programs in programs current transmission bag packet header, be the packet header through overcompression;
Wherein, the described packet header through overcompression includes: reserved bit, original useful load unit start indicator, original self adaptation Control and original continuous counter field;Wherein, described original useful load unit start indicator, described original self adaptation Control the useful load unit of the current transmission bag being respectively a described road transport stream with described original continuous counter field Start indicator, Self Adaptive Control and seriality counter field.
11. devices according to claim 8 or claim 9 are it is characterised in that described Part I data is described at least two sets sections Front 182 byte datas of the current transmission bag load of the programs in mesh, described Part II data is described at least two Rear 2 byte datas of the current transmission bag load of the programs in programs.
A kind of 12. devices for receiving the transport stream in television system are it is characterised in that described device includes:
Receiver module, for receiving transport stream, described transport stream includes the first transmission bag, the second transmission bag, package identification symbol eid Identify mapping relations and the programme information of pid with the bag of the current transmission bag of at least two programs in former transport stream;Described One transmission bag and described second transmission bag belong to a fragment;The current transmission of each programs from described at least two programs Part I data and Part II data is extracted in the load of bag;Described in described first transmission bag and described former transport stream extremely The quantity of the current transmission bag of few two programs is identical, at least two sets described in the corresponding inclusion of load of each described first transmission bag The packet header of current transmission bag of programs, Part I data and respective eid in program;The load of described second transmission bag Including described in the Part II data of current transmission bag of at least two programs and the piece segment information of one fragment, described Segment information includes fragment identification and fragment length;Wherein, the load of each described first transmission bag corresponding include described at least The packet header of the current transmission bag of programs in two programs, is the packet header through overcompression;
First searching modul, second for being received according to described receiver module transmits described fragment identification and fragment in bag Length finds all first transmission bags and the second transmission bag of one fragment;
Recovery module, all first transmission bags and second of a fragment for being found according to described first searching modul pass Defeated bag and the mapping of the described eid that receives of the receiver module and pid of current transmission bag of at least two programs in former transport stream Relation, reduces the current transmission bag of described at least two programs of described former transport stream, obtain described in the broadcasting of at least two programs Put data;
Second searching modul, current for the described eid that received according to described receiver module and the former transport stream of at least two-way The described at least two sets sections of the former transport stream of the mapping relations of pid of transmission bag and programme information and the reduction of described recovery module Purpose current transmission bag, find described in every corresponding played data of programs at least two programs.
13. devices according to claim 12 are it is characterised in that described recovery module includes:
Packet header reduces submodule, for according to the described eid and pid of the current transmission bag of at least two programs in former transport stream Mapping relations, will find described in eid in the load of the corresponding first transmission bag of every programs at least two programs and warp The packet header of overcompression is reduced to the packet header of the current transmission bag of every programs at least two programs described in former transport stream;Its In, the described packet header through overcompression includes: reserved bit, original useful load unit start indicator, original Self Adaptive Control and Original continuous counter field;Wherein, described original useful load unit start indicator, described original Self Adaptive Control and Described original continuous counter field be respectively described at least former transport stream in former transport stream Zhong of two-way mono- tunnel current transmission The useful load unit start indicator of bag, Self Adaptive Control and seriality counter field;
Extracting sub-module, in the load for the corresponding described first transmission bag of programs every at least two programs described in extracting Part I data, and second transmission bag load in corresponding Part II data;
Load reduction submodule, for described in extracting at least two programs every programs corresponding Part I data and Described Part II data convert is the load of every programs corresponding current transmission bag at least two programs in former transport stream.
14. devices according to claim 12 or 13 are it is characterised in that described Part I data is described former transport stream In programs current transmission bag load front 182 byte datas, described Part II data be described former transport stream in Rear 2 byte datas of the current transmission bag load of one programs.
A kind of 15. digital television front-end systems, including encoder, multiplexer and qam manipulator it is characterised in that described numeral Television headend system also includes the device for transmitting the transport stream in television system any one of claim 8-11;
The described device for transmitting the transport stream in television system is located between described encoder and described multiplexer, described volume Code device by the transport stream of formation be sent to described in be used for transmitting the device of the transport stream in television system, described for transmitting TV The device of the transport stream in system carries out process and forms new transport stream and send described new transport stream to described transport stream To multiplexer, described multiplexer is multiplexed to described new transport stream and is modulated by qam manipulator.
A kind of 16. digital television terminal systems, including qam demodulator, demultiplexer and pid filter it is characterised in that described Digital television terminal system also include any one of claim 12-14 for receiving transport stream in television system Device;
After the described device for receiving the transport stream in television system is located at described pid filter, described qam demodulator, Demultiplexer carries out qam demodulation and demultiplexing to the transport stream receiving, after pid filter extracts qam demodulation and demultiplexing Transport stream there is the fragment of identical pid, the described device for receiving the transport stream in television system to qam demodulation and demultiplexes With after the fragment with identical pid of transport stream processed, be reduced to former transport stream.
A kind of 17. digital television systems are it is characterised in that described digital television system includes the numeral electricity described in claim 15 Depending on front end system, transmission network and the digital television terminal system described in claim 16;Wherein, described digital TV front-end system Transmission is streamed to described digital television terminal system by described transmission network by system.
CN201310528836.4A 2013-10-30 2013-10-30 Method, device and system for transmitting transport stream in television system Active CN103546827B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310528836.4A CN103546827B (en) 2013-10-30 2013-10-30 Method, device and system for transmitting transport stream in television system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310528836.4A CN103546827B (en) 2013-10-30 2013-10-30 Method, device and system for transmitting transport stream in television system

Publications (2)

Publication Number Publication Date
CN103546827A CN103546827A (en) 2014-01-29
CN103546827B true CN103546827B (en) 2017-01-18

Family

ID=49969813

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310528836.4A Active CN103546827B (en) 2013-10-30 2013-10-30 Method, device and system for transmitting transport stream in television system

Country Status (1)

Country Link
CN (1) CN103546827B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111372035A (en) * 2018-12-25 2020-07-03 杭州海康威视数字技术股份有限公司 Multimedia data processing method and device, electronic equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1698375A (en) * 2003-01-31 2005-11-16 索尼株式会社 Data processing device and method, and digital broadcast receiver
CN102104795A (en) * 2011-03-30 2011-06-22 重庆大学 Method for multiplexing program stream (PS) paths into transport stream (TS) path based on moving picture experts group (MPEG)-2
EP2362653A1 (en) * 2010-02-26 2011-08-31 Panasonic Corporation Transport stream packet header compression

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1698375A (en) * 2003-01-31 2005-11-16 索尼株式会社 Data processing device and method, and digital broadcast receiver
EP2362653A1 (en) * 2010-02-26 2011-08-31 Panasonic Corporation Transport stream packet header compression
CN102104795A (en) * 2011-03-30 2011-06-22 重庆大学 Method for multiplexing program stream (PS) paths into transport stream (TS) path based on moving picture experts group (MPEG)-2

Also Published As

Publication number Publication date
CN103546827A (en) 2014-01-29

Similar Documents

Publication Publication Date Title
EP2362653A1 (en) Transport stream packet header compression
JP2018182750A (en) Transmission device and reception device
JP5973746B2 (en) Transmitting apparatus and receiving apparatus
US20180213216A1 (en) Media data transmission device, media data reception device, media data transmission method, and media data rececption method
CN100568967C (en) A kind of digital television signal code stream feature extraction and recognition methods and equipment thereof
KR101086778B1 (en) Broadcasting media access control apparatus for transmitting and receiving packets in multi-channel broadcasting network
CN102404348B (en) Bus-based multimedia data transport method
CN107005732A (en) Sending method, method of reseptance, dispensing device and reception device
CN105580342B (en) The method for sending broadcast singal, the method for receiving broadcast singal, the equipment for sending broadcast singal and the equipment for receiving broadcast singal
CN107079028A (en) Dispensing device and reception device and its signal processing method
CN102714754A (en) Remote re-multiplexing of transport streams
WO2009006804A1 (en) A method for transmitting mobile multimedia broadcast service data flow and a multiplexing frame for transmitting
JP2016540450A (en) Broadcast signal transmission method, broadcast signal reception method, broadcast signal transmission device, broadcast signal reception device
CN101009826A (en) A device of the digital TV terminal for TS stream reuse
KR101764636B1 (en) Method and device for transmitting/receiving broadcast signal
EP3029869B1 (en) Information processing device, information processing method, and program
CN114339488B (en) Method and device for protecting Ethernet service in optical transmission network
CN101426142B (en) Transmission stream remultiplexing method
CN101658031A (en) Digital transmission and reception devices for transmitting and receiving streams, and processing methods thereof
CN103546827B (en) Method, device and system for transmitting transport stream in television system
CN106471813A (en) The device sending broadcast singal, the device receiving broadcast singal, the method sending broadcast singal and the method receiving broadcast singal
EP3029870A1 (en) Information processing device, information processing method, and program
CN100568981C (en) A kind of method of data synchronization of mobile multimedia broadcast system
CN2912169Y (en) Device for digital TV terminal to realize TS flow multiplexing
CN101959062A (en) Data transmission method, system and device for China mobile multimedia broadcasting (CMMB) system

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