CN108156494B - Method and device for descrambling digital television program and digital television terminal - Google Patents
Method and device for descrambling digital television program and digital television terminal Download PDFInfo
- Publication number
- CN108156494B CN108156494B CN201711450360.1A CN201711450360A CN108156494B CN 108156494 B CN108156494 B CN 108156494B CN 201711450360 A CN201711450360 A CN 201711450360A CN 108156494 B CN108156494 B CN 108156494B
- Authority
- CN
- China
- Prior art keywords
- channel
- cam
- descramble
- cam card
- authority
- 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 42
- 238000013475 authorization Methods 0.000 claims description 13
- 230000004913 activation Effects 0.000 claims description 11
- 230000009977 dual effect Effects 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 claims description 7
- 230000006870 function Effects 0.000 claims description 7
- 230000008569 process Effects 0.000 abstract description 10
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 239000002699 waste material Substances 0.000 description 4
- 230000003213 activating effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000012545 processing Methods 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/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/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
-
- 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/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/462—Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
- H04N21/4627—Rights management associated to the content
-
- 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/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/466—Learning process for intelligent management, e.g. learning user preferences for recommending movies
- H04N21/4667—Processing of monitored end-user data, e.g. trend analysis based on the log file of viewer selections
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a method for selecting and descrambling a digital television program in a double CAM card, which comprises the following steps: receiving a service request message for enabling a program of a first channel; if the two CAM cards configured by the current terminal have the authority to descramble the first channel, searching a second channel according to the history record of simultaneous starting of the two channels, wherein the second channel is the channel with the longest starting time when being simultaneously started with the first channel; and if only one of the two CAM cards has the authority to descramble the second channel, transmitting the transport stream corresponding to the first channel to the CAM card without the authority to descramble the second channel. The problem that in the prior art, because a digital television terminal cannot optimize a selection mode of a CAM card for two programs which are started simultaneously, when the CAM card descrambling a first program is needed again by a second program, and the other CAM card is in an idle state although having the authority to process the first program, the resources of the CAM card are wasted and the user experience is poor is solved.
Description
Technical Field
The invention relates to the technical field of digital televisions, in particular to a method and a device for selectively descrambling digital television programs in a double CAM card.
Background
At present, in the field of Digital television, many countries and regions adopt or are compatible with Digital television standards of DVB (Digital Video Broadcasting), but in a specific implementation process, technical solutions adopted by operators are different, in particular, a CAS (Conditional Access System) responsible for Digital television program transmission security is provided, in order to avoid a problem that a Digital television manufacturer needs to issue different versions of Digital television products for different CAS schemes, in the prior art, a CI (Common Interface) is provided in a Digital television, a signal receiving end in the Digital television transmits a received Digital signal to a CAM (Conditional Access Module) card through the CI Interface, and the CAM card descrambles the Digital signal adopting different CAS schemes.
At present, in order to meet the requirement of a user for starting multiple channels of programs simultaneously, a plurality of terminal schemes include a picture-in-picture function for watching two channels of live programs simultaneously or a channel of program for live broadcasting, a channel of program for recording and a channel of program for starting recording, and the like, two sets of CAM card schemes are mostly arranged in terminal equipment such as a television all-in-one machine or a set top box scheme, so as to realize a descrambling function aiming at programs configured on different frequency points or digital signals adopting different CAS scrambling schemes, the two sets of CAM cards can correspond to different watching authorities, when the digital television program on a channel is transmitted, the digital television provides a relevant menu option for the user, and the user can select the CAM card capable of descrambling the channel of the program to realize the descrambling function.
However, because the descrambling capabilities of different CAM cards are different for different CAS schemes and even for different services of the same operator, for programs on a channel, there may be situations where both CAM cards have permission to descramble, or where one CAM card has permission to descramble, or even where both CAM cards have no permission to descramble. In the prior art, when there are multiple CAM cards, the user selects the CAM card randomly or arbitrarily, so when the user desires to enable two paths of scrambled programs, it is often the case that descrambling fails due to insufficient descrambling capability of a certain CAM card, for example, for CAM card a, it has the capability of descrambling the programs on channel 1 and channel 2, for CAM card B, it can only descramble the programs on channel 1, when the user first enables channel 1 to watch or record, the user or the digital television terminal selects CAM card a to descramble channel 1, when the user enables channel 2 to watch or record again, because CAM card a is already occupied by channel 1, and CAM card B cannot descramble the programs on channel 2, therefore, the user cannot enable channel 2 while enabling channel 1, in fact, if channel 1 is descrambled, in order to solve the conflict, the user can only execute the operation of actively switching the CAM card by suspending or quitting the currently started television program, so that the user can continue to watch the program, even some users do not know the authority condition of the CAM card, and only can abandon the starting of the channel 2, so that the user experience is poor.
Disclosure of Invention
The embodiment of the application provides a method and a device for selecting and descrambling digital television programs in a double-CAM card, and solves the problems of CAM card resource waste and poor user experience caused by the fact that in the prior art, a CAM card descrambling a first program is required again by a second program while another CAM card is in an idle state although the other CAM card has the authority to process the first program because a digital television terminal cannot optimize the selection mode of the CAM card for two programs started simultaneously.
In a first aspect, an embodiment of the present application provides a method for selectively descrambling a digital television program in a dual CAM card, where the method includes:
receiving a service request message for enabling a program of a first channel;
if the two CAM cards configured by the current terminal have the authority to descramble the first channel, searching a second channel according to the history record of simultaneous starting of the two channels, wherein the second channel is the channel with the longest starting time when being simultaneously started with the first channel;
if only one of the two CAM cards has the authority to descramble the second channel, the transport stream corresponding to the first channel is sent to the CAM card without the authority to descramble the second channel, so that the CAM card without the authority to descramble the second channel is adopted to descramble the first channel.
In a second aspect, an embodiment of the present application provides an apparatus for selective descrambling of a digital television program in a dual CAM card, where the apparatus includes:
a service message receiving unit, configured to receive a service request message for enabling a program of a first channel;
the channel searching unit is used for searching a second channel according to the history record of simultaneous starting of the two channels if the two CAM cards configured by the current terminal have the authority to descramble the first channel, wherein the second channel is the channel with the longest starting time when the second channel and the first channel are simultaneously started;
and the transport stream sending unit is used for sending the transport stream corresponding to the first channel to the CAM card without the authority to descramble the second channel if only one of the two CAM cards has the authority to descramble the second channel, so that the CAM card without the authority to descramble the second channel is adopted to descramble the first channel.
In a third aspect, an embodiment of the present application provides a digital television terminal, where the digital television terminal includes: a processor; and a memory communicatively coupled to the processor;
wherein the memory stores readable instructions which, when executed by the processor, implement the method of any one of claims 1-8.
In the embodiment of the invention, after receiving the service request message for starting the program of the first channel, the service request message is not directly sent to the user for selecting the CAM card as in the prior art, or is randomly selected by the digital television terminal based on the descrambling capability of the CAM card, if two CAM cards configured by the current terminal have the authority to descramble the first channel, the second channel is searched according to the history records started by the two channels at the same time, and the second channel is the channel with the longest watching duration when the second channel is started at the same time with the first channel; and further, if only one of the two CAM cards has the authority to descramble the second channel, transmitting the transport stream corresponding to the first channel to the CAM card which does not have the authority to descramble the second channel, so that the CAM card which does not have the authority to descramble the second channel is adopted to descramble the first channel. The watching habit of the user is predicted by starting the use duration of the two channels simultaneously for the user, the CAM card which can descramble the second channel is determined, a CAM card without the ability to descramble the second channel is therefore selected to descramble the first channel, and, thus, if a service request to enable programming of the second channel is subsequently received, it may be determined that the mobile station is currently in an idle state, that is, the CAM card having the authority to descramble the second channel descrambles the second channel, thereby avoiding that when the CAM card descrambling the first channel is needed again, another CAM card has the authority to process the program of the first channel, but because there is no authority to process the second channel program, the other CAM card is idle, or in order to solve the conflict, the two paths of television programs can be started normally only by the operation of actively switching the CAM card by the user for pausing or quitting the currently started television program. Finally, the problems of CAM card resource waste and poor user experience caused by the randomness of user selection or television terminal selection are avoided.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flowchart of a method for selecting descrambling of a digital television program in a dual CAM card described in the embodiment of the present application;
fig. 2 is a flowchart of a method of a specific process of searching for a second channel described in an embodiment of the present application;
FIG. 3 is a block diagram of an apparatus for selectively descrambling a digital television program in a dual CAM card as described in the embodiments of the present application;
fig. 4 is a schematic block diagram of a digital television terminal described in the embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
In the embodiment of the present invention, the digital television is specifically a television device that plays a digital television program, and the digital television program is transmitted by means of a digital television signal. Specifically, the Digital television signals in the embodiment of the present invention are all Digital television signals adopting the DVB (Digital Video Broadcasting) standard.
Specifically, the digital television program is issued by an operator and transmitted to a user, and the operator for operating the digital television program is different for different countries or regions, for example, in the continental china, the operator for the digital television program is specifically the national central office of radio and television.
In the process of digital television transmission, in order to ensure the safety of the transmitted digital television signal, the operator usually scrambles the digital television signal. In this case, only the user who subscribes to the relevant digital television program can descramble the scrambled digital television signal, and even if the user who does not subscribe to the relevant digital television program illegally acquires the scrambled digital television signal, the digital television cannot play the television program corresponding to the digital television signal because the user cannot descramble the scrambled digital television signal.
In the prior art, as the requirement for the functions of multi-channel live broadcasting and recording is more and more strong, the situation that a digital television all-in-one machine or a set top box has double CAM card slots is more and more common, and it is common that two CI slots of CAM cards are usually arranged, after a digital television signal is descrambled by the CAM card, the corresponding descrambled digital television signal is sent to a digital television through a CI interface, and the digital television plays a television program corresponding to the digital television signal. Different conditional access systems, i.e. different general scrambling algorithms for scrambling digital tv, may be used for different operators or different services of the same operator. Therefore, the two CAM cards configured in the current digital television terminal may have different descrambling rights, that is, for example, a user may descramble a high-definition television program through one CAM card and descramble a sports television program of each country with the other CAM card, and the different CAM cards may have different descrambling rights, which may cause that both the two cards are authorized for a program on one channel, or one card is authorized, the other card is not authorized, and neither card is authorized. The present television usually gives the user the option of the CAM card, for example, the pop-up menu is a descrambling CAM card used when the user designates the current program to be enabled, or the terminal randomly decides under the condition that the CAM card has the authority, which is the randomness phenomenon of user selection or terminal selection in the prior art, which often causes the CAM card resource not to be effectively and reasonably utilized, and causes the problems described in the background technology of the present invention.
In order to solve the above problems, the technical solution of the present application will be described in detail below with reference to the drawings and specific embodiments.
As shown in fig. 1, an embodiment of the present application provides a method for selective descrambling of a digital television program in a dual CAM card, where the method includes:
step S101: receiving a service request message for enabling a program of a first channel;
step S102: if the two CAM cards configured by the current terminal have the authority to descramble the first channel, searching a second channel according to the history record of simultaneous starting of the two channels, wherein the second channel is the channel with the longest starting time when being simultaneously started with the first channel;
step S103: if only one of the two CAM cards has the authority to descramble the second channel, the transport stream corresponding to the first channel is sent to the CAM card without the authority to descramble the second channel, so that the CAM card without the authority to descramble the second channel is adopted to descramble the first channel.
In the embodiment of the present invention, the user may send the service request message to the digital television in various manners, for example, send the service request message through a remote control device connected to the digital television in an infrared manner, a wireless manner, a wired manner, or send the service request message through a button or a touch screen provided on the digital television, which is not limited herein. Of course, the remote control device may specifically include a remote controller, and various types of intelligent terminals, such as a mobile phone, a tablet computer, and the like, which is not limited herein.
For example, the user may select a first channel to be recorded or played through a remote controller, and then click a confirmation button to send a service request message for the first channel to the digital television, where the action of selecting the first channel may specifically be to directly determine the channel, or open a pip interface for channel selection, or select to record a related program of a certain channel in the recorded program, and so on.
In step S101, if the digital television receives a service request message for enabling a program of a first channel, the digital television may receive a Transport Stream of the first channel according to an identifier of the first channel, where the Transport Stream is also called a Transport Stream (TS) Stream, specifically, a digital signal of the first channel, which includes a data signal of the television program of the first channel, and information related to scrambling of the digital television signal by an operator, such as an identifier of a conditional access system.
After receiving the transport stream of the first channel, the digital television first determines in step S102 whether two CAM cards currently configured by the terminal have uniform rights to descramble the first channel, and if so, further searches for the second channel according to a history record enabled by the two channels at the same time, where the content recorded in the history record is viewing duration information of other channels simultaneously enabled with the first channel. The specific process of searching for the second channel may include the following steps, as shown in fig. 2:
step S201: reading history records of all channels enabled simultaneously with the first channel from a preset database;
step S202: sequentially comparing the duration information of the simultaneous activation of all the channels and the first channel;
step S203: and taking the channel with the longest activation time length simultaneously with the first channel in all the channels as a second channel.
In fact, the watching behavior of each user is regular, for example, someone likes watching the art program while following a movie, someone likes watching a sports channel and a movie channel, someone likes watching a news channel and a documentary, etc., and in a family, in the tv pip function, the watching preference of a plurality of users together is also regular, for example, the elderly and children watch tv together, and the drama channel and the children channel are usually selected.
Referring to table 1:
serial number | Channel name | Simultaneously enabled channel names | Duration of simultaneous activation |
1 | CCTV1 | CCTV6 | 100 minutes |
2 | CCTV1 | Beijing satellite television | 60 minutes |
3 | CCTV1 | Jiangsu Wei Shi | 74 minutes |
4 | Zhejiang Wei sight | Hunan Wei Shi | 30 minutes |
…… | …… | …… | …… |
Taking the first channel as CCTV1 as an example, the history records of all channels simultaneously activated with CCTV1, including CCTV6, beijing satellite television, and jiangsu satellite television, can be read from table 1 stored in the database, and the three pieces of time duration information once simultaneously activated with CCTV1 are sequentially compared, after comparison, the time duration for simultaneously activating CCTV6 and CCTV1 is 100 minutes, and the time duration for simultaneously activating CCTV1 channels is the longest, so CCTV6 can be used as the second channel.
Further, the step of searching for the second channel according to the history of simultaneous activation of two channels in step S102 further includes:
and if the two CAM cards have the authority to descramble the second channel, transmitting the transmission stream corresponding to the first channel to a CAM with shorter average use time per day for descrambling based on the average use time per day of each CAM card.
By counting the average use time of each CAM card per day, for example, the average use time of the CAM card a is 1 and a half hour, and the average use time of the CAM card B is 4 hours, when the CAM card is allocated to the transport stream corresponding to the first channel, the CAM card a is preferentially allocated to the first channel, that is, the transport stream corresponding to the first channel is sent to the CAM with the shorter average use time per day for descrambling. Therefore, the CAM card with lower preferential use probability can use the CAM card resources more optimally, and the probability that the CAM card with higher use probability is needed is reduced.
Referring to table 2:
table 2 shows the use of CAM cards stored in the database.
Further, before the step of step S102, if both the two CAM cards configured by the current terminal have the right to descramble the first channel, the method further includes:
and reading the authorization information of the two CAM cards from a database based on the channel identifier of the first channel carried in the service request message, wherein the database stores the corresponding relation between the channel identifier of each channel and the authorization of each CAM card.
Referring to table 3:
channel with a plurality of channels | CAM card 1 authorization scenario | CAM card 2 authorization scenario |
Channel 1-CCTV 1 | Authorization | Authorization |
Channel 2-Beijing satellite television | Authorization | Is not authorized |
Channel 3- - -Shandong Wei Shi | Is not authorized | Authorization |
…… | …… | …… |
The channel identifier may be a channel number or a channel name of each channel and a parameter that may identify the channel information, where the authorization information refers to whether the CAM card is capable of descrambling a program transport stream in the channel.
Further, the correspondence between the channel identifier of each channel stored in the database and whether each CAM card is authorized is obtained as follows:
receiving conditional access information returned by each CAM card after accessing the terminal;
and determining the corresponding relation between the channel identifier of each channel and the authorization of each CAM card according to the conditional access systems supported by the CAM card and the channel descrambling capacity corresponding to each conditional access system in the conditional access information.
In practice, the digital television can acquire each conditional access system supported in the CAM card and the descrambling capability of the CAM card in each conditional access system by communicating with the CAM card after detecting that the CAM card is inserted into the digital television. Therefore, when the user operates the digital television, the digital television can store the descrambling capability of the CAM card in the database according to the acquired descrambling capability of the CAM card so as to prompt the user in time. The digital television is a mature technology for acquiring the descrambling capability of the CAM card, and for example, the digital television may create CA resource and send conditional access request information to the CAM card. The conditional access request information may also be referred to as CA Info Enquiry information. After receiving the conditional access information, the CAM card returns the conditional access information, which may also be called CA Info information, to the television. The conditional access information comprises a plurality of fields to tell the number of programs that the CAM card of the digital television can descramble, the attributes of the programs that can descramble, some authority control information and the like, the digital television can obtain the capability of whether the CAM card can descramble each channel or not by analyzing the related fields of the conditional access information, and then the descrambling capability analysis result of the CAM card is generated into a table shown in a table 3 and is stored in a related database to be called by the television service.
For example, when a television program is normally played in the prior art, if a user selects a certain channel, the digital television may receive a service request message of the user for the channel and a transport stream of the channel. And if the CA _ type of the conditional access system is determined to be CA _ Channel, the number total Channel number of the channels which need to be descrambled simultaneously is obtained, and the obtained number total Channel number of the channels which need to be descrambled simultaneously is compared with the Encrypt _ number corresponding to the access system. And if the total channel number is less than or equal to the Encrypt _ number, sending the TS stream of the channel to the CAM card, receiving the descrambled TS stream returned by the CAM card, and playing or recording the program of the channel. If the total channel number is greater than the Encrypt _ number, the TS stream of the channel is not sent to the CAM card (i.e. the TS stream of the first channel is not routed), and a prompt message of operation failure is sent to prompt the user that the program of the first channel cannot be normally played or recorded because the descrambling capability of the CAM card is limited.
Further, in step S101, after receiving the service request message for enabling the program of the first channel, the method further includes:
if only one of the two CAMs has the authority to descramble the first channel, transmitting the transport stream corresponding to the first channel to the CAM which has the authority to descramble the first channel;
further, in step S103, after the sending the transport stream corresponding to the first channel to the CAM card without permission to descramble the second channel, the method further includes:
receiving a service request message for enabling programs of other channels;
if the CAM card in the current idle state has the authority to descramble the other channels, transmitting the transmission streams corresponding to the other channels to the CAM card in the current idle state to realize a descrambling function;
and updating the time length of the simultaneous activation of the first channel and the other channels into a database.
Because the time length of the simultaneous activation of the two channels can be used as a use basis for judging which CAM card is adopted, a user firstly activates one CAM card to descramble the transmission stream of the first channel, if a subsequent user activates another channel and another current idle CAM card also has the authority to descramble the other channel, the first channel and the other channel are simultaneously activated, and the time length of the simultaneous activation of the first channel and the other channel is updated to a database to be used as a judgment basis for judging which CAM card is adopted when the subsequent similar channel is activated. When the channel data enabled by the user is more and more, the watching preference of the user is more and more accurate, so that the user experience is better and better finally when the method of the embodiment of the application is executed.
Further, after the sending the transport stream corresponding to the first channel to the CAM card without permission to descramble the second channel, the method further includes:
receiving a service request message for enabling a program of a third channel;
if the CAM card in the current idle state does not have the authority to descramble the third channel, judging whether the CAM card currently used for descrambling the first channel has the authority to descramble the third channel;
if so, prompting a user that the CAM card currently used for descrambling the first channel needs to be switched to the CAM card in the current idle state and descrambling the third channel after the CAM card is switched;
if not, prompting the user to reject the service request message for starting the third channel.
For example, if the CAM card 1 is capable of descrambling channel 1 and channel 2, and the CAM card 2 is capable of descrambling channel 1 and channel 3, when the user first views channel 1, if the user finds that the duration of enabling channel 1 and channel 2 by the user is the longest through the historical viewing data of the user, based on the foregoing embodiment of the present application, since the CAM card 2 does not have the right to descramble channel 2, the CAM card 2 may be used as the CAM card for descrambling channel 1, that is, the transport stream data of channel 1 may be sent to the CAM card 2 for descrambling. If the subsequent user starts the channel 2 for watching or recording, the CAM card 1 can be selected as a CAM card for descrambling the channel 2;
however, if the user does not start the channel 2 according to the usual usage habit, but starts the channel 3, and the CAM card 1 in the current idle state does not have the authority to descramble the channel 3, it is further necessary to determine whether the CAM card 2 descrambling the channel 1 has the authority to descramble the channel 3, and after the determination, it is found that the CAM card 2 has the authority to descramble the channel 3, at this time, the user should be reminded, and the CAM card 2 currently used for descrambling the first channel needs to be switched to the CAM card 1 in the current idle state, and after the switching, the CAM card 2 descrambles the channel 3; therefore, the descrambling capacity of each CAM card is utilized to the maximum extent, and the waste of CAM card resources is avoided.
If, in an extreme case, the CAM card 2 does not have the right to descramble the channel 3, that means that neither CAM card currently descrambles the channel 3, the user should be prompted to reject the service request message for enabling the channel 3.
In the embodiment of the invention, after receiving the service request message for starting the program of the first channel, the service request message is not directly sent to the user for selecting the CAM card as in the prior art, or is randomly selected by the digital television terminal based on the descrambling capability of the CAM card, if two CAM cards configured by the current terminal have the authority to descramble the first channel, the second channel is searched according to the history records started by the two channels at the same time, and the second channel is the channel with the longest watching duration when the second channel is started at the same time with the first channel; and further, if only one of the two CAM cards has the authority to descramble the second channel, transmitting the transport stream corresponding to the first channel to the CAM card which does not have the authority to descramble the second channel, so that the CAM card which does not have the authority to descramble the second channel is adopted to descramble the first channel. The watching habit of the user is predicted by starting the use duration of the two channels simultaneously for the user, the CAM card which can descramble the second channel is determined, a CAM card without the ability to descramble the second channel is therefore selected to descramble the first channel, and, thus, if a service request to enable programming of the second channel is subsequently received, it may be determined that the mobile station is currently in an idle state, that is, the CAM card having the authority to descramble the second channel descrambles the second channel, thereby avoiding that when the CAM card descrambling the first channel is needed again, another CAM card has the authority to process the program of the first channel, but because there is no authority to process the second channel program, the other CAM card is idle, or in order to solve the conflict, the two paths of television programs can be started normally only by the operation of actively switching the CAM card by the user for pausing or quitting the currently started television program. Finally, the problems of CAM card resource waste and poor user experience caused by the randomness of user selection or television terminal selection are avoided.
Based on the same inventive concept, the present application further provides an apparatus for selecting and descrambling a digital television program in a dual CAM card, as shown in fig. 3, where the apparatus 300 includes:
a service message receiving unit 301, configured to receive a service request message for enabling a program of a first channel;
a channel searching unit 302, configured to search, if both CAM cards configured in the current terminal have a right to descramble the first channel, a second channel according to a history record of simultaneous activation of the two channels, where the second channel is a channel with a longest viewing duration when the second channel is simultaneously activated with the first channel;
and a transport stream sending unit 303, configured to send the transport stream corresponding to the first channel to a CAM card without permission to descramble the second channel if only one of the two CAM cards has permission to descramble the second channel, so as to descramble the first channel by using the CAM card without permission to descramble the second channel.
Embodiments of the present invention provide a computer-readable medium having stored thereon a computer program, which when executed by a processor, performs the steps of the method of fig. 1 or the steps of the method of fig. 2.
As shown in fig. 4, an embodiment of the present invention provides a digital television terminal, including:
at least one processor 400, and at least one memory 401, wherein the memory 401 stores program code that, when executed by the processing unit, causes the processor 400 to perform the following:
receiving a service request message for enabling a program of a first channel;
if the two CAM cards configured by the current terminal have the authority to descramble the first channel, searching a second channel according to the history record of simultaneous starting of the two channels, wherein the second channel is the channel with the longest starting time when being simultaneously started with the first channel;
if only one of the two CAM cards has the authority to descramble the second channel, the transport stream corresponding to the first channel is sent to the CAM card without the authority to descramble the second channel, so that the CAM card without the authority to descramble the second channel is adopted to descramble the first channel.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (10)
1. A method for selective descrambling of digital television programs in a dual CAM card, the method comprising:
receiving a service request message for enabling a program of a first channel;
if the two CAM cards configured by the current terminal have the authority to descramble the first channel, searching a second channel from a pre-stored history record; the second channel is a channel with the longest starting time when being started simultaneously with the first channel, and the content in the history record is the watching time length information of other channels which are started simultaneously with the first channel;
if only one of the two CAM cards has the authority to descramble the second channel, the transport stream corresponding to the first channel is sent to the CAM card without the authority to descramble the second channel, so that the CAM card without the authority to descramble the second channel is adopted to descramble the first channel.
2. The method according to claim 1, wherein said searching for the second channel from the pre-stored history comprises:
reading history records of all channels enabled simultaneously with the first channel from a preset database;
sequentially comparing the duration information of the simultaneous activation of all the channels and the first channel;
and taking the channel with the longest activation time length simultaneously with the first channel in all the channels as a second channel.
3. The method of claim 1, wherein the step of searching for the second channel from the pre-stored history is further followed by:
and if the two CAM cards have the authority to descramble the second channel, transmitting the transmission stream corresponding to the first channel to a CAM with shorter average use time per day for descrambling based on the average use time per day of each CAM card.
4. The method according to claim 3, wherein the step of descrambling the first channel if both the two CAM cards configured for the current terminal have the right further comprises:
and reading the authorization information of the two CAM cards from a database based on the channel identifier of the first channel carried in the service request message, wherein the database stores the corresponding relation between the channel identifier of each channel and the authorization of each CAM card.
5. The method of claim 4, wherein after receiving the service request message for enabling the program of the first channel, further comprising:
and if only one of the two CAMs has the authority to descramble the first channel, transmitting the transport stream corresponding to the first channel to the CAM which has the authority to descramble the first channel.
6. The method according to any one of claims 1 to 5, wherein after sending the transport stream corresponding to the first channel to the CAM card without permission to descramble the second channel, the method further comprises:
receiving a service request message for enabling programs of other channels;
if the CAM card in the current idle state has the authority to descramble the other channels, transmitting the transmission streams corresponding to the other channels to the CAM card in the current idle state to realize a descrambling function;
and updating the time length of the simultaneous activation of the first channel and the other channels into a database.
7. The method of claim 1, wherein after sending the transport stream corresponding to the first channel to the CAM card without permission to descramble the second channel, the method further comprises:
receiving a service request message for enabling a program of a third channel;
if the CAM card in the current idle state does not have the authority to descramble the third channel, judging whether the CAM card currently used for descrambling the first channel has the authority to descramble the third channel;
if so, prompting a user that the CAM card currently used for descrambling the first channel needs to be switched to the CAM card in the current idle state and descrambling the third channel after the CAM card is switched;
if not, prompting the user to reject the service request message for starting the third channel.
8. The method according to claim 4, wherein the correspondence between the channel identifier of each channel stored in the database and whether each CAM card is authorized is obtained by:
receiving conditional access information returned by each CAM card after accessing the terminal;
and determining the corresponding relation between the channel identifier of each channel and the authorization of each CAM card according to the conditional access systems supported by the CAM card and the channel descrambling capacity corresponding to each conditional access system in the conditional access information.
9. An apparatus for selective descrambling of digital television programs in a dual CAM card, the apparatus comprising:
a service message receiving unit, configured to receive a service request message for enabling a program of a first channel;
the channel searching unit is used for searching a second channel from a pre-stored history record if the two CAM cards configured by the current terminal have the authority to descramble the first channel; the second channel is a channel with the longest starting time when being started simultaneously with the first channel, and the content in the history record is the watching time length information of other channels which are started simultaneously with the first channel;
and the transport stream sending unit is used for sending the transport stream corresponding to the first channel to the CAM card without the authority to descramble the second channel if only one of the two CAM cards has the authority to descramble the second channel, so that the CAM card without the authority to descramble the second channel is adopted to descramble the first channel.
10. A digital television terminal, characterized in that the digital television terminal comprises:
a processor; and
a memory communicatively coupled to the processor; wherein,
the memory stores readable instructions that, when executed by the processor, implement the method of any of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711450360.1A CN108156494B (en) | 2017-12-27 | 2017-12-27 | Method and device for descrambling digital television program and digital television terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711450360.1A CN108156494B (en) | 2017-12-27 | 2017-12-27 | Method and device for descrambling digital television program and digital television terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108156494A CN108156494A (en) | 2018-06-12 |
CN108156494B true CN108156494B (en) | 2020-12-22 |
Family
ID=62463428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711450360.1A Active CN108156494B (en) | 2017-12-27 | 2017-12-27 | Method and device for descrambling digital television program and digital television terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108156494B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101631227A (en) * | 2008-07-15 | 2010-01-20 | 耶德托存取公司 | System and method of enabling decryption of encrypted services |
CN104506914A (en) * | 2014-12-31 | 2015-04-08 | 深圳国微技术有限公司 | Method for controlling digital television program playing and condition receiving module |
CN106454435A (en) * | 2015-08-07 | 2017-02-22 | 阿里巴巴集团控股有限公司 | Conational access method, related device, and system |
CN107343212A (en) * | 2017-07-19 | 2017-11-10 | 青岛海信电器股份有限公司 | A kind of de-scrambling method of DTV, DTV and CAM cards |
CN107396153A (en) * | 2017-08-03 | 2017-11-24 | 青岛海信电器股份有限公司 | Passageway switching method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2207340A1 (en) * | 2009-01-12 | 2010-07-14 | Thomson Licensing | Method and device for reception of control words, and device for transmission thereof |
CN103297852A (en) * | 2013-06-07 | 2013-09-11 | 华为终端有限公司 | Channel change speed improving method, device and system |
-
2017
- 2017-12-27 CN CN201711450360.1A patent/CN108156494B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101631227A (en) * | 2008-07-15 | 2010-01-20 | 耶德托存取公司 | System and method of enabling decryption of encrypted services |
CN104506914A (en) * | 2014-12-31 | 2015-04-08 | 深圳国微技术有限公司 | Method for controlling digital television program playing and condition receiving module |
CN106454435A (en) * | 2015-08-07 | 2017-02-22 | 阿里巴巴集团控股有限公司 | Conational access method, related device, and system |
CN107343212A (en) * | 2017-07-19 | 2017-11-10 | 青岛海信电器股份有限公司 | A kind of de-scrambling method of DTV, DTV and CAM cards |
CN107396153A (en) * | 2017-08-03 | 2017-11-24 | 青岛海信电器股份有限公司 | Passageway switching method and device |
Also Published As
Publication number | Publication date |
---|---|
CN108156494A (en) | 2018-06-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7444413B2 (en) | Authorization access controlled content exchange | |
EP2364546B1 (en) | Method of transmitting data from a receiver to a mobile device | |
US20230058878A1 (en) | Systems and methods for facilitating content discovery based on augmented context | |
CN101636978B (en) | Method of performing data communication with terminal and receiver using the same | |
US10123086B2 (en) | Systems and methods for communications between client devices of a broadcast system | |
US8793502B2 (en) | Method for evaluating user's rights stored in a security module | |
US20060189319A1 (en) | Control of a conditional access mechanism | |
KR20090007632A (en) | User interface methods and apparatus for roaming access to subscription services | |
WO2009078892A1 (en) | Methods and systems that motivate tuning to a transmission channel for a time period | |
CN101385331B (en) | Method and terminal equipment for controlling access of service through broadcasting network | |
US20200053074A1 (en) | Systems and methods for multi-factor authentication | |
EP2355498B1 (en) | Receiving external recording commands at a television receiver | |
CN105451053A (en) | Method, computer program, electronic device, and system | |
CN107343212B (en) | Descrambling method of digital television, digital television and CAM card | |
EP1961233B1 (en) | Enhanced parental control | |
CN108156494B (en) | Method and device for descrambling digital television program and digital television terminal | |
CN109379607B (en) | Channel playing method, device and medium | |
CN108156513B (en) | Program descrambling and recording method, set top box and storage medium | |
US9094734B2 (en) | Advertisement monitor system | |
JP4157905B1 (en) | Automatic channel selection system | |
CN101772959A (en) | A receiver and a processing method for data broadcasting signal | |
US20190306556A1 (en) | Intelligent recognition-pairing for remote media playback systems | |
US20060147042A1 (en) | Method of distributing scrambled services and/or data | |
KR101004461B1 (en) | Method and apparatus for providing data broadcasting in digital broadcasting system | |
WO2019035004A1 (en) | Systems and methods for multi-factor authentication |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No. Applicant after: Hisense Visual Technology Co., Ltd. Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No. Applicant before: QINGDAO HISENSE ELECTRONICS Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |