CN103546827A - 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
CN103546827A
CN103546827A CN201310528836.4A CN201310528836A CN103546827A CN 103546827 A CN103546827 A CN 103546827A CN 201310528836 A CN201310528836 A CN 201310528836A CN 103546827 A CN103546827 A CN 103546827A
Authority
CN
China
Prior art keywords
transmission package
programs
transport stream
package
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.)
Granted
Application number
CN201310528836.4A
Other languages
Chinese (zh)
Other versions
CN103546827B (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

Images

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

The methods, devices and systems that are used for the transport stream of TV transmission system
Technical field
The present invention relates to digital television techniques, relate in particular to a kind of methods, devices and systems of the transport stream for TV transmission system.
Background technology
In existing digital television system, the various data of digital television program are as video, audio frequency etc., all by transmission (TS) stream, transmit, transport stream is to consist of continuous transmission (TS) bag, every kind of data have all been given a unique Packet Identifier (Packet Identifier, PID).
Fig. 1 shows DVB(Digital Video Broadcasting) front end system frame diagram, the data such as original video (V), audio frequency (A) form the standard transmission stream that standard TS bag forms after the processing such as encoder, send into transmission network and transmit after multiplexer and the processing of QAM modulator.Standard TS packet length is fixed as 188 bytes, and its middle wrapping head is 4 bytes, and remaining 184 byte is payload, and the structure of standard TS bag is as shown in the table:
Figure BDA0000405323360000011
Figure BDA0000405323360000021
One tunnel transport stream can be transmitted a plurality of programs, but due to limited bandwidth, just need to utilize multiple path transmission flow to transmit providing more in Polymera.Digital TV terminal is when providing a certain program, need to filter transport stream, obtain the various data (comprising voice data, video data etc.) of this program, every kind of data for a program, by PID, distinguished, digital TV terminal need to be opened an independent PID filter it is filtered, and extracts the TS bag of the corresponding PID of this program.Therefore,, when digital TV terminal need to provide a plurality of program simultaneously, just need to open a plurality of PID filters simultaneously and filter related data.But the hardware PID number of filters of digital TV terminal is limited, this has just limited the quantity that digital TV terminal provides program simultaneously.How more program is provided under hardware resource is still less the problem of needing solution badly.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of methods, devices and systems of the transport stream for TV transmission system, to reach the object of saving the PID filter using in digital television terminal system.
On the one hand, the embodiment of the present invention provides a kind of method of the transport stream for TV transmission system, and described method comprises:
Receive transport stream waiting for transmission;
From described transport stream, obtain programme information, and the current transmission package of at least two programs in described transport stream is encapsulated as to a plurality of new transmission package of the new transport stream in a road, described a plurality of new transmission package belongs to a fragment, comprises the first transmission package and the second transmission package; Described the first transmission package is identical with the quantity of the current transmission package of described at least two programs, described in each the load correspondence of the first transmission package comprise described in packet header, first's data and the package identification symbol EID of the current transmission package of a programs at least two programs; The second portion data of the current transmission package of at least two programs and the frag info of a described fragment described in the load of described the second transmission package comprises, described frag info comprises sheet segment identification and fragment length;
The bag that transmits the current transmission package of described the first transmission package, the second transmission package, described EID and described at least two programs identifies mapping relations and the described programme information of PID.
Further, a plurality of new transmission package that the described current transmission package by least two programs in described transport stream is encapsulated as the new transport stream in a road comprises:
By after the packet header compression of the current transmission package of every suit program in described at least two programs, be placed on the first of the load of the first corresponding transmission package with described EID separately;
First's data in the load of the current transmission package of every suit program and second portion data at least two programs described in extraction;
First's data of the current transmission package of every suit program in described at least two programs are placed on to the second portion of the load of the first corresponding transmission package, and described second portion data are added in the load of described the second transmission package according to the order of described the first transmission package.
Further, the packet header of the current transmission package of a programs in described at least two programs that described in each, the load correspondence of the first transmission package comprises, is the packet header through overcompression;
Wherein, the described packet header through overcompression comprises: retain position, original useful load unit start indicator, original adaptive control and original continuous counter field; Wherein, described original useful load unit start indicator, described original adaptive control and described original continuous counter field are respectively useful load unit start indicator, adaptive control and the continuity counter field of the current transmission package of a described road transport stream.
Further, described first data are front 182 byte datas of the current transmission package load of the programs in described at least two programs, and described second portion data are rear 2 byte datas of the current transmission package load of the programs in described at least two programs.
Accordingly, it is a kind of for receiving the method for the transport stream of television system that the embodiment of the present invention also provides, and described method comprises:
Receive transport stream, described transport stream comprises that the bag of the current transmission package of at least two programs in the first transmission package, the second transmission package, package identification symbol EID and former transport stream identifies mapping relations and the programme information of PID; Described the first transmission package and described the second transmission package belong to a fragment; Described the first transmission package is identical with the quantity of the current transmission package of at least two programs described in described former transport stream, described in each the load correspondence of the first transmission package comprise described in packet header, first's data and the EID separately of the current transmission package of a programs at least two programs; The second portion data of the current transmission package of at least two programs and the frag info of a described fragment described in the load of described the second transmission package comprises, described frag info comprises sheet segment identification and fragment length;
According to described segment identification and fragment length, find all the first transmission package and second transmission package of a described fragment;
According to the mapping relations of the PID of the current transmission package of at least two programs in all first transmission package of a described fragment and the second transmission package and described EID and former transport stream, reduce the current transmission package of described at least two programs of described former transport stream, the played data of at least two programs described in obtaining;
According to described EID and the mapping relations of PID of current transmission package of at least two programs and the current transmission package of described at least two programs of the described former transport stream of programme information and reduction, played data corresponding to every programs at least two programs described in finding.
Further, described according to the mapping relations of the PID of the current transmission package of at least two programs in all first transmission package of a described fragment and the second transmission package and described EID and former transport stream, reduce the current transmission package of described at least two programs of described former transport stream, comprising:
According to the mapping relations of the PID of the current transmission package of at least two programs in described EID and former transport stream, by the EID in the load of the first transmission package that in described at least two programs that find, every programs is corresponding and be reduced to described in former transport stream the packet header of the current transmission package of every programs at least two programs through the packet header of overcompression; Wherein, the described packet header through overcompression comprises: retain position, original useful load unit start indicator, original adaptive control and original continuous counter field; Wherein, described original useful load unit start indicator, described original adaptive control and described original continuous counter field be respectively described at least useful load unit start indicator, adaptive control and the continuity counter field of the current transmission package of the former transport stream Zhong mono-former transport stream in tunnel of two-way;
First's data in the load of described the first transmission package that described in extraction, at least two programs, every programs is corresponding, and the corresponding second portion data in the load of the second transmission package;
The load that first's data that in described at least two programs that extract, every programs is corresponding and described second portion data are reduced to the current transmission package that in former transport stream, at least two programs, every programs is corresponding.
Further, described first data are front 182 byte datas of the current transmission package load of a programs in described former transport stream, and described second portion data are rear 2 byte datas of the current transmission package load of a programs in described former transport stream.
On the other hand, the embodiment of the present invention also provides the device of the transport stream in a kind of TV transmission system, and described device comprises:
Receiver module, for receiving transport stream waiting for transmission;
Package module, for the transport stream receiving from described receiver module, obtain programme information, and the current transmission package of at least two programs in described transport stream is encapsulated as to a plurality of new transmission package of the new transport stream in a road, described a plurality of new transmission package belongs to a fragment, comprises the first transmission package and the second transmission package; Described the first transmission package is identical with the quantity of the current transmission package of described at least two programs, described in each the load correspondence of the first transmission package comprise described in packet header, first's data and the package identification symbol EID of the current transmission package of a programs at least two programs; The second portion data of the current transmission package of at least two programs and the frag info of a described fragment described in the load of described the second transmission package comprises, described frag info comprises sheet segment identification and fragment length;
Transport module, identifies mapping relations and the described programme information of PID for transmitting the bag of the current transmission package of the first transmission package, the second transmission package, described EID and described at least two programs that described package module generates.
Further, described package module comprises:
Compression submodule, for by after the packet header compression of the current transmission package of described at least two programs every suit programs, is placed on the first of the load of the first corresponding transmission package with described EID separately;
Extract submodule, for first's data and the second portion data in the load of the current transmission package of at least two programs every suit programs described in extracting;
Add submodule, for first's data of the current transmission package of described at least two programs every suit programs being placed on to the second portion of the load of the first corresponding transmission package, and described second portion data are added in the load of described the second transmission package according to the order of described the first transmission package.
Further, the packet header of the current transmission package of a programs in described at least two programs that described in each, the load correspondence of the first transmission package comprises, is the packet header through overcompression;
Wherein, the described packet header through overcompression comprises: retain position, original useful load unit start indicator, original adaptive control and original continuous counter field; Wherein, described original useful load unit start indicator, described original adaptive control and described original continuous counter field are respectively useful load unit start indicator, adaptive control and the continuity counter field of the current transmission package of a described road transport stream.
Further, described first data are front 182 byte datas of the current transmission package load of the programs in described at least two programs, and described second portion data are rear 2 byte datas of the current transmission package load of the programs in described at least two programs.
Accordingly, it is a kind of for receiving the device of the transport stream of television system that the embodiment of the present invention also provides, and described device comprises:
Receiver module, for receiving transport stream, described transport stream comprises that the bag of the current transmission package of at least two programs in the first transmission package, the second transmission package, package identification symbol EID and former transport stream identifies mapping relations and the programme information of PID; Described the first transmission package and described the second transmission package belong to a fragment; Described the first transmission package is identical with the quantity of the current transmission package of at least two programs described in described former transport stream, described in each the load correspondence of the first transmission package comprise described in packet header, first's data and the EID separately of the current transmission package of a programs at least two programs; The second portion data of the current transmission package of at least two programs and the frag info of a described fragment described in the load of described the second transmission package comprises, described frag info comprises sheet segment identification and fragment length;
First searches module, all the first transmission package and the second transmission package that for described segment identification and the fragment length of the second transmission package of receiving according to described receiver module, find a described fragment;
Recovery module, for according to described first search module searches to all first transmission package of a fragment and the mapping relations of the PID of the current transmission package of the described EID that receives of the second transmission package and described receiver module and former transport stream at least two programs, reduce the current transmission package of described at least two programs of described former transport stream, the played data of at least two programs described in obtaining;
Second searches module, for the described EID that receives according to described receiver module and the current transmission package of described at least two programs of the mapping relations of the PID of the current transmission package of the former transport stream of two-way and the former transport stream of programme information and the reduction of described recovery module at least, played data corresponding to every programs at least two programs described in finding.
Further, described recovery module comprises:
Packet header reduction submodule, for according to the mapping relations of the PID of the current transmission package of described EID and former transport stream at least two programs, by the EID in the load of the first transmission package that in described at least two programs that find, every programs is corresponding and be reduced to described in former transport stream the packet header of the current transmission package of every programs at least two programs through the packet header of overcompression; Wherein, the described packet header through overcompression comprises: retain position, original useful load unit start indicator, original adaptive control and original continuous counter field; Wherein, described original useful load unit start indicator, described original adaptive control and described original continuous counter field be respectively described at least useful load unit start indicator, adaptive control and the continuity counter field of the current transmission package of the former transport stream Zhong mono-former transport stream in tunnel of two-way;
Extract submodule, for the first's data in the load of described the first transmission package corresponding to the every programs of at least two programs described in extracting, and the corresponding second portion data in the load of the second transmission package;
Load reduction submodule, for the load that first's data corresponding to the every programs of described at least two programs extracting and described second portion data are reduced to the current transmission package that in former transport stream, at least two programs, every programs is corresponding.
Further, described first data are front 182 byte datas of the current transmission package load of a programs in described former transport stream, and described second portion data are rear 2 byte datas of the current transmission package load of a programs in described former transport stream.
On the other hand, the embodiment of the present invention also provides a kind of digital television front-end system, comprises encoder, multiplexer and QAM modulator, and described digital television front-end system also comprises the device for the transport stream of TV transmission system;
The device of the described transport stream for TV transmission system is between described encoder and described multiplexer, described encoder sends to the transport stream of formation in the device of the described transport stream for TV transmission system, the device of the described transport stream for TV transmission system is processed and is formed new transport stream and described new transport stream is sent to multiplexer described transport stream, and described multiplexer carries out multiplexing and modulated by QAM modulator described new transport stream.
Accordingly, the embodiment of the present invention also provides a kind of digital television terminal system, comprises qam demodulator, demodulation multiplexer and PID filter, and described digital television terminal system also comprises for receiving the device of the transport stream of television system;
Described for the device of transport stream that receives television system between described PID filter and described decoder, described qam demodulator, demodulation multiplexer carry out QAM demodulation and demultiplexing to the transport stream receiving, PID filter extracts the fragment that transport stream after QAM demodulation and demultiplexing has identical PID, described for the device of transport stream that receives television system the fragment with identical PID of the transport stream after to QAM demodulation and demultiplexing process, be reduced to former transport stream.
On the other hand, the embodiment of the present invention also provides a kind of digital television system, and described digital television system comprises digital television front-end system, transmission network and digital television terminal system; Wherein, described digital television front-end system is transferred to described digital television terminal system by described transmission network by transport stream.
The method of the transport stream for TV transmission system that the embodiment of the present invention proposes, Apparatus and system, by the current transmission package of at least two programs being encapsulated as to a plurality of new transmission package of the new transport stream in a road, described a plurality of new transmission package comprises the first transmission package and the second transmission package, the first transmission package and the second transmission package belong to a fragment, make digital television terminal system only need a PID filter just can extract this fragment, by EID and the mapping relations of the PID of the current transmission package of at least two programs and the played data that programme information obtains each program, realized digital TV terminal more program is provided in the situation that not increasing hardware PID filter.
Accompanying drawing explanation
Fig. 1 is DVB front end system frame diagram in prior art;
Fig. 2 is the flow chart of the method for the transport stream for TV transmission system that provides of first embodiment of the invention;
Fig. 3 is the forming process schematic diagram of the first transmission package in the method for the transport stream for TV transmission system that provides of first embodiment of the invention;
Fig. 4 is the first transmission package all in a fragment in the method for the transport stream for TV transmission system that provides of first embodiment of the invention and the forming process schematic diagram of the second transmission package;
Fig. 5 be second embodiment of the invention provide for receiving the flow chart of method of the transport stream of television system;
Fig. 6 be second embodiment of the invention provide for receiving the transmission package by a fragment in the method for transport stream of television system, be reduced to the process schematic diagram of the current transmission package of at least two programs;
Fig. 7 is the schematic diagram of the device of the transport stream for TV transmission system that provides of third embodiment of the invention;
Fig. 8 be fourth embodiment of the invention provide for receiving the schematic diagram of device of the transport stream of television system;
Fig. 9 is the structural representation of the digital television front-end system that provides of fifth embodiment of the invention;
Figure 10 is the structural representation of the digital television terminal system that provides of sixth embodiment of the invention;
Figure 11 is the structural representation of the digital television system that provides of seventh embodiment of the invention.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.Be understandable that, specific embodiment described herein is only for explaining the present invention, but not limitation of the invention.It also should be noted that, for convenience of description, in accompanying drawing, only show part related to the present invention but not full content.
Fig. 2 shows the first embodiment of the present invention.
Fig. 2 is the realization flow figure of the method for a kind of transport stream for TV transmission system of providing of first embodiment of the invention, and details are as follows for this realization flow:
In step 201, receive transport stream waiting for transmission.
In the present embodiment, digital television front-end system receives the transport stream that includes the data messages such as audio frequency and video of multiple programs waiting for transmission.
In step 202, from transport stream, obtain programme information, and the current transmission package of at least two programs in described transport stream is encapsulated as to a plurality of new transmission package of the new transport stream in a road.
From described transport stream, obtain programme information, and the current transmission package of at least two programs in described transport stream be encapsulated as to a plurality of new transmission package of the new transport stream in a road,
In the present embodiment, the transport stream receiving in step 201 is the data message of audio frequency and video etc. that includes the multiple programs of needs transmission, from described multiple path transmission flow, obtain programme information, and the current transmission package of at least two programs in described transport stream is encapsulated as to a plurality of new transmission package of the new transport stream in a road, described a plurality of new transmission package belongs to a fragment, comprises the first transmission package and the second transmission package; Described the first transmission package is identical with the quantity of the current transmission package of described at least two programs, described in each the load correspondence of the first transmission package comprise described in packet header, first's data and the package identification symbol EID of the current transmission package of a programs at least two programs; The second portion data of the current transmission package of at least two programs and the frag info of a described fragment described in the load of described the second transmission package comprises, described frag info comprises sheet segment identification and fragment length.
Wherein, described programme information comprises PID and the position of each transmission package in described transport stream of transmission package of the data such as audio frequency and video of each program.Described package identification symbol (Encapsulation Identifier, EID) represents the sign of described current transmission package in new transport stream, and length is 8 bits.
The packet header of the current transmission package of a programs in described at least two programs that described in each, the load correspondence of the first transmission package comprises is the packet header through overcompression; Wherein, the described packet header through overcompression comprises: retain position, original useful load unit start indicator, original adaptive control and original continuous counter field; Wherein, described original useful load unit start indicator, described original adaptive control and described original continuous counter field are respectively useful load unit start indicator, adaptive control and the continuity counter field of the current transmission package of a described road transport stream.Wherein, the described packet header through overcompression takies 8 bits altogether, reservation position, original useful load unit start indicator, original adaptive control and original continuous counter take length and are respectively 1 bit, 1 bit, 2 bits, 4 bits, retain anterior locations or a back location that position is positioned at original useful load unit start indicator, original adaptive control and original continuous counter field.
A plurality of new transmission package that the described current transmission package by least two programs in described transport stream is encapsulated as the new transport stream in a road comprises following sub-step:
Sub-step 2021, by after the packet header compression of the current transmission package of every suit program in described at least two programs, is placed on the first of the load of the first corresponding transmission package with described EID separately.
In the present embodiment, first the packet header of the current transmission package of every suit program in described at least two programs is compressed, compression process is the useful load unit start indicator extracting in packet header of described current transmission package, adaptive control and continuity counter field, wherein, the useful load unit start indicator extracting, adaptive control and continuity counter field are called original useful load unit start indicator, original adaptive control and original continuous counter field, it takies length and is respectively 1 bit, 2 bits, 4 bits, take altogether 7 bits, add one and retain position, formation is through the packet header of overcompression.Then by the described packet header through overcompression and the first that is placed on the load of the first corresponding transmission package together with the EID corresponding with current transmission package.The first of the load of described the first transmission package is close to the packet header of described the first transmission package.
Sub-step 2022, first's data and the second portion data in the load of the current transmission package of every suit program at least two programs described in extraction.
In this enforcement, data in the load of the current transmission package of every suit program in described at least two programs are processed, data are divided into two parts, be first's data and second portion data, described first data are positioned at the position in the anterior locations next-door neighbour packet header of described current transmission package, described second portion data are positioned at the back location of described current transmission package, and the length of described first data is greater than the length of described second portion data.Extract respectively described first data and described part second portion data.
Sub-step 2023, first's data of the current transmission package of every suit program in described at least two programs are placed on to the second portion of the load of the first corresponding transmission package, and described second portion data are added in the load of described the second transmission package according to the order of described the first transmission package.
In the present embodiment, first's data of the current transmission package of every suit program in described at least two programs are placed on to the second portion of the load of the first corresponding transmission package, and the second portion data of a plurality of described current transmission package are added in the load of described the second transmission package according to the order of described the first transmission package.The order of described the first transmission package is the order of described current transmission package, for example: five current transmission package numberings at least two programs are respectively 1, 2, 3, 4 and 5, first's data in five current transmission package and second portion data number are 1 respectively, 2, 3, 4 and 5, first's data are placed on respectively the second portion of the load of the first corresponding transmission package according to the order of this first's data sequence number, the serial number of the first transmission package is 1, 2, 3, 4 and 5, identical with the numbering of corresponding second portion data, second portion data are added in the load of described the second transmission package according to the order of this second portion data sequence number.
Wherein, described the first transmission package comprises: packet header, EID and through packet header, first's data of overcompression, if described packet header, EID and through packet header and first's data total length less than 188 bytes of overcompression, the position of less than 188 bytes replaces with null byte, before described null byte can be positioned at first's data, after also can being positioned at described first data.It is example that the described null byte of take is positioned at after described first data, and Fig. 3 is the forming process schematic diagram of the first transmission package in the method for the transport stream for TV transmission system that provides of first embodiment of the invention.As shown in Figure 3, packet header A represents the packet header of current transmission package, and packet header B represents the packet header of the first transmission package, adds that sign A, B are in order to show that the packet header of current transmission package and the first transmission package is different why to the packet header of different transmission package; Wherein, the packet header through overcompression of the first transmission package is that A compression in packet header obtains by the packet header of current transmission package, the load of the first transmission package is except EID and through the packet header of overcompression, also comprise first's data of current transmission package, if the packet header of the first transmission package is packet header B, EID, through packet header and first's data total length less than 188 bytes of overcompression, insufficient section is replaced by null byte.The structure of described the first transmission package is as shown in the table:
Figure BDA0000405323360000141
First transmission package that described the second transmission package is described fragment, the load of described the second transmission package comprises the second portion data of frag info and a plurality of described current transmission package, described frag info comprises sheet segment identification (MTE Table ID) and the fragment length (MTE section length) of described fragment, described frag info also comprises indicating bit (Point field), the beginning of a fragment of described indicating bit indication, the content that the value of described fragment length represents the described current transmission package that this fragment comprises shared length in described fragment.Fig. 4 is the first transmission package all in a fragment in the method for the transport stream for TV transmission system that provides of first embodiment of the invention and the forming process schematic diagram of the second transmission package.As shown in Figure 4, packet header A represents the packet header of current transmission package, packet header B represents the packet header of the first transmission package, packet header C represents the packet header of the second transmission package, adds that sign A, B, C are in order to show that the packet header of current transmission package, the first transmission package and the second transmission package is different why to the packet header of different transmission package; The load of the second transmission package comprises frag info and forms the second portion data of a plurality of current transmission package of this fragment, if the packet header of the second transmission package is second portion data total length less than 188 bytes of a plurality of current transmission package of packet header C, frag info and this fragment of composition, insufficient section is replaced by null byte, and wherein null byte does not draw in Fig. 4.Described the second transmission packet structure is as shown in the table:
Figure BDA0000405323360000151
In step 203, transmit mapping relations and the programme information of PID of the current transmission package of the first transmission package, the second transmission package, EID and at least two programs.
The mapping relations of the PID of the current transmission package of the first transmission package, the second transmission package, EID and at least two programs that in the present embodiment, transmitting step 202 forms and programme information carry out corresponding processing to other equipment to new transport stream and are sent to digital TV terminal by transmission network.
Described first data are front 182 byte datas of the current transmission package load of the programs in described at least two programs, and described second portion data are rear 2 byte datas of the current transmission package load of the programs in described at least two programs.
In a preferred implementation of the present embodiment, described first data are front 182 byte datas of the current transmission package load of the programs in described at least two programs, and described second portion data are rear 2 byte datas of the current transmission package load of the programs in described at least two programs.Therefore, the fragment forming comprises 90 the first transmission package and 1 the second transmission package, first transmission package that described the second transmission package is described fragment, the current transmission package encapsulation of these 90 first transmission package and 1 the second transmission package at least two programs in 90 described transport stream forms.Division to described first data and described second portion data like this needn't be inserted null byte when forming the first transmission package and the second transmission package, and efficiency of transmission is high.When described second portion data are when for rear 2 byte datas of described current transmission package load, the fragment length value in described the second transmission package in frag info is (184 * 90+180).
The present embodiment is by being encapsulated as the current transmission package of at least two programs in transport stream a plurality of new transmission package of the new transport stream in one tunnel, described a plurality of new transmission package belongs to a fragment, comprise the first transmission package and the second transmission package, described the first transmission package comprises EID, mapping relations and the programme information of the PID of the current transmission package of described the first transmission package, the second transmission package, EID and at least two programs are sent, realized digital TV terminal more program is provided in the situation that not increasing hardware PID filter.
Fig. 5 shows the second embodiment of the present invention.
Fig. 5 be second embodiment of the invention provide a kind of for receiving the realization flow figure of method of the transport stream of television system, details are as follows for this realization flow:
In step 501, receive transport stream.
In the present embodiment, digital television terminal system receives transport stream, and described transport stream comprises that the bag of the current transmission package of at least two programs in the first transmission package, the second transmission package, package identification symbol EID and former transport stream identifies mapping relations and the programme information of PID; Described the first transmission package and described the second transmission package belong to a fragment; Described the first transmission package is identical with the quantity of the current transmission package of at least two programs described in described former transport stream, described in each the load correspondence of the first transmission package comprise described in packet header, first's data and the EID separately of the current transmission package of a programs at least two programs; The second portion data of the current transmission package of at least two programs and the frag info of a described fragment described in the load of described the second transmission package comprises, described frag info comprises sheet segment identification and fragment length.Described transport stream is filtered by PID filter.
In step 502, according to sheet segment identification and fragment length, find all the first transmission package and second transmission package of a fragment.
In the present embodiment, according to sheet segment identification and fragment length, first find each fragment comprising in transport stream, first transmission package of described each fragment is the second transmission package, and other transmission package are the first transmission package.
In step 503, according to the mapping relations of the PID of the current transmission package of at least two programs in all first transmission package of a fragment and the second transmission package and EID and former transport stream, reduce the current transmission package of at least two programs of former transport stream, the played data of at least two programs described in obtaining.
Exemplary, step 503 comprises following sub-step:
Sub-step 5031, according to the mapping relations of the PID of the current transmission package of at least two programs in described EID and former transport stream, by the EID in the load of the first transmission package that in described at least two programs that find, every programs is corresponding and be reduced to described in former transport stream the packet header of the current transmission package of every programs at least two programs through the packet header of overcompression.Wherein, the described packet header through overcompression comprises: retain position, original useful load unit start indicator, original adaptive control and original continuous counter field; Wherein, described original useful load unit start indicator, described original adaptive control and described original continuous counter field be respectively described at least useful load unit start indicator, adaptive control and the continuity counter field of the current transmission package of the former transport stream Zhong mono-former transport stream in tunnel of two-way.Therefore, original continuous counter field described in the original useful load unit start indicator in the packet header of overcompression of the first transmission package that in described at least two programs, every programs is corresponding, described original adaptive control box is extracted to useful load unit start indicator, adaptive control and continuity counter field at least two programs of the former transport stream that composition is corresponding in the packet header of the current transmission package of every programs.According to the mapping relations of the PID of the current transmission package of the EID of described the first transmission package and EID and at least two programs, the EID of described the first transmission package is reduced to the PID of the current transmission package of at least two programs.PID after reduction can equate with the former PID of the current transmission package of at least two programs, also can be unequal, but need to guarantee the data that PID after reduction can this transmission package of unique identification.And then packet header of the current transmission package of at least two programs described in obtaining.
Sub-step 5032, the first's data in the load of described the first transmission package that at least two programs, every programs is corresponding described in extraction, and the corresponding second portion data in the load of the second transmission package.First's data in the load of the first transmission package in all fragments that described in extraction, at least two programs, every programs is corresponding, and according to the order of the first transmission package, extract the corresponding second portion data in the load of the second transmission package.
Sub-step 5033, the load that first's data that in described at least two programs that extract, every programs is corresponding and described second portion data are reduced to the current transmission package that in former transport stream, at least two programs, every programs is corresponding.Particularly, the first of the load of the current transmission package of at least two programs described in the described first data of extracting are placed on, the second portion of the load of the current transmission package of at least two programs described in the corresponding described second portion data of extracting are placed on, thereby the load of the current transmission package of at least two programs described in reduction.
Fig. 6 be second embodiment of the invention provide for receiving the transmission package by a fragment in the method for transport stream of television system, be reduced to the process schematic diagram of the current transmission package of at least two programs.As shown in Figure 6, packet header A represents the packet header of the current transmission package of reduction, packet header B represents the packet header of the first transmission package, packet header C represents the packet header of the second transmission package, adds that sign A, B, C are in order to show that the packet header of current transmission package, the first transmission package and the second transmission package is different why to the packet header of different transmission package.The structure of the current transmission package of at least two programs of the former transport stream of the transmission package reduction in a described fragment is as shown in the table:
Figure BDA0000405323360000191
Figure BDA0000405323360000201
By at least packet header and the load of the current transmission package of the former transport stream of two-way described in reducing, and then obtain the current transmission package of at least two programs of reduction, the played data of at least two programs described in obtaining.
In step 504, according to EID and the mapping relations of PID of current transmission package of at least two programs and the current transmission package of at least two programs of the former transport stream of programme information and reduction, played data corresponding to every programs at least two programs described in finding.
In the present embodiment, mapping relations and programme information according to the EID receiving with the PID of the current transmission package of at least two programs, find the current transmission package corresponding with each program, again according to described programme information, find the transmission package of the audio, video data that represents each program, thereby obtain the played data of each program.
In a preferred implementation of the present embodiment, described first data are front 182 byte datas of the current transmission package load of a programs in described former transport stream, and described second portion data are rear 2 byte datas of the current transmission package load of a programs in described former transport stream.Therefore, a fragment comprises 90 the first transmission package and 1 the second transmission package, first transmission package that described the second transmission package is described fragment, the current transmission package encapsulation of these 90 first transmission package and 1 the second transmission package at least two programs in 90 former transport stream forms.The first transmission package and the second transmission package that obtain like this needn't be inserted null byte, and efficiency of transmission is high.
The present embodiment is by receiving the transport stream of filtering through PID filter, described transport stream comprises the first transmission package, the second transmission package, mapping relations and the programme information of the bag sign PID of the current transmission package of at least two programs in package identification symbol EID and former transport stream, find the first transmission package and the second transmission package, reduce the current transmission package of at least two programs of former transport stream, according to programme information, find the current transmission package of the audio, video data that carries each program, thereby obtain the played data of each program, realized digital TV terminal more program is provided in the situation that not increasing hardware PID filter.
Fig. 7 shows the third embodiment of the present invention.
Fig. 7 is the structural representation of the device of a kind of transport stream for TV transmission system in third embodiment of the invention.As shown in Figure 7, the device of the transport stream for TV transmission system described in the present embodiment comprises: receiver module 701, package module 702 and transport module 703.
Wherein, receiver module 701 is for receiving multiple path transmission flow waiting for transmission.
Package module 702 obtains programme information for the transport stream receiving from described receiver module, and the current transmission package of at least two programs in described transport stream is encapsulated as to a plurality of new transmission package of the new transport stream in a road, described a plurality of new transmission package belongs to a fragment, comprises the first transmission package and the second transmission package; Described the first transmission package is identical with the quantity of the current transmission package of described at least two programs, described in each the load correspondence of the first transmission package comprise described in packet header, first's data and the package identification symbol EID of the current transmission package of a programs at least two programs; The second portion data of the current transmission package of at least two programs and the frag info of a described fragment described in the load of described the second transmission package comprises, described frag info comprises sheet segment identification and fragment length.
Wherein, described programme information comprises PID and the position of each transmission package in described transport stream of transmission package of the data such as audio frequency and video of each program.Described package identification symbol (Encapsulation Identifier, EID) represents the sign of described current transmission package in new transport stream, and length is 8 bits.
The packet header of the current transmission package of a programs in described at least two programs that described in each, the load correspondence of the first transmission package comprises is the packet header through overcompression; Wherein, the described packet header through overcompression comprises: retain position, original useful load unit start indicator, original adaptive control and original continuous counter field; Wherein, described original useful load unit start indicator, described original adaptive control and described original continuous counter field are respectively useful load unit start indicator, adaptive control and the continuity counter field of the current transmission package of a described road transport stream.Wherein, the described packet header through overcompression takies 8 bits altogether, reservation position, original useful load unit start indicator, original adaptive control and original continuous counter take length and are respectively 1 bit, 1 bit, 2 bits, 4 bits, retain anterior locations or a back location that position is positioned at original useful load unit start indicator, original adaptive control and original continuous counter field.
Described package module 702 also comprises following submodule:
Compression submodule, for by after the packet header compression of the current transmission package of described at least two programs every suit programs, is placed on the first of the load of the first corresponding transmission package with described EID separately.First the packet header of the current transmission package of every suit program in described at least two programs is compressed, compression process is the useful load unit start indicator extracting in packet header of described current transmission package, adaptive control and continuity counter field, wherein, the useful load unit start indicator extracting, adaptive control and continuity counter field are called original useful load unit start indicator, original adaptive control and original continuous counter field, it takies length and is respectively 1 bit, 2 bits, 4 bits, take altogether 7 bits, add one and retain position, formation is through the packet header of overcompression.Then by the described packet header through overcompression and the first that is placed on the load of the first corresponding transmission package together with the EID corresponding with current transmission package.The first of the load of described the first transmission package is close to the packet header of described the first transmission package.
Extract submodule, for first's data and the second portion data in the load of the current transmission package of at least two programs every suit programs described in extracting.Data in the load of described current transmission package are processed, data are divided into two parts, be first's data and second portion data, described first data are positioned at the position in the anterior locations next-door neighbour packet header of described current transmission package, described second portion data are positioned at the back location of described current transmission package, and the length of described first data is greater than the length of described second portion data.Extract respectively described first data and described part second portion data.
Add submodule, for first's data of the current transmission package of described at least two programs every suit programs being placed on to the second portion of the load of the first corresponding transmission package, and described second portion data are added in the load of described the second transmission package according to the order of described the first transmission package.First's data of the current transmission package of every suit program in described at least two programs are placed on to the second portion of the load of the first corresponding transmission package, and the second portion data of a plurality of described current transmission package are added in the load of described the second transmission package according to the order of described the first transmission package.The order of described the first transmission package is the order of described current transmission package, for example: five current transmission package numberings at least two programs are respectively 1, 2, 3, 4 and 5, first's data in five current transmission package and second portion data number are 1 respectively, 2, 3, 4 and 5, first's data are placed on respectively the second portion of the load of the first corresponding transmission package according to the order of this first's data sequence number, the serial number of the first transmission package is 1, 2, 3, 4 and 5, identical with the numbering of corresponding second portion data, second portion data are added in the load of described the second transmission package according to the order of this second portion data sequence number.
Wherein, described the first transmission package comprises: packet header, EID and through packet header, first's data of overcompression, if described packet header, EID and through packet header and first's data total length less than 188 bytes of overcompression, the position of less than 188 bytes replaces with null byte, before described null byte can be positioned at first's data, after also can being positioned at described first data.
First transmission package that described the second transmission package is described fragment, the load of described the second transmission package comprises the second portion data of frag info and a plurality of described current transmission package, described frag info comprises sheet segment identification (MTE Table ID) and the fragment length (MTE section length) of described fragment, described frag info also comprises indicating bit (Point field), the beginning of a fragment of described indicating bit indication, the content that the value of described fragment length represents the described current transmission package that this fragment comprises shared length in described fragment.Transport module, identifies mapping relations and the described programme information of PID for transmitting the bag of the current transmission package of the first transmission package, the second transmission package, described EID and described at least two programs that described package module generates.
Transport module 703 is for mapping relations and the described programme information of the PID of the current transmission package of the first transmission package, the second transmission package, described EID and described at least two programs that transmit described package module and generate.
In a preferred implementation of the present embodiment, described first data are front 182 byte datas of the current transmission package load of the programs in described at least two programs, and described second portion data are rear 2 byte datas of the current transmission package load of the programs in described at least two programs.Therefore, the fragment forming comprises 90 the first transmission package and 1 the second transmission package, first transmission package that described the second transmission package is described fragment, the current transmission package encapsulation of these 90 first transmission package and 1 the second transmission package at least two programs in 90 described transport stream forms.Division to described first data and described second portion data like this needn't be inserted null byte when forming the first transmission package and the second transmission package, and efficiency of transmission is high.When described second portion data are when for rear 2 byte datas of described current transmission package load, the fragment length value in described the second transmission package in frag info is (184 * 90+180).
The present embodiment is encapsulated as the current transmission package of at least two programs in transport stream by package module a plurality of new transmission package of the new transport stream in one tunnel, described a plurality of new transmission package belongs to a fragment, comprise the first transmission package and the second transmission package, described the first transmission package comprises EID, transport module sends mapping relations and the programme information of the PID of the current transmission package of described the first transmission package, the second transmission package, EID and at least two programs, has realized digital TV terminal more program is provided in the situation that not increasing hardware PID filter.
Fig. 8 shows the fourth embodiment of the present invention.
Fig. 8 be fourth embodiment of the invention provide a kind of for receiving the structural representation of device of the transport stream of television system.As shown in Figure 8, comprising for receiving the device of the transport stream of television system described in the present embodiment: receiver module 801, first is searched module 802, recovery module 803 and second is searched module 804.
Wherein, receiver module 801 is for receiving transport stream, and described transport stream comprises that the bag of the current transmission package of at least two programs in the first transmission package, the second transmission package, package identification symbol EID and former transport stream identifies mapping relations and the programme information of PID; Described the first transmission package and described the second transmission package belong to a fragment; Described the first transmission package is identical with the quantity of the current transmission package of at least two programs described in described former transport stream, described in each the load correspondence of the first transmission package comprise described in packet header, first's data and the EID separately of the current transmission package of a programs at least two programs; The second portion data of the current transmission package of at least two programs and the frag info of a described fragment described in the load of described the second transmission package comprises, described frag info comprises sheet segment identification and fragment length.Described transport stream is filtered by PID filter.
First searches all the first transmission package and the second transmission package that module 802 finds a described fragment for described segment identification and the fragment length of the second transmission package of receiving according to described receiver module.Particularly, according to sheet segment identification and fragment length, first find each fragment comprising in transport stream, first transmission package of described each fragment is the second transmission package, and other transmission package are the first transmission package.
Recovery module 803 for according to described first search module searches to all first transmission package of a fragment and the mapping relations of the PID of the current transmission package of the described EID that receives of the second transmission package and receiver module and former transport stream at least two programs, reduce the current transmission package of described at least two programs of described former transport stream, the played data of at least two programs described in obtaining.Exemplary, described recovery module 804 comprises following submodule:
Packet header reduction submodule, for according to the mapping relations of the PID of the current transmission package of described EID and former transport stream at least two programs, by the EID in the load of the first transmission package that in described at least two programs that find, every programs is corresponding and be reduced to described in former transport stream the packet header of the current transmission package of every programs at least two programs through the packet header of overcompression.Wherein, the described packet header through overcompression comprises: retain position, original useful load unit start indicator, original adaptive control and original continuous counter field; Wherein, described original useful load unit start indicator, described original adaptive control and described original continuous counter field be respectively described at least useful load unit start indicator, adaptive control and the continuity counter field of the current transmission package of the former transport stream Zhong mono-former transport stream in tunnel of two-way.Therefore, original continuous counter field described in the original useful load unit start indicator in the packet header of overcompression of the first transmission package that in described at least two programs, every programs is corresponding, described original adaptive control box is extracted to useful load unit start indicator, adaptive control and continuity counter field at least two programs of the former transport stream that composition is corresponding in the packet header of the current transmission package of every programs.According to the mapping relations of the PID of the current transmission package of the EID of described the first transmission package and EID and at least two programs, the EID of described the first transmission package is reduced to the PID of the current transmission package of at least two programs.PID after reduction can equate with the former PID of the current transmission package of at least two programs, also can be unequal, but need to guarantee the data that PID after reduction can this transmission package of unique identification.And then packet header of the current transmission package of at least two programs described in obtaining.
Extract submodule, for the first's data in the load of described the first transmission package corresponding to the every programs of at least two programs described in extracting, and the corresponding second portion data in the load of the second transmission package.First's data in the load of the first transmission package in all fragments that described in extraction, at least two programs, every programs is corresponding, and according to the order of the first transmission package, extract the corresponding second portion data in the load of the second transmission package.
Load reduction submodule, for the load that first's data corresponding to the every programs of described at least two programs extracting and described second portion data are reduced to the current transmission package that in former transport stream, at least two programs, every programs is corresponding.Particularly, the first of the load of the current transmission package of at least two programs described in the described first data of extracting are placed on, the second portion of the load of the current transmission package of at least two programs described in the corresponding described second portion data of extracting are placed on, thereby the load of the current transmission package of at least two programs described in reduction.
Packet header and the load of the current transmission package by least two programs described in reducing, and then obtain the current transmission package of at least two programs of reduction, the played data of at least two programs described in obtaining.
Second searches module 804 for the described EID that receives according to described receiver module and the current transmission package of described at least two programs of the mapping relations of the PID of the current transmission package of the former transport stream of two-way and the former transport stream of programme information and the reduction of described recovery module at least, played data corresponding to every programs at least two programs described in finding.Particularly, mapping relations and programme information according to the EID receiving with the PID of the current transmission package of at least two programs, find the current transmission package corresponding with each program, again according to described programme information, find the transmission package of the audio, video data that represents each program, thereby obtain the played data of each program.
In a preferred implementation of the present embodiment, described first data are front 182 byte datas of the current transmission package load of a programs in described former transport stream, and described second portion data are rear 2 byte datas of the current transmission package load of a programs in described former transport stream.Therefore, a fragment comprises 90 the first transmission package and 1 the second transmission package, first transmission package that described the second transmission package is described fragment, the current transmission package encapsulation of these 90 first transmission package and 1 the second transmission package at least two programs in 90 former transport stream forms.The first transmission package and the second transmission package that obtain like this needn't be inserted null byte, and efficiency of transmission is high.
The present embodiment receives the transport stream of filtering through PID filter by receiver module, described transport stream comprises the first transmission package, the second transmission package, mapping relations and the programme information of the bag sign PID of the current transmission package of at least two programs in package identification symbol EID and former transport stream, first searches module finds the first transmission package and the second transmission package, recovery module is reduced the current transmission package of at least two programs of former transport stream, second searches module finds the current transmission package of the audio, video data that carries each program according to programme information, thereby obtain the played data of each program, realized digital TV terminal more program is provided in the situation that not increasing hardware PID filter.
Fig. 9 shows the fifth embodiment of the present invention.
Fig. 9 is the structural representation of a kind of digital television front-end system in fifth embodiment of the invention.As shown in Figure 9, the digital television front-end system described in the present embodiment comprise encoder 901, for device 902, multiplexer 903 and the QAM modulator 904 of the transport stream of TV transmission system; The device of the described transport stream for TV transmission system is between described encoder and described multiplexer, described encoder sends to the transport stream of formation in the device of the described transport stream for TV transmission system, the device of the described transport stream for TV transmission system is processed and is formed new transport stream and described new transport stream is sent to multiplexer described transport stream, and described multiplexer carries out multiplexing and modulated by QAM modulator described new transport stream.Wherein, described encoder 901, described multiplexer 903 and described QAM modulator 904 are prior art, repeat no more here.
The device 902 of the described transport stream for TV transmission system comprises: receiver module, package module and transport module, its each module is identical with each module of the device of the transport stream for TV transmission system described in the 3rd embodiment, repeats no more here.The device of the described transport stream for TV transmission system can be integrated in a server, is called multiple path transmission flow encapsulation (Multi TS Encapsulation) server, referred to as MTE server.
Digital television front-end system described in the present embodiment is realized at least encapsulation of the current transmission package of at least two programs in transport stream by the device of the transport stream for TV transmission system, thereby can make digital TV terminal that more program is provided in the situation that not increasing PID filter.
Figure 10 shows the sixth embodiment of the present invention.
Figure 10 is the structural representation of a kind of digital television terminal system in sixth embodiment of the invention.As shown in figure 10, the digital television terminal system described in the present embodiment comprises qam demodulator 1001, demodulation multiplexer 1002, PID filter 1003 and for receiving the device 1004 of the transport stream of television system; Described for receiving after the device of the transport stream of television system is positioned at described PID filter, described qam demodulator, demodulation multiplexer carry out QAM demodulation and demultiplexing to the transport stream receiving, PID filter extracts the fragment that transport stream after QAM demodulation and demultiplexing has identical PID, described for the device of transport stream that receives television system the fragment with identical PID of the transport stream after to QAM demodulation and demultiplexing process, be reduced to former transport stream.Wherein, described qam demodulator 1001, described demodulation multiplexer 1002 and described PID filter 1003, be prior art, repeats no more here.
For receiving the device 1004 of the transport stream of television system, comprise: receiver module, first is searched module, recovery module and second is searched module.Identical for receiving each module of device of transport stream of television system with described in the 4th embodiment of its each module, repeats no more here.
First digital television terminal system described in the present embodiment filters transport stream by PID filter, for receiving the device of the transport stream of television system, in the fragment of the identical transport stream of the PID extracting through PID filter, find the first transmission package and the second transmission package in fragment, the current transmission package of reduction at least two programs, according to programme information find carry described in the current transmission package of audio, video data of at least two programs, thereby obtain the played data of each program, realized digital TV terminal more program is provided in the situation that not increasing hardware PID filter.
Figure 11 shows the seventh embodiment of the present invention.
Figure 11 is the structural representation of a kind of digital television system in seventh embodiment of the invention.As shown in figure 11, the digital television system described in the present embodiment comprises digital television front-end system 1101, transmission network 1102 and digital television terminal system 1103; Described digital television front-end system is transferred to described digital television terminal system by described transmission network by transport stream.Wherein, described digital television front-end system 1101 comprises the device for the transport stream of TV transmission system, and the device of the described transport stream for TV transmission system is for encapsulating the current transmission package of at least two programs of transport stream; 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 for realizing the transmission of the transport stream between described digital television front-end system and described digital television terminal system; Described digital television terminal system 1103 comprises for receiving the device of the transport stream of television system, and described digital television terminal system is identical with the digital television terminal system described in the 6th embodiment, repeats no more here.
Digital television system described in the present embodiment is utilized for the device of the transport stream of TV transmission system and is realized the new transmission package that the current transmission package of at least two programs in transport stream is encapsulated as to the new transport stream in a road in digital television front-end system, described new transmission package comprises the first transmission package and the second transmission package, described the first transmission package comprises EID, and described EID represents the sign of current transmission package in new transport stream; Transmission network is transferred to digital television terminal system by mapping relations and the programme information of the PID of the current transmission package of the first transmission package in new transport stream, the second transmission package, EID and at least two programs; PID filter filter transport stream first in digital television terminal system, extract the fragment that PID is identical, find the first transmission package and the second transmission package in described fragment, the current transmission package of reduction at least two programs, according to programme information, find the current transmission package of the audio, video data that carries each program, thereby obtain the played data of each program, realized digital TV terminal more program is provided in the situation that not increasing hardware PID filter.
Note, above are only preferred embodiment of the present invention and institute's application technology principle.Skilled person in the art will appreciate that and the invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious variations, readjust and substitute and can not depart from protection scope of the present invention.Therefore, although the present invention is described in further detail by above embodiment, the present invention is not limited only to above embodiment, in the situation that not departing from the present invention's design, can also comprise more other equivalent embodiment, and scope of the present invention is determined by appended claim scope.

Claims (17)

1. for a method for the transport stream of TV transmission system, it is characterized in that, described method comprises:
Receive transport stream waiting for transmission;
From described transport stream, obtain programme information, and the current transmission package of at least two programs in described transport stream is encapsulated as to a plurality of new transmission package of the new transport stream in a road, described a plurality of new transmission package belongs to a fragment, comprises the first transmission package and the second transmission package; Described the first transmission package is identical with the quantity of the current transmission package of described at least two programs, described in each the load correspondence of the first transmission package comprise described in packet header, first's data and the package identification symbol EID of the current transmission package of a programs at least two programs; The second portion data of the current transmission package of at least two programs and the frag info of a described fragment described in the load of described the second transmission package comprises, described frag info comprises sheet segment identification and fragment length;
The bag that transmits the current transmission package of described the first transmission package, the second transmission package, described EID and described at least two programs identifies mapping relations and the described programme information of PID.
2. method according to claim 1, is characterized in that, a plurality of new transmission package that the described current transmission package by least two programs in described transport stream is encapsulated as the new transport stream in a road comprises:
By after the packet header compression of the current transmission package of every suit program in described at least two programs, be placed on the first of the load of the first corresponding transmission package with described EID separately;
First's data in the load of the current transmission package of every suit program and second portion data at least two programs described in extraction;
First's data of the current transmission package of every suit program in described at least two programs are placed on to the second portion of the load of the first corresponding transmission package, and described second portion data are added in the load of described the second transmission package according to the order of described the first transmission package.
3. method according to claim 1 and 2, is characterized in that, the packet header of the current transmission package of a programs in described at least two programs that described in each, the load correspondence of the first transmission package comprises, is the packet header through overcompression;
Wherein, the described packet header through overcompression comprises: retain position, original useful load unit start indicator, original adaptive control and original continuous counter field; Wherein, described original useful load unit start indicator, described original adaptive control and described original continuous counter field are respectively useful load unit start indicator, adaptive control and the continuity counter field of the current transmission package of a described road transport stream.
4. method according to claim 1 and 2, it is characterized in that, described first data are front 182 byte datas of the current transmission package load of the programs in described at least two programs, and described second portion data are rear 2 byte datas of the current transmission package load of the programs in described at least two programs.
5. for receiving a method for the transport stream of television system, it is characterized in that, described method comprises:
Receive transport stream, described transport stream comprises that the bag of the current transmission package of at least two programs in the first transmission package, the second transmission package, package identification symbol EID and former transport stream identifies mapping relations and the programme information of PID; Described the first transmission package and described the second transmission package belong to a fragment; Described the first transmission package is identical with the quantity of the current transmission package of at least two programs described in described former transport stream, described in each the load correspondence of the first transmission package comprise described in packet header, first's data and the EID separately of the current transmission package of a programs at least two programs; The second portion data of the current transmission package of at least two programs and the frag info of a described fragment described in the load of described the second transmission package comprises, described frag info comprises sheet segment identification and fragment length;
According to described segment identification and fragment length, find all the first transmission package and second transmission package of a described fragment;
According to the mapping relations of the PID of the current transmission package of at least two programs in all first transmission package of a described fragment and the second transmission package and described EID and former transport stream, reduce the current transmission package of described at least two programs of described former transport stream, the played data of at least two programs described in obtaining;
According to described EID and the mapping relations of PID of current transmission package of at least two programs and the current transmission package of described at least two programs of the described former transport stream of programme information and reduction, played data corresponding to every programs at least two programs described in finding.
6. method according to claim 5, it is characterized in that, described according to the mapping relations of the PID of the current transmission package of at least two programs in all first transmission package of a described fragment and the second transmission package and described EID and former transport stream, reduce the current transmission package of described at least two programs of described former transport stream, comprising:
According to the mapping relations of the PID of the current transmission package of at least two programs in described EID and former transport stream, by the EID in the load of the first transmission package that in described at least two programs that find, every programs is corresponding and be reduced to described in former transport stream the packet header of the current transmission package of every programs at least two programs through the packet header of overcompression; Wherein, the described packet header through overcompression comprises: retain position, original useful load unit start indicator, original adaptive control and original continuous counter field; Wherein, described original useful load unit start indicator, described original adaptive control and described original continuous counter field be respectively described at least useful load unit start indicator, adaptive control and the continuity counter field of the current transmission package of the former transport stream Zhong mono-former transport stream in tunnel of two-way;
First's data in the load of described the first transmission package that described in extraction, at least two programs, every programs is corresponding, and the corresponding second portion data in the load of the second transmission package;
The load that first's data that in described at least two programs that extract, every programs is corresponding and described second portion data are reduced to the current transmission package that in former transport stream, at least two programs, every programs is corresponding.
7. according to the method described in claim 5 or 6, it is characterized in that, described first data are front 182 byte datas of the current transmission package load of a programs in described former transport stream, and described second portion data are rear 2 byte datas of the current transmission package load of a programs in described former transport stream.
8. for a device for the transport stream of TV transmission system, it is characterized in that, described device comprises:
Receiver module, for receiving transport stream waiting for transmission;
Package module, for the transport stream receiving from described receiver module, obtain programme information, and the current transmission package of at least two programs in described transport stream is encapsulated as to a plurality of new transmission package of the new transport stream in a road, described a plurality of new transmission package belongs to a fragment, comprises the first transmission package and the second transmission package; Described the first transmission package is identical with the quantity of the current transmission package of described at least two programs, described in each the load correspondence of the first transmission package comprise described in packet header, first's data and the package identification symbol EID of the current transmission package of a programs at least two programs; The second portion data of the current transmission package of at least two programs and the frag info of a described fragment described in the load of described the second transmission package comprises, described frag info comprises sheet segment identification and fragment length;
Transport module, identifies mapping relations and the described programme information of PID for transmitting the bag of the current transmission package of the first transmission package, the second transmission package, described EID and described at least two programs that described package module generates.
9. device according to claim 8, is characterized in that, described package module comprises:
Compression submodule, for by after the packet header compression of the current transmission package of described at least two programs every suit programs, is placed on the first of the load of the first corresponding transmission package with described EID separately;
Extract submodule, for first's data and the second portion data in the load of the current transmission package of at least two programs every suit programs described in extracting;
Add submodule, for first's data of the current transmission package of described at least two programs every suit programs being placed on to the second portion of the load of the first corresponding transmission package, and described second portion data are added in the load of described the second transmission package according to the order of described the first transmission package.
10. device according to claim 8 or claim 9, is characterized in that, the packet header of the current transmission package of a programs in described at least two programs that described in each, the load correspondence of the first transmission package comprises, is the packet header through overcompression;
Wherein, the described packet header through overcompression comprises: retain position, original useful load unit start indicator, original adaptive control and original continuous counter field; Wherein, described original useful load unit start indicator, described original adaptive control and described original continuous counter field are respectively useful load unit start indicator, adaptive control and the continuity counter field of the current transmission package of a described road transport stream.
11. devices according to claim 8 or claim 9, it is characterized in that, described first data are front 182 byte datas of the current transmission package load of the programs in described at least two programs, and described second portion data are rear 2 byte datas of the current transmission package load of the programs in described at least two programs.
12. 1 kinds for receiving the device of the transport stream of television system, it is characterized in that, described device comprises:
Receiver module, for receiving transport stream, described transport stream comprises that the bag of the current transmission package of at least two programs in the first transmission package, the second transmission package, package identification symbol EID and former transport stream identifies mapping relations and the programme information of PID; Described the first transmission package and described the second transmission package belong to a fragment; Described the first transmission package is identical with the quantity of the current transmission package of at least two programs described in described former transport stream, described in each the load correspondence of the first transmission package comprise described in packet header, first's data and the EID separately of the current transmission package of a programs at least two programs; The second portion data of the current transmission package of at least two programs and the frag info of a described fragment described in the load of described the second transmission package comprises, described frag info comprises sheet segment identification and fragment length;
First searches module, all the first transmission package and the second transmission package that for described segment identification and the fragment length of the second transmission package of receiving according to described receiver module, find a described fragment;
Recovery module, for according to described first search module searches to all first transmission package of a fragment and the mapping relations of the PID of the current transmission package of the described EID that receives of the second transmission package and receiver module and former transport stream at least two programs, reduce the current transmission package of described at least two programs of described former transport stream, the played data of at least two programs described in obtaining;
Second searches module, for the described EID that receives according to described receiver module and the current transmission package of described at least two programs of the mapping relations of the PID of the current transmission package of the former transport stream of two-way and the former transport stream of programme information and the reduction of described recovery module at least, played data corresponding to every programs at least two programs described in finding.
13. devices according to claim 12, is characterized in that, described recovery module comprises:
Packet header reduction submodule, for according to the mapping relations of the PID of the current transmission package of described EID and former transport stream at least two programs, by the EID in the load of the first transmission package that in described at least two programs that find, every programs is corresponding and be reduced to described in former transport stream the packet header of the current transmission package of every programs at least two programs through the packet header of overcompression; Wherein, the described packet header through overcompression comprises: retain position, original useful load unit start indicator, original adaptive control and original continuous counter field; Wherein, described original useful load unit start indicator, described original adaptive control and described original continuous counter field be respectively described at least useful load unit start indicator, adaptive control and the continuity counter field of the current transmission package of the former transport stream Zhong mono-former transport stream in tunnel of two-way;
Extract submodule, for the first's data in the load of described the first transmission package corresponding to the every programs of at least two programs described in extracting, and the corresponding second portion data in the load of the second transmission package;
Load reduction submodule, for the load that first's data corresponding to the every programs of described at least two programs extracting and described second portion data are reduced to the current transmission package that in former transport stream, at least two programs, every programs is corresponding.
14. according to the device described in claim 12 or 13, it is characterized in that, described first data are front 182 byte datas of the current transmission package load of a programs in described former transport stream, and described second portion data are rear 2 byte datas of the current transmission package load of a programs in described former transport stream.
15. 1 kinds of digital television front-end systems, comprise encoder, multiplexer and QAM modulator, it is characterized in that, described digital television front-end system also comprises the device of the transport stream for TV transmission system described in any one in claim 8-11;
The device of the described transport stream for TV transmission system is between described encoder and described multiplexer, described encoder sends to the transport stream of formation in the device of the described transport stream for TV transmission system, the device of the described transport stream for TV transmission system is processed and is formed new transport stream and described new transport stream is sent to multiplexer described transport stream, and described multiplexer carries out multiplexing and modulated by QAM modulator described new transport stream.
16. 1 kinds of digital television terminal systems, comprise qam demodulator, demodulation multiplexer and PID filter, it is characterized in that, described digital television terminal system also comprise in claim 12-14 described in any one for receiving the device of the transport stream of television system;
Described for receiving after the device of the transport stream of television system is positioned at described PID filter, described qam demodulator, demodulation multiplexer carry out QAM demodulation and demultiplexing to the transport stream receiving, PID filter extracts the fragment that transport stream after QAM demodulation and demultiplexing has identical PID, described for the device of transport stream that receives television system the fragment with identical PID of the transport stream after to QAM demodulation and demultiplexing process, be reduced to former transport stream.
17. 1 kinds of digital television systems, is characterized in that, described digital television system comprises the digital television terminal system described in digital television front-end system, transmission network and the claim 16 described in claim 15; Wherein, described digital television front-end system is transferred to described digital television terminal system by described transmission network by transport stream.
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 true CN103546827A (en) 2014-01-29
CN103546827B 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)

Cited By (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

Cited By (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

Also Published As

Publication number Publication date
CN103546827B (en) 2017-01-18

Similar Documents

Publication Publication Date Title
JP6196386B2 (en) Broadcast signal transmission method, broadcast signal reception method, broadcast signal transmission device, broadcast signal reception device
JP6368451B2 (en) Transmitting apparatus and receiving apparatus
CN105794174B (en) For sending/receiving the device and method of broadcast singal
EP3046304B1 (en) Devices for transmitting/receiving broadcast signal
CN100568967C (en) A kind of digital television signal code stream feature extraction and recognition methods and equipment thereof
US10674233B2 (en) Method and device for transmitting/receiving broadcast signal
EP3242475B1 (en) Broadcast signal transmission apparatus, broadcast signal reception apparatus, broadcast signal transmission method, and broadcast signal reception method
JP2013175949A (en) Transmitter and receiver
WO2014039883A2 (en) System and method for segment demarcation and identification in adaptive streaming
EP3242457B1 (en) Broadcast signal transmission apparatus, broadcast signal receiving apparatus, broadcast signal transmission method, and broadcast signal receiving method
CN102714754A (en) Remote re-multiplexing of transport streams
EP3157260B1 (en) Transmission apparatus, transmission method and reception apparatus
US20160165017A1 (en) Method for transmitting broadcast signal, method for receiving broadcast signal, apparatus for transmitting broadcast signal, and apparatus for receiving broadcast signal
US20130094836A1 (en) Embedded ancillary data processing method and system with program duration alteration
KR102241085B1 (en) Device and method for transmitting and receiving broadcast signal
EP3242456A1 (en) Broadcast signal transmission apparatus, broadcast signal reception apparatus, broadcast signal transmission method, and broadcast signal reception method
CN106471813A (en) The device sending broadcast singal, the device receiving broadcast singal, the method sending broadcast singal and the method receiving broadcast singal
CN103546827A (en) Method, device and system for transmitting transport stream in television system
CN101102509A (en) A data synchronization method for mobile multimedia broadcast 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