CN110753255A - Transmission stream receiving device and clock frequency setting method thereof - Google Patents
Transmission stream receiving device and clock frequency setting method thereof Download PDFInfo
- Publication number
- CN110753255A CN110753255A CN201810815720.1A CN201810815720A CN110753255A CN 110753255 A CN110753255 A CN 110753255A CN 201810815720 A CN201810815720 A CN 201810815720A CN 110753255 A CN110753255 A CN 110753255A
- Authority
- CN
- China
- Prior art keywords
- clock frequency
- conditional access
- controller
- streaming data
- access apparatus
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000005540 biological transmission Effects 0.000 title claims abstract description 43
- 238000012360 testing method Methods 0.000 claims description 27
- 230000003247 decreasing effect Effects 0.000 claims description 4
- 230000007423 decrease Effects 0.000 claims description 3
- 230000003044 adaptive effect Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 101150012579 ADSL gene Proteins 0.000 description 1
- 102100020775 Adenylosuccinate lyase Human genes 0.000 description 1
- 108700040193 Adenylosuccinate lyases Proteins 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
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/4302—Content synchronisation processes, e.g. decoder synchronisation
-
- 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/439—Processing of audio elementary streams
- H04N21/4394—Processing of audio elementary streams involving operations for analysing the audio stream, e.g. detecting features or characteristics in audio streams
-
- 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/439—Processing of audio elementary streams
- H04N21/4398—Processing of audio elementary streams involving reformatting operations of audio signals
-
- 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 or rendering scenes according to encoded video stream scene graphs
- H04N21/44008—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
-
- 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 or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
A transmission stream receiving device and a clock frequency setting method thereof. The transmission stream receiving device comprises a demodulator, a controller and a conditional access device. The demodulator receives an external signal and converts the external signal into serial data. The controller is coupled to the demodulator. The conditional access device is coupled to the controller. The controller sets the demodulator to transmit the stream data to the conditional access device according to the clock frequency, and detects a maximum allowable clock frequency that can be used and allowed by the conditional access device.
Description
[ technical field ] A method for producing a semiconductor device
The present invention relates to a transmission stream technology, and more particularly, to a transmission stream receiving apparatus and a clock frequency setting method thereof.
[ background of the invention ]
A Digital Video Broadcasting (DVB) is a device that receives an external signal source and displays an image from the external signal source on a display screen. In response to the development of technology, some digital set-top boxes may be additionally equipped with a Conditional Access Module (CAM) to view pay digital tv content ordered by the user. Some digital television systems also have corresponding interfaces to allow users to install additional conditional access modules.
In the process of watching specific paid digital images or television contents, a general interface on the television or a digital set top box needs to be provided with a corresponding conditional access module so that the played contents can be decrypted/decoded normally and played on a display screen. When the external signal source encodes the digital video using a video modulation technique such as digital video broadcasting satellite second generation (DVB-S2) Adaptive Coded Modulation (ACM)/Variable Coded Modulation (VCM), the clock frequency corresponding to each frame in the transmission stream will be changed due to different operation modes. Although the set-top box or the digital television system can calculate the clock frequency of the transmission stream by using the demodulator and adjust the demodulator thereof, the conditional access module installed in the set-top box or the digital television system only has limited one or more clock frequencies due to the relationship of hardware or design, so that the conditional access module may not support the corresponding clock frequency. Therefore, how to coordinate the clock frequency between the set-top box or the digital television system and the conditional access module becomes one of the important issues in this field.
[ summary of the invention ]
The invention provides a transmission stream receiving device and a clock frequency setting method thereof, which can accurately obtain the highest allowable clock frequency used by a conditional access device so as to be compatible with various conditional access devices and obtain the best digital image presentation effect.
The invention discloses a transmission stream receiving device. The transmission stream receiving device comprises a demodulator, a controller and a conditional access device. The demodulator receives an external signal and converts the external signal into serial data. The controller is coupled to the demodulator. The conditional access device is coupled to the controller. The controller sets the demodulator to transmit the stream data to the conditional access device according to the clock frequency, and detects a maximum allowable clock frequency that can be used and allowed by the conditional access device.
The invention discloses a clock frequency setting method of a transmission stream receiving device. The transmission stream receiving device comprises a demodulator and a conditional access device. The clock frequency setting method comprises the following steps. The demodulator is configured to transmit the stream data to the conditional access apparatus according to the clock frequency. And detecting the highest allowable clock frequency that the conditional access apparatus can use and can tolerate.
Based on the above, the transmission stream receiving device and the clock frequency setting method thereof according to the embodiments of the present invention provide the to-be-tested stream data corresponding to different clock frequencies to the conditional access device when the transmission stream receiving device and the conditional access device are connected to each other, and determine whether the stream data processed by the conditional access device is normally output. Therefore, the transmission stream receiving device can detect the highest clock frequency which can be used and allowed by the conditional access device according to the method, so that the subsequent demodulation/decoding operation of the transmission stream is smoother. In addition, the transmission stream receiving device of the embodiment can be compatible with various types of conditional access devices, and can obtain the best image decoding effect under the hardware limitation of the conditional access devices.
In order to make the aforementioned and other features and advantages of the invention more comprehensible, embodiments accompanied with figures are described in detail below.
[ description of the drawings ]
Fig. 1 is a block diagram of a transmission stream receiving apparatus according to an embodiment of the invention.
Fig. 2 is a flowchart illustrating a clock frequency setting method of a transmission stream receiving apparatus according to an embodiment of the invention.
Fig. 3 is a detailed flowchart of a clock frequency setting method according to an embodiment of the invention.
Fig. 4 is a detailed flowchart of a clock frequency setting method according to another embodiment of the invention.
Fig. 5 is a flowchart illustrating a clock frequency setting method of a transmission stream receiving apparatus according to another embodiment of the invention.
[ notation ] to show
100: transmission series flow receiving device
110: demodulator
120: conditional access apparatus
130: stream decoder
140: controller
200. 500: method of producing a composite material
S210, S220, S310-S360, S440-S460, S510-S530: step (ii) of
ES: external signal
TS: streaming data
[ detailed description ] embodiments
Fig. 1 is a block diagram of a ts receiving apparatus 100 according to an embodiment of the invention. The apparatus 100 can be installed in a set-top box or a digital television system. Referring to fig. 1, the apparatus 100 for receiving a transport stream of the present embodiment mainly includes a demodulator 110, a conditional access apparatus 120 and a controller 140. The transmission stream receiving device 100 may also include a stream decoder 130.
The demodulator 110 is for example an ADSL modem, a cable modem and a fiber modem or other similar devices or combinations of the above. The demodulator 110 receives an external signal ES from a signal source (e.g., a satellite antenna or a cable), and converts the external signal ES into a stream data TS to output the stream data TS to the conditional access apparatus 120. In detail, the demodulator 110 may include a Transmission Stream Output (TSO) module. When the external signal ES employs a video modulation technique such as digital video broadcasting satellite second generation (DVB-S2) Adaptive Coding Modulation (ACM)/Variable Coding Modulation (VCM), the transport stream output module may determine a transport rate (bitrate) for outputting the streaming data TS according to the relevant parameters and internal settings of the external signal ES. And sets the clock frequency of the transmission stream output module according to the transmission code rate, so that the demodulator 110 demodulates the external signal ES according to the set clock frequency to obtain the stream data TS, and transmits the stream data TS to the conditional access apparatus 120. The demodulator 110 may also include other modules for generating data streams, but is not limited thereto.
The Conditional Access device 120 (or CAM) of the present embodiment is a card-type device, and a user can purchase the Conditional Access device 120 from a specific vendor and electrically connect to the transport stream receiving device 100 through a Common Interface (CI), so that the user can view additional digital image content. Examples of the Universal Interface include, but are not limited to, Universal Serial Bus (USB), firewire, ethernet, Universal Asynchronous Receiver/Transmitter (UART), Serial Peripheral Interface (SPI), and the like. The stream decoder 130 is, for example, a binary decoder, a binary-decimal decoder, a display decoder, or other similar devices or combinations of devices capable of decoding a stream. The stream decoder 130 receives the streamed data output from the conditional access device 120, decompresses the compressed streamed data, and presents the video content to the user.
The controller 140 includes, for example, a Central Processing Unit (CPU), or other Programmable general purpose or special purpose Microprocessor (Microprocessor), Digital Signal Processor (DSP), Programmable controller, Application Specific Integrated Circuit (ASIC), Programmable Logic Device (PLD), or other similar Device or combination of devices. Further, the controller 140 may also include a memory. The controller 140 is coupled to the demodulator 110 and the conditional access device 120. The controller 140 of the present embodiment is connected to the conditional access apparatus 120 via a general-purpose interface.
In order to view the extra digital video content, the conditional access apparatus 120 obtains the stream data TS through the demodulator 110 and performs a specific type of decryption/decoding on the stream data TS, so that the decoded stream data can be decompressed by the stream decoder 130 to obtain a digital video for normal playing. If the conditional access apparatus 120 is not available, the additional digital video contents cannot be played normally because they are not decrypted/decoded. Therefore, the conditional access apparatus 120 still needs to know the clock frequency corresponding to the stream data TS when performing decryption/decoding.
Since some of the current image modulation techniques (e.g., Adaptive Code Modulation (ACM)/Variable Code Modulation (VCM)) allow the clock frequency to vary based on different situations, the demodulator 110 can configure a higher clock frequency and have a larger redundancy for various clock frequency variations, so that the demodulation/decoding operation can be performed normally. However, the conditional access device 120 may only support a specific number of clock frequencies or a specific range of clock frequencies due to hardware or design concerns. Therefore, when the conditional access apparatus 120 cannot support some clock frequencies adjusted or set by the demodulator 110, an error will occur in the decryption/decoding process of the conditional access apparatus 120, and the stream decoder 130 cannot output digital images for normal playing.
Therefore, the embodiment of the invention uses the controller 140 to configure the demodulator 110 such that the demodulator 110 transmits the corresponding streaming data TS to the conditional access device 120 according to the preset clock frequency, and thereby detects the maximum allowable clock frequency that can be used and allowed by the conditional access device 120. In this way, the controller 140 can control the modem 110 to perform demodulation/decoding operations mainly using the highest allowable clock frequency supported by the conditional access apparatus 120, so that the transmission stream processed by the conditional access apparatus 120 can be normally outputted and played. The operation of each element and the related step flow are described in detail by the following embodiments.
Fig. 2 is a flowchart illustrating a clock frequency setting method 200 of a transmission stream receiving apparatus according to an embodiment of the invention. Referring to fig. 1 and fig. 2, the clock frequency setting method 200 of the present embodiment is applied to the transmission stream receiving apparatus 100 of fig. 1. The timing of the clock frequency setting method 200 can be adjusted according to the requirement of the user. For example, one implementation is that when the dsrx apparatus 100 is booted and the controller 140 detects that the dsr 120 is coupled to the dsr, the clock frequency setting method 200 can be performed to detect the highest allowable clock frequency that the dsr 120 can use and the dsr 120 can tolerate. Alternatively, the clock frequency setting method 200 may be performed by the controller 140 when the ts receiver 100 is running and the conditional access apparatus 120 is connected to the controller 140 of the ts receiver 100 by using the universal interface. Furthermore, when the ts rx 100 needs to utilize the conditional access apparatus 120 to decrypt/decode the encrypted/locked stream data, the controller 140 can perform the clock frequency setting method 200 at this time.
In step S210, the controller 140 configures the demodulator 110 such that the demodulator 110 transmits the corresponding streaming data TS to the conditional access device 120 according to one or more predetermined clock frequencies. In detail, the controller 140 configures the demodulator 110 such that the demodulator 110 transmits the test data corresponding to the predetermined clock frequency to the conditional access device 120. Also, the controller 140 controls the conditional access apparatus 120 to convert the test data into streaming data to be tested. Then, the controller 140 adjusts the predetermined clock frequency according to whether the stream data to be tested can be normally output through the stream decoder 130 or not, until the test data corresponding to the predetermined clock frequency can be normally output through the conditional access apparatus 120 and the stream decoder 130.
In step S220, the controller 140 utilizes the above step S210 to detect the highest allowable clock frequency that can be used and allowed by the conditional access device 120. In detail, the controller 140 sets the predetermined clock frequency corresponding to the streaming data to be tested that can be normally output as the highest allowable clock frequency that can be allowed by the conditional access apparatus 120. Therefore, the demodulator 110 and the conditional access apparatus 120 can normally demodulate/decrypt/decode the serial data TS contained in the external signal ES according to the maximum allowable clock frequency, and the stream decoder 130 can decompress the serial data processed by the conditional access apparatus 120 to normally present the digital image to the user.
The controller 140 can implement the clock frequency setting method in various ways, which will be described in the following with different embodiments and subsequent figures (e.g., fig. 3 and 4). Fig. 3 is a detailed flowchart of a clock frequency setting method according to an embodiment of the invention. The embodiment of FIG. 3 illustrates the controller 140 gradually increasing the default clock frequency to determine whether the highest allowable clock frequency that the conditional access device 120 can use and can tolerate is detected. Steps S310 to S350 in fig. 3 may correspond to step S210 in fig. 2; step S360 in fig. 3 may correspond to step S220 in fig. 2. Referring to fig. 1 and 3, the controller 140 transmits the test data corresponding to the predetermined clock frequency to the conditional access device 120 (step S310). Next, the controller 140 controls the conditional access apparatus 120 to convert the test data into streaming data to be tested (step S320). Then, the controller 140 determines whether the streaming data to be tested can be normally output (step S330). The "whether the streaming data to be tested can be normally outputted" is to compare the original data corresponding to the test data and the streaming data processed by the streaming decoder 130 with each other in a binary manner or in a comparison manner by calculating the result with an algorithm, so as to know whether the two data are the same. If the comparison result is the same, then it is determined that the stream data to be tested can be normally output; if the comparison result is different, it is determined that the stream data to be tested cannot be outputted normally. In addition, the controller 140 can also compare the encoded original data corresponding to the test data with the encoded streaming data that is output by the conditional access device 120 but not decoded by the streaming decoder 130, so as to know whether the encoded original data and the encoded streaming data are the same, and further determine whether the streaming data to be tested can be normally output.
It should be noted that, in other embodiments, it may also be determined whether the streaming data to be tested can be normally output by other internal modules or external devices connected to the ts receiving apparatus 100, instead of the controller 140 only performing the above determination.
If the determination in step S330 is yes, it means that the streaming data to be tested can be normally output. If the determination in step S330 is the first determination and the determination is yes, since the controller 140 cannot know whether the preset clock frequency corresponding to the current streaming data to be tested is the highest allowable clock frequency of the conditional access apparatus 120, the controller 140 gradually increases the preset clock frequency (step S340), and retransmits the test data according to the increased preset clock frequency (step S350). After step S350, the process returns to step S320, and the controller 140 controls the conditional access apparatus 120 to convert the test data into the streaming data to be tested, and determines whether the streaming data to be tested can be normally output again (step S330) until the controller 140 determines that the streaming data to be tested cannot be normally output (i.e., the process proceeds from step S330 to step S360).
If the determination in step S330 is "no", which indicates that the streaming data to be tested corresponding to the predetermined clock frequency cannot be normally output, the controller 140 sets the predetermined clock frequency corresponding to the streaming data to be tested that can be normally output last time to the maximum allowable clock frequency (step S360). That is, the controller 140 sets the predetermined clock frequency of the streaming data to be tested that can be normally outputted through the conditional access apparatus 120 at the previous time as the highest allowable clock frequency that can be allowed by the conditional access apparatus 120.
Fig. 4 is a detailed flowchart of a clock frequency setting method according to another embodiment of the invention. The embodiment of FIG. 4 illustrates the controller 140 gradually ramping down the default clock frequency to determine whether the highest allowable clock frequency that the conditional access device 120 can use and tolerate is detected. Steps S310, S320, S330, S440 and S450 in fig. 4 may correspond to step S210 in fig. 2; step S460 in fig. 4 may correspond to step S220 in fig. 2. Referring to fig. 1 and 4, steps S310 to S330 in fig. 4 are the same as steps S310 to S330 in fig. 3. The difference between the two is that steps S440, S450 and S460 of fig. 4 are different from steps S340, S350 and S360 of fig. 3, and steps S440, S450 and S460 are further described below.
If the determination in step S330 is negative, it means that the streaming data to be tested cannot be output normally. If the step S330 is the first determination and the determination is no, the controller 140 can only know that the preset clock frequency at this time is not the clock frequency supported by the conditional access apparatus 120. Therefore, the controller 140 gradually decreases the predetermined clock frequency (step S440), and retransmits the test data according to the decreased predetermined clock frequency (step S450). After step S450, the process returns to step S320, and the controller 140 controls the conditional access apparatus 120 to convert the test data into the streaming data to be tested, and determines whether the streaming data to be tested can be normally output again (step S330) until the controller 140 determines that the streaming data to be tested can be normally output (i.e., the process proceeds from step S330 to step S460).
If the determination in step S330 is yes, which indicates that the to-be-tested serial data can be normally output, the controller 140 sets the preset clock frequency corresponding to the to-be-tested serial data that can be normally output this time as the maximum allowable clock frequency (step S460). That is, the controller 140 sets the preset clock frequency of the streaming data to be tested that can be normally output through the conditional access apparatus 120 this time to the highest allowable clock frequency that can be allowed by the conditional access apparatus 120.
It should be noted that the maximum allowable clock frequency in the embodiments of the present invention refers to the highest value of all clock frequencies that enable normal data output, which are detected by the ts receiving apparatus and the clock frequency setting method of the present invention. Therefore, in the step of gradually increasing/decreasing the frequency, the frequency interval of each frequency increase/decrease will affect the detected maximum allowable clock frequency. For example, assume that the maximum allowable clock frequency of the conditional access apparatus is 11.6MHz and the default clock frequency is 8MHz, i.e. the controller is turned up from 8 MHz. If the frequency interval is gradually increased by 1MHz each time, the frequency is increased from 8MHz to 12MHz (for example, gradually increased to 9MHz, 10MHz, 11MHz, and 12MHz) through 4 frequency-adjusting steps, and then the serial data to be measured cannot be normally output because 12MHz exceeds 11.6 MHz. Therefore, the present embodiment selects the frequency (i.e., 11MHz) that can be normally outputted last time as the maximum allowable clock frequency. Therefore, the maximum allowable clock frequency detected finally is 11MHz, and the total number of the required frequency-up steps is 4; if the frequency is gradually increased from 8MHz at a frequency interval of 0.5MHz each time, the maximum allowable clock frequency detected finally is 11.5MHz (for example, the maximum allowable clock frequency is gradually increased to 8.5MHz, 9MHz, 9.5MHz, 10MHz, 10.5MHz, 11MHz, 11.5MHz, and 12MHz), and the total number of the required frequency-increasing steps is 8, and the frequency-increasing step is not terminated until 12MHz exceeds 11.6MHz and the serial data to be measured cannot be normally output. Therefore, in the step of gradually increasing/decreasing the frequency, the smaller the frequency interval is, the higher the accuracy of the detected maximum allowable clock frequency is, but the total number of steps required for detection is relatively increased. However, the user can use the present invention according to the actual requirement, and the present invention is not limited thereto.
The controller 140 of the present embodiment can store the maximum allowable clock frequency corresponding to each conditional access device 120 in addition to detecting and obtaining the maximum allowable clock frequency of the conditional access device 120. Therefore, when the user is replacing a different conditional access device 120, the controller 140 does not need to detect the corresponding highest allowable clock frequency again, so that the ts receiving device 100 is more easily compatible with different types of conditional access devices 120. Fig. 5 and the corresponding exemplary embodiment are described here.
Fig. 5 is a flowchart illustrating a clock frequency setting method 500 of a transmission stream receiving apparatus according to another embodiment of the invention. Referring to fig. 1 and 5, it is assumed that the controller 140 in the ts rx 100 detects the maximum allowed clock frequency for a plurality of different dscs 120, and the controller 140 stores the maximum allowed clock frequency and the identification code corresponding to the dscs 120 in a corresponding table or database, and corresponds the stored identification code corresponding to the dscs 120 to the maximum allowed clock frequency.
The controller 140 detects whether the conditional access device 120 is connected to the controller 140 of the ts sink 100 through the universal interface (step S510). If the step S510 is yes, the controller 140 determines whether the identifier corresponding to the currently connected conditional access apparatus 120 is one of the stored identifiers (step S520). If yes in step S520, the controller 140 sets the demodulator 110 using the stored clock frequency corresponding to one of the stored identification codes (step S530). That is, the demodulator 110 performs the processing of the external signal ES using the clock frequency corresponding to the current conditional access apparatus 120 that has been detected last time. The identification code corresponding to the conditional access device 120 is, for example, one of a device name, a device model, a built-in identification code of a manufacturer, a media access control address (MAC), or a combination thereof.
If the step S510 is no, which means that the conditional access apparatus 120 and the controller 140 are not connected through the universal interface, the step S510 may be continuously repeated. If the step S520 is no, which means that the identification code corresponding to the current conditional access apparatus 120 is not one of the stored identification codes, the controller 140 continues to perform the steps S210 and S220 to detect the highest allowable clock frequency that can be used and allowed by the conditional access apparatus 120. Please refer to the flowchart of fig. 2 and the descriptions of the above embodiments for step S210 and step S220.
In summary, the transmission stream receiving apparatus and the clock frequency setting method thereof according to the embodiments of the invention provide the to-be-tested stream data corresponding to different clock frequencies to the conditional access apparatus when the transmission stream receiving apparatus and the conditional access apparatus are connected to each other, and determine whether the stream data processed by the conditional access apparatus is normally output. Therefore, the transmission stream receiving device can detect the highest clock frequency which can be used and allowed by the conditional access device according to the method, so that the subsequent demodulation/decoding operation of the transmission stream is smoother. In addition, the transmission stream receiving device of the embodiment can be compatible with various types of conditional access devices, and can obtain the best image decoding effect under the hardware condition of the conditional access devices.
Although the present invention has been described with reference to the above embodiments, it should be understood that various changes and modifications can be made therein by those skilled in the art without departing from the spirit and scope of the invention.
Claims (14)
1. A transmission stream receiving apparatus, comprising:
a demodulator for receiving an external signal and converting the external signal into serial data;
a controller coupled to the demodulator; and
a conditional access apparatus coupled to the controller,
the controller sets the demodulator to transmit the streaming data to the conditional access device according to a clock frequency, and detects a highest allowable clock frequency that can be used and allowed by the conditional access device.
2. The apparatus of claim 1, wherein the controller transmits test data corresponding to a predetermined clock frequency to the conditional access apparatus, controls the conditional access apparatus to convert the test data into streaming data to be tested, and adjusts the predetermined clock frequency according to whether the streaming data to be tested is normally output, so as to obtain the maximum allowable clock frequency that the conditional access apparatus can tolerate.
3. The transmission stream receiving apparatus according to claim 2, wherein when the streaming data to be tested can be normally output, the controller increases the predetermined clock frequency, retransmits the test data according to the increased predetermined clock frequency, controls the conditional access apparatus to convert the test data into the streaming data to be tested, and determines whether the streaming data to be tested is normally output again until the streaming data to be tested cannot be normally output,
and the controller sets the preset clock frequency corresponding to the streaming data to be tested which can be normally output in the previous time as the highest allowable clock frequency.
4. The transmission stream receiving apparatus according to claim 2, wherein the controller decreases the predetermined clock frequency when the streaming data under test cannot be normally output, controls the conditional access apparatus to convert the test data into the streaming data under test according to the decreased predetermined clock frequency to retransmit the test data, and determines whether the streaming data under test is normally output again until the streaming data under test can be normally output,
and the controller sets the preset clock frequency corresponding to the current to-be-detected serial data which can be normally output at this time as the highest allowable clock frequency.
5. The transmission stream receiving device according to claim 1, wherein the controller is connected to the conditional access apparatus through a common interface,
wherein the controller stores the clock frequency and an identification code corresponding to the conditional access apparatus, and corresponds the identification code corresponding to the conditional access apparatus and having been stored to the clock frequency, and,
when the current conditional access device is connected to the controller through the universal interface, the controller determines whether the identification code corresponding to the current conditional access device is one of the stored identification codes,
if the current identification code corresponding to the conditional access device is one of the stored identification codes, the controller uses the stored clock frequency corresponding to the one of the stored identification codes to set the demodulator.
6. The transmission stream receiving device according to claim 1, wherein the controller is connected to the conditional access apparatus through a common interface,
upon connecting the controller to the conditional access apparatus through the generic interface, the controller detects the highest allowable clock frequency that the conditional access apparatus is capable of using and that the conditional access apparatus is capable of allowing.
7. The transmit stream receiver apparatus of claim 1, wherein the controller detects the highest allowable clock frequency that the conditional access apparatus can use and the conditional access apparatus can tolerate when the transmit stream receiver apparatus performs a power-on initialization and the controller and the conditional access apparatus are coupled to each other.
8. A clock frequency setting method of a transmission stream receiving device, wherein the transmission stream receiving device comprises a demodulator and a conditional access device, the clock frequency setting method comprises:
setting the demodulator to transmit serial data to the conditional access device according to a clock frequency; and
the highest allowable clock frequency that the conditional access apparatus can use and can tolerate is detected.
9. The clock frequency setting method of claim 8, wherein setting the demodulator to transmit streamed data to the conditional access apparatus according to the clock frequency comprises:
transmitting test data corresponding to a preset clock frequency to the conditional access device;
controlling the conditional access apparatus to convert the test data into streaming data to be tested; and
adjusting the preset clock frequency according to whether the streaming data to be detected is normally output,
and, detecting a highest allowable clock frequency that the conditional access apparatus can use and can tolerate includes:
and setting the preset clock frequency corresponding to the normally output streaming data to be detected as the highest allowable clock frequency.
10. The method of claim 9, wherein adjusting the predetermined clock frequency according to whether the streaming data to be tested is normally output comprises:
when the streaming data to be detected can be normally output, increasing the preset clock frequency;
retransmitting the test data according to the increased preset clock frequency, controlling the conditional access device to convert the test data into streaming data to be tested, and judging whether the streaming data to be tested is normally output again until the streaming data to be tested cannot be normally output; and
and setting the preset clock frequency corresponding to the streaming data to be tested which can be normally output in the previous time as the highest allowable clock frequency.
11. The method of claim 9, wherein adjusting the predetermined clock frequency according to whether the streaming data to be tested is normally output comprises:
when the streaming data to be detected cannot be normally output, reducing the preset clock frequency;
retransmitting the test data according to the reduced preset clock frequency, controlling the conditional access device to convert the test data into streaming data to be tested, and judging whether the streaming data to be tested is normally output again until the streaming data to be tested can be normally output; and
and setting the preset clock frequency corresponding to the current to-be-detected serial data which can be normally output at this time as the highest allowable clock frequency.
12. The clock frequency setting method of claim 8, wherein the controller of the TS receiver is connected to the conditional access apparatus through a common interface,
the clock frequency setting method further includes:
storing the identification code corresponding to the highest allowable clock frequency and the conditional access device, and corresponding the identification code which corresponds to the conditional access device and is stored to the clock frequency;
when the current conditional access device is connected to the transmission stream receiving device through the universal interface, judging whether an identification code corresponding to the current conditional access device is one of the stored identification codes or not; and
if the identification code corresponding to the current conditional access device is one of the stored identification codes, the stored clock frequency corresponding to the one of the stored identification codes is used for setting the demodulator.
13. The clock frequency setting method of claim 8, wherein the controller of the TS receiver is connected to the conditional access apparatus through a common interface,
upon connecting the controller to the conditional access apparatus through the generic interface, the controller detects the highest allowable clock frequency that the conditional access apparatus is capable of using and that the conditional access apparatus is capable of allowing.
14. The method of claim 8, wherein the controller detects the highest allowable clock frequency that the conditional access apparatus can use and the conditional access apparatus can tolerate when the ts rx apparatus performs power-on initialization and the controller of the ts rx apparatus and the conditional access apparatus are coupled to each other.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810815720.1A CN110753255B (en) | 2018-07-24 | 2018-07-24 | Transmission stream receiving device and clock frequency setting method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810815720.1A CN110753255B (en) | 2018-07-24 | 2018-07-24 | Transmission stream receiving device and clock frequency setting method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110753255A true CN110753255A (en) | 2020-02-04 |
CN110753255B CN110753255B (en) | 2022-07-29 |
Family
ID=69275224
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810815720.1A Active CN110753255B (en) | 2018-07-24 | 2018-07-24 | Transmission stream receiving device and clock frequency setting method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110753255B (en) |
Citations (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001257664A (en) * | 2000-03-14 | 2001-09-21 | Nec Corp | Clock frequency synchronous control circuit in digital broadcast receiver |
JP2002290929A (en) * | 2001-03-23 | 2002-10-04 | Matsushita Electric Ind Co Ltd | Teletext decoding circuit |
CN1578177A (en) * | 2003-07-23 | 2005-02-09 | Atmel德国有限公司 | Wireless data transmission between base station and transponder |
CN1607486A (en) * | 2003-10-13 | 2005-04-20 | 瑞昱半导体股份有限公司 | Time pulse adjusting device and method |
CN1853411A (en) * | 2003-09-19 | 2006-10-25 | 松下电器产业株式会社 | Digital television receiver module and digital television receiver using the same |
TW200701700A (en) * | 2005-03-24 | 2007-01-01 | Samsung Electronics Co Ltd | Digital broadcasting transmission and reception devices and methods thereof |
CN101097708A (en) * | 2006-06-30 | 2008-01-02 | Nec显示器解决方案株式会社 | Image display apparatus and method of adjusting clock phase |
CN101631051A (en) * | 2009-08-06 | 2010-01-20 | 中兴通讯股份有限公司 | Device and method for adjusting clock |
CN102088632A (en) * | 2010-12-09 | 2011-06-08 | 深圳国微技术有限公司 | Condition receiving apparatus capable of supporting two program sources and implementation method thereof |
CN102098464A (en) * | 2009-11-25 | 2011-06-15 | 夏普株式会社 | Television broadcast receiving apparatus, control method and control program for television broadcast receiving apparatus, and recording medium having the control program recorded thereon |
CN102271232A (en) * | 2010-06-01 | 2011-12-07 | 北京创毅视讯科技有限公司 | Method and device for receiving and decoding analog television signals |
CN202395924U (en) * | 2011-12-26 | 2012-08-22 | 青岛海信电器股份有限公司 | Conditional access system and digital integrated machine |
CN103313126A (en) * | 2013-05-08 | 2013-09-18 | 无锡北斗星通信息科技有限公司 | Multifunctional television capable of receiving wired television signals and network television signals |
CN103530252A (en) * | 2012-10-17 | 2014-01-22 | 矽创电子股份有限公司 | A transmission interface device and method for automatically correcting transmission frequency |
EP2757796A1 (en) * | 2013-01-22 | 2014-07-23 | Panasonic Corporation | Broadcast receiver, and method of controlling the same |
CN104243888A (en) * | 2014-09-28 | 2014-12-24 | 联想(北京)有限公司 | Data processing method and display terminal |
CN204652586U (en) * | 2015-06-15 | 2015-09-16 | 广西广播电视技术中心 | A kind of GB terrestrial digital TV regenerative modulator |
US20150289015A1 (en) * | 2014-04-02 | 2015-10-08 | Samsung Electronics Co., Ltd. | Broadcast receiving apparatus, upgrade device for upgrading the apparatus, broadcast signal processing system, and methods thereof |
CN205142435U (en) * | 2015-11-26 | 2016-04-06 | 深圳市统先科技股份有限公司 | High -speed demodulation circuit of multichannel digital satellite television broadcasting |
CN105681699A (en) * | 2016-01-15 | 2016-06-15 | 四川长虹电器股份有限公司 | Control method and device of LVDS (Low-Voltage Differential Signaling) data clock of liquid crystal display television |
CN106210816A (en) * | 2016-07-18 | 2016-12-07 | 青岛海信电器股份有限公司 | A kind of transport stream TS de-scrambling method and device |
-
2018
- 2018-07-24 CN CN201810815720.1A patent/CN110753255B/en active Active
Patent Citations (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001257664A (en) * | 2000-03-14 | 2001-09-21 | Nec Corp | Clock frequency synchronous control circuit in digital broadcast receiver |
JP2002290929A (en) * | 2001-03-23 | 2002-10-04 | Matsushita Electric Ind Co Ltd | Teletext decoding circuit |
CN1578177A (en) * | 2003-07-23 | 2005-02-09 | Atmel德国有限公司 | Wireless data transmission between base station and transponder |
CN1853411A (en) * | 2003-09-19 | 2006-10-25 | 松下电器产业株式会社 | Digital television receiver module and digital television receiver using the same |
CN1607486A (en) * | 2003-10-13 | 2005-04-20 | 瑞昱半导体股份有限公司 | Time pulse adjusting device and method |
TW200701700A (en) * | 2005-03-24 | 2007-01-01 | Samsung Electronics Co Ltd | Digital broadcasting transmission and reception devices and methods thereof |
CN101097708A (en) * | 2006-06-30 | 2008-01-02 | Nec显示器解决方案株式会社 | Image display apparatus and method of adjusting clock phase |
CN101631051A (en) * | 2009-08-06 | 2010-01-20 | 中兴通讯股份有限公司 | Device and method for adjusting clock |
CN102098464A (en) * | 2009-11-25 | 2011-06-15 | 夏普株式会社 | Television broadcast receiving apparatus, control method and control program for television broadcast receiving apparatus, and recording medium having the control program recorded thereon |
CN102271232A (en) * | 2010-06-01 | 2011-12-07 | 北京创毅视讯科技有限公司 | Method and device for receiving and decoding analog television signals |
CN102088632A (en) * | 2010-12-09 | 2011-06-08 | 深圳国微技术有限公司 | Condition receiving apparatus capable of supporting two program sources and implementation method thereof |
CN202395924U (en) * | 2011-12-26 | 2012-08-22 | 青岛海信电器股份有限公司 | Conditional access system and digital integrated machine |
CN103530252A (en) * | 2012-10-17 | 2014-01-22 | 矽创电子股份有限公司 | A transmission interface device and method for automatically correcting transmission frequency |
EP2757796A1 (en) * | 2013-01-22 | 2014-07-23 | Panasonic Corporation | Broadcast receiver, and method of controlling the same |
CN103313126A (en) * | 2013-05-08 | 2013-09-18 | 无锡北斗星通信息科技有限公司 | Multifunctional television capable of receiving wired television signals and network television signals |
US20150289015A1 (en) * | 2014-04-02 | 2015-10-08 | Samsung Electronics Co., Ltd. | Broadcast receiving apparatus, upgrade device for upgrading the apparatus, broadcast signal processing system, and methods thereof |
CN104243888A (en) * | 2014-09-28 | 2014-12-24 | 联想(北京)有限公司 | Data processing method and display terminal |
CN204652586U (en) * | 2015-06-15 | 2015-09-16 | 广西广播电视技术中心 | A kind of GB terrestrial digital TV regenerative modulator |
CN205142435U (en) * | 2015-11-26 | 2016-04-06 | 深圳市统先科技股份有限公司 | High -speed demodulation circuit of multichannel digital satellite television broadcasting |
CN105681699A (en) * | 2016-01-15 | 2016-06-15 | 四川长虹电器股份有限公司 | Control method and device of LVDS (Low-Voltage Differential Signaling) data clock of liquid crystal display television |
CN106210816A (en) * | 2016-07-18 | 2016-12-07 | 青岛海信电器股份有限公司 | A kind of transport stream TS de-scrambling method and device |
Non-Patent Citations (1)
Title |
---|
刘利敏: "卫星电视接收机各单元常用芯片工作状态的检测方法", 《家电检修技术》 * |
Also Published As
Publication number | Publication date |
---|---|
CN110753255B (en) | 2022-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI262719B (en) | Method and system for an integrated VSB/QAM/NTSC/OOB plug-and-play DTV receiver | |
JP4885456B2 (en) | Method, system and network entity for indicating a hierarchical mode for a transport stream carried on a broadband signal | |
US7526791B2 (en) | System and method for an interactive broadband system-on-chip with a reconfigurable interface | |
JP2007037122A (en) | Broadcast receiving/transmitting device, radio a/v system, and control method of radio a/v system | |
KR20090111558A (en) | Broadcasting apparatus and firmware upgrade method thereof | |
US11323768B2 (en) | Reducing latency during service change and improving robustness in advanced television systems committee (ATSC) 3.0 system | |
TWI487372B (en) | Apparatuses and methods for scanning channels, analog and digital television receiver and computer readable medium | |
US8938042B2 (en) | Automatically synchronizing ring oscillator frequency of a receiver | |
WO2015078416A1 (en) | Television signal receiving module and receiving method | |
KR20160130772A (en) | Apparatus and method for controlling an audio/video connection in a device | |
US9912984B2 (en) | Devices and methods for obtaining media stream with adaptive resolutions | |
CN110753255B (en) | Transmission stream receiving device and clock frequency setting method thereof | |
US11006167B2 (en) | Display apparatus, method of controlling the same, and recording medium thereof | |
CN108200476A (en) | The set-top-box system and method for a kind of while compatible multiple and different condition receiving systems | |
CN104469459A (en) | OTT audio and video modulation circuit and modulation output method of OTT audio and video modulation circuit | |
CN112673589B (en) | Display device, method of controlling the same, and recording medium thereof | |
US11190835B2 (en) | Intelligent unload of broadcaster application on channel change | |
CN111886873B (en) | Method for processing an audiovisual stream and corresponding device, electronic assembly, system, computer-readable program product, and storage medium | |
US20180184174A1 (en) | Broadcast receiver and controlling method thereof | |
CN103731713A (en) | Television signal receiving system and method | |
KR100687790B1 (en) | Set-top box having front/ir and initialization method thereby | |
CN101335850A (en) | Image displaying method and display apparatus using the same | |
EP3466087B1 (en) | Content capture and distribution system | |
EP2693763A1 (en) | Method of content transaction and apparatus for content transaction | |
TWI289406B (en) | Television signal-receiving module |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |