CN108712679A - A kind of broadcast receiver - Google Patents
A kind of broadcast receiver Download PDFInfo
- Publication number
- CN108712679A CN108712679A CN201810470418.7A CN201810470418A CN108712679A CN 108712679 A CN108712679 A CN 108712679A CN 201810470418 A CN201810470418 A CN 201810470418A CN 108712679 A CN108712679 A CN 108712679A
- Authority
- CN
- China
- Prior art keywords
- data packets
- streams
- unit
- decryption
- distinguishing identifier
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
- H04N21/4405—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video stream decryption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/426—Internal components of the client ; Characteristics thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/426—Internal components of the client ; Characteristics thereof
- H04N21/42607—Internal components of the client ; Characteristics thereof for processing the incoming bitstream
- H04N21/42623—Internal components of the client ; Characteristics thereof for processing the incoming bitstream involving specific decryption arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/438—Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
- H04N21/4382—Demodulation or channel decoding, e.g. QPSK demodulation
Abstract
When broadcast receiver provided in an embodiment of the present invention,Increase storage unit in existing hardware frame structure,It identifies unit and TS flows reconfiguration unit,And then each road TS streams exported in storage unit storage demodulator,The TS data packets for the multichannel TS streams for being stored in storage unit are distinguished mark by mark unit,And the TS data packets of distinguishing identifier are constituted to data transmission stream new all the way,The new data transmission stream is sent to the decryption unit for decryption,And then the TS data packets of above-mentioned distinguishing identifier are decrypted in decryption unit,And then the TS data packets after TS stream reconfiguration unit receiving and decipherings,And according to distinguishing identifier rule,TS data packets after decryption are distinguished and TS streams are Resealed according to TS streams belonging to original,Final decoder is decoded to form multiplexed program to the TS streams Resealed.
Description
Technical field
The present invention relates to Digital object identifier field more particularly to a kind of broadcast receivers.
Background technology
MPEG-2 (compression standard based on digital storage media moving image and voice) is ISO/IEC/JTC1/SC29/
The Standard of image compression that WG11 is formulated, it is to adapt to the generation of digital television program, editor, storage, transmission and display
Composite request and research and develop, be widely used in digital television broadcasting and DVD.Currently, multimedia programming such as TV programme are substantially all
It compressed, be packaged using Moving Picture Experts Group-2, form TS streams (Transport Stream, transport stream), TS streams are compiled by channel
It is sent in channel, is transmitted after code and modulation.
When user watches multimedia programming, broadcast receiver is flowed according to the corresponding TS of the selected multimedia programming of user
PID (Package Identification, packet identification code), from numerous TS stream in extract it is selected more corresponding to user
The TS of media program flows, and the programme content in TS streams is decrypted, and programme content after decrypted can then play, and supply
User watches.
With the development of digital multimedia, user (is broadcasting while watching multimedia programming to playing recording function
Another way multimedia programming is recorded while putting multimedia programming all the way), picture-in-picture function (i.e. while the broadcasting at least more matchmakers of two-way
Body segment mesh) etc. demand also gradually increase, when user proposes to play recording function or/and when picture-in-picture function, broadcast reception dress
It sets, the TS streams for extracting multichannel multimedia programming is needed, and the programme content in multichannel TS streams is decrypted, however, existing
Broadcast receiver usually can only once be decrypted TS streams all the way, realize that TS flows the broadcasting of corresponding multimedia programming all the way
Or record, and multichannel TS stream cannot be decrypted respectively, realize multichannel TS flow corresponding multimedia programming broadcasting or
It records.
Invention content
The purpose of the present invention is to provide a kind of broadcast receivers to realize multichannel for multichannel TS streams to be decrypted
TS flows the broadcasting or recording of corresponding multimedia programming.
To achieve the goals above, the present invention provides a kind of broadcast receiver, which is characterized in that including:
Multiple demodulators are respectively used to demodulate its reception broadcast television signal, to form multichannel TS streams;
Storage unit, for storing the multichannel TS streams exported from the multiple demodulator;
Unit is identified, any road TS stream be respectively originated from for TS data packets in multichannel TS streams described in distinguishing identifier;
Decryption unit, for the TS data packets of the distinguishing identifier to be decrypted respectively;
TS flows reconfiguration unit, for according to distinguishing identifier rule, the TS data packets after decryption being belonged to and are flowed from same TS
TS data packets be re-packaged into all the way TS stream;
Decoder, for multichannel TS stream decodings will to be Resealed to form multiplexed program.
In compared with the prior art, in order to realize that multichannel TS flows the broadcasting or/and recording of corresponding multimedia programming,
Multiple decryption cards (decryption unit) are usually set in broadcast receiver, and TS streams all the way are decrypted in each decryption unit.
And when by broadcast receiver provided in an embodiment of the present invention, increase storage unit, mark in existing hardware frame structure
Unit and TS flow reconfiguration unit, and then each road TS streams exported in storage unit storage demodulator, mark unit will be stored in
The TS data packets of the multichannel TS streams of storage unit distinguish mark, and the TS data packets of distinguishing identifier are constituted to number new all the way
According to transport stream, which is sent to the decryption unit for decryption, and then decryption unit is to above-mentioned distinguishing identifier
TS data packets be decrypted, and then TS stream reconfiguration unit receiving and deciphering after TS data packets, and according to distinguishing identifier rule, it is right
TS data packets after decryption distinguish and Reseal TS streams according to TS streams belonging to original, and final decoder is to the TS that Reseals
Stream is decoded to form multiplexed program.Thus when the TS data packets in the road new data transmission stream are decrypted, only
One decryption unit need to be set in broadcast receiver and achieve that the TS streams inputted to each road are carried out at the same time decryption, so as to
To simplify the structure of broadcast receiver, the cost of broadcast receiver is reduced.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and constitutes the part of the present invention, this hair
Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is TS flow data format description schematic diagrames;
Fig. 2 is a kind of schematic diagram of broadcast receiver provided by the embodiments of the present application;
Fig. 3 a are a kind of transmission schematic diagram of TS data packets in the embodiment of the present application two-way TS streams;
Fig. 3 b are that TS data packet another kinds transmit schematic diagram in the embodiment of the present application two-way TS streams;
Fig. 3 c are that TS packet combinings transmit schematic diagram in the embodiment of the present application two-way TS streams
Fig. 4 is another schematic diagram of broadcast receiver provided by the embodiments of the present application;
Fig. 5 is the third schematic diagram of broadcast receiver provided by the embodiments of the present application;
Fig. 6 is the step schematic diagram that multichannel TS flows decryption method in the embodiment of the present application;
Fig. 7 is that the transmission rate of the TS data packets of distinguishing identifier in the embodiment of the present application determines step schematic diagram;
Fig. 8 is that the first transmission rate of the TS data packets of distinguishing identifier in the embodiment of the present application determines schematic diagram;
Fig. 9 is that second of transmission rate of the TS data packets of distinguishing identifier in the embodiment of the present application determines schematic diagram;
Figure 10 is CI mode decision flow diagrams in the embodiment of the present application.
Specific implementation mode
The broadcast receiver that embodiment provides in order to further illustrate the present invention carries out detailed with reference to the accompanying drawings of the specification
Thin description.
In the prior art, it when multiple decoders export encrypted multichannel TS streams respectively, needs that multiple decryption units are arranged
Different encrypted multichannel TS is flowed respectively;And scheme provided by the present application, a decryption unit can only be used only to encryption
Multichannel TS streams be decrypted, and the TS data after decryption are distinguished to form multiplexed program after decryption.
It in the embodiment of the present application, is illustrated with two-way TS streams, the case where multichannel TS stream is similar with two-way, does not do
More repeats.
First, a simple introduction is carried out to TS streams.What TS streaming digital TV set-top boxes received is a section code
Stream, each TS stream carry some information, such as Video, Audio and we need PAT, PMT information learnt.
For the composition of TS streams as shown in Figure 1, TS streams are the bit stream formats based on packet (data packet), each packet is 188 bytes,
(or 204 bytes, the CRC check data of 16 bytes are added after 188 bytes, extended formatting is the same).
Whole TS stream composition forms are as shown in Figure 1, wherein Packet Header (packet header) information explanation is as shown in table 1:
Table 1
Wherein, sync id is the transmission identifier under MPEG-2 TS transmission standards, and it typically is fixed value 0x47;
Pid information is the unique mark in TS streams, and the content of data packet is determined by it during TS flows, for example, an if TS
PID is 0x0000 in the header packet information of packet in stream, then the data of this packet are exactly the pat table in DVB.
Further, TS streams are commonly divided into two kinds, and one is the TS streams for the audio and video for only including single program, we claim
For single program stream, another kind is that multiple program packaging multiplexings are flowed at a TS, and we term it multi program multiplex streams.
The hardware frame figure of the application broadcast receiver is as shown in Figure 2.
The multimedia reception device includes demodulator 10, storage unit 20, mark unit 30, TS streams reconfiguration unit 40, solution
Close unit 50 and decoder 60;Wherein,
Demodulator 10 is multiple, and each demodulator 10 receives broadcast television signal for demodulating it, to form multichannel TS streams;
Storage unit 20, for storing the multichannel TS streams exported from multiple demodulators 10;
Unit 30 is identified, any road TS stream be respectively originated from for TS data packets in distinguishing identifier multichannel TS streams;
The TS data packets of the distinguishing identifier are decrypted decryption unit 50 respectively;
TS flows reconfiguration unit 40, for according to distinguishing identifier rule, the TS data packets after decryption to be belonged to from same TS
The TS data packets of stream are re-packaged into TS streams all the way;
Decoder 60, the multichannel TS stream decodings for will Reseal are to form multiplexed program.
After the encrypted TS streams of multichannel are demodulated by demodulator 10, multichannel TS streams are input to storage unit 20, mark is single
The TS data packets for the multichannel TS streams for being stored in storage unit 20 are distinguished mark by member 30, to determine the TS numbers in multichannel TS streams
It is respectively originated from any road TS stream according to packet, and then by the TS data packets after distinguishing identifier, according to the time sequencing of first in first out, and is based on one
Fixed transmission rate is sent to decryption unit 50, and decryption unit 50 is according to its preset decryption rule, to the TS after distinguishing identifier
Stream decryption, and the TS data packets after decryption are sent to TS after decryption and flow reconfiguration unit 40, TS flows reconfiguration unit 40 according to area
Minute mark knowledge distinguishes the TS data packets after decryption, and is re-packaged into all the way the TS data packets from same TS streams are belonged to
TS flows, and final decoder 60 is decoded to form multiplexed program the TS data packets Resealed.
Further, as best shown in figures 3 a and 3b, it is only necessary to be flowed into TS all the way for middle decryption unit compared with the existing technology
Road TS data packets directly can be sent to decryption unit and carry out real time decrypting by row decryption in real time;And in the present solution, due to one
A TS data packet can only be decrypted in a decryption unit synchronization, as shown in Figure 3a, in t moment, a TS number of TS1
When reaching decryption unit simultaneously according to a TS data packets Packet2-1 of packet Packet1-1 and TS2, decryption unit cannot be simultaneously
The data packet Packet1-1 and Packet2-1 that receive are decrypted;Or as shown in Figure 3b, at the t1 moment, decryption unit
Data packet Packet1-1 is received, if at the t2 moment, decryption unit is connected to the TS data packet Packet2-1 of TS2 again, at this point,
To TS data packet Packet1-1 processing, decryption unit can not receive data packet Packet2-1 decryption unit
And handle, then the processing conflict between the data packet will necessarily be caused, leads to partial data packet loss or can not decrypt, in turn
The integrality for influencing TS flow datas influences user's viewing or recording TV program.
Therefore, for avoid different TS stream data packet conflict, and then the loss of TS data packets is avoided, in 10 He of demodulator
Increase storage unit 20 between decryption unit 50, the TS data packets that storage unit 20 flows the multichannel TS received are by receiving time
Sequential storage simultaneously sorts, and then the TS data packets of storage are sent to by the sequence of storage and identify unit 30 and to the TS data packets
Mark is distinguished, and then is avoided due to the time conflict problem in TS data packets transmission in TS streams of not going the same way.
It should be noted that when two TS data packets reach storage unit 20 simultaneously just, then two TS data packets
For two data packets of adjacent storage, but stores and do not require successively.Person of ordinary skill in the field can also take other
Judgment mechanism pair is in this case, the storage order of two TS data packets is made stipulations.
Further, illustrative as described in Fig. 3 c, the TS data packets of multichannel TS streams are by the TS data for receiving sequential storage
Packet constitutes data flow new all the way, and then is sent to decryption unit after the data flow is identified and is decrypted.Illustratively,
As shown in Figure 3c, decryption unit is according to distinguishing identifier, in the data flow that newly constitutes, to from the Packet with the streams of TS all the way
The data packets such as 1-1, Packet 1-2, Packet 1-3 are decrypted by same decryption rule;To what is flowed from another way TS
Packet 2-1, Packet 2-2, Packet 2-3 are decrypted according to another kind decryption rule.
Correspondingly, when the TS data packets in multichannel TS streams reconstitute new data stream all the way, the new data stream is corresponding
Transmission rate needs do corresponding adjustment and variation, and the adjustment and variation can provide in the following to be illustrated and example,
Excessive description is not done herein.
Further, mark unit 30 is specifically used for:The sync id in the header packet information of TS data packets is changed, change is made
It is identical with the sync id of TS data packets of the streams of TS all the way afterwards.Intrinsic sync id is 0x47, in being flowed respectively to different TS
Sync id in TS packet header information does different changes.By taking two-way as an example, the TS data packets in TS streams, are wrapped all the way
Sync id can be changed to 0x48 in header;Another way can then be changed to 0x49.
Corresponding, TS reconfiguration units 40 are specifically used for:TS data packets after decrypting are identified according to the sync id after change
It is flowed from which TS, and the sync id of TS data packets after all decryption is changed to former sync id, and then after decryption
After TS data packets are changed to former sync id, TS streams all the way will be re-packaged into from the TS data packets with the streams of TS all the way.
Specifically, under existing protocol, decoder is only capable of the TS data packets that identification sync id is eigenvalue 0x47, to change
Sync id is that the TS data packets of 0x48 and 0x49 do not identify afterwards.Therefore, 40 receiving and deciphering unit 50 of TS reconfiguration units is sent out
TS data packets after the decryption sent, according to the distinguishing rule (sync id after changing of TS data packets:Such as 0x48,0x49
Deng), the TS data packets of distinguishing identifier after decryption are distinguished, and by the sync id of TS data packets (such as 0x48,0x49)
It is changed to original sync id (0x47), intrinsic consensus standard can be met and is exported into decoder 60, it is more to be formed
Road program.
Further, the channel with mutual transfer data information between unit 30 and TS stream reconfiguration units 40 is identified, with
So that TS is flowed the distinguishing rule that reconfiguration unit 40 obtains TS data packets from mark unit 30, and according to the distinguishing rule, knows
Not Xie Mi after TS data packets be respectively originated from which TS stream, and then Resealed the TS data packets that opisthogenesis is flowed from same TS are decrypted
It is flowed for TS all the way.
Illustratively, as described above, when the sync id of TS1 data packets is changed to 0x48 by mark unit 30 by 0x47,
The sync id of TS2 data packets is changed to 0x49 by 0x47;And then TS stream reconfiguration unit by information channel from mark unit
The mark rule is obtained in 30, and the data packet that sync id in the TS data packets after decryption is 0x48 is changed to 0x47 and is laid equal stress on
It newly is encapsulated as TS1, the data packet that sync id is 0x49 is changed to 0x47 and is re-packaged into TS2.
Further, as shown in figure 4, the function of storage unit 20, mark unit 30 and TS stream reconfiguration units 40 can be by one
A integrated chip (i.e. TS data processing chips 70) is realized.
Further, above-mentioned multichannel TS streams are encrypted TS streams, the multimedia reception device that this programme provides, Neng Goushi
Decryption unit TS streams encrypted to multichannel are now based on to carry out while decrypting.
It is worth mentioning, in the TS streams that demodulator 10 is generated according to the signal received, and TS streams in part are encryption TS
Stream, when TS streams in part are non-encrypted TS streams, the scheme of the application remains unchanged and can the TS data packets in multichannel TS streams be distinguished mark
Know, and then the TS data packets of distinguishing identifier are sent to decryption unit in chronological order, decryption unit has choosing according to distinguishing identifier
The TS data packets decrypted to needs to selecting property are decrypted, and the TS data packets of distinguishing identifier again change its sync id after decryption
For sync id intrinsic under existing standard agreement, to form multiplexed program.Obviously, judgement can also be increased before distinguishing identifier
Module, and then judge whether the TS received streams are encryption stream, it is flowed if it is encryption, then distinguishes mark, it otherwise, directly will be non-
Encryption TS streams are output in decoder, and this programme does not do this excessive restriction.
Further, information exchange is carried out by IIC control protocols between each chip, specifically, System on Chip/SoC passes through
IIC controls demodulator 10, and the channel that the data format and needs that setting output TS flows demodulate, demodulator 10 is controlled by IIC
Tuner carries out the selection of channel, and the frequency point of 10 demand of demodulator is transmitted to demodulator 10 by IF/IQ signals and solved by Tuner
It adjusts;Encrypted TS streams (TS1 and TS2 in such as figure) after demodulation are sent to storage unit 20 by demodulator 10;And then System on Chip/SoC
Mark unit 30 is controlled by IIC so that the TS data packets in TS1 and TS2 that mark unit 30 receives storage unit 20
Mark is distinguished, the new data stream (MS i.e. in Fig. 2 and Fig. 3 flows) formed with the TS data packets of distinguishing identifier is sent to decryption
In unit 50, decryption unit 50 is again decrypted the TS data packets of distinguishing identifier, and by the TS data packets after decryption according to area
Point mark rule, is distinguish and forms multiplexed program and play out or/and record.
Further, decryption unit 50 can be CI cards, and CI cards are also CAM cards, refer to one for the more matchmakers of number
The module that body programme signal is decrypted, in a kind of existing widely used scheme, television operator is demodulated by licensing to CAM
Device manufacturer, makes CAM manufacturers according to certain mode Reinforced turf, and encryption and decryption pattern pays to the encryption of operators issue
Signal carries out descrambling scrambling, decryption encryption.Different operators distribution can be watched to realize that user replaces different CAM cards
Payment signal.CI cards are that DTV card or high-grade set-top box are special, can be used for cable digital TV card, satellite digital TV
Card.It can also be used for set-top box, the digital TV integrated machine etc. of separation between machine and card.
Further, decoder 60 is according to pid information in the header packet information of TS data packets, simultaneously by the TS streams decoding after decryption
It is split as video data, audio data and other data.Illustratively, it is provided according to TS flow standard agreements, if some TS data
The PID=45 of packet, then the TS data packets are video data;If the PID=78 of some TS data packet, which is audio
Data;If the PID=69 of some TS data packet, this section of TS data are filling data.Decoder, which flows the TS after decryption, to be split
For video data and audio data, to be respectively used to show and play.
Further IF is intermediate-freuqncy signal, and IQ is baseband signal, and DVB-S2 is satellite-signal, and DVB-T2 believes for terrestrial broadcasting
Number, DVB-C is wire signal, and tuner is sent for receiving above-mentioned DVB-S2, DVB-T2/C signal, and by the signal received
It is demodulated to demodulator 10.
Specifically, tuner receives signal (DVB-S2, DVB-T2/C), and the signal is sent out in a manner of IQ, IF signal
Give demodulator 10, the multimedia that demodulator 10 is flowed according to the corresponding TS of the signal acquisition received, while being selected according to user
The PID of TS streams corresponding to programme information, determines the TS data packets to be decrypted for needing to be sent to decryption unit 50;With demodulator
The connected storage unit 20 of 10 output end receives the TS data packets, and by mark unit 30 to the TS in the multichannel TS streams of acquisition
Data packet distinguishes mark respectively;The TS data packets for the distinguishing identifier that the reception of decryption unit 50 storage unit is sent, and
The TS data packets of distinguishing identifier are decrypted respectively in different time sections;Further, decryption unit 50 will by output end
The TS data packets of distinguishing identifier after decryption are sent to TS stream reconfiguration units 40, and TS stream reconfiguration units 40 are advised according to distinguishing identifier
Then, the multichannel TS streams after decryption are distinguished and formed to the TS data packets of the distinguishing identifier after decryption, are sent to decoder 60
To form multiplexed program, the multiplexed program is for playing or/and recording.
Further, as shown in figure 5, storage unit, mark unit and TS stream reconfiguration units and decoder are integrated into system
In chip SOC.System on Chip/SoC SOC includes function and the effect of above-mentioned each unit, specifically, when the encrypted TS streams of multichannel are by solving
After adjusting device 10 to demodulate, multichannel TS streams are inputted and are stored in System on Chip/SoC SOC, System on Chip/SoC SOC flows multichannel TS
TS data packets distinguish mark, to determine that the TS data packets in multichannel TS stream are respectively originated from which road TS flows, and then by distinguishing identifier
TS data packets afterwards are sent to decryption unit 50 according to the time sequencing of first in first out, and based on certain transmission rate, decryption
Unit 50 flows decryption, and the TS data packet backs after decryption are given according to its preset decryption rule to the TS after distinguishing identifier
System on Chip/SoC SOC, System on Chip/SoC SOC distinguish the TS data packets after decryption according to distinguishing identifier, and are originated from together belonging to
The TS data packets of one TS streams are re-packaged into TS streams all the way, are finally decoded the TS data packets Resealed to form multichannel
Program.
In compared with the prior art, in order to realize that multichannel TS flows the broadcasting or/and recording of corresponding multimedia programming,
Multiple decryption cards (decryption unit) are usually set in broadcast receiver, and TS streams all the way are decrypted in each decryption unit.
And when by broadcast receiver provided in an embodiment of the present invention, increase storage unit, mark in existing hardware frame structure
Unit and TS flow reconfiguration unit, and then each road TS streams exported in storage unit storage demodulator, mark unit will be stored in
The TS data packets of the multichannel TS streams of storage unit distinguish mark, and the TS data packets of distinguishing identifier are constituted to number new all the way
According to transport stream, which is sent to the decryption unit for decryption, and then decryption unit is to above-mentioned distinguishing identifier
TS data packets be decrypted, and then TS stream reconfiguration unit receiving and deciphering after TS data packets, and according to distinguishing identifier rule, it is right
TS data packets after decryption distinguish and Reseal TS streams according to TS streams belonging to original, and final decoder is to the TS that Reseals
Stream is decoded to form multiplexed program.Thus when the TS data packets in the road new data transmission stream are decrypted, only
One decryption unit need to be set in broadcast receiver and achieve that the TS streams inputted to each road are carried out at the same time decryption, so as to
To simplify the structure of broadcast receiver, the cost of broadcast receiver is reduced.
Decryption method is flowed with reference to specific multichannel TS, broadcast receiver provided in an embodiment of the present invention is done into one
Step explanation, as shown in fig. 6, this method includes:
Step S1, mark is distinguished respectively to the TS data packets in the multichannel TS streams of acquisition, for identifying each TS
Which TS stream belonging to data packet, in case the TS data packets after decryption can be Resealed by TS streams belonging to original.
For example, it is illustrated by taking DTV as an example, TV programme are compressed at present, the TS that is packed into stream is usual
After channel is encoded and modulated, formation radiofrequency signal, which is sent in channel, to be transmitted, and is believed at this point, received signal is then radio frequency
Number, each radiofrequency signal corresponds to TS all the way and flows, per road TS again including at least corresponding single-unit mesh TS streams of TV programme all the way in stream,
Corresponding PID is all had per the corresponding single-unit mesh TS streams of road TV programme.In actual life, when receiving multiple programme signals
When, each programme signal corresponds to TS all the way and flows, and user may have while watch program and record the demand of another way program at this time,
This just needs that two-way even multichannel TS streams are decrypted simultaneously.In order to can be in the corresponding TS streams of program that will be different after decrypting
Data packet is efficiently differentiated, and needs that the TS data packets in TS streams of not going the same way are distinguished mark before decryption.
Illustratively, the sync id in the header packet information of TS data packets can be changed.Intrinsic sync id is 0x47, can
Sync id in being flowed respectively to different TS in TS packet header information does different changes.By taking two-way as an example, TS flows all the way
In TS data packets, sync id can be changed to 0x48 in header packet information;Another way can then be changed to 0x49.
Step S2:The TS data packets of distinguishing identifier are sent to a decryption unit, the decryption unit is in timesharing to distinguishing
The TS data packets of mark are decrypted, and will decryption after TS data packet backs.
Majority TV is digital cable TV all-in-one machine at present, supports cable digital TV to receive, but current number has
Line TV has encipherment protection, needs to decrypt using the specified decryption unit (i.e. digital television intelligent card) of local radio and television departments.
TS data packets after above-mentioned distinguishing identifier are sent in the decryption unit for decrypting program TS streams, the decryption list
Member encrypted TS data packets can be decrypted respectively, in turn according to the preset decryption rule of radio and television departments or relevant manufactures
TS data packets after decryption are sent in decoder.
Step S3:The TS data packets of passback are received, and according to the rule of distinguishing identifier, area is carried out to TS data packets after decryption
Divide to form multiplexed program.
Since under existing protocol, decoder is only capable of receiving and identifying the TS flow datas that sync id is eigenvalue 0x47,
The TS data packets that sync id after change is 0x48 and 0x49 are not identified, and then decoder is also just difficult to export normally
Program is so that user watches or/and records.Therefore, the TS data packets after being decrypted for decryption unit, according to the area of TS data packets
Divider then (i.e. change after sync id:Such as 0x48,0x49), the TS data packets of distinguishing identifier after decryption are distinguished,
Meanwhile the distinguishing identifier is changed to original mark;Specifically, by the sync ids of the TS data packets of distinguishing identifier (such as 0x48,
0x49 etc.) it is changed to intrinsic sync id (0x47), intrinsic consensus standard can be met and exported into decoder, with shape
At multiplexed program.
Illustratively, if the sync id in change header packet information is taken, by the TS data packets of identical sync id
It is sequentially arranged into data flow all the way, forms program all the way.If for example, input two-way TS streams, the data flow after decryption
It can be split as two paths of data stream according to the difference of sync id;Wherein, the TS data of 0x48 are changed to for sync id all the way
Packet, and then the sync id in the TS data packets of the road is changed to eigenvalue 0x47 again, to form the TS1 after decrypting;Another way
It is changed to the TS data packets of 0x49 for sync id, and then the sync id in the TS data packets of the road is changed to eigenvalue again
0x47, to form the TS2 after decrypting;TS1 and TS2 after decrypting in turn are respectively formed corresponding program for playing or recording.
Further, when user chooses the multimedia programming needed, then it can learn that required multimedia programming corresponds to respectively
The PID of TS streams the TS data packets needed for decryption are obtained according to the PID of required multimedia programming corresponding TS stream.
For example, the TS for input flows signal, multiple programs are likely corresponded to, such as TS streams correspond to CCTV1 and CCTV5 all the way;And
User selects the program of viewing CCTV5, then the TS data packets in being flowed to TS according to the pid information corresponding to CCTV5 programs.
For convenience of description, TS stream decryption methods provided by the embodiments of the present application of satisfying the need carry out specifically by taking two-way TS streams as an example
It is bright.Assuming that the quantity that user chooses the multimedia programming needed is two (such as CCTV1 and CCTV2), two different programs
Corresponding TS data packets are that TS-1 and TS-2, TS-1 and TS-2 are respectively provided with corresponding PID, then according to the PID of TS-1 and
The PID of TS-2 obtains TS-1 and TS-2 from TS streams, wherein TS-1 and TS-2 is likely located in same TS streams, TS-1 and TS-2
It may also be located in different TS streams.
Further, need the TS data packets decrypted after being extracted in TS streams by each, to each TS data packets packet
The sync id of header is modified or redefines, and forms the TS data packets of distinguishing identifier, then by the TS of distinguishing identifier
Packets in chronological order forms data flow new all the way.For example, the TS data decrypted are needed to be surrounded by two-way, respectively
TS-1 and TS-2 is changed the sync id of TS-1, forms distinguishing identifier by TS-1 and TS-2 after TS streams extract respectively
TS data packet TS-1 ', change the sync id of TS-2, form the TS data packet TS-2 ' of corresponding distinguishing identifier, then will distinguish
The TS data packets TS-1 ' of the mark and TS data packets TS-2 ' of distinguishing identifier, which merges, forms data flow new all the way.It is worth mentioning
It is that when being modified to the header packet information of TS data packets, the distinguishing rule followed can carry out according to actual needs, for example,
Currently, the sync byte in the header packet information of TS streams is usually using 0x47 as starting, then, the sync id of change TS data packets
When, formed distinguishing identifier after TS data packets when, then can by the sync id of the TS data packets after distinguishing identifier with 0x48,
0x49,0x50 ... are waited as beginning, wherein the sync id of the TS data packets after each distinguishing identifier is different.For example,
It is illustrated so that TS data packets include two as an example, TS data packets are respectively TS-1 and TS-2, then the sync id of TS-1 can be with
It is changed to 0x48, and the sync id of TS-2 can be changed to 0x49.It should be noted that more to the header packet informations of TS data packets
When changing, only the sync id of TS data packet middle wrapping head information is modified or is redefined, and not changed in target TS streams
Programme content PID.
Further, after the sync id of TS data packets being modified to distinguishing identifier, a decryption is sent it to
Unit and when being decrypted, the sync id after can then being changed according to different TS data packets distinguishes it and solves
It is close.When detect the sync id of TS data packets of certain distinguishing identifier using 0x48 as start when, show the TS numbers of current decryption
It is that TS-1 ' is decrypted the programme content in TS-1 ' then according to the cipher mode of the programme content in TS-1 ' according to packet, when
Detect that the sync id of the TS data packets of certain distinguishing identifier using 0x49 as when starting, shows that the TS data packets of current decryption are
TS-2 ' is decrypted the programme content in TS-2 ' then according to the cipher mode of the programme content in TS-2 '.
After completing the decryption to the corresponding programme content of TS data packets, advised according to preset distinguishing identifier in step S2
Then, i.e., according to the sync id of the TS data packets of distinguishing identifier, it is split as multiple data flows again to form corresponding multichannel section
Mesh.For example, it is illustrated by taking two-way TS streams as an example, two-way TS streams are respectively TS-1 and TS-2, change the packet of TS-1 respectively
The sync id of sync id and TS-2 in header, to form TS the data packets TS-1 ' and TS-2 ' of corresponding distinguishing identifier
When, the sync id of the TS data packets TS-1 ' of distinguishing identifier using 0x48 as starting, the TS data packets TS-2's ' of distinguishing identifier
Sync id is using 0x49 as starting.To the TS of programme content and distinguishing identifier in the TS data packets TS-1 ' of distinguishing identifier
After programme content in data packet TS-2 ' is decrypted respectively, TS the data packets TS-1 ' and TS-2 ' of distinguishing identifier are carried out with data
Packet is that unit is split, and the sync id of TS the data packets TS-1 ' and TS-2 ' of the distinguishing identifier after fractionation are changed to admittedly again
There is sync id i.e. 0x47, and then be sent to decoder to form corresponding program, broadcasting or recording further according to user need
It is transmitted to corresponding unit.For example, when user needs data packet TS-1 ' and TS-2 ' to play out, then TS-1 ' and TS-2 '
It is transmitted to decoder, can be played out after decoded;When user needs data packet TS-1 ' broadcastings and TS-2 ' is recorded, then
TS-1 ' is transmitted to decoder, is played out after decoded, and TS-2 ' is then recorded through OTG (On The Go) interface;Work as user
When data packet TS-1 ' and TS-2 ' being needed to be recorded, then TS-1 ' and TS-2 ' is recorded through OTG (On The Go) interface
System.
Further, when distinguishing mark respectively to TS data packets, need the multichannel TS data packets that will be got according to
In time sequencing storage to storage unit.In the TS stream decrypting processes of the prior art, since single decryption unit only needs pair
TS streams are decrypted all the way, only need to ensure that the rate of decryption unit decryption is consistent with the transmission rate that TS flows at this time, i.e.,
The TS streams of transmission need not be stored, it can be achieved that TS streams decryption in real time.But for the multichannel TS decryption methods of the application and
Speech due to the transmission rate per the streams of TS all the way in the multichannel TS streams of input and differs, and the different periods may also occur that
Therefore variation is just difficult to ensure that the rate of the TS data packets of distinguishing identifier is a constant value, while this programme is also needed to TS
The sync id of data packet middle wrapping head information is modified;Therefore it needs first first to store the data packet in the multichannel TS streams of input
To a storage unit, and then change the sync id of TS data packets.
Further, " time sequencing " can be according to actually being set, for example, each multimedia can be selected according to user
Chronological order when program is set, alternatively, can also be set according to the sequencing of the multichannel TS streams of acquisition, herein
Excessive restriction is not done.Correspondingly, when the TS data packets of distinguishing identifier are sent to decryption unit, the principle based on first in, first out,
According to the sequencing of each TS data packets in the memory unit, each TS data packets are extracted from storage unit successively, it is right
The sync ids of each TS data packets is changed to form the TS data packets of corresponding distinguishing identifier, and by the TS data packets of distinguishing identifier
It is sent to decryption unit successively.So design, can prevent entanglement occur when being merged to the TS data packets of distinguishing identifier.
Further, need to determine the transmission rate of the TS data packets of distinguishing identifier according to following steps, and then according to this
The TS data packets of distinguishing identifier are transmitted to decryption unit and are decrypted by transmission rate.As shown in fig. 7, this method includes:
Step S110, the sum of the transmission rate of parsing multichannel TS streams.
Specifically, it according to the PID of the corresponding TS streams of each required multimedia programming, is extracted from multichannel TS streams to be decrypted
TS data packets, the roads Ze Ge TS stream in data packet to be decrypted transmission rate it was determined that in the synchronization to the TS data packets
After mark change forms the TS data packets of distinguishing identifier, since the TS data packets of distinguishing identifier flow phase with corresponding and acquisition TS
Than the sync id of only TS data packets differs, other all sames, thus parses the sum of the transmission rate of the multichannel TS streams obtained
Afterwards, you can the sum of the transmission rate for learning the TS data packets of distinguishing identifier, so as to subsequently to the TS data packets of distinguishing identifier are sent out
The transmission rate to decryption unit is sent to be configured.
Step S120, according to the sum of transmission rate of multichannel TS streams of acquisition, the serial parallel transmission mode of TS streams and/or area
The serial parallel transmission mode for the TS data packets that minute mark is known, determines the transmission rate of the TS data packets of distinguishing identifier.
In the prior art, the TS data packets of distinguishing identifier are usually transmitted in a serial fashion, therefore, for being passed in this programme
The setting of defeated rate can not consider the transmission mode of the TS data packets of distinguishing identifier, naturally it is also possible to consider, not limit herein
It is fixed.
For convenience of description, simple signal is carried out so that the TS data packets of distinguishing identifier are transmitted in a serial fashion as an example below to say
It is bright.
When the TS of acquisition streams are using serial transmission mode, the transmission rates of the TS data packets of distinguishing identifier numerically with
The sum of the transmission rate of TS data packets to be decrypted obtained is identical;When the TS of acquisition streams are using parallel transmission mode, distinguish
The transmission rate of the TS data packets of mark is numerically the sum of transmission rate of TS data packets to be decrypted obtained parallel
Line sum is averaged.As an example it is assumed that getting two-way programme signal, two-way TS streams, the two-way TS of acquisition are corresponded to respectively
Stream is respectively TS1 and TS2, wherein referring to Fig. 8, TS1 includes two single-unit mesh TS streams again, each single-unit mesh TS streams corresponding one
Road multimedia programming, two single-unit mesh TS streams are respectively TS1-1 and TS1-2, and the transmission rate of single-unit mesh TS streams TS1-1 is
The transmission rate of 12Mbps, single-unit mesh TS streams TS1-2 are 28Mbps, then the transmission rate of original TS streams TS1 is 40Mbps, TS2
Including three single-unit mesh TS streams, each corresponding multimedia programming all the way of single-unit mesh TS streams, three single-unit mesh TS streams are respectively TS2-
1, the transmission rate of TS2-2 and TS2-3, single-unit mesh TS streams TS2-1 are 10Mbps, and the transmission rate of single-unit mesh TS streams TS2-2 is
The transmission rate of 14Mbps, single-unit mesh TS streams TS2-3 are 24Mbps, then the transmission rate of TS2 is 48Mbps.When user's selection
When required multimedia programming is respectively single-unit mesh TS stream TS1-1 and single-unit mesh TS stream TS2-1, i.e. user's corresponding selection two-way mesh
Mark TS streams, the sum of transmission rate of each TS that respectively TS1-1 and TS2-1 are parsed stream be then TS1-1 transmission rate with
The sum of transmission rate of TS2-1, as 22Mbps.At this point, the sum of transmission rate of TS data packets of distinguishing identifier is also TS1-1
Transmission rate and TS2-1 the sum of transmission rate.When setting the transmission rate of TS data packets of distinguishing identifier, according to TS1-
The serial parallel transmission mode of the sum of 1 and the transmission rate of TS2-1 and the TS streams obtained is set, that is, when TS is flowed using string
When row transmission mode, the sum of the transmission rate of each target TS streams is 22Mbps, the i.e. transmission rate of the TS data packets of distinguishing identifier
The sum of also be 22Mbps;At this point, the new data flow that the TS data packets of distinguishing identifier are formed needs transmission 22M bit's each second
Data, therefore, the clock frequency of the TS data packets of distinguishing identifier are then set as 22MHz.When TS stream use parallel transmission mode, and
When parallel line sum is 8, the sum of transmission rate of TS streams is 22Mbps, i.e., the transmission rate of the TS data packets of distinguishing identifier it
Also it is 22Mbps;At this point, the TS data packets for the distinguishing identifier that the TS packet combinings of distinguishing identifier are formed are in every parallel line
On need distinguishing identifier TS data packets clock frequency be 2.75MHz.Correspondingly, when the other a variety of required multimedias of user's selection
When program, the setting means of the clock frequency of the TS data packets of distinguishing identifier also uses aforesaid way to carry out.
Further, the determination of the transmission rate of the TS data packets of distinguishing identifier can be divided into following two modes.
In transmission rate method of determination one, first the sum of the transmission rate of the multichannel TS streams of acquisition is parsed, then
According to the transmission rate of multichannel TS stream it, the serial parallel of the TS data packets of the serial parallel transmission mode of TS streams and/or distinguishing identifier
Transmission mode sets the clock frequency of the TS data packets of distinguishing identifier.That is, in transmission rate method of determination one, area
The clock frequency for the TS data packets that minute mark is known is set according to the sum of the transmission rate of the multichannel TS stream of acquisition, can prevent because
The clock frequency set of the TS data packets of distinguishing identifier is too small and causes the TS data packets of distinguishing identifier that cannot completely pass in time
It is defeated, while can prevent from causing in broadcast receiver since the clock frequency set of the TS data packets of distinguishing identifier is too big
The wasting of resources.
Transmission rate method of determination two, referring to Fig. 9, being sent out the TS data packets of distinguishing identifier based on fixed transmission rate
It send to decryption unit, which is more than the transmission rate of multichannel TS stream and value.
Specifically, it is a relatively-stationary value by the clock frequency set of the TS data packets of distinguishing identifier, which is more than
Or the sum of the transmission rate of the multichannel TS streams equal to acquisition, wherein the setting side of the clock frequency of the TS data packets of distinguishing identifier
Formula can there are many, those skilled in the art can refer to the prior art and TS stream manner of decryption be changed, do not did herein
It repeats more.
For example, can be according to the TS of the sum of the transmission rate of all single-unit mesh TS streams existing at present setting distinguishing identifier
The clock frequency of data packet, it is assumed that all single-unit mesh TS streams existing at present include the TS obtained flow TS1-1 in TS1,
TS2-1, TS2-2, TS2-3 in TS1-2 and TS streams TS2, wherein the transmission rate of single-unit mesh TS streams TS1-1 is 12Mbps,
The transmission rate of single-unit mesh TS streams TS1-2 is 28Mbps, and the transmission rate of single-unit mesh TS streams TS2-1 is 10Mbps, single-unit mesh TS
The transmission rate for flowing TS2-2 is 14Mbps, and the transmission rate of single-unit mesh TS streams TS2-3 is 24Mbps, and existing at present is all
The sum of the transmission rate of single-unit mesh TS streams is then 88Mbps, when using serial transmission mode, the TS data packets of distinguishing identifier
Clock frequency is numerically equal with the sum of the transmission rate of all single-unit mesh TS streams existing at present, then can set differentiation
The clock frequency of the TS data packets of mark is 88MHz, when using parallel transmission mode, the clock of the TS data packets of distinguishing identifier
Frequency is numerically average value of the sum of the transmission rate of all single-unit mesh TS streams existing at present to parallel line sum, it is assumed that
When parallel line sum is 8, then the clock frequency of the TS data packets of distinguishing identifier can be set as 11MHz.Using this kind of mode
The clock frequency of the TS data packets of distinguishing identifier is set, no matter which user selects plant multimedia programming, the TS numbers of distinguishing identifier
Clock frequency according to packet is always the value.
Alternatively, the TS of distinguishing identifier can also be set according to the maximum capacity per the streams of TS all the way of defined in TS stream protocols
The clock frequency of data packet, for example, it is assumed that the maximum capacity per the streams of TS all the way of defined is in TS stream protocols at present
108Mbps, when using serial transmission mode, then using the maximum capacity per the streams of TS all the way of defined in TS stream protocols as area
The clock frequency for the TS data packets that minute mark is known, then set the clock frequency of the TS data packets of distinguishing identifier as 108MHz;Work as use
When parallel transmission mode, the maximum capacity per the streams of TS all the way of defined in TS stream protocols makees the average value of parallel line sum
For the clock frequency of the TS data packets of distinguishing identifier, such as assume that parallel line sum is 8, then sets the TS data packets of distinguishing identifier
Clock frequency be 13.5MHz.The clock frequency of the TS data packets of distinguishing identifier is set using this kind of mode, no matter user selects
Which kind multimedia programming, the clock frequency of the TS data packets of distinguishing identifier is always the value.
Alternatively, the TS data of distinguishing identifier can also be determined according to the quantity of the selected required multimedia programming of user
The clock frequency of packet specifically first according to the transmission rate of all single-unit mesh TS streams existing at present, determines all single-unit mesh
The maximum value of the sum of transmission rate of two single-unit mesh TS streams in TS streams, using the maximum value as the selected required more matchmakers of user
The reference of the clock frequency of the TS data packets of setting distinguishing identifier when body segment purpose quantity is two.When using serial transmission mode
When, when can be directly two using the maximum value as the quantity of the selected required multimedia programming of user, distinguishing identifier
The clock frequency of TS data packets can make the average value of parallel line sum the maximum value when using parallel transmission mode
When quantity for the selected required multimedia programming of user is two, the clock frequency of the TS data packets of distinguishing identifier.At this point,
When the quantity of the selected required multimedia programming of user is two, the clock frequency of the TS data packets of distinguishing identifier is always
The maximum value.Similarly, it according to the transmission rate of all single-unit mesh TS streams existing at present, determines three in all single-unit mesh TS streams
The maximum value of the sum of the transmission rate of a single-unit mesh TS streams, using the maximum value as the selected required multimedia programming of user
When quantity is three, the reference of the clock frequency of the TS data packets of distinguishing identifier is set, it, can be with when using serial transmission mode
When being directly three using the maximum value as the quantity of the selected required multimedia programming of user, the TS data packets of distinguishing identifier
Clock frequency;When using parallel transmission mode when, can using the maximum value to the average value of parallel line sum as user institute
When the quantity of the required multimedia programming selected is three, the clock frequency of the TS data packets of distinguishing identifier, at this point, working as user institute
When the quantity of the required multimedia programming selected is three, the clock frequency of the TS data packets of distinguishing identifier is always the maximum
It is worth, in this way, the maximum value of the sum of transmission rate corresponding to the quantity for the required multimedia programming that successively may select user
It calculates, the clock frequency of the TS data packets of distinguishing identifier is set with this.
It, will be to the packet header of the multichannel TS streams got after completing the setting to the clock frequency of the TS data packets of distinguishing identifier
The TS data packets of the distinguishing identifier formed after sync id change in information form data flow new all the way and are sent to decryption list
In member, the clock frequency of the TS data packets of the distinguishing identifier is the clock frequency set in above-mentioned steps, the distinguishing identifier
Distinguishing identifier is the sync id after being changed in header packet information in TS data packets.
Further, it is a relatively-stationary value by the clock frequency set of the TS data packets of distinguishing identifier, thus, it will
The TS data packets of the road distinguishing identifier are sent to when being decrypted in decryption unit, and decryption unit need not change rate dynamic
The clock frequency of TS data packets of distinguishing identifier judged simultaneously to adjust in real time, so as to improve the work of broadcast receiver
Make stability and reliability.
Further, in a transmission cycle, it is single that the TS data packets of distinguishing identifier in storage unit are sent to decryption
Member, when the TS data packets of distinguishing identifier in the storage unit are sent, and storage unit does not receive new distinguishing identifier
When TS data packets, the TS data packets of distinguishing identifier are filled in the form of empty wrap, until the storage unit receives new data.
For sending the TS data packets of distinguishing identifier with fixed transmission rate, extremely by the TS packet combinings of distinguishing identifier
All the way when new data flow, when the TS data packet consecutive hourss of two adjacent distinguishing identifiers, then directly by the TS of each distinguishing identifier
Data packet is continuously incorporated into the TS data packets of distinguishing identifier successively, the TS data packets of adjacent two distinguishing identifiers it
Between be not present gap;When the TS data packets of two adjacent distinguishing identifiers are discontinuous, i.e., the differentiation mark that is cached in storage unit
The TS data packets of knowledge have been sent, and when storage unit not yet receives the TS data packets of other new distinguishing identifiers, are needed
The new data stream to be formed to the TS data packets of distinguishing identifier does specially treated, to prevent the TS because of two adjacent distinguishing identifiers
Existing gap causes that interrupting occurs in the transmission of the TS data packets of distinguishing identifier or other influences user watches section between data packet
Purpose situation;For example, when the TS data packets for the distinguishing identifier that can be used for transmission in the memory unit, in new data stream
The empty packet of filling, the filling forms of sky packet can there are many.
For example, referring to Fig. 9, when the TS data packets of two adjacent distinguishing identifiers are discontinuous, in the TS of distinguishing identifier
Empty packet of the filling not comprising useful information, makes the clock signal of the TS data packets of distinguishing identifier in the new data stream that data packet is formed
Continue output data, which is hash.
Specifically, after the TS data packets of preceding distinguishing identifier all the way being sent to decryption unit, target TS flows all the way due to after
Storage unit is not reached;Thus for the transmitting continuous property of the TS data packets of distinguishing identifier, in the TS numbers of the distinguishing identifier of transmission
The empty packet not comprising useful signal is filled in the new data stream formed according to packet, sky packet can not include for 0x00 or 0xff etc. to be had
With the sky packet of signal, the clock signal of the TS data packets of distinguishing identifier is made to continue output data;At this point, the TS data of distinguishing identifier
The data of packet output are hash, when the TS data packets of distinguishing identifier reach all the way after, then stop filling empty packet, will be latter
The TS data packets of road distinguishing identifier are sent in decryption unit.
Alternatively, referring to Fig. 9, when the TS data packets of two adjacent distinguishing identifiers are discontinuous, interrupt clock signal
Output stops transmission data.
Specifically, after the TS data packets of preceding distinguishing identifier all the way being sent to decryption unit, target TS flows all the way due to after
Storage unit is not reached;At this point, empty packet of the filling not comprising useful signal in the TS data packets of distinguishing identifier, makes distinguishing identifier
TS data packets clock signal stop output data, when after all the way distinguishing identifier TS data packets reach after, then stop filling
Sky packet, according to the clock frequency of the TS data packets of distinguishing identifier, the TS data packets of distinguishing identifier are sent to decryption list all the way by after
In member.
Further, as shown in Figure 10, when being inserted into the decryption unit for decryption, decryption unit (is decrypted by CMD
Unit control command) information is transmitted to decoder, and then decoder can judge whether to support multichannel according to the information of decryption unit
TS flows while the function of decryption.If detecting that decryption unit does not support TS mixed flow functions, decoder is in processing information flow
When, the merging action of TS streams would not be carried out.Specifically, when input decryption unit is two-way encoded information stream, only can
The information flow of current channel is decrypted, another way information flow can not then be decrypted;If it is encryption stream all the way, all the way clearly
Stream is then encrypted stream and is decrypted by decryption unit, and clear stream then needs not move through decryption unit and is decrypted.
If detecting that decryption unit does not support TS mixed flow functions, decoder is when handling information flow, no matter defeated
Whether the roads Ru Ji information flow is encrypted, and the merging action of TS streams is all carried out to it, and the TS streams after merging enter decryption unit, encryption
Stream is decrypted, and after clear stream is then without any processing, returns to decoder, the decoder then combination principle before basis,
The TS streams exported after decryption unit is decrypted shunt.
In the description of the above embodiment, particular features, structures, materials, or characteristics can be at any one or more
It can be combined in any suitable manner in a embodiment or example.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (7)
1. a kind of broadcast receiver, which is characterized in that including:
Multiple demodulators are respectively used to demodulate its reception broadcast television signal, to form multichannel TS streams;
Storage unit, for storing the multichannel TS streams exported from the multiple demodulator;
Unit is identified, any road TS stream be respectively originated from for TS data packets in multichannel TS streams described in distinguishing identifier;
Decryption unit, for the TS data packets of the distinguishing identifier to be decrypted respectively;
TS flows reconfiguration unit, for according to distinguishing identifier rule, the TS data packets after decryption to be belonged to the TS flowed from same TS
Data packet is re-packaged into TS streams all the way;
Decoder, the multichannel TS stream decodings for will Reseal are to form multiplexed program.
2. broadcast receiver as described in claim 1, which is characterized in that the storage unit, the mark unit and institute
Stating TS streams reconfiguration unit can be realized by an integrated chip.
3. broadcast receiver as claimed in claim 2, which is characterized in that the mark unit is specifically used for:Described in change
Sync id in the header packet information of TS data packets makes change opisthogenesis from the sync id phase of the TS data packets with the streams of TS all the way
Together.
4. broadcast receiver as claimed in claim 3, which is characterized in that TS stream reconfiguration units are specifically used for:
TS source data packets are flowed from which TS after identifying the decryption according to the sync id after change;
The sync id of TS data packets after all decryption is changed to former sync id;
It will be re-packaged into TS streams all the way from the TS data packets with the streams of TS all the way.
5. broadcast receiver as described in claim 1, which is characterized in that the decryption unit judges institute according to pid information
State the data type of TS data packets.
6. broadcast receiver as described in claim 1, which is characterized in that the storage unit, the mark unit, described
TS flows reconfiguration unit and the decoder is integrated in System on Chip/SoC SOC.
7. broadcast receiver as claimed in claim 6, which is characterized in that the System on Chip/SoC SOC passes through the CMD interfaces
Control command is sent to the decryption unit.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810470418.7A CN108712679A (en) | 2018-05-16 | 2018-05-16 | A kind of broadcast receiver |
PCT/CN2019/087205 WO2019219056A1 (en) | 2018-05-16 | 2019-05-16 | Ts processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810470418.7A CN108712679A (en) | 2018-05-16 | 2018-05-16 | A kind of broadcast receiver |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108712679A true CN108712679A (en) | 2018-10-26 |
Family
ID=63868171
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810470418.7A Pending CN108712679A (en) | 2018-05-16 | 2018-05-16 | A kind of broadcast receiver |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108712679A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109640121A (en) * | 2018-12-21 | 2019-04-16 | 深圳创维-Rgb电子有限公司 | A kind of television system, programme signal processing method, device, equipment and medium |
WO2019219056A1 (en) * | 2018-05-16 | 2019-11-21 | 青岛海信电器股份有限公司 | Ts processing method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001043444A2 (en) * | 1999-12-13 | 2001-06-14 | Scientific-Atlanta, Inc. | Method of identifying multiple digital streams within a multiplexed signal |
CN1543216A (en) * | 2003-03-26 | 2004-11-03 | Common interface controller and method of descrambling transport stream channels | |
CN1684524A (en) * | 2005-03-16 | 2005-10-19 | 西安电子科技大学 | Multiple channel complex method for MPEG-2 single programme transmission |
CN103763579A (en) * | 2014-01-22 | 2014-04-30 | 深圳国微技术有限公司 | Method for recognizing multichannel transmission streams based on USB interface |
CN103875230A (en) * | 2011-10-07 | 2014-06-18 | 晶像股份有限公司 | Identification and handling of data streams using coded preambles |
-
2018
- 2018-05-16 CN CN201810470418.7A patent/CN108712679A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001043444A2 (en) * | 1999-12-13 | 2001-06-14 | Scientific-Atlanta, Inc. | Method of identifying multiple digital streams within a multiplexed signal |
CN1543216A (en) * | 2003-03-26 | 2004-11-03 | Common interface controller and method of descrambling transport stream channels | |
CN1684524A (en) * | 2005-03-16 | 2005-10-19 | 西安电子科技大学 | Multiple channel complex method for MPEG-2 single programme transmission |
CN103875230A (en) * | 2011-10-07 | 2014-06-18 | 晶像股份有限公司 | Identification and handling of data streams using coded preambles |
CN103763579A (en) * | 2014-01-22 | 2014-04-30 | 深圳国微技术有限公司 | Method for recognizing multichannel transmission streams based on USB interface |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019219056A1 (en) * | 2018-05-16 | 2019-11-21 | 青岛海信电器股份有限公司 | Ts processing method and device |
CN109640121A (en) * | 2018-12-21 | 2019-04-16 | 深圳创维-Rgb电子有限公司 | A kind of television system, programme signal processing method, device, equipment and medium |
WO2020124965A1 (en) * | 2018-12-21 | 2020-06-25 | 深圳创维-Rgb电子有限公司 | Television system, program signal processing method and apparatus, device and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100358345C (en) | Block data form for digital data storage medium | |
US9749681B2 (en) | Non-real-time broadcast service processing system and processing method thereof | |
CN1210948C (en) | Formation of performance specific information processed by digital data | |
CN101355640A (en) | Multi-display digital television set-top box | |
US9986287B2 (en) | Transport stream provider, DAB signal provider, transport stream analyzer, DAB receiver, method, computer program, and transport stream signal | |
CN100353745C (en) | Method of constructing MPEG program streams from encrypted MPEG transport streams | |
KR100993977B1 (en) | Data processing device and method, and digital broadcast receiver | |
CN101416483A (en) | Transport stream dejittering | |
CN106231396B (en) | A kind of set-top box of the shared processing of program resource, system and method | |
CN108551590A (en) | TS method for stream processing and device are received for broadcast receiver | |
CN102685591A (en) | Digital set-top box | |
US20050152546A1 (en) | Digital video broadcasting receiver | |
CN108712679A (en) | A kind of broadcast receiver | |
CN201298872Y (en) | Multi-display digital TV set-top box | |
CN101309120B (en) | Method and apparatus for terminal acquiring decrypt and de-disturbing information | |
RU2608586C2 (en) | Transmission device, transmission method, reception device, reception method, program and electronic device | |
CN108600832A (en) | A method of TS streams are decrypted | |
CN108429928A (en) | A method of TS streams are decrypted | |
CN108737889A (en) | A kind of TS method for stream processing and digital multimedia reception device | |
CN108650548A (en) | A method of TS streams are decrypted | |
WO2019219056A1 (en) | Ts processing method and device | |
KR20130048047A (en) | Method for processing two or more scrambled contents in broadcast receiver | |
JPH11177955A (en) | Digital broadcast receiving device and method | |
JP2007295179A (en) | Digital broadcast receiving apparatus | |
US20090123133A1 (en) | Apparatus and method for storing digital broadcasting data in set-top box |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181026 |