CN103997678A - Multi-CAS seamless switching method and multi-CAS seamless switching system - Google Patents

Multi-CAS seamless switching method and multi-CAS seamless switching system Download PDF

Info

Publication number
CN103997678A
CN103997678A CN201410169243.8A CN201410169243A CN103997678A CN 103997678 A CN103997678 A CN 103997678A CN 201410169243 A CN201410169243 A CN 201410169243A CN 103997678 A CN103997678 A CN 103997678A
Authority
CN
China
Prior art keywords
cas
parameter
atr
target
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410169243.8A
Other languages
Chinese (zh)
Other versions
CN103997678B (en
Inventor
田钊
王克钊
刘建材
周红宇
晋晓琼
刘乾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN201410169243.8A priority Critical patent/CN103997678B/en
Publication of CN103997678A publication Critical patent/CN103997678A/en
Application granted granted Critical
Publication of CN103997678B publication Critical patent/CN103997678B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a multi-CAS seamless switching method and a multi-CAS seamless switching system. The method comprises the following steps: when that a smart card is inserted is detected, reset communication is carried out between communication parameters of all preset CASs of the system and the smart card, and when reset communication is carried out successfully, target ATR parameters returned by communication are acquired; the acquired target ATR parameters are compared with original ATR parameters of all the preset CASs, and if the acquired target ATR parameters are the same with the original ATR parameters of all the preset CASs, the CASs corresponding to the original ATR parameters are stored in a temporary CAS group; all the CASs in the temporary CAS group are traversed, a target CAS is matched out, and the target CAS is set as the current working CAS; and groups of CAT data and PMT data stored in the system are matched with the current working CAS, CAT data and PMT data in accord with the current working CAS are found out, the interface of the current working CAS is set according to the found CAT data and PMT data, and an audio and video channel is opened.

Description

A kind of many CAS seamless handover method and system
Technical field
The present invention relates to smart machine software field, relate in particular to a kind of many CAS seamless handover method and system.
Background technology
In current domestic digital broadcast television extension process, various places radio and TV operator is that communication security and technical monopoly are considered, conventionally all can introduce a few JiaCA headend equipment manufacturer and jointly signal is encrypted.And most digital broadcast television terminal equipments of selling on market are now all integrated Yi Jia CA manufacturers only on a station terminal equipment, so user selects after a station terminal equipment, just can only use a kind of signal source, the smart card of a kind of CA and correspondence thereof.If need to change the smart card of signal source and other CA manufacturer, just need to again buy new terminal.This has increased economic pressures to terminal use undoubtedly, also virtually radio and TV operator has also been increased purchase cost and the operation cost of multiple terminal equipment.
Condition receiving system CAS(Conditional Access System) be the core of pay-TV broadcast, its major function is to stop illegal invasion digital broadcast network, and allows authorized user to watch specific program and uncommitted user cannot be watched.
CAS is comprised of front end (broadcast) and two parts of terminal (reception), the encrypted work that front end completes the scrambling of broadcast data and generates authorization message and complete descramble key, thereby the program data being transmitted is become to password from plain code, data after scrambling are useless to uncommitted user, and the information that provides descrambling to use to authorized user, these information are multiplexed in the transmission stream of MPEG-2 with the form of encrypting, authorized user can obtain descramble key and realize the descrambling of signal and MPEG-2 decoding after it is decrypted, terminal completes deciphering and descrambling by smart card (or other CA cards) and descrambler.
Application number is 201110026859.6, the applying date is on 01 25th, 2011, the patent of the implementation method > > that < < many CA of Set Top Box by name coexist, this patent discloses a kind of method that multiple CAS selects automatically by software mode in Set Top Box.The method is fixed as principle relatively according to the smart card communications parameter ATR value of several CAS of existing market, judges type and the corresponding CAS thereof of current smart card according to its relatively different ATR value.The method can realize to a certain extent multiple CAS and automatically identify, but different CAS manufacturer smart card ATR values is likely identical, can cause the software logic misjudgment of identifying.In addition, after the smart card upgrading of CAS manufacturer distribution, ATR likely changes, the serious identification error that this also can cause.In addition, in the method, for after selecting different CAS, program can not be accomplished the broadcasting of Automatic continuous, still need user manually to change program or wait for front network Data Update after just may realize the normal play of program.
So existing changing method stability and reliability, convenience are all not good.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art, the object of the present invention is to provide a kind of many CAS seamless handover method and system, be intended to solve existing CAS changing method and have all not good problems of convenience, stability and reliability.
Technical scheme of the present invention is as follows:
Many CAS seamless handover method, wherein, comprises step:
When smart card being detected and insert, by the communication that resets of the communications parameter of all preset CAS of system and smart card, when reset communication is successful, obtain the target ATR parameter that communication is returned;
The original ATR parameter of the target ATR parameter getting and all preset CAS is compared, if identical, the corresponding CAS of original ATR parameter matching is saved in interim CAS group;
Travel through all CAS in interim CAS group, match target CAS wherein, and this target CAS is set as to work at present CAS;
The CAT data of respectively organizing of preserving in system are mated with work at present CAS with PMT data, find the CAT data and the PMT data that meet work at present CAS, and the interface of work at present CAS is set according to the CAT data that find and PMT data, open audio frequency and video passage.
Described many CAS seamless handover method, wherein, described when smart card being detected and insert, by the communication that resets of the communications parameter of all preset CAS of system and smart card, when reset communication when success, the step of obtaining the target ATR parameter that communication returns specifically comprises:
Take out successively the communications parameter of all preset CAS, and respectively with the smart card communication that resets;
Judge whether success of reset communication, if the target ATR parameter that communication is returned is obtained in reset communication success, the then communications parameter of the next preset CAS of Returning utilization and the smart card communication that resets; If the communications parameter of the next preset CAS of Returning utilization and the smart card communication that resets of reset Communications failure, until traveled through the communications parameter of all preset CAS.
Described many CAS seamless handover method, wherein, the described original ATR parameter by the target ATR parameter getting and all preset CAS compares, if identical, the step corresponding CAS of original ATR parameter matching being saved in interim CAS group specifically comprises:
The target ATR parameter getting is compared with the original ATR parameter of preset CAS successively, judge whether identical;
When the original ATR parameter of the target ATR parameter getting and preset one of them CAS is identical, CAS corresponding to this original ATR parameter is saved in interim CAS group, and the original ATR parameter of returning to target ATR parameter that the next one is got and preset CAS compares, until traveled through all target ATR parameters that get;
When the original ATR parameter of the target ATR parameter getting and the CAS of system intialization is not identical, the original ATR parameter of returning to target ATR parameter that the next one is got and preset CAS compares, until traveled through all target ATR parameters that get.
Described many CAS seamless handover method, wherein, all CAS in the interim CAS group of described traversal, match target CAS wherein, and the step that this target CAS is set as work at present CAS is specifically comprised:
CAS in the interim CAS group of initialization, judges that whether initialization is successful successively, if initialization is successful, moves the transmitting and receiving data interface of the corresponding CAS in interim CAS group, obtains the return information of smart card; Otherwise continue next CAS in the interim CAS group of initialization, until traveled through all CAS in interim CAS group;
Whether the return information that judges smart card is identical with preset information, if identical, corresponding CAS is the target CAS matching, if not identical, return and continues next CAS in the interim CAS group of initialization, until traveled through all CAS in interim CAS group.
Described many CAS seamless handover method, wherein, described the CAT data of respectively organizing of preserving in system are mated with work at present CAS with PMT data, find the CAT data and the PMT data that meet work at present CAS, and the interface of work at present CAS is set according to the CAT data that find and PMT data, the step of opening audio frequency and video passage specifically comprises:
That in extraction system, preserves successively respectively organizes CAT data and PMT data, and whether every group of CAT data that judgement is taken out are consistent with work at present CAS with PMT data, the EMM PID obtaining in CAT data if meet, and the ECM PID in PMT data, call the interface of work at present CAS and EMM PID is set and ECM PID, and bind with audio frequency and video passage; If do not meet, next group CAT data and the PMT data of in extraction system, preserving, judge whether to meet, until traveled through all CAT data and PMT data again;
Open audio frequency and video passage, the match is successful for prompting CAS.
Many CAS seamless switch-over system, wherein, comprising:
Target ATR parameter acquisition module, for when smart card being detected and insert, by the communication that resets of the communications parameter of all preset CAS of system and smart card, when reset communication is successful, obtains the target ATR parameter that communication is returned;
Interim CAS group acquisition module, for the original ATR parameter of the target ATR parameter getting and all preset CAS is compared, if identical, is saved to the corresponding CAS of original ATR parameter matching in interim CAS group;
Exact matching module, for traveling through all CAS of interim CAS group, matches target CAS wherein, and this target CAS is set as to work at present CAS;
Playing module, for the CAT data of respectively organizing that system is preserved, mate with work at present CAS with PMT data, find the CAT data and the PMT data that meet work at present CAS, and the interface of work at present CAS is set according to the CAT data that find and PMT data, open audio frequency and video passage.
Described many CAS seamless switch-over system, wherein, described target ATR parameter acquisition module specifically comprises:
Reset communication unit, for taking out successively the communications parameter of all preset CAS, and respectively with the smart card communication that resets;
Target ATR parameter acquiring unit, for judging whether success of reset communication, if the target ATR parameter that communication is returned is obtained in reset communication success, the then communications parameter of the next preset CAS of Returning utilization and the smart card communication that resets; If the communications parameter of the next preset CAS of Returning utilization and the smart card communication that resets of reset Communications failure, until traveled through the communications parameter of all preset CAS.
Described many CAS seamless switch-over system, wherein, described interim CAS group acquisition module specifically comprises:
Comparing unit, for the target ATR parameter getting is compared with the original ATR parameter of preset CAS successively, judges whether identical;
Storage unit, when identical for the original ATR parameter as the target ATR parameter getting and preset one of them CAS, CAS corresponding to this original ATR parameter is saved in interim CAS group, and the original ATR parameter of returning to target ATR parameter that the next one is got and preset CAS compares, until traveled through all target ATR parameters that get;
Cycling element, when not identical for the original ATR parameter as the target ATR parameter getting and the CAS of system intialization, the original ATR parameter of returning to target ATR parameter that the next one is got and preset CAS compares, until traveled through all target ATR parameters that get.
Described many CAS seamless switch-over system, wherein, described exact matching module specifically comprises:
Initialization unit, for the CAS of the interim CAS group of initialization successively, judges whether success of initialization, if initialization success moves the transmitting and receiving data interface of the corresponding CAS in interim CAS group, obtains the return information of smart card; Otherwise continue next CAS in the interim CAS group of initialization, until traveled through all CAS in interim CAS group;
Judging unit, whether identical with preset information for judging the return information of smart card, if identical, corresponding CAS is the target CAS matching, if not identical, return and continue next CAS in the interim CAS group of initialization, until traveled through all CAS in interim CAS group.
Described many CAS seamless switch-over system, wherein, described playing module specifically comprises:
Data searching unit, that for extraction system successively, preserves respectively organizes CAT data and PMT data, and whether every group of CAT data that judgement is taken out are consistent with work at present CAS with PMT data, the EMM PID obtaining in CAT data if meet, and the ECM PID in PMT data, call the interface of work at present CAS and EMM PID is set and ECM PID, and bind with audio frequency and video passage; If do not meet, next group CAT data and the PMT data of in extraction system, preserving, judge whether to meet, until traveled through all CAT data and PMT data again;
Broadcast unit, for opening audio frequency and video passage, the match is successful for prompting CAS.
Beneficial effect: the present invention supports the intelligence of multiple CAS to switch, and support CAS to switch the seamless automatic broadcasting of deutomerite object, without user, manually intervene, the present invention can be applicable to digital broadcast television terminal equipment, digital broadcast television terminal equipment wherein includes but not limited to top box of digital machine, the terminals such as digital TV integrated machine, the present invention can support manual preference pattern and automatic preference pattern, also can be set to manual automated intelligent mixed mode simultaneously, selection scheme is easily provided flexibly can to terminal use and operator, when the invention solves multiple CAS that operator runs in operation process and encrypting, the problem of a plurality of terminal equipments need to be provided, reduced the terminal equipment purchase cost of operator, also make terminal equipment manufacturer to send the adaptive terminal equipment of district operator more by fast open, terminal use's better signal source in safe and efficient ground and do not increase hardware cost at any time then again simultaneously.
Accompanying drawing explanation
Fig. 1 is the flow chart of a kind of many CAS seamless handover method of the present invention preferred embodiment.
Fig. 2 is the particular flow sheet of step S101 in method shown in Fig. 1;
Fig. 3 is the particular flow sheet of step S102 in method shown in Fig. 1;
Fig. 4 is the particular flow sheet of step S103 in method shown in Fig. 1;
Fig. 5 is the particular flow sheet of step S104 in method shown in Fig. 1;
Fig. 6 is the structured flowchart of a kind of many CAS seamless switch-over system of the present invention preferred embodiment;
Fig. 7 is the concrete structure block diagram of target ATR parameter acquisition module in system shown in Figure 6;
Fig. 8 is the concrete structure block diagram of interim CAS group acquisition module in system shown in Figure 6;
Fig. 9 is the concrete structure block diagram of exact matching module in system shown in Figure 6;
Figure 10 is the concrete structure block diagram of playing module in system shown in Figure 6.
Embodiment
The invention provides a kind of many CAS seamless handover method and system, for making object of the present invention, technical scheme and effect clearer, clear and definite, below the present invention is described in more detail.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Refer to Fig. 1, Fig. 1 is the flow chart of a kind of many CAS seamless handover method of the present invention preferred embodiment, and as shown in the figure, it comprises step:
S101, when smart card being detected and insert, by the communication that resets of the communications parameter of all preset CAS of system and smart card, when reset communication is successful, obtain the target ATR parameter that communication is returned;
S102, the original ATR parameter of the target ATR parameter getting and all preset CAS is compared, if identical, the corresponding CAS of original ATR parameter matching is saved in interim CAS group;
S103, travel through all CAS in interim CAS group, match target CAS wherein, and this target CAS is set as to work at present CAS;
S104, the CAT data of respectively organizing of preserving in system are mated with work at present CAS with PMT data, find the CAT data and the PMT data that meet work at present CAS, and the interface of work at present CAS is set according to the CAT data that find and PMT data, open audio frequency and video passage.
In the present embodiment, the Dual Matching combining by step S102 and step S103, assurance matches accurate target CAS, and target CAS is set as to work at present CAS, finally find the CAT data and the PMT data that meet work at present CAS, and the CAT data based on finding and PMT data arrange the interface of work at present CAS, open audio frequency and video passage, the seamless intelligence that has so just realized CAS is switched, and support CAS to switch the seamless automatic broadcasting of deutomerite object, owing to manually intervening without user, thereby really realized the safe and intelligent that CAS selects.
As the preferred embodiment of the present invention, as shown in Figure 2, described step S101 specifically comprises:
S201, take out successively the communications parameter of all preset CAS, and respectively with the smart card communication that resets;
In this step, first system can be according to current C AS running status, and prompting user extracts or insert smart card, and the smart card of system meeting sense terminals equipment inserts state, and when smart card insertion being detected, communication resets.If smart card detected, do not insert, continue prompting user and extract or insert smart card.
After smart card being detected and inserting, the communications parameter of all preset CAS of extraction system, and respectively at the smart card communication that resets, judge that in preset CAS, which can carry out normal communication with smart card.
S202, judge whether success of reset communication; If reset communication success, performs step S203; Otherwise directly return to step S201 and utilize the communication that resets of the communications parameter of next preset CAS and smart card, until traveled through the communications parameter of all preset CAS.
S203, obtain the target ATR parameter that communication is returned, then return to step S201 and utilize the communication that resets of the communications parameter of next preset CAS and smart card.
In this step, if the communications parameter of a certain CAS and smart card reset communication success, can obtain the target ATR parameter that communication is returned, whether the communications parameter and the smart card that judge so successively each CAS reset communication successfully, if successful obtain the target ATR parameter of returning, if failure, then to the communication that resets of the communications parameter of the preset CAS of the next one, until test the communications parameter of all preset CAS.So just the communications parameter of all CAS is tested, and obtained all target ATR parameters of can communication returning during success.The response value that when described ATR parameter is response reset operation, smart card provides.
As the preferred embodiment of the present invention, as shown in Figure 3, described step S102 specifically comprises:
S301, the target ATR parameter getting is compared with the original ATR parameter of preset CAS successively;
S302, judge whether identical; When being, execution step S303, when no, when the original ATR parameter of the target ATR parameter getting and the CAS of system intialization is not identical, the original ATR parameter of returning to target ATR parameter that S301 gets the next one and preset CAS compares, until traveled through all target ATR parameters that get.
This step is that target ATR parameter that abovementioned steps is got compares one by one with the ATR parameter of preset all CAS successively, judges whether that target ATR parameter is identical with the ATR parameter of preset certain CAS.
S303, when the original ATR parameter of the target ATR parameter getting and preset one of them CAS is identical, CAS corresponding to this original ATR parameter is saved in interim CAS group, and the ATR parameter of returning to target ATR parameter that S301 gets the next one and preset CAS compares, until traveled through all target ATR parameters that get;
If it is identical to match the original ATR parameter of the target ATR parameter CAS preset with one of them, preset CAS corresponding to this original ATR parameter is saved in interim CAS group, the like, all target ATR parameters that get have been traveled through, find out all CAS that match, and be saved in interim CAS group.
This step is exactly to judge in not identical situation, more next target ATR parameter is compared, and has traveled through all target ATR parameters that get.
As the preferred embodiment of the present invention, as shown in Figure 4, described step S103 specifically comprises:
S401, the CAS in the interim CAS group of initialization successively, judge whether success of initialization, if initialization success proceeds to step S402; Otherwise continue next CAS in the interim CAS group of initialization, until traveled through all CAS in interim CAS group;
First each CAS in the interim CAS group of initialization, if initialization success, the more whether success of judging section operation function, proceed to step S402, if certain CAS initialization is unsuccessful, continue next CAS in the interim CAS group of initialization, until traveled through all CAS in interim CAS group.
S402, move the transmitting and receiving data interface of the corresponding CAS in interim CAS group, obtain the return information of smart card;
After judgement CAS initialization success, the transmitting and receiving data interface of the CAS of operation initialization success, obtains the return information of smart card, and this return information has reflected whether function moves successfully, can be used as and judges that whether CAS is the basis of correct CAS.
S403, judge that whether the return information of smart card is identical with preset information, if identical, corresponding CAS is the target CAS matching, if not identical, return to step S401 and continue next CAS in the interim CAS group of initialization, until traveled through all CAS in interim CAS group.
This step is that the preset information of the return information of smart card and system is compared, judge whether identical, as identical, judge that corresponding CAS is as the correct target CAS matching, if not identical, can return to continuation initialization and then obtain return information, all CAS are traveled through, if do not find target CAS, can notify user CAS operation irregularity, finish all flow processs.
After this step completes, just can get the target CAS of exact matching, can notify user CAS working properly, continue next playing flow.
As the preferred embodiment of the present invention, as shown in Figure 5, described step S104 specifically comprises:
S501, preserve in extraction system successively respectively organize CAT data and PMT data, and whether every group of CAT data that judgement is taken out be consistent with work at present CAS with PMT data, proceeds to step S502 if meet; If do not meet, next group CAT data and the PMT data of in extraction system, preserving, judge whether to meet, until traveled through all CAT data and PMT data again;
This step is to play for realizing without the program of user intervention, first can suspend audio frequency and video passage, and that then preserves in extraction system successively respectively organizes CAT data and PMT data, finds the CAT data and the PMT data that meet work at present CAS.CAT data and PMT data are stored in this locality.If all CAT data and PMT data all do not meet work at present CAS, process ends, it fails to match or CAS operation irregularity to notify user CAS.
CAT(CAT Conditional Access Table) provided CAS for information about, the cipher mode that it has described program, the PID that has comprised EMM, only has the decoder of mandate to be received key and to be decoded corresponding data flow by CAT.EMM and ECM are Entitlement Management Message, EMM also comprises the authorized user messages such as intelligent card numbers, mandate time, authorization mechanism, ECM also comprises the information such as time, program price, program authorization control, and EMM mainly completes the mandate to user, and ECM is the management information towards program.
PMT(Program Map Table) intactly describe Liao Yi road program and by which PES formed, the PID of each PES be respectively what etc., PMT gives the decode clock PCR of each road program simultaneously.
PID(Packet Identifier) Packet Identifier, is the key of identification code stream information character, is " identity card " of programme information, and different TV programme and business information correspondence be PID code ceaselessly.When receiver will receive some appointed programs, first from Program Association Table, obtain the pid value of the Program Map Table of this program, then from TS, find out the corresponding Program Map Table of pid value therewith.
S502, obtain the EMM PID in CAT data, and the ECM PID in PMT data, the interface that calls work at present CAS arranges EMM PID and ECM PID, and binds with audio frequency and video passage;
This step is from CAT data, to obtain EMM PID, obtains ECM PID from PMT data, then call the interface assignment resource of work at present CAS and EMM PID be set and ECM PID, and by the interface of work at present CAS and the binding of audio frequency and video passage.
S503, unlatching audio frequency and video passage, the match is successful for prompting CAS.
When again opening audio frequency and video passage, the match is successful can to point out user CAS, carries out the broadcasting of program.Can be according to the result of coupling by system of the present invention, automatically from the data of storage, find correct data, arrange and reopen the broadcasting of audio/video program, realized without the intellectuality of user intervention and having play, simultaneously owing to passing through Dual Matching step in the process of identification CAS, guaranteed not to be subject to the impact of smart card upgrading, replacing etc., and exact matching is to correct CAS.
Based on said method, the present invention also provides the preferred embodiment of a kind of many CAS seamless switch-over system, and as shown in Figure 6, it comprises:
Target ATR parameter acquisition module 100, for when smart card being detected and insert, by the communication that resets of the communications parameter of all preset CAS of system and smart card, when reset communication is successful, obtains the target ATR parameter that communication is returned;
Interim CAS group acquisition module 200, for the original ATR parameter of the target ATR parameter getting and all preset CAS is compared, if identical, is saved to the corresponding CAS of original ATR parameter matching in interim CAS group;
Exact matching module 300, for traveling through all CAS of interim CAS group, matches target CAS wherein, and this target CAS is set as to work at present CAS;
Playing module 400, for the CAT data of respectively organizing that system is preserved, mate with work at present CAS with PMT data, find the CAT data and the PMT data that meet work at present CAS, and the interface of work at present CAS is set according to the CAT data that find and PMT data, open audio frequency and video passage.
Further, as shown in Figure 7, described target ATR parameter acquisition module 100 specifically comprises:
Reset communication unit 110, for taking out successively the communications parameter of all preset CAS, and respectively with the smart card communication that resets;
Target ATR parameter acquiring unit 120, for judging whether success of reset communication, if the target ATR parameter that communication is returned is obtained in reset communication success, the then communications parameter of the next preset CAS of Returning utilization and the smart card communication that resets; If the communications parameter of the next preset CAS of Returning utilization and the smart card communication that resets of reset Communications failure, until traveled through the communications parameter of all preset CAS.
Further, as shown in Figure 8, described interim CAS group acquisition module 200 specifically comprises:
Comparing unit 210, for the target ATR parameter getting is compared with the original ATR parameter of preset CAS successively, judges whether identical;
Storage unit 220, when identical for the original ATR parameter as the target ATR parameter getting and preset one of them CAS, CAS corresponding to this original ATR parameter is saved in interim CAS group, and the original ATR parameter of returning to target ATR parameter that the next one is got and preset CAS compares, until traveled through all target ATR parameters that get;
Cycling element 230, when not identical for the original ATR parameter as the target ATR parameter getting and the CAS of system intialization, the original ATR parameter of returning to target ATR parameter that the next one is got and preset CAS compares, until traveled through all target ATR parameters that get.
Further, as shown in Figure 9, described exact matching module 300 specifically comprises:
Initialization unit 310, for the CAS of the interim CAS group of initialization successively, judges whether success of initialization, if initialization success moves the transmitting and receiving data interface of the corresponding CAS in interim CAS group, obtains the return information of smart card; Otherwise continue next CAS in the interim CAS group of initialization, until traveled through all CAS in interim CAS group;
Judging unit 320, whether identical with preset information for judging the return information of smart card, if identical, corresponding CAS is the target CAS matching, if not identical, return and continue next CAS in the interim CAS group of initialization, until traveled through all CAS in interim CAS group.
Further, as shown in figure 10, described playing module 400 specifically comprises:
Data searching unit 410, that for extraction system successively, preserves respectively organizes CAT data and PMT data, and whether every group of CAT data that judgement is taken out are consistent with work at present CAS with PMT data, the EMM PID obtaining in CAT data if meet, and the ECM PID in PMT data, call the interface of work at present CAS and EMM PID is set and ECM PID, and bind with audio frequency and video passage; If do not meet, next group CAT data and the PMT data of in extraction system, preserving, judge whether to meet, until traveled through all CAT data and PMT data again;
Broadcast unit 420, for opening audio frequency and video passage, the match is successful for prompting CAS.
About the ins and outs of above-mentioned modular unit, in method above, existing detailed description in detail, therefore repeat no more.
In sum, the present invention supports the intelligence of multiple CAS to switch, and support CAS to switch the seamless automatic broadcasting of deutomerite object, without user, manually intervene, the present invention can be applicable to digital broadcast television terminal equipment, digital broadcast television terminal equipment wherein includes but not limited to top box of digital machine, the terminals such as digital TV integrated machine, the present invention can support manual preference pattern and automatic preference pattern, also can be set to manual automated intelligent mixed mode simultaneously, selection scheme is easily provided flexibly can to terminal use and operator, when the invention solves multiple CAS that operator runs in operation process and encrypting, the problem of a plurality of terminal equipments need to be provided, reduced the terminal equipment purchase cost of operator, also make terminal equipment manufacturer to send the adaptive terminal equipment of district operator more by fast open, terminal use's better signal source in safe and efficient ground and do not increase hardware cost at any time then again simultaneously.
Should be understood that, application of the present invention is not limited to above-mentioned giving an example, and for those of ordinary skills, can be improved according to the above description or convert, and all these improvement and conversion all should belong to the protection range of claims of the present invention.

Claims (10)

1. the seamless handover method of CAS more than, is characterized in that, comprises step:
When smart card being detected and insert, by the communication that resets of the communications parameter of all preset CAS of system and smart card, when reset communication is successful, obtain the target ATR parameter that communication is returned;
The original ATR parameter of the target ATR parameter getting and all preset CAS is compared, if identical, the corresponding CAS of original ATR parameter matching is saved in interim CAS group;
Travel through all CAS in interim CAS group, match target CAS wherein, and this target CAS is set as to work at present CAS;
The CAT data of respectively organizing of preserving in system are mated with work at present CAS with PMT data, find the CAT data and the PMT data that meet work at present CAS, and the interface of work at present CAS is set according to the CAT data that find and PMT data, open audio frequency and video passage.
2. many CAS seamless handover method according to claim 1, it is characterized in that, described when smart card insertion being detected, by the communication that resets of the communications parameter of all preset CAS of system and smart card, when reset communication when success, the step of obtaining the target ATR parameter that communication returns specifically comprises:
Take out successively the communications parameter of all preset CAS, and respectively with the smart card communication that resets;
Judge whether success of reset communication, if the target ATR parameter that communication is returned is obtained in reset communication success, the then communications parameter of the next preset CAS of Returning utilization and the smart card communication that resets; If the communications parameter of the next preset CAS of Returning utilization and the smart card communication that resets of reset Communications failure, until traveled through the communications parameter of all preset CAS.
3. many CAS seamless handover method according to claim 2, it is characterized in that, the described original ATR parameter by the target ATR parameter getting and all preset CAS compares, if identical, the step corresponding CAS of original ATR parameter matching being saved in interim CAS group specifically comprises:
The target ATR parameter getting is compared with the original ATR parameter of preset CAS successively, judge whether identical;
When the original ATR parameter of the target ATR parameter getting and preset one of them CAS is identical, CAS corresponding to this original ATR parameter is saved in interim CAS group, and the original ATR parameter of returning to target ATR parameter that the next one is got and preset CAS compares, until traveled through all target ATR parameters that get;
When the original ATR parameter of the target ATR parameter getting and the CAS of system intialization is not identical, the original ATR parameter of returning to target ATR parameter that the next one is got and preset CAS compares, until traveled through all target ATR parameters that get.
4. many CAS seamless handover method according to claim 3, is characterized in that, all CAS in the interim CAS group of described traversal, match target CAS wherein, and the step that this target CAS is set as work at present CAS is specifically comprised:
CAS in the interim CAS group of initialization, judges that whether initialization is successful successively, if initialization is successful, moves the transmitting and receiving data interface of the corresponding CAS in interim CAS group, obtains the return information of smart card; Otherwise continue next CAS in the interim CAS group of initialization, until traveled through all CAS in interim CAS group;
Whether the return information that judges smart card is identical with preset information, if identical, corresponding CAS is the target CAS matching, if not identical, return and continues next CAS in the interim CAS group of initialization, until traveled through all CAS in interim CAS group.
5. many CAS seamless handover method according to claim 1, it is characterized in that, described the CAT data of respectively organizing of preserving in system are mated with work at present CAS with PMT data, find the CAT data and the PMT data that meet work at present CAS, and the interface of work at present CAS is set according to the CAT data that find and PMT data, the step of opening audio frequency and video passage specifically comprises:
That in extraction system, preserves successively respectively organizes CAT data and PMT data, and whether every group of CAT data that judgement is taken out are consistent with work at present CAS with PMT data, the EMM PID obtaining in CAT data if meet, and the ECM PID in PMT data, call the interface of work at present CAS and EMM PID is set and ECM PID, and bind with audio frequency and video passage; If do not meet, next group CAT data and the PMT data of in extraction system, preserving, judge whether to meet, until traveled through all CAT data and PMT data again;
Open audio frequency and video passage, the match is successful for prompting CAS.
6. the seamless switch-over system of CAS more than, is characterized in that, comprising:
Target ATR parameter acquisition module, for when smart card being detected and insert, by the communication that resets of the communications parameter of all preset CAS of system and smart card, when reset communication is successful, obtains the target ATR parameter that communication is returned;
Interim CAS group acquisition module, for the original ATR parameter of the target ATR parameter getting and all preset CAS is compared, if identical, is saved to the corresponding CAS of original ATR parameter matching in interim CAS group;
Exact matching module, for traveling through all CAS of interim CAS group, matches target CAS wherein, and this target CAS is set as to work at present CAS;
Playing module, for the CAT data of respectively organizing that system is preserved, mate with work at present CAS with PMT data, find the CAT data and the PMT data that meet work at present CAS, and the interface of work at present CAS is set according to the CAT data that find and PMT data, open audio frequency and video passage.
7. many CAS seamless switch-over system according to claim 6, is characterized in that, described target ATR parameter acquisition module specifically comprises:
Reset communication unit, for taking out successively the communications parameter of all preset CAS, and respectively with the smart card communication that resets;
Target ATR parameter acquiring unit, for judging whether success of reset communication, if the target ATR parameter that communication is returned is obtained in reset communication success, the then communications parameter of the next preset CAS of Returning utilization and the smart card communication that resets; If the communications parameter of the next preset CAS of Returning utilization and the smart card communication that resets of reset Communications failure, until traveled through the communications parameter of all preset CAS.
8. many CAS seamless switch-over system according to claim 7, is characterized in that, described interim CAS group acquisition module specifically comprises:
Comparing unit, for the target ATR parameter getting is compared with the original ATR parameter of preset CAS successively, judges whether identical;
Storage unit, when identical for the original ATR parameter as the target ATR parameter getting and preset one of them CAS, CAS corresponding to this original ATR parameter is saved in interim CAS group, and the original ATR parameter of returning to target ATR parameter that the next one is got and preset CAS compares, until traveled through all target ATR parameters that get;
Cycling element, when not identical for the original ATR parameter as the target ATR parameter getting and the CAS of system intialization, the original ATR parameter of returning to target ATR parameter that the next one is got and preset CAS compares, until traveled through all target ATR parameters that get.
9. many CAS seamless switch-over system according to claim 8, is characterized in that, described exact matching module specifically comprises:
Initialization unit, for the CAS of the interim CAS group of initialization successively, judges whether success of initialization, if initialization success moves the transmitting and receiving data interface of the corresponding CAS in interim CAS group, obtains the return information of smart card; Otherwise continue next CAS in the interim CAS group of initialization, until traveled through all CAS in interim CAS group;
Judging unit, whether identical with preset information for judging the return information of smart card, if identical, corresponding CAS is the target CAS matching, if not identical, return and continue next CAS in the interim CAS group of initialization, until traveled through all CAS in interim CAS group.
10. many CAS seamless switch-over system according to claim 6, is characterized in that, described playing module specifically comprises:
Data searching unit, that for extraction system successively, preserves respectively organizes CAT data and PMT data, and whether every group of CAT data that judgement is taken out are consistent with work at present CAS with PMT data, the EMM PID obtaining in CAT data if meet, and the ECM PID in PMT data, call the interface of work at present CAS and EMM PID is set and ECM PID, and bind with audio frequency and video passage; If do not meet, next group CAT data and the PMT data of in extraction system, preserving, judge whether to meet, until traveled through all CAT data and PMT data again;
Broadcast unit, for opening audio frequency and video passage, the match is successful for prompting CAS.
CN201410169243.8A 2014-04-24 2014-04-24 Multi-CAS seamless switching method and multi-CAS seamless switching system Active CN103997678B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410169243.8A CN103997678B (en) 2014-04-24 2014-04-24 Multi-CAS seamless switching method and multi-CAS seamless switching system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410169243.8A CN103997678B (en) 2014-04-24 2014-04-24 Multi-CAS seamless switching method and multi-CAS seamless switching system

Publications (2)

Publication Number Publication Date
CN103997678A true CN103997678A (en) 2014-08-20
CN103997678B CN103997678B (en) 2017-01-18

Family

ID=51311662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410169243.8A Active CN103997678B (en) 2014-04-24 2014-04-24 Multi-CAS seamless switching method and multi-CAS seamless switching system

Country Status (1)

Country Link
CN (1) CN103997678B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954841A (en) * 2015-06-17 2015-09-30 上海玮舟微电子科技有限公司 Method compatible with various condition accesses and applicable video playing equipment
CN105516797A (en) * 2015-12-14 2016-04-20 福建新大陆通信科技股份有限公司 Control method and device supporting multi-CA (Certification Authority) of cable set-top box
CN106851391A (en) * 2015-12-03 2017-06-13 国家新闻出版广电总局广播科学研究院 A kind of condition receiving method and system for intelligent operating system
CN108366271A (en) * 2018-02-09 2018-08-03 腾讯音乐娱乐科技(深圳)有限公司 A kind of playback method of multimedia file, device and storage medium
CN108574865A (en) * 2018-03-30 2018-09-25 青岛海信电器股份有限公司 The scramble process method, apparatus and terminal of terminal
CN112260721A (en) * 2020-10-21 2021-01-22 深圳创维-Rgb电子有限公司 A-CAS communication circuit, control method and A-CAS communication device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1592126A (en) * 2003-08-27 2005-03-09 三星电子株式会社 Digital multimedia broadcasting receiver and method for reproducing digital multimedia data
US20050165937A1 (en) * 2002-04-12 2005-07-28 Scm Microsystems Gmbh Conditional access network
CN101247500A (en) * 2007-02-12 2008-08-20 深圳市隆泰数字技术有限公司 General software descrambling method for different scrambling systems of digital television
CN101814037A (en) * 2010-03-12 2010-08-25 青岛海信宽带多媒体技术有限公司 Drive method compatible with various smart cards
CN102075808A (en) * 2011-01-25 2011-05-25 四川长虹电器股份有限公司 Method for realizing multi-conditional access (CA) coexistence in set top box
CN102098575A (en) * 2010-12-31 2011-06-15 青岛海信宽带多媒体技术有限公司 Migration method compatible with multiple conditional access (CA) systems and CA method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050165937A1 (en) * 2002-04-12 2005-07-28 Scm Microsystems Gmbh Conditional access network
CN1592126A (en) * 2003-08-27 2005-03-09 三星电子株式会社 Digital multimedia broadcasting receiver and method for reproducing digital multimedia data
CN101247500A (en) * 2007-02-12 2008-08-20 深圳市隆泰数字技术有限公司 General software descrambling method for different scrambling systems of digital television
CN101814037A (en) * 2010-03-12 2010-08-25 青岛海信宽带多媒体技术有限公司 Drive method compatible with various smart cards
CN102098575A (en) * 2010-12-31 2011-06-15 青岛海信宽带多媒体技术有限公司 Migration method compatible with multiple conditional access (CA) systems and CA method
CN102075808A (en) * 2011-01-25 2011-05-25 四川长虹电器股份有限公司 Method for realizing multi-conditional access (CA) coexistence in set top box

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954841A (en) * 2015-06-17 2015-09-30 上海玮舟微电子科技有限公司 Method compatible with various condition accesses and applicable video playing equipment
CN104954841B (en) * 2015-06-17 2019-10-18 上海玮舟微电子科技有限公司 The method of compatible a variety of conditional access and the video playback apparatus being applicable in
CN106851391A (en) * 2015-12-03 2017-06-13 国家新闻出版广电总局广播科学研究院 A kind of condition receiving method and system for intelligent operating system
CN105516797A (en) * 2015-12-14 2016-04-20 福建新大陆通信科技股份有限公司 Control method and device supporting multi-CA (Certification Authority) of cable set-top box
CN108366271A (en) * 2018-02-09 2018-08-03 腾讯音乐娱乐科技(深圳)有限公司 A kind of playback method of multimedia file, device and storage medium
CN108366271B (en) * 2018-02-09 2020-12-01 腾讯音乐娱乐科技(深圳)有限公司 Multimedia file playing method and device and storage medium
CN108574865A (en) * 2018-03-30 2018-09-25 青岛海信电器股份有限公司 The scramble process method, apparatus and terminal of terminal
CN112260721A (en) * 2020-10-21 2021-01-22 深圳创维-Rgb电子有限公司 A-CAS communication circuit, control method and A-CAS communication device

Also Published As

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

Similar Documents

Publication Publication Date Title
CN103997678A (en) Multi-CAS seamless switching method and multi-CAS seamless switching system
US7684567B2 (en) Smartcard dynamic management
CN101521777B (en) DTV frequency channel switching method, DTV frequency channel switching system and DTV receiving terminal
KR101458253B1 (en) Method for evaluating user&#39;s rights stored in a security module
CN105471533A (en) Digital television emergency broadcast playing method and digital television terminal
CN104902311A (en) Method for sharing audio/video resources, shared gateway and system
CN101513057A (en) Security processor and recording method and medium for configuring the behaviour of this processor
CN102685591A (en) Digital set-top box
CN103370933B (en) Be used for the method for the reception of the entitlement management messages of optimizing pay television system
CN102932692A (en) Method and device for authenticating set-top box
CN103607598A (en) Method and device for automatically recognizing network operator to realize data configuration
CN102014306B (en) Method for simultaneously deciphering multiple charge programs by set-top box
KR20120025086A (en) Apparatus and method for receiving broadcasting signal of pay channel
GB2387090A (en) A dvb receiver with at least two separate receivers, one of which decrypts encrypted keys which it sends to the others to use them to decrypt programmes
CN100536543C (en) Method and system for implementing separation between receiving terminal set and card in digital TV set
CN102801539A (en) Method, device and system for information distribution
EP2697979B1 (en) Method to identify the origin of a security module in pay-tv decoder system
CN103037255B (en) A kind of CAM cards automatic adaptation method
CN105376619B (en) A kind of set-top box and the means of communication with smart card
CN104883594A (en) Method and system for switching card CA (conditional access) and card-free CA of set-top box
CN108156513B (en) Program descrambling and recording method, set top box and storage medium
US9584872B2 (en) Method to bind the use of a television receiver to a particular network
CN101322394A (en) Deciphering system and method for video data
CN107040803B (en) Digital television system and descrambling method for simultaneously supporting multiple channels of programs with different frequency points
CN102572580A (en) Method for descrambling set top box through network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant