CN101873406A - Implementation method of CMMB (China Mobile Multimedia Broadcasting) condition receiving system on mobile terminal - Google Patents
Implementation method of CMMB (China Mobile Multimedia Broadcasting) condition receiving system on mobile terminal Download PDFInfo
- Publication number
- CN101873406A CN101873406A CN200910049952A CN200910049952A CN101873406A CN 101873406 A CN101873406 A CN 101873406A CN 200910049952 A CN200910049952 A CN 200910049952A CN 200910049952 A CN200910049952 A CN 200910049952A CN 101873406 A CN101873406 A CN 101873406A
- Authority
- CN
- China
- Prior art keywords
- cmmb
- card
- base band
- data
- portable terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Telephone Function (AREA)
Abstract
The invention discloses an implementation method of a CMMB (China Mobile Multimedia Broadcasting) condition receiving system on a mobile terminal. The method comprises the following steps of: (1) starting a CMMB program and establishing handshake communication between a base band of the mobile terminal and a CA (Certification Authority) card; (2) sending encrypted and scrambled CMMB data into the base band by a multimedia processing chip of the mobile terminal; and (3) carrying out data interchange between the base band and the CA card, wherein the base band writes the encrypted and scrambled CMMB data into the CA card for decryption and descrambling, then reading out the decrypted and descrambled CMMB data from the CA card and sending the data to the multimedia processing chip for playing. By adopting the method, the mobile terminal can be used for conveniently watching encrypted and scrambled CMMB programs in real time in a moving process, and on the premise of only upgrading software but not changing hardware, the functions of decryption and descrambling can be achieved, thereby the cost is effectively controlled.
Description
Technical field
The present invention relates to a kind of CMMB (China Mobile Multimedia Broadcasting, China Mobile's DMB) implementation method of system on portable terminal particularly relates to the implementation method of a kind of CMMB condition receiving system on portable terminal.
Background technology
Passed through the baptism of Beijing Olympic Games, the CMMB industry has obtained significant effect.By the end of the end of the year 2008, not only more than 150 main cities in the whole nation realized that the CMMB signal covers, and has also optimized the CMMB network in existing 37 cities, and has made the single frequency network in more cities.When enlarging signal cover, also further enriched the broadcast content of CMMB, from single broadcast TV program, carry out the transition to the loading of data service and the pilot of interactive VOD business.Because professional abundant CA (the Conditional Access encrypts) technology of demanding urgently has now begun to carry out the checking of CA technology as support.In this process, CMMB operator can guarantee that on the one hand existing CMMB terminal can continue to use, and also can keep certain free clear stream broadcast program; On the other hand, can be simultaneously advance encipherment scheme reposefully, make terminal industry healthy and rapid development, for adequate preparation is carried out in the extensive listing of CMMB terminal and the development of mobile TV in the mode of separation between machine and card.
Begin to provide the CMMB service so far from the Olympic Games, CMMB has had nearly 120 general-purpose families.To 2010, will increase to 5000 general-purpose families.We have reason to believe that CMMB will continue without any confusion deeply to go down according to set development course.
Yet the portable terminal of the existing CMMB of possessing function still exists the defective of the deciphering and descrambling that can't finish the CMMB program.
Summary of the invention
The technical problem to be solved in the present invention is can't finish the defective of the deciphering and descrambling of CMMB program in order to overcome portable terminal of the prior art, and a kind of implementation method of CMMB condition receiving system on portable terminal that makes the CMMB program that portable terminal can convenient watching encrypted in real time scrambling in moving process is provided.
The present invention solves above-mentioned technical problem by following technical proposals:
The implementation method of a kind of CMMB condition receiving system on portable terminal, its characteristics are that it may further comprise the steps: S
1, start the CMMB program, set up the base band of this portable terminal and the carrying out shake communication between the CA card; S
2, the multimedia process chip of this portable terminal CMMB data that will encrypt scrambling send into this base band; S
3, that this base band and CA stick into line data is mutual, wherein, the CMMB data that this base band will be encrypted scrambling write this CA and stick into capable deciphering and descrambling, the CMMB data of reading deciphering and descrambling from this CA card are delivered to this multimedia process chip and are play then.
Wherein, step S
1In, before the carrying out shake communication of setting up between this base band and the CA card, this base band sticks into row identification to this CA, and this identifying may further comprise the steps: S
11, this mobile terminal-opening, start SD/MMC card initialization program; S
12, this portable terminal sticks into row identification according to the PNM field among the CID of this CA card to this CA, if discern successfully, then with a distinguishing mark position 1; If recognition failures, then with this distinguishing mark position 0 and return.
Wherein, step S
1In, the process of setting up of the carrying out shake communication between this base band and the CA card may further comprise the steps: S
13, this base band sends reset instruction, the response that resets of reading this CA card then to this CA card; S
14, judge whether the leader will and the return code of this response that resets correct, if correct, then carrying out shake communication is set up; If incorrect, then return.
Wherein, step S
1In, the process of setting up of the carrying out shake communication between this base band and the CA card may further comprise the steps: S
15, back up the data in this CA card; S
16, this base band sends reset instruction, the response that resets of reading this CA card then to this CA card; S
17, judge whether the leader will and the return code of this response that resets correct, if correct, then carrying out shake communication is set up; If incorrect, then recover the data in this CA card and return.
Wherein, at step S
13Or step S
15Before, this base band sticks into a read operation of row to this CA, if operate successfully, then enters carrying out shake communication and sets up process; If the read operation failure is then returned.
Wherein, step S
3In, the data exchange process between this base band and the CA card may further comprise the steps:
S
31, with a read-write mark position 1, in this encrypts the CMMB data of scrambling, add a sign head; S
32, the CMMB data that will encrypt scrambling write this CA and stick into capable deciphering and descrambling, wherein, in this deciphering and descrambling process, this base band is carried out one first time-delay; S
33, this base band reads the CMMB data of deciphering and descrambling from this CA card, and judges that whether this sign head and a retry flag bit correct, if indicate a mistake, then return; If sign head is correct but need retry, then this base band is carried out after one second time-delay again from this CA card reading of data; If sign head correctly and not needs retry, then this base band is obtained the CMMB data length of this deciphering and descrambling, and will remove data behind this sign and send into this multimedia process chip and play, and should read and write mark position 0.
Wherein, this sign head is 32 bytes, and this first time-delay is 20 milliseconds, and this second time-delay is 40 milliseconds.
Wherein, at step S
3Afterwards, this implementation method also comprises the pass closed procedure of CMMB program, and this pass closed procedure may further comprise the steps: S
4, user key-press withdraws from CMMB request; S
5, be provided with and withdraw from flag bit, stop to receive the CMMB data of encrypting scrambling, and remove pending CMMB message; S
6, judge whether this read-write flag bit puts 0, if put 0, then start CMMB and quit a program; If do not put 0, wait for that then this secondary data reciprocal process finishes, start CMMB then and quit a program.
Positive progressive effect of the present invention is: the invention enables the portable terminal of the existing CMMB of possessing function can be under the prerequisite that does not change original design and manufacturing process, external SD (Secure Digital by its support, safe digital) interface read-write CA card is realized the deciphering and descrambling function to the CMMB program, thereby has realized the CMMB program of convenient watching encrypted in real time scrambling in moving process.In addition,, just can realize deciphering and descrambling, control cost effectively the CMMB program because portable terminal need not change hardware, only need software upgrading.
Description of drawings
Fig. 1 is the flow chart of the implementation method of CMMB condition receiving system of the present invention on portable terminal.
Fig. 2 is the flow chart of the identification CA card among the present invention.
The flow chart that Fig. 3 sets up the first method of carrying out shake communication for the base band among the present invention and CA card.
The flow chart that Fig. 4 sets up the second method of carrying out shake communication for the base band among the present invention and CA card.
Fig. 5 is the flow chart of data interaction between base band among the present invention and the CA card.
Fig. 6 is the flow chart of closing the CMMB program among the present invention.
Embodiment
Provide preferred embodiment of the present invention below in conjunction with accompanying drawing, to describe technical scheme of the present invention in detail.
The invention provides a kind of CA of utilization kilocalorie scheme realizes the CMMB condition receiving system on portable terminal method, wherein, this portable terminal can be for example mobile phone, particularly MTK (the mobile phone solution of MediaTek company) mobile phone.
In the present invention, multimedia process chip on the portable terminal is after receiving the CMMB program stream of encrypting scrambling, can be by bus interface with EMM (Entitlement Management Message, Entitlement Management Message), the ECM (Entitlement Control Message, Entitlement Control Message) and the CMMB data of this encryption scrambling are sent into baseband chip.The processing procedure of baseband chip after receiving the CMMB data of this encryption scrambling, be described as from hardware based angle: baseband chip can deposit these flow-disturbing data that receive in the reception buffer memory that is not more than 8K, then by public SD/MMC (Multi Media Card, multimedia storage card) interface is sent in the CA kilocalorie that is inserted in MircoSD card (a kind of superfine little flash memory cards) deck, the CA kilocalorie then can go out program key by descrambling from EMM and ECM, and the CMMB code stream deciphering that utilizes this program key will encrypt scrambling is clear stream, and then deposit the CMMB clear stream data of this deciphering and descrambling in be not more than 8K transmission buffer memory, by baseband bus interfaces it is sent back the multimedia process chip afterwards and play; From describing then be: for the CMMB data that will encrypt scrambling are sent into MMI task (Man Machine Interface task based on the angle of software, the man-machine interface task), interrupt service routine can be sent out message and give MMI task, and pending CMMB message entered L4 layer (adaptation layer of MMI/AT and protocol stack) formation, MMI task is after receiving message, the software interface that can call data interaction carries out the machine card data interaction between portable terminal and the CA card, the CMMB data that promptly will encrypt scrambling earlier write the CA card, by the CA card these data are decrypted descrambling, pass the CMMB data behind the deciphering and descrambling of reading back the multimedia process chip by bus interface at last and play.
Particularly, the flow chart of the implementation method of CMMB condition receiving system of the present invention on portable terminal is as shown in Figure 1:
Step 100 starts the CMMB program.
Wherein, base band is to the identifying of CA card as shown in Figure 2:
Step 200, mobile terminal-opening.
Need be when the card in base band and the deck is set up carrying out shake communication to sticking into the row read-write, carry out write operation for fear of storage card mistake to non-CA Card Type, cause the file system of common memory card destroyed, generally can adopt following two kinds of methods: one, utilize CA card identification step shown in Figure 2, judge according to the value of distinguishing mark position whether the card in the deck is the CA card; Two, before carrying out shake communication was set up, the data in the backup card if reset failure, then returned to backed up data in the card more in advance.
During based on first method, the process that base band and CA card are set up carrying out shake communication as shown in Figure 3:
During based on second method, the process that base band and CA card are set up carrying out shake communication as shown in Figure 4:
Data in the step 400, backup card.
Step 401, base band sends reset instruction to this card.
Step 404, carrying out shake communication is set up, and data interaction is prepared.
The flow chart of data interaction is as shown in Figure 5 between base band and the CA card:
Step 500 will be read and write mark position 1.
Step 501 in order distinguishing with normal read-write flash memory, to add the sign head of one 32 byte, and these data to be deposited in the metadata cache that is not more than 8K in the CMMB data of encrypting scrambling.
Step 502 is utilized the MMC communications protocol, these data of encrypting scrambling is sent into the fixedly sector of CA card by the machine card of base band definition.
Step 503, the CA card is decrypted descrambling to data, and in the process of CA card deal with data, base band need be done the time-delay about 20 milliseconds.Directly do not read data in the card if do not delay time, can cause the interruption of the deciphering and descrambling process accessed generation constantly of CA card to interrupt, this can cause the deciphering and descrambling performance of CA card to reduce.Thus, the write data process of CA card finishes.
Step 504, the CMMB data that base band is read deciphering and descrambling by the machine card from the respective sectors of CA card, and it is deposited in the metadata cache.
Step 505, the baseband analyzer data, whether judgement symbol head and retry flag bit be correct, if a sign mistake is is then this time read and write procedure failure, termination routine returns; The retry flag bit is represented needs and is read data again if sign head is correct, then carry out step 506; If sign head and retry flag bit are all correct, then carry out step 507.
After the step 506,40 milliseconds of base band time-delays again from CA card reading of data, and execution in step 505.
Step 507, base band are obtained the CMMB data length of deciphering and descrambling.
Step 508, base band will be removed data behind this sign head and send into the multimedia process chip and play.
Step 509 will be read and write mark position 0, and thus, data interaction this time finishes, and next will carry out data interaction next time.Probably carry out 7-8 time data interaction each second.
In the process of playing encoded channel, can not stop to carry out data interaction between base band and the CA card, also can constantly transmit the CMMB data of deciphering and descrambling and give the multimedia process chip, if this moment, the user selected to close the CMMB program, if withdraw from flow process when playing the clear stream program, then can cause crashing and problem that the CA card can't be discerned.The flow chart of closing the CMMB program among the present invention of being shown in Figure 6:
Step 601 is provided with and withdraws from flag bit, stops to receive the CMMB data of encrypting scrambling.
Step 602 is removed the pending CMMB message of L4 layer.
Step 603 is because can then can put 0 with it after finishing alternately with read-write mark position 1 before the data interaction, so, judge between base band and the CA card whether also carrying out data interaction according to this read-write flag bit,, then carry out step 604 if the read-write flag bit does not put 0; If the read-write flag bit has put 0, then carry out step 605.
Step 604 waits for that last data interaction finishes, and carry out step 605 then.
Step 605 starts normal CMMB and quits a program.
Though more than described the specific embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, under the prerequisite that does not deviate from principle of the present invention and essence, can make numerous variations or modification to these execution modes.Therefore, protection scope of the present invention is limited by appended claims.
Claims (8)
1. the implementation method of a CMMB condition receiving system on portable terminal is characterized in that it may further comprise the steps:
S
1, start the CMMB program, set up the base band of this portable terminal and the carrying out shake communication between the CA card;
S
2, the multimedia process chip of this portable terminal CMMB data that will encrypt scrambling send into this base band;
S
3, that this base band and CA stick into line data is mutual, wherein, the CMMB data that this base band will be encrypted scrambling write this CA and stick into capable deciphering and descrambling, the CMMB data of reading deciphering and descrambling from this CA card are delivered to this multimedia process chip and are play then.
2. the implementation method of CMMB condition receiving system as claimed in claim 1 on portable terminal is characterized in that step S
1In, before the carrying out shake communication of setting up between this base band and the CA card, this base band sticks into row identification to this CA, and this identifying may further comprise the steps:
S
11, this mobile terminal-opening, start SD/MMC card initialization program;
S
12, this portable terminal sticks into row identification according to the PNM field among the CID of this CA card to this CA, if discern successfully, then with a distinguishing mark position 1; If recognition failures, then with this distinguishing mark position 0 and return.
3. the implementation method of CMMB condition receiving system as claimed in claim 2 on portable terminal is characterized in that step S
1In, the process of setting up of the carrying out shake communication between this base band and the CA card may further comprise the steps:
S
13, this base band sends reset instruction, the response that resets of reading this CA card then to this CA card;
S
14, judge whether the leader will and the return code of this response that resets correct, if correct, then carrying out shake communication is set up; If incorrect, then return.
4. the implementation method of CMMB condition receiving system as claimed in claim 1 on portable terminal is characterized in that step S
1In, the process of setting up of the carrying out shake communication between this base band and the CA card may further comprise the steps:
S
15, back up the data in this CA card;
S
16, this base band sends reset instruction, the response that resets of reading this CA card then to this CA card;
S
17, judge whether the leader will and the return code of this response that resets correct, if correct, then carrying out shake communication is set up; If incorrect, then recover the data in this CA card and return.
5. the implementation method on portable terminal as claim 3 or 4 described CMMB condition receiving systems is characterized in that, at step S
13Or step S
15Before, this base band sticks into a read operation of row to this CA, if operate successfully, then enters carrying out shake communication and sets up process; If the read operation failure is then returned.
6. the implementation method of CMMB condition receiving system as claimed in claim 1 on portable terminal is characterized in that step S
3In, the data exchange process between this base band and the CA card may further comprise the steps:
S
31, with a read-write mark position 1, in this encrypts the CMMB data of scrambling, add a sign head;
S
32, the CMMB data that will encrypt scrambling write this CA and stick into capable deciphering and descrambling, wherein, in this deciphering and descrambling process, this base band is carried out one first time-delay;
S
33, this base band reads the CMMB data of deciphering and descrambling from this CA card, and judges that whether this sign head and a retry flag bit correct, if indicate a mistake, then return; If sign head is correct but need retry, then this base band is carried out after one second time-delay again from this CA card reading of data; If sign head correctly and not needs retry, then this base band is obtained the CMMB data length of this deciphering and descrambling, and will remove data behind this sign and send into this multimedia process chip and play, and should read and write mark position 0.
7. the implementation method of CMMB condition receiving system as claimed in claim 6 on portable terminal is characterized in that, this sign head is 32 bytes, and this first time-delay is 20 milliseconds, and this second time-delay is 40 milliseconds.
8. the implementation method of CMMB condition receiving system as claimed in claim 6 on portable terminal is characterized in that, at step S
3Afterwards, this implementation method also comprises the pass closed procedure of CMMB program, and this pass closed procedure may further comprise the steps:
S
4, user key-press withdraws from CMMB request;
S
5, be provided with and withdraw from flag bit, stop to receive the CMMB data of encrypting scrambling, and remove pending CMMB message;
S
6, judge whether this read-write flag bit puts 0, if put 0, then start CMMB and quit a program; If do not put 0, wait for that then this secondary data reciprocal process finishes, start CMMB then and quit a program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910049952A CN101873406A (en) | 2009-04-24 | 2009-04-24 | Implementation method of CMMB (China Mobile Multimedia Broadcasting) condition receiving system on mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910049952A CN101873406A (en) | 2009-04-24 | 2009-04-24 | Implementation method of CMMB (China Mobile Multimedia Broadcasting) condition receiving system on mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101873406A true CN101873406A (en) | 2010-10-27 |
Family
ID=42998050
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910049952A Pending CN101873406A (en) | 2009-04-24 | 2009-04-24 | Implementation method of CMMB (China Mobile Multimedia Broadcasting) condition receiving system on mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101873406A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201036250Y (en) * | 2007-04-18 | 2008-03-12 | 上海庞米电子信息技术有限公司 | Digital multimedia broadcast receiving device capable of embedded in mobile equipment |
CN101227682A (en) * | 2008-02-19 | 2008-07-23 | 中兴通讯股份有限公司 | Method and apparatus for protecting data safety in terminal |
CN101291419A (en) * | 2008-06-02 | 2008-10-22 | 武汉天喻信息产业股份有限公司 | Authorizing and descrambling method and apparatus in CAS of mobile multimedia broadcast |
CN101340253A (en) * | 2008-08-07 | 2009-01-07 | 北京创毅视讯科技有限公司 | Mobile multimedia broadcast receiving apparatus, receiving card and receiving terminal |
-
2009
- 2009-04-24 CN CN200910049952A patent/CN101873406A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201036250Y (en) * | 2007-04-18 | 2008-03-12 | 上海庞米电子信息技术有限公司 | Digital multimedia broadcast receiving device capable of embedded in mobile equipment |
CN101227682A (en) * | 2008-02-19 | 2008-07-23 | 中兴通讯股份有限公司 | Method and apparatus for protecting data safety in terminal |
CN101291419A (en) * | 2008-06-02 | 2008-10-22 | 武汉天喻信息产业股份有限公司 | Authorizing and descrambling method and apparatus in CAS of mobile multimedia broadcast |
CN101340253A (en) * | 2008-08-07 | 2009-01-07 | 北京创毅视讯科技有限公司 | Mobile multimedia broadcast receiving apparatus, receiving card and receiving terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9479825B2 (en) | Terminal based on conditional access technology | |
RU2383952C2 (en) | Method and system for external data storage | |
CN100568870C (en) | A kind of general serial data double-way transfer interface system | |
CN102098575B (en) | Migration method compatible with multiple conditional access (CA) systems and CA method | |
US20030084440A1 (en) | Method of providing a code upgrade to a host device having a smart card interface | |
CN102084664B (en) | Unit and method for secure processing of access controlled audio/video data | |
CN101442664B (en) | Terminal, system and method for previewing program in mobile multimedia broadcast system | |
CN102804796A (en) | Detection of encryption utilizing error detection for received data | |
WO2009040496A1 (en) | Communications system | |
CN104581318A (en) | Method and terminal capable of achieving dynamic plug response of intelligent card | |
US20230188772A1 (en) | Content viewing method and mobile information terminal used for same | |
CN100536543C (en) | Method and system for implementing separation between receiving terminal set and card in digital TV set | |
WO2000059210A1 (en) | System for interfacing multiple conditional access devices | |
WO2006042467A1 (en) | A processing method in accessing catv signal | |
CN100425074C (en) | Method for realizing master-slave intelligent card for one-user multiple-terminal management | |
CN101668169A (en) | Program decryption and descrambling method, system and mobile terminal | |
CN101321261B (en) | Front-end system, user terminal and authorization management information distribution method | |
US8306222B2 (en) | Removable secure portable electronic entity including means for authorizing deferred retransmission | |
CN105376619B (en) | A kind of set-top box and the means of communication with smart card | |
CN201750507U (en) | Conditional access (CA) equipment based on USB interface | |
CN101873406A (en) | Implementation method of CMMB (China Mobile Multimedia Broadcasting) condition receiving system on mobile terminal | |
CN101370076A (en) | Method for implementing set-card separation based on USB interface | |
WO2008031292A1 (en) | Encrypting method for hard disk in set top box of cable television system | |
CN101489095A (en) | Conditional access system | |
CN101335875A (en) | Information processing device and video and audio frequency information protection method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20101027 |