CN104935988B - A kind of method and TV receiving apparatus of display TV signal - Google Patents
A kind of method and TV receiving apparatus of display TV signal Download PDFInfo
- Publication number
- CN104935988B CN104935988B CN201510315159.7A CN201510315159A CN104935988B CN 104935988 B CN104935988 B CN 104935988B CN 201510315159 A CN201510315159 A CN 201510315159A CN 104935988 B CN104935988 B CN 104935988B
- Authority
- CN
- China
- Prior art keywords
- port
- receiving apparatus
- data packets
- usb
- sent
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 230000005540 biological transmission Effects 0.000 claims abstract description 139
- 238000006243 chemical reaction Methods 0.000 claims abstract description 61
- 238000005538 encapsulation Methods 0.000 claims abstract description 45
- 230000004044 response Effects 0.000 claims description 87
- 238000003860 storage Methods 0.000 claims description 17
- 238000012163 sequencing technique Methods 0.000 claims description 15
- 238000003780 insertion Methods 0.000 claims description 9
- 230000037431 insertion Effects 0.000 claims description 9
- 238000001514 detection method Methods 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 abstract description 7
- 238000012546 transfer Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 12
- 238000004590 computer program Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000003032 molecular docking Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000013475 authorization Methods 0.000 description 3
- 230000005611 electricity Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
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/41—Structure of client; Structure of client peripherals
- H04N21/418—External card to be used in combination with the client device, e.g. for conditional access
- H04N21/4181—External card to be used in combination with the client device, e.g. for conditional access for conditional access
-
- 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/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4367—Establishing a secure communication between the client and a peripheral device or smart card
-
- 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 encoded video stream packets from an IP network
- H04N21/4385—Multiplex stream processing, e.g. multiplex stream decrypting
- H04N21/43853—Multiplex stream processing, e.g. multiplex stream decrypting involving multiplex stream decryption
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The present invention relates to TV technology, the more particularly to a kind of method and TV receiving apparatus of display TV signal, to solve the problems, such as to realize that the mode of display TV signal is complex at present.This method includes:TV receiving apparatus docks received first TS data packets and carries out analog-to-digital conversion, according to the transmission mode of first port in USB, the first TS data packets after analog-to-digital conversion are packaged, and the first TS data packets after encapsulation are sent to descrambler device by first port;After second port receives the 2nd TS data packets after the descrambling that descrambler device is sent in by USB, the 2nd TS data packets are decapsulated, and show the TV signal descrambled after decapsulation by descrambler device in the 2nd TS data packets.This technical solution is since TV receiving apparatus can realize the transmission of TS data packets between TV receiving apparatus and descrambler device by USB middle ports, so as to reduce the complexity for the mode for realizing display TV signal.
Description
Technical field
The present invention relates to TV technology, the more particularly to a kind of method and TV receiving apparatus of display TV signal.
Background technology
At present, television set will often use descrambler device in display and TV signal is descrambled.
In the prior art, television set usually passes through PCMCIA (Personal Computer Memory Card
International Association, personal computer international federation) interface, also known as CI interfaces and descrambler device phase
Even, as shown in Fig. 1 100, wherein descrambler device 101 includes:CAM (depending on close card, Conditional Access Module) blocks
And smart card.Implementing the process that TV signal is shown is:The TS that television set will be received by pcmcia interface
(Transport Stream, transport stream) is sent to descrambler device, and descrambler device is after TS is received, to the TV signal in TS
Descrambled, and the TS after descrambling is sent to television set by pcmcia interface, television set shows corresponding video and audio.But
When descrambler device is connected with television set by pcmcia interface, need individually to be equipped with pcmcia interface and corresponding on a television set
Control circuit, the display of TV signal could be completed.
In conclusion realize that the mode of display TV signal is complex in the prior art.
The content of the invention
The present invention provides a kind of method and TV receiving apparatus of display TV signal, to solve to exist in the prior art
Realize the problem of mode of display TV signal is complex.
An embodiment of the present invention provides a kind of method of display TV signal, including:
TV receiving apparatus has detected that general-purpose serial bus USB equipment is inserted into;
The TV receiving apparatus docks received first transport stream TS after confirming that the USB device is descrambler device
Data packet carries out analog-to-digital conversion, and according to the transmission mode of first port in USB, the first TS data packets after analog-to-digital conversion are carried out
Encapsulation, and the first TS data packets after encapsulation are sent to the descrambler device by the first port;
After TV receiving apparatus second port in by the USB receives the descrambling that the descrambler device is sent
After 2nd TS data packets, the 2nd TS data packets are decapsulated, and are shown after decapsulation in the 2nd TS data packets
The TV signal descrambled by the descrambler device.
Since TV receiving apparatus can be connected by USB with descrambler device, and television reception is realized by USB middle ports
The transmission of first TS data packets and the 2nd TS data packets between equipment and descrambler device, therefore without in television reception on hardware
Pcmcia interface and corresponding control circuit are equipped with equipment, so as to reduce the complexity for the mode for realizing display TV signal
Property, in addition, compared with pcmcia interface, the transmission speed of TS data packets is improved by the port transmission TS data packets in USB.
Optionally, this method further includes:
The TV receiving apparatus is right according to the transmission mode of the 3rd port in the USB after control command is received
The control command of reception is packaged, and the control command after encapsulation is sent to the descrambler device by the 3rd port,
And the control response order of the descrambler device transmission is received by the 4th port in the USB.
Since TV receiving apparatus can send control command by USB middle ports, and can be connect by USB middle ports
Control response order is received, is transmitted so as to solve control command between TV receiving apparatus and descrambler device with control response order
The problem of.
Optionally, if the control command is program select command, the control response order is ordered for program Response to selection
Order;
The program that the TV receiving apparatus receives the descrambler device transmission by the 4th port in the USB selects
After selecting response command, further include:
The TV receiving apparatus judges the descrambler device to the 2nd TS according to the program Response to selection order
Whether the corresponding TV signal of program select command described in data packet descrambles success;
If so, the TV receiving apparatus decapsulates the 2nd TS data packets of reception;
Otherwise, the TV receiving apparatus is abandoned comprising the 2nd TS data packets for descrambling the TV signal to fail, and according to
The program Response to selection order, determines the reason for descrambling fails, and shows the reason for descrambling failure and descrambling failure.
Since TV receiving apparatus can judge descrambler device in the 2nd TS data packets according to program Response to selection order
Whether the corresponding TV signal of program select command descrambles success, if descrambling successfully, the 2nd TS data packets of reception are solved
Encapsulation, so as to improve the efficiency of decapsulation, if descrambling failure, shows the reason for descrambling failure and descrambling failure so that user
The reason for descrambling failure of display can be visually known.
Optionally, the first port, the second port, the 3rd port and the 4th port are same end
Mouthful;
The TV receiving apparatus is docked after received first TS data packets carry out analog-to-digital conversion, to the after analog-to-digital conversion
Before one TS data packets are packaged, further include:
The TV receiving apparatus is according to the initial time of the default duration for sending the first TS data packets, configuration described first
The transmission mode of port;
The first TS data packets after encapsulation are sent to the descrambling by the TV receiving apparatus by the first port
After equipment, before the 2nd TS data packets that the descrambler device is sent are received by second port in the USB, further include:
The TV receiving apparatus is according to the initial time of the default duration for receiving the 2nd TS data packets, configuration described second
The transmission mode of port;
The TV receiving apparatus after confirming that the USB device is descrambler device, to the program select command of reception into
Before row encapsulation, further include:
The TV receiving apparatus is according to the initial time of the default duration for sending program select command, configuration the described 3rd
The transmission mode of port;
Program select command after encapsulation is sent to the descrambling by the TV receiving apparatus by the 3rd port
After equipment, before the program Response to selection order that the descrambler device is sent is received by the 4th port in the USB, also
Including:
The TV receiving apparatus is according to the initial time of the default duration for receiving program select command, configuration the described 4th
The transmission mode of port.
Since the embodiment of the present invention can transmit the first TS data by time-multiplexed mode using a port of USB
Bag, the 2nd TS data packets, program select command and program Response to selection order, so as to reduce the number that USB middle ports use.
Optionally, if the TV receiving apparatus it is default send the first TS data packets or receive the 2nd TS data packets when
In length, the program select command is received, the transmission mode of the 3rd port is configured according to following manner:
The TV receiving apparatus is according to the program select command received, the transmission mode of configuration the 3rd port.
If the TV receiving apparatus in the default duration for sending or receiving TS data packets, receives the program selection
Response command, the TV receiving apparatus configure the transmission mode of the 4th port according to following manner:
The TV receiving apparatus determines that the data that the descrambler device is sent are program Response to selection order;
The TV receiving apparatus is according to program Response to selection order, the transmission mode of configuration the 4th port.
Since TV receiving apparatus can be being preset in the duration for sending the 2nd TS data packets of the first TS data packets or reception,
According to the program select command received or the transmission mode of program Response to selection order configuration port, so that television reception
Communication mode between equipment and descrambler device is more flexible.
Optionally, the TV receiving apparatus includes multiple first ports and multiple second ports;
The TV receiving apparatus is docked after received first TS data packets carry out analog-to-digital conversion, to the after analog-to-digital conversion
Before one TS data packets are packaged, further include:
The TV receiving apparatus determines the first port in idle condition, from all first ends in idle condition
One first port of selection is used to send the first TS data packets after encapsulation in mouthful;
The first TS data packets after encapsulation are sent to the descrambling by the TV receiving apparatus by the first port
After equipment, before the 2nd TS data packets that the descrambler device is sent are received by second port in the USB, further include:
The TV receiving apparatus determines the second port in idle condition, from all second ends in idle condition
One second port of selection is used to receive the 2nd TS data packets that the descrambler device is sent in mouthful.
Since between TV receiving apparatus and descrambler device the first TS numbers can be sent by the first port in multiple USB
According to bag, so as to improve the transmission speed of the first TS data packets between TV receiving apparatus and descrambler device, and can pass through
Second port in multiple USB receives the 2nd TS data packets, while improves second between TV receiving apparatus and descrambler device
The reception speed of TS data packets.
Optionally, the TV receiving apparatus includes multiple 3rd ports and multiple 4th ports;
The TV receiving apparatus after confirming that the USB device is descrambler device, to the program select command of reception into
Before row encapsulation, further include:
The TV receiving apparatus determines the 3rd port in idle condition, from all the 3rd ends in idle condition
One the 3rd port of selection is used for the program select command sent in mouthful;
Program select command after encapsulation is sent to the descrambling by the TV receiving apparatus by the 3rd port
After equipment, before the program Response to selection order that the descrambler device is sent is received by the 4th port in the USB, also
Including:
The TV receiving apparatus determines the 4th port in idle condition, from all the 4th ends in idle condition
One the 4th port of selection is used to receive the program Response to selection order that the descrambler device is sent in mouthful.
Since the port transmission program select command in multiple USB can be passed through between TV receiving apparatus and descrambler device
With program Response to selection order, program select command and program Response to selection between TV receiving apparatus and descrambler device are improved
The transmission speed of order, so as to improve the speed of program switching.
Optionally, the TV receiving apparatus is packaged the first TS data packets after analog-to-digital conversion, specifically includes:
The TV receiving apparatus stores the first TS data packets after analog-to-digital conversion into the first buffer pool;
The TV receiving apparatus is obtained the after analog-to-digital conversion by the time sequencing of storage from first buffer pool
One TS data packets, and the first TS data packets of acquisition are packaged.
Since TV receiving apparatus can store the first TS data packets after analog-to-digital conversion into the first buffer pool, by depositing
The time sequencing of storage is packaged the first TS data packets, so as to avoid because the speed of analog-to-digital conversion is more than the speed of encapsulation
Degree, and caused by the first TS data-bag losts situation generation.
Optionally, the TV receiving apparatus decapsulates the 2nd TS data packets of reception, specifically includes:
The TV receiving apparatus stores the 2nd TS data packets received into the second buffer pool;
The TV receiving apparatus is obtained described received by the time sequencing of storage from second buffer pool
Two TS data packets, and the 2nd TS data packets of acquisition are decapsulated.
Since TV receiving apparatus can store the 2nd TS data packets received to after the second buffer pool, to second
TS data packets are decapsulated by the time sequencing of storage, so as to avoid because the speed for receiving the 2nd TS data packets is more than solution
The speed of encapsulation, and caused by the 2nd TS data-bag losts situation generation.
An embodiment of the present invention provides a kind of TV receiving apparatus, including:
Detection module, for detecting the insertion of general-purpose serial bus USB equipment;
Sending module, for after confirming that the USB device is descrambler device, docking received first transport stream TS data
Bag carries out analog-to-digital conversion, and according to the transmission mode of first port in USB, the first TS data packets after analog-to-digital conversion are sealed
Dress, and the first TS data packets after encapsulation are sent to the descrambler device by the first port;
Display module, in by the USB second port receive after the descrambling that the descrambler device sends the
After two TS data packets, the 2nd TS data packets are decapsulated, and are led to after showing decapsulation in the 2nd TS data packets
Cross the TV signal of the descrambler device descrambling.
Brief description of the drawings
Fig. 1 is pcmcia interface schematic diagram in background technology;
Fig. 2 is the method flow schematic diagram of display TV signal of the embodiment of the present invention;
Fig. 3 is the principle schematic of the method for display TV signal of the embodiment of the present invention;
Fig. 4 connection diagrams between TV receiving apparatus of the embodiment of the present invention and descrambler device;
Fig. 5 is the method flow schematic diagram of display TV signal of the embodiment of the present invention;
Fig. 6 is the schematic diagram of TV receiving apparatus of the embodiment of the present invention.
Embodiment
The TV receiving apparatus of the embodiment of the present invention has detected USB device insertion, is confirming that USB device is descrambler device
Afterwards, received first TS data packets are docked and carries out analog-to-digital conversion, according to the transmission mode of first port in USB, to analog-to-digital conversion
The first TS data packets afterwards are packaged, and the first TS data packets after encapsulation are sent to descrambler device by first port;
And after the 2nd TS data packets after the descrambling that second port reception descrambler device is sent in by USB, to the 2nd TS data
Bag is decapsulated, and shows the TV signal descrambled after decapsulation by descrambler device in the 2nd TS data packets.This technology
Scheme realizes TV receiving apparatus since TV receiving apparatus can be connected by USB with descrambler device by USB middle ports
The transmission of the first TS data packets and the 2nd TS data packets between descrambler device, therefore without in TV receiving apparatus on hardware
Upper outfit pcmcia interface and corresponding control circuit, so that the complexity for the mode for realizing display TV signal is reduced,
In addition, compared with pcmcia interface, the transmission speed of TS data packets is improved by the port transmission TS data packets in USB.
The embodiment of the present invention is described in further detail with reference to Figure of description.
As shown in Fig. 2, the method for display TV signal of the embodiment of the present invention, including:
Step 200, TV receiving apparatus has detected that general-purpose serial bus USB equipment is inserted into;
Step 201, TV receiving apparatus docks received first transport stream TS after confirming that USB device is descrambler device
Data packet carries out analog-to-digital conversion, and according to the transmission mode of first port in USB, the first TS data packets after analog-to-digital conversion are carried out
Encapsulation, and the first TS data packets after encapsulation are sent to descrambler device by first port;
Step 202, TV receiving apparatus second port in by USB receives second after the descrambling that descrambler device is sent
After TS data packets, the 2nd TS data packets are decapsulated, and pass through descrambler device in the 2nd TS data packets after showing decapsulation
The TV signal of descrambling.
The TV receiving apparatus of the embodiment of the present invention can be embedded in display in the display devices such as television set, display and pass through solution
The TV signal in the 2nd TS data packets of equipment descrambling is disturbed, the descrambler device of the embodiment of the present invention for smart card and supports USB
CAM cards.
Wherein, TV receiving apparatus has monitored USB device insertion, and determines the process that the USB device is descrambler device,
The initialization procedure of descrambler device is identified by USB for TV receiving apparatus, detailed process is as follows:
TV receiving apparatus change in the state for detecting usb bus (such as:Voltage raises) after, determine support
The equipment insertion of USB;
After TV receiving apparatus sends the order for obtaining device descriptor and configures descriptor to the equipment, obtain equipment and retouch
State symbol and configures descriptor;
TV receiving apparatus judges whether the equipment is descrambler device according to the type of equipment in device descriptor, if so,
Then TV receiving apparatus determines transmission TS data packets, control command, the biography of port and port used in control response order
Defeated mode, and establish the connection between TV receiving apparatus and descrambler device.
Referred to it should be noted that docking received TS data packets in the present invention and carrying out analog-to-digital conversion by low and high level
The TS data packets of form are converted into the TS data packets of binary code form, specifically, as shown in figure 3, TV receiving apparatus
The TS data packets of low and high level form are converted into the TS data packets of binary code form by demodulator.
In addition, it is generally the case that the transmission mode of USB middle ports includes:Controlling transmission mode, interrupt transmission mode, criticize
Measure transmission mode and isochronous transfers mode.Wherein, bulk transfer mode and isochronous transfers mode may be used to transmit big data,
But the loss that data are likely to cause data is transmitted using isochronous transfers mode, and number can be ensured using bulk transfer mode
According to not losing, therefore under normal conditions, bulk transfer mode is configured to the port for transmitting TS data packets;Controlling transmission mode is with
Disconnected transmission mode may be used to transmit small data, but interruption transmission mode is mainly used for the control to some equipment, such as
Mouse, keyboard, therefore under normal conditions, for transmission control command (such as program select command) or control response order (as saved
Mesh selects the corresponding command) port configuration controlling transmission mode.
It is directed to separately below in USB and is used to transmit TS data packets and order end between TV receiving apparatus and descrambler device
The different situations of the number of mouth are introduced.
Situation one:The first TS data packets are sent by first port in USB between TV receiving apparatus and descrambler device, are led to
Crossing in USB second port and receive the 2nd TS data packets, first port and second port are two different ports in wherein USB,
The method for then configuring the transmission mode of first port and the transmission mode of second port is as follows:
The transmission mode of USB port is pre-configured with according to the type of data, such as:First port is used for sending in USB
First TS data packets, then be configured to bulk transfer mode or isochronous transfers mode by the transmission mode of first port, a kind of preferable
Optional mode be that the transmission mode of first port is preconfigured to bulk transfer mode;And second port is used for connecing in USB
The 2nd TS data packets that descrambler device is sent are received, then the transmission mode of the second port in USB are preconfigured to bulk transfer
Mode.
TV receiving apparatus to the first TS data packets after analog-to-digital conversion is carried out, according to the transmission side of first port in USB
Formula, is packaged the first TS data packets after analog-to-digital conversion, and this technical solution be easy to cause the loss of the first TS data packets,
This is because the processing speed of the first TS data packet analog-to-digital conversions is more than the speed of the first TS packet encapsulations, to avoid the first TS
The loss of data packet, is optionally packaged the first TS data packets after analog-to-digital conversion an embodiment of the present invention provides a kind of
Technical solution:
TV receiving apparatus stores the first TS data packets after analog-to-digital conversion into the first buffer pool;
TV receiving apparatus obtains the first TS data after analog-to-digital conversion by the time sequencing of storage from the first buffer pool
Bag, and the first TS data packets of acquisition are packaged.
Specifically, as shown in figure 3, the tuner in TV receiving apparatus, which will meet program select command, corresponds to frequency point
First TS data packets are sent to demodulator, carry out analog-to-digital conversion to the first TS data packets by demodulator, and pass through demultiplexer
(wherein this is driven to the embodiment of the present invention for the driving for the first TS data packets after analog-to-digital conversion being sent in TV receiving apparatus
The corresponding driving of CAM cards in descrambler device), since driving is less than the package speed of the first TS data packets in TV receiving apparatus
The first TS data packets after analog-to-digital conversion are directly sent to driving and be easy to cause data by the speed of analog-to-digital conversion, demultiplexer
Lose, to avoid the loss of the first TS data packets, demultiplexer first stores the first TS data packets after analog-to-digital conversion to first
In buffer pool, after then obtaining analog-to-digital conversion from the first buffer pool by the time sequencing of storage by the driving of TV receiving apparatus
The first TS data packets, and the first TS data packets of acquisition are packaged according to the transmission mode of first port in USB, will sealed
The first TS data packets after dress are sent to descrambler device by first port in USB and are descrambled.
And correspondingly, the speed that TV receiving apparatus receives the 2nd TS data packets that descrambler device is sent is more than television reception
The speed for the 2nd TS data decapsulation that equipment interconnection is received, therefore to avoid the loss of the 2nd TS data packets, the embodiment of the present invention
Provide a kind of technical solution optionally decapsulated:
TV receiving apparatus will receive the storage of the 2nd TS data packets into the second buffer pool;
TV receiving apparatus is obtained the 2nd TS data packets received by the time sequencing of storage from the second buffer pool, and
2nd TS data packets of acquisition are decapsulated.
Specifically, as shown in figure 3, descrambler device orders program selection in the 2nd TS data packets according to program select command
After making corresponding TV signal be descrambled, it is packaged according to the transmission mode of second port in USB, and passes through in USB
Two-port netwerk is sent to TV receiving apparatus, and the speed that the 2nd TS data packets are sent due to descrambler device is more than driving to the 2nd TS numbers
According to bag decapsulation speed, if therefore descrambler device the 2nd TS data packets are sent directly to the driving in TV receiving apparatus,
The loss of the 2nd TS data packets is be easy to cause, to avoid the loss of the 2nd TS data packets, the 2nd TS data packets after descrambling are led to
Cross second port in USB to be sent in the second buffer pool of TV receiving apparatus, the driving in TV receiving apparatus is by storage
Time sequencing obtains the 2nd TS data packets received from the second buffer pool, and the 2nd TS data packets of acquisition are unsealed
Dress, so as to avoid the loss of the 2nd TS data packets, and is sent to demultiplexer by the TS data packets after decapsulation and is demultiplexed
With, and the 2nd TS data packets after demultiplexing are sent to decoder, show the TV signal after descrambling in the 2nd TS data packets.
Since in situation one, the port in USB is not directed to program select command and the biography of program Response to selection order
It is defeated, therefore situation one can directly receive the situation of program select command suitable for descrambler device.
Situation two:It can be sent to solve TV receiving apparatus after control command is received to descrambler device, or
It is that descrambler device sends control response order to TV receiving apparatus, optionally, TV receiving apparatus is receiving control command
Afterwards, according to the transmission mode of the 3rd port in USB, the control command of reception is packaged, the control command after encapsulation is led to
Cross the 3rd port and be sent to descrambler device, and the control response order of descrambler device transmission is received by the 4th port in USB.
It should be noted that the 3rd port and the 4th port are two different ports.
Wherein, control command includes but not limited to program select command, authorizes and obtains order (such as:Obtained to descrambler device
The authorization message of program, or obtain the information of card number of smart card etc.).
Control response order includes but not limited to the order of program Response to selection, (such as descrambler device is sent for authorization response order
Authorization message, or information of card number of smart card etc. that descrambler device is sent.)
Although control command and control response order include a variety of orders, the sending time of these orders and during reception
Between it is different, TV receiving apparatus sends and receives order according to actual conditions, will not produce the same time and send or receive order
Situation, therefore the conflict that order will not be caused to send and receive.
, can when the control command is program select command, and the control response order is program Response to selection order
Choosing, it is right according to the transmission mode of the 3rd port in USB after TV receiving apparatus establishes connection by USB and descrambler device
The program select command of reception is packaged, and the program select command after encapsulation is sent to descrambler device by the 3rd port,
And the program Response to selection order of descrambler device transmission is received by the 4th port in USB, and according to the program Response to selection
Order, descrambles the corresponding TV signal of program select command described in the 2nd TS data packets in the definite descrambler device
After success, the 2nd TS data packets of reception are decapsulated.
As shown in figure 4, the connection diagram in the embodiment of the present invention between TV receiving apparatus and descrambler device.
Wherein, when first port in USB, second port, the 3rd port, the 4th port be respectively in USB four it is different
During port, such as:First port is used to send the first TS data packets after analog-to-digital conversion in USB, by the biography of first port in USB
Defeated mode is set in advance as bulk transfer mode;Second port is used to receive the 2nd TS data after descrambler device descrambling in USB
Bag, bulk transfer mode is set in advance as by the transmission mode of second port in USB;The 3rd port is used to send program in USB
Select command, then a kind of preferably optional mode is that the transmission mode of the 3rd port in USB is preconfigured to controlling transmission side
Formula;And the 4th port is used for the program Response to selection order for receiving descrambler device transmission in USB, then by the 4th port in USB
Transmission mode is preconfigured to controlling transmission mode.
When TV receiving apparatus can send program select command by the 3rd port in USB to descrambler device, descrambling is set
It is standby can by the 4th port in USB to TV receiving apparatus send program Response to selection order when, the embodiment of the present invention provides
The technical solution that a kind of optional TV receiving apparatus decapsulates the 2nd TS data packets of reception:
TV receiving apparatus is according to program Response to selection order, and program selects in definite descrambler device is to the 2nd TS data packets
Select after the corresponding TV signal of order descrambles successfully, the 2nd TS data packets of reception are decapsulated.
If it is determined that descrambler device is to the corresponding TV signal descrambling failure of program select command in the 2nd TS data packets, electricity
The 2nd TS data packets of the TV signal comprising descrambling failure are abandoned depending on receiving device, and according to program Response to selection order, really
The reason for fixed descrambling failure;
The reason for TV receiving apparatus display descrambling failure and descrambling failure.
It should be noted that if the corresponding TV signal of program select command selects to order according to program in the 2nd TS data packets
Order descrambles successfully, then the order of program Response to selection is descrambles successful information, if descrambling failure, program select command is descrambling
Failure, the information that can not be shown, and the reason for descrambling failure.
Since the 2nd TS data packets that TV receiving apparatus receives include multiple TV signals, such as when user is to TV
The program select command that receiving device is sent is 1, and corresponding TV signal is the TV signal of CCTV-1, then descrambler device only will
The TV signal of CCTV-1 is descrambled in 2nd TS data packets, other TV signals in TS data packets without descrambling, if
Descrambler device descrambles successfully the TV signal of CCTV-1, then sends program Response to selection order, TV to TV receiving apparatus
Receiving device again decapsulates the 2nd TS data packets comprising descrambling TV signal of reception.If descrambler device is to the 2nd TS
The TV signal descrambling failure of CCTV-1 in data packet, such as be not inserted into descrambler device in CAM cards, then descrambler device can not be right
The corresponding TV signal of program select command in second data packet is descrambled, then descrambling failure, therefore set to television reception
Preparation send order of the program Response to selection order for descrambling failure, and TV receiving apparatus determines to solve according to program Response to selection order
Disturb unsuccessfully, then abandon the 2nd TS data packets of the TV signal comprising descrambling failure, i.e., the TS data packets are not decapsulated
Or the reason for TS data packets are deleted from the second buffer pool, descrambling failure is determined according to program Response to selection order is descrambling
CAM cards are not inserted into equipment, is shown on TV receiving apparatus and the letter that CAM cards cause descrambling to fail is not inserted into descrambler device
Breath, user need to only enter CAM card insertions in descrambler device according to the reason for descrambling failure, and TV receiving apparatus then can normally show electricity
Depending on signal.
When descrambling is unsuccessfully other reasons, then other reasons are shown on TV receiving apparatus, for providing to the user
Intuitively prompt.
Situation three:First port and second port are same port in USB, and the 3rd port and the 4th port in USB are
During same port, and configure the method for the transmission mode of port and first port, second port, the 3rd end in USB in situation two
Configuration mode when mouthful with the 4th port being four different ports is identical, and details are not described herein.
But it should be recognized that TV receiving apparatus can be connect by default the first TS packet times section that sends with default
The 2nd TS packet times section is received to realize by same USB port the first TS data packets of reception and send the 2nd TS data packets,
The same port in the program select command between TV receiving apparatus and descrambler device and program Response to selection order are by USB
When being transmitted, the transmission of order can be also realized by time-multiplexed mode.
Situation four:When first port, second port, the 3rd port and the 4th port are same port in USB, the present invention
Embodiment additionally provides a kind of technical solution of optional configuration port transmission mode:
After TV receiving apparatus docks received first TS data packets progress analog-to-digital conversion, TV receiving apparatus is according to default
The initial time of the duration of the first TS data packets is sent, configures the transmission mode of first port;
After the first TS data packets after encapsulation are sent to descrambler device by TV receiving apparatus by first port, TV
The initial time for the duration that receiving device receives the 2nd TS data packets according to presetting, configures the transmission mode of second port;
TV receiving apparatus is after confirming that USB device is descrambler device, after program select command is received, television reception
Equipment is according to the initial time of the default duration for sending program select command, the transmission mode of the 3rd port of configuration;
After program select command after encapsulation is sent to descrambler device by TV receiving apparatus by the 3rd port, TV connects
Receiving unit is according to the initial time of the default duration for receiving program select command, the transmission mode of the 4th port of configuration.
For example, 1 time when small was divided into 3600 periods, wherein first period [0,1] is arranged to TV
Receiving device sends the period of the first TS data packets to descrambler device, then TV receiving apparatus is when being constantly 0, by USB
The transmission mode of port is configured to bulk transfer mode, is arranged to send program select command in second period [1,2]
Period, if then TV receiving apparatus has the program select command to be sent in this period, when being constantly 1, TV connects
The transmission mode of USB middle ports is configured to the mode of controlling transmission by receiving unit, if TV receiving apparatus does not have in this period
The program select command to be sent, when can also be 1 at this moment, controlling transmission be arranged to by the transmission mode of USB middle ports
Mode, when TV receiving apparatus determines the program select command not sent, can not also change the biographies of USB middle ports
Defeated mode, the configuration mode of the transmission mode of its USB middle port when receiving and during transmission the transmission mode of port configuration side
Formula is similar, and details are not described herein.
But if TV receiving apparatus selects in the default duration for sending or receiving TS data packets, it is necessary to send program
Order, the embodiment of the present invention additionally provide a kind of technical solution of the transmission mode of the 3rd port in configuration USB:
TV receiving apparatus is according to the program select command received, the transmission mode of the 3rd port of configuration.
Such as:The first TS data packets are sent in default first time period [0,1], but TV receiving apparatus receives program
Select command, it is therefore desirable to send program select command in default first time period [0,1], then by the biography of the 3rd port in USB
Defeated mode is arranged to controlling transmission mode.This is because when user is sending program select command, TV receiving apparatus receives
To program select command, the time for sending program select command to descrambler device by the 3rd port in USB not necessarily can be just
Within the period of default transmission program select command, it compensate for by this kind of mode by a USB middle-end port transmission
When TS data packets and order, it is impossible to switch over the generation of program situation according to the program select command of user in time.
If TV receiving apparatus is in the default duration for sending the first TS data packets or receiving the 2nd TS data packets, it is necessary to connect
Program Response to selection order is received, the embodiment of the present invention additionally provides a kind of technology of the transmission mode of the 4th port in configuration USB
Scheme:
TV receiving apparatus determines that the data that descrambler device is sent are program Response to selection order;
TV receiving apparatus is according to program Response to selection order, the transmission mode of the 4th port of configuration.
Specifically, needing to send program Response to selection order, be then arranged to the transmission mode of the 4th port in USB
Controlling transmission mode.This is because when descrambler device sends program Response to selection order to TV receiving apparatus, the 4th in USB
The transmission mode of port is not necessarily just suitable for program Response to selection order, compensate for by this kind of mode by one
When USB middle-ends port transmission TS data packets and order, it is impossible in time according to the program Response to selection order of user to the 2nd TS data
Bag is decapsulated, so as to influence the display effect of TV receiving apparatus.
Situation five:To improve the speed for sending the first TS data packets and the speed for receiving the 2nd TS data packets, the present invention is real
Example is applied to additionally provide using multiple first ports and multiple second ports the first TS data packets of transmission and receive the 2nd TS data packets
Technical solution:
TV receiving apparatus is docked after received first TS data packets carry out analog-to-digital conversion, determines the in idle condition
Single port, selects a first port to be used to send the first TS numbers after encapsulation from all first ports in idle condition
According to bag, then the first TS data packets after analog-to-digital conversion are packaged;
After the first TS data packets after encapsulation are sent to descrambler device by TV receiving apparatus by first port, TV
Receiving device determines the second port in idle condition, and one second is selected from all second ports in idle condition
Port is used for the 2nd TS data packets for receiving descrambler device transmission, and then receiving descrambler device by second port in USB sends
The 2nd TS data packets.
Illustrated using first port as 3, when TV receiving apparatus needs to send the first TS data packets, if 3 the
Single port is all in idle condition, then one first port of selection is used to send the first TS data packets in any three, and TV connects
Receiving unit is packaged the first TS data packets after analog-to-digital conversion according to the transmission mode of the first port of selection, then passes through
The first port of selection sends the first TS data packets after encapsulation;If 3 first ports, which only have one, is in idle condition, select
The first port in idle condition is selected to be used to send the first TS data packets;If 3 first ports are all not in idle condition,
When there is the first port in idle condition in 3 first ports, the first TS data packets are retransmited.
When first port is for 2 or more than 3, its selection mode is similar, and details are not described herein;Select second end
The mode of mouth is similar with selecting the mode of first port, and details are not described herein.
To improve the speed for sending program select command and the speed for receiving program Response to selection order, the embodiment of the present invention
Additionally provide and program Response to selection order is received using multiple 3rd ports transmission program select command and multiple 4th ports
Technical solution:
After TV receiving apparatus establishes connection by USB and descrambler device, the 3rd port in idle condition is determined, from
The 3rd port is selected to be used for the program select command sent in all the 3rd ports in idle condition, then to receiving
Program select command be packaged;
After program select command after encapsulation is sent to descrambler device by TV receiving apparatus by the 3rd port, place is determined
In the 4th port of idle condition, the 4th port is selected to be used to receive solution from all the 4th ports in idle condition
The program Response to selection order of equipment transmission is disturbed, the program that descrambler device transmission is then received by the 4th port in USB selects
Response command.
Illustrated using the 4th port as 3, when TV receiving apparatus receives program Response to selection order, if 3 the
Four ports are all in idle condition, then one the 4th port of selection is used to receive program Response to selection order in any three, electricity
Decapsulated depending on receiving device according to program Response to selection order of the transmission mode of the 4th port of selection to reception;If 3
A 4th port only has one and is in idle condition, then fourth port of the selection in idle condition is used to receive program selection sound
It should order;If 3 the 4th ports are all not in idle condition, Deng exist in 3 the 4th ports in idle condition the 4th
During port, then receive program Response to selection order.
When the 4th port is for 2 or more than 3, its selection mode is similar, and details are not described herein;Select the 3rd end
The mode of mouth is similar with selecting the mode of the 4th port, and details are not described herein.
In addition to the conditions already mentioned, it is also possible to be by the port transmission order in a USB, pass through the port in multiple USB
TS data packets are transmitted, wherein the configuration mode for the port transmission mode being used for transmission in the USB of order is passed with being used in situation four
The configuration mode of the port transmission mode of defeated order is similar, be used for transmission TS data packets port transmission mode configuration mode with
The configuration mode that the port transmission mode of TS data packets is used for transmission in situation five is similar, it is also possible to passes through the end in a USB
Port transmission order, by the port transmission TS data packets in two USB, one of them is used to send TS data packets, another use
In received data packet, other situations can also be included, details are not described herein.
It is different ports below for first port, second port, the 3rd port and the 4th port in two USB of situation
When, the method for display TV signal, as shown in figure 5, including:
Step 500, TV receiving apparatus has checked USB device insertion, and determines that the USB device is descrambler device.
Step 501, TV receiving apparatus receives TS data packets.
Step 502, TV receiving apparatus docks received TS data packets and carries out analog-to-digital conversion.
Step 503, TV receiving apparatus stores the TS data packets after analog-to-digital conversion into the first buffer pool.
Step 504, after TV receiving apparatus obtains analog-to-digital conversion according to the time sequencing of storage from the first buffer pool
TS data packets, are packaged the TS data packets.
Step 505, the TS data packets of encapsulation are sent to descrambler device by TV receiving apparatus.
Step 506, TV receiving apparatus receives program select command.
Step 507, TV receiving apparatus seals program select command according to the transmission mode of the 3rd port in USB
Dress.
Step 508, the program select command after encapsulation is sent to descrambling by TV receiving apparatus by the 3rd port in USB
Equipment.
Step 509, descrambler device believes the corresponding TV of program select command in TS data packets according to program select command
Number descrambled, and the TS data packets after descrambling are sent to TV receiving apparatus.
Step 510, descrambler device is according to descrambling result generation program Response to selection order, and is sent to television reception and sets
It is standby.
Step 511, TV receiving apparatus receives program Response to selection order by the 4th port in USB.
Step 512, TV receiving apparatus receives the TS data packets after descrambling by second port in USB, and this is descrambled
TS data packets afterwards are stored into the second buffer pool.
Step 513, TV receiving apparatus judges whether to obtain solution from the second buffer pool according to program Response to selection order
TS data packets after disturbing, if so, then performing step 515, otherwise perform step 514.
Step 514, TV receiving apparatus deletes the TS data packets of descrambling failure from the second buffer pool, and is selected according to program
Response command is selected, display descrambles the reason for failing, this flow terminates.
Step 515, TV receiving apparatus obtains the TS data packets after descrambling from the second buffer pool, and according to USB second
The transmission mode of port, decapsulates the TS data packets after the descrambling, and the TS data packets after decapsulation are solved
Code simultaneously shows that this flow terminates.
Wherein, without inevitable sequencing between step 506, step 507 and step 501~505, as long as meeting step 506
Before step 507, step 501 is before step 502~505, and step 502 is before step 503~505, and step 503 is in step
Rapid 504, before step 505, step 504 is before step 505.Without certainty between step 510, step 511 and step 512
Sequencing, as long as meeting step 510 before step 511.
A port transmission TS data packets and order in by USB, or during by multiple more port transmissions, television reception
The method of equipment display TV signal is similar with the above process, and details are not described herein.
It is any to transmit through the above way in addition, the embodiment of the present invention includes but not limited to above-mentioned five kinds of situations
The method of TS data packets, control command, the transmission mode of control response order the display TV signal suitable for the present invention, such as
TS data packets are sent by a first port, TS data packets are received by a second port, are sent out by the 3rd port
Control command is sent, the 4th port receives control response order, and wherein first port and second port is two different ends
Mouthful, the 3rd port and the 4th port are the same port different from first port and second port, other situations are herein no longer
Repeat.
Based on same inventive concept, a kind of TV receiving apparatus is additionally provided in the embodiment of the present invention, due to the TV of Fig. 6
The corresponding method of receiving device is the method for display TV signal of the embodiment of the present invention, therefore the implementation of equipment of the embodiment of the present invention
The implementation of method is may refer to, overlaps will not be repeated.
As shown in fig. 6, TV receiving apparatus of the embodiment of the present invention, including:
Detection module 600, for detecting the insertion of general-purpose serial bus USB equipment;
Sending module 601, for after confirming that USB device is descrambler device, docking received first transport stream TS data
Bag carries out analog-to-digital conversion, and according to the transmission mode of first port in USB, the first TS data packets after analog-to-digital conversion are sealed
Dress, and the first TS data packets after encapsulation are sent to descrambler device by first port;
Display module 602, for the 2nd TS numbers after the descrambling of second port reception descrambler device transmission in by USB
After bag, the 2nd TS data packets are decapsulated, and are descrambled after showing decapsulation by descrambler device in the 2nd TS data packets
TV signal.
Optionally, which further includes:
Order transport module 603, it is right according to the transmission mode of the 3rd port in USB for after control command is received
The control command of reception is packaged, and the control command after encapsulation is sent to descrambler device by the 3rd port, and pass through USB
In the 4th port receive descrambler device send control response order.
Optionally, if control command is program select command, control response order is program Response to selection order;Show mould
Block 602, is additionally operable to:
After the 4th port receives the program Response to selection order that descrambler device is sent in by USB, selected according to program
Response command is selected, judges whether descrambler device descrambles into the corresponding TV signal of program select command in the 2nd TS data packets
Work(;If so, the 2nd TS data packets of reception are decapsulated;Otherwise, second of the TV signal comprising descrambling failure is abandoned
TS data packets, and according to program Response to selection order, definite the reason for descrambling failure, and show descrambling failure and descramble what is failed
Reason.
Optionally, first port, second port, the 3rd port and the 4th port are same port;
Sending module 601, is additionally operable to:
After docking received first TS data packets progress analog-to-digital conversion, the first TS data packets after analog-to-digital conversion are sealed
Before dress, according to the initial time of the duration of the first TS data packets of default transmission, the transmission mode of first port is configured;
Display module 602, is additionally operable to:
After the first TS data packets after encapsulation are sent to descrambler device by sending module 601 by first port, lead to
Cross before the 2nd TS data packets that second port reception descrambler device is sent in USB, according to the 2nd TS data packets of default reception
The initial time of duration, configures the transmission mode of second port;
Order transport module 603, is additionally operable to:
After sending module 601 confirms USB device for descrambler device, it is packaged to the program select command of reception
Before, according to the initial time of the duration of default transmission program select command, the transmission mode of the 3rd port of configuration;After encapsulation
After program select command is sent to descrambler device by the 3rd port, receive what descrambler device was sent by the 4th port in USB
Before program Response to selection order, according to the initial time of the duration of default reception program select command, the 4th port is configured
Transmission mode.
Optionally, order transport module 603, is additionally operable to:
In the default duration for sending the first TS data packets or receiving the 2nd TS data packets, program select command is received,
The transmission mode of the 3rd port is configured according to following manner:According to the program select command received, the biography of the 3rd port of configuration
Defeated mode;If in the default duration for sending or receiving TS data packets, program Response to selection order is received, according to following manner
Configure the transmission mode of the 4th port:Determine that the data that descrambler device is sent are program Response to selection order;Selected according to program
Response command, configures the transmission mode of the 4th port.
Optionally, TV receiving apparatus includes multiple first ports and multiple second ports;
Sending module 601, is additionally operable to:
After docking received first TS data packets progress analog-to-digital conversion, the first TS data packets after analog-to-digital conversion are sealed
Before dress, the first port in idle condition is determined, one first is selected from all first ports in idle condition
Port is used to send the first TS data packets after encapsulation;
Display module 602, is additionally operable to:
After the first TS data packets after encapsulation are sent to descrambler device by sending module 601 by first port, lead to
Cross before the 2nd TS data packets that second port reception descrambler device is sent in USB, determine the second port in idle condition,
A second port is selected to be used for the 2nd TS numbers for receiving descrambler device transmission from all second ports in idle condition
According to bag.
Optionally, TV receiving apparatus includes multiple 3rd ports and multiple 4th ports;
Order transport module 603, is additionally operable to:
After sending module 601 confirms USB device for descrambler device, it is packaged to the program select command of reception
Before, determine the 3rd port in idle condition, the 3rd port is selected from all the 3rd ports in idle condition
Program select command for transmission;After the program select command after encapsulation is sent to descrambler device by the 3rd port, lead to
Cross before the program Response to selection order that the 4th port reception descrambler device is sent in USB, determine the 4th in idle condition
Port, selects the 4th port to be used for the program for receiving descrambler device transmission from all the 4th ports in idle condition
Response to selection order.
Optionally, sending module 601, are specifically used for:
The first TS data packets after analog-to-digital conversion are stored into the first buffer pool;And by storage time sequencing from first
The first TS data packets after analog-to-digital conversion are obtained in buffer pool, and the first TS data packets of acquisition are packaged.
Optionally, display module 602, are specifically used for:
By the 2nd TS data packets received storage into the second buffer pool;And buffered by the time sequencing of storage from second
The 2nd TS data packets received are obtained in pond, and the 2nd TS data packets of acquisition are decapsulated.
It can be seen from the above:The TV receiving apparatus of the embodiment of the present invention has detected USB device insertion, true
Recognize USB device and carry out analog-to-digital conversion after descrambler device, to dock received first TS data packets, according to first port in USB
Transmission mode, is packaged the first TS data packets after analog-to-digital conversion, and the first TS data packets after encapsulation are passed through first
Port is sent to descrambler device;And second port receives the 2nd TS numbers after the descrambling that descrambler device is sent in by USB
After bag, the 2nd TS data packets are decapsulated, and are descrambled after showing decapsulation by descrambler device in the 2nd TS data packets
TV signal.This technical solution is since TV receiving apparatus can be connected by USB with descrambler device, and by USB
The transmission of the first TS data packets and the 2nd TS data packets between TV receiving apparatus and descrambler device is realized in port, therefore in hardware
It is upper that pcmcia interface and corresponding control circuit need not be equipped with TV receiving apparatus, realize display TV so as to reduce
The complexity of the mode of signal, in addition, compared with pcmcia interface, TS is improved by the port transmission TS data packets in USB
The transmission speed of data packet.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, the present invention can use complete hardware embodiment, complete application software embodiment or connected applications software and hardware
The form of the embodiment of aspect.Moreover, the present invention can be used wherein includes computer usable program code in one or more
Computer-usable storage medium (include but not limited to magnetic disk storage, CD-ROM, optical memory etc.) on the calculating implemented
The form of machine program product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or square frame in journey and/or square frame and flowchart and/or the block diagram.These computer programs can be provided
The processors of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices, which produces, to be used in fact
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or
The instruction performed on other programmable devices is provided and is used for realization in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation
Property concept, then can make these embodiments other change and modification.So appended claims be intended to be construed to include it is excellent
Select embodiment and fall into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and scope.In this way, if these modifications and changes of the present invention belongs to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these modification and variations.
Claims (9)
- A kind of 1. method of display TV signal, it is characterised in that this method includes:TV receiving apparatus has detected that general-purpose serial bus USB equipment is inserted into;The TV receiving apparatus docks received first transport stream TS data after confirming that the USB device is descrambler device Bag carries out analog-to-digital conversion, and according to the transmission mode of first port in USB, the first TS data packets after analog-to-digital conversion are sealed Dress, and the first TS data packets after encapsulation are sent to the descrambler device by the first port;TV receiving apparatus second port in by the USB receives second after the descrambling that the descrambler device is sent After TS data packets, the 2nd TS data packets are decapsulated, and are passed through after showing decapsulation in the 2nd TS data packets The TV signal of the descrambler device descrambling;If the TV receiving apparatus receives in the default duration for sending the first TS data packets or receiving the 2nd TS data packets Control command, the transmission mode of the first port is configured according to following manner:The TV receiving apparatus configures the transmission mode of the first port according to the control command received;The TV receiving apparatus is packaged the control command of reception, will seal according to the transmission mode of the first port Control command after dress is sent to the descrambler device by the first port, and is received by the 3rd port in the USB The control response order that the descrambler device is sent.
- 2. the method as described in claim 1, it is characterised in that if the control command is program select command, the control Response command is program Response to selection order;The program that the TV receiving apparatus receives the descrambler device transmission by the 3rd port in the USB selects to ring After should ordering, further include:The TV receiving apparatus judges the descrambler device to the 2nd TS data according to the program Response to selection order Whether the corresponding TV signal of program select command described in bag descrambles success;If so, the TV receiving apparatus decapsulates the 2nd TS data packets of reception;Otherwise, the TV receiving apparatus abandons the 2nd TS data packets of the TV signal comprising descrambling failure, and according to described Program Response to selection order, determines the reason for descrambling fails, and shows the reason for descrambling failure and descrambling failure.
- 3. method as claimed in claim 2, it is characterised in that the first port, the second port and the 3rd end Mouth is same port;After the TV receiving apparatus docks received first TS data packets progress analog-to-digital conversion, to the first TS after analog-to-digital conversion Before data packet is packaged, further include:The TV receiving apparatus configures the first port according to the initial time of the default duration for sending the first TS data packets Transmission mode;The first TS data packets after encapsulation are sent to the descrambler device by the TV receiving apparatus by the first port Afterwards, before the 2nd TS data packets that the descrambler device is sent being received by second port in the USB, further include:The TV receiving apparatus configures the second port according to the initial time of the default duration for receiving the 2nd TS data packets Transmission mode;The TV receiving apparatus seals the program select command of reception after confirming that the USB device is descrambler device Before dress, further include:The TV receiving apparatus configures the first port according to the initial time of the default duration for sending program select command Transmission mode;Program select command after encapsulation is sent to the descrambler device by the TV receiving apparatus by the first port Afterwards, before the program Response to selection order that the descrambler device is sent being received by the 3rd port in the USB, also wrap Include:The TV receiving apparatus configures the 3rd port according to the initial time of the default duration for receiving program select command Transmission mode.
- 4. method as claimed in claim 3, it is characterised in that if the TV receiving apparatus sends or receive TS numbers default According to the program Response to selection order in the duration of bag, is received, the TV receiving apparatus is according to configuring following manner The transmission mode of 3rd port:The TV receiving apparatus determines that the data that the descrambler device is sent are program Response to selection order;The TV receiving apparatus is according to program Response to selection order, the transmission mode of configuration the 3rd port.
- 5. the method as described in claim 1 or 2 is any, it is characterised in that the TV receiving apparatus includes multiple first ends Mouth and multiple second ports;After the TV receiving apparatus docks received first TS data packets progress analog-to-digital conversion, to the first TS after analog-to-digital conversion Before data packet is packaged, further include:The TV receiving apparatus determines the first port in idle condition, from all first ports in idle condition One first port of selection is used to send the first TS data packets after encapsulation;The first TS data packets after encapsulation are sent to the descrambler device by the TV receiving apparatus by the first port Afterwards, before the 2nd TS data packets that the descrambler device is sent being received by second port in the USB, further include:The TV receiving apparatus determines the second port in idle condition, from all second ports in idle condition One second port of selection is used to receive the 2nd TS data packets that the descrambler device is sent.
- 6. method as claimed in claim 2, it is characterised in that the TV receiving apparatus includes multiple first ports and multiple 3rd port;The TV receiving apparatus seals the program select command of reception after confirming that the USB device is descrambler device Before dress, further include:The TV receiving apparatus determines the first port in idle condition, from all first ports in idle condition One first port of selection is used for the program select command sent;Program select command after encapsulation is sent to the descrambler device by the TV receiving apparatus by the first port Afterwards, before the program Response to selection order that the descrambler device is sent being received by the 3rd port in the USB, also wrap Include:The TV receiving apparatus determines the 3rd port in idle condition, from all the 3rd ports in idle condition One the 3rd port of selection is used to receive the program Response to selection order that the descrambler device is sent.
- 7. the method as described in claim 1, it is characterised in that the TV receiving apparatus is to the first TS numbers after analog-to-digital conversion It is packaged, specifically includes according to bag:The TV receiving apparatus stores the first TS data packets after analog-to-digital conversion into the first buffer pool;The TV receiving apparatus obtains the first TS after analog-to-digital conversion by the time sequencing of storage from first buffer pool Data packet, and the first TS data packets of acquisition are packaged.
- 8. the method as described in claim 1, it is characterised in that the TV receiving apparatus to the 2nd TS data packets of reception into Row decapsulation, specifically includes:The TV receiving apparatus stores the 2nd TS data packets received into the second buffer pool;The TV receiving apparatus is obtained the 2nd TS received by the time sequencing of storage from second buffer pool Data packet, and the 2nd TS data packets of acquisition are decapsulated.
- A kind of 9. TV receiving apparatus, it is characterised in that including:Detection module, for detecting the insertion of general-purpose serial bus USB equipment;Sending module, for after confirming that the USB device is descrambler device, dock received first transport stream TS data packet into Row analog-to-digital conversion, according to the transmission mode of first port in USB, is packaged the first TS data packets after analog-to-digital conversion, and The first TS data packets after encapsulation are sent to the descrambler device by the first port;Display module, for the 2nd TS after the descrambling of the second port reception descrambler device transmission in by the USB After data packet, the 2nd TS data packets are decapsulated, and pass through institute in the 2nd TS data packets after showing decapsulation State the TV signal of descrambler device descrambling;If the TV receiving apparatus receives in the default duration for sending the first TS data packets or receiving the 2nd TS data packets Control command, then the TV receiving apparatus further include configuration module, the configuration module is used to configure institute according to following manner State the transmission mode of first port:According to the control command received, the transmission mode of the first port is configured;Package module, for the transmission mode of the first port configured according to the configuration module, the control to reception is ordered Order is packaged, and the control command after encapsulation is sent to the descrambler device by the first port, and pass through the USB In the 3rd port receive the control response order that the descrambler device is sent.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510315159.7A CN104935988B (en) | 2015-06-10 | 2015-06-10 | A kind of method and TV receiving apparatus of display TV signal |
CN201810111694.4A CN108271059B (en) | 2015-06-10 | 2015-06-10 | Method for displaying television signal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510315159.7A CN104935988B (en) | 2015-06-10 | 2015-06-10 | A kind of method and TV receiving apparatus of display TV signal |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810111694.4A Division CN108271059B (en) | 2015-06-10 | 2015-06-10 | Method for displaying television signal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104935988A CN104935988A (en) | 2015-09-23 |
CN104935988B true CN104935988B (en) | 2018-05-08 |
Family
ID=54122898
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810111694.4A Active CN108271059B (en) | 2015-06-10 | 2015-06-10 | Method for displaying television signal |
CN201510315159.7A Active CN104935988B (en) | 2015-06-10 | 2015-06-10 | A kind of method and TV receiving apparatus of display TV signal |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810111694.4A Active CN108271059B (en) | 2015-06-10 | 2015-06-10 | Method for displaying television signal |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN108271059B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107343212B (en) * | 2017-07-19 | 2020-07-10 | 海信视像科技股份有限公司 | Descrambling method of digital television, digital television and CAM card |
CN111382469B (en) * | 2018-12-29 | 2022-03-25 | 北京淳中科技股份有限公司 | Signal transmission management method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1581868A (en) * | 2003-08-03 | 2005-02-16 | 清华大学 | General serial data two-way transmission interface |
CN103763579A (en) * | 2014-01-22 | 2014-04-30 | 深圳国微技术有限公司 | Method for recognizing multichannel transmission streams based on USB interface |
CN104461978A (en) * | 2014-10-24 | 2015-03-25 | 厦门市美亚柏科信息股份有限公司 | Single-way data transmission method and device |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040215966A1 (en) * | 2003-04-28 | 2004-10-28 | Rainbow Technologies, Inc. | Bending USB token |
CN2807648Y (en) * | 2005-06-29 | 2006-08-16 | 上海广电(集团)有限公司中央研究院 | Digital television receiver |
CN101005563A (en) * | 2006-01-16 | 2007-07-25 | 深圳创维-Rgb电子有限公司 | Machine and card separator for digital tV set and its processing method |
US20070280477A1 (en) * | 2006-06-05 | 2007-12-06 | The Directv Group, Inc. | Method and system for providing conditional access authorizations to a mobile receiving device |
CN100445903C (en) * | 2007-02-15 | 2008-12-24 | 北京飞天诚信科技有限公司 | Method for controlling intelligent electric appliance and system thereof |
CN201163796Y (en) * | 2007-12-26 | 2008-12-10 | 深圳清华大学研究院 | Condition receiving digital television apparatus based on USB |
CN101266584B (en) * | 2008-05-13 | 2011-05-11 | 威盛电子股份有限公司 | Universal serial bus host controller and its control method |
CN101370076A (en) * | 2008-10-21 | 2009-02-18 | 北京数码视讯科技股份有限公司 | Method for implementing set-card separation based on USB interface |
-
2015
- 2015-06-10 CN CN201810111694.4A patent/CN108271059B/en active Active
- 2015-06-10 CN CN201510315159.7A patent/CN104935988B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1581868A (en) * | 2003-08-03 | 2005-02-16 | 清华大学 | General serial data two-way transmission interface |
CN103763579A (en) * | 2014-01-22 | 2014-04-30 | 深圳国微技术有限公司 | Method for recognizing multichannel transmission streams based on USB interface |
CN104461978A (en) * | 2014-10-24 | 2015-03-25 | 厦门市美亚柏科信息股份有限公司 | Single-way data transmission method and device |
Also Published As
Publication number | Publication date |
---|---|
CN108271059A (en) | 2018-07-10 |
CN108271059B (en) | 2020-12-01 |
CN104935988A (en) | 2015-09-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9710410B2 (en) | Camera control slave devices with multiple slave device identifiers | |
US9398329B2 (en) | Video management and control in home multimedia network | |
US20170117979A1 (en) | Alternating pseudo-random binary sequence seeds for mipi csi-2 c-phy | |
CN107153629B (en) | Display data channel snooping scheme for retimer | |
CN104936315B (en) | Method for transmitting data through wifi, main device and module device | |
CN103888693B (en) | Image transmission | |
CN103141063A (en) | Transmitting device, transmitting method, receiving device, receiving method, transmitting/receiving system, and cable | |
EP2910025A1 (en) | Method and device for providing high speed data transmission with video data | |
KR20170028165A (en) | Image processing apparatus and control method thereof | |
CN104937947A (en) | Electronic apparatus, data block transmission method, transmission signal content determination method, and transceiver system | |
CN104935988B (en) | A kind of method and TV receiving apparatus of display TV signal | |
CN113132552B (en) | Video stream processing method and device | |
CN108694898A (en) | Drive control method, component and display device | |
CN104094608B (en) | Sending device, sending method, receiving device, method of reseptance, computer readable storage medium and electronic device | |
US20110242411A1 (en) | Method And System For Minimizing Signals For Video Data Communication | |
KR100362474B1 (en) | IEI 1394 interface device with full-duplex communication | |
JP2006074792A (en) | Repeater apparatus for supporting multiple protocols, and method for controlling protocol conversion in the repeater apparatus | |
CN103237253B (en) | Compatible multiple audio-video signal interface also has the DVB-S Set Top Box of standby mode | |
CN102164262B (en) | USB (universal serial bus) data wireless transmission method | |
US20150081940A1 (en) | Enhanced Serial Interface Systems and Methods Having a Higher Throughput | |
CN102272792B (en) | A data processing apparatus for segmental processing of input data, systems using the apparatus and methods for data transmittal | |
CN101800865B (en) | Audio and video receiver | |
WO2017000737A1 (en) | Transmission checking method, node, system and computer storage medium | |
JP5509357B2 (en) | Receiving apparatus and packet communication method | |
EP4123911A1 (en) | Communication device, communication system, and communication method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218 Patentee after: Hisense Visual Technology Co., Ltd. Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218 Patentee before: QINGDAO HISENSE ELECTRONICS Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |