CN100551035C - The adjustment method of conditional access system - Google Patents

The adjustment method of conditional access system Download PDF

Info

Publication number
CN100551035C
CN100551035C CNB2007100979962A CN200710097996A CN100551035C CN 100551035 C CN100551035 C CN 100551035C CN B2007100979962 A CNB2007100979962 A CN B2007100979962A CN 200710097996 A CN200710097996 A CN 200710097996A CN 100551035 C CN100551035 C CN 100551035C
Authority
CN
China
Prior art keywords
data
key management
file
adjustment method
port
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.)
Expired - Fee Related
Application number
CNB2007100979962A
Other languages
Chinese (zh)
Other versions
CN101035252A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB2007100979962A priority Critical patent/CN100551035C/en
Publication of CN101035252A publication Critical patent/CN101035252A/en
Application granted granted Critical
Publication of CN100551035C publication Critical patent/CN100551035C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

A kind of adjustment method of conditional access system comprises: S202, find the Session Description Protocol file of key management messages correspondence, and therefrom extract the IP and the port of key management messages in electronic navigation services; S204 finds the program flow filament of the pairing Session Description Protocol file of channel of selection in electronic navigation services, and therefrom searches cipher controlled message, corresponding IP and the port of video element and audio frequency unit; S206 extracts from transport stream and above lookup result corresponding IP data, and is the local file system file with the IP storage of extracting; S208 reads the IP data of key management messages and cipher controlled message from this locality, remove the IP head of IP data, and IP message is sent to the key management system proxy for equipment; S210, the key management system proxy for equipment calculates key management messages and cipher controlled message with UICC, obtains control word; And S212, descrambler utilizes control word that the data encryption streaming media from this locality is carried out descrambling.

Description

The adjustment method of conditional access system
Technical field
The present invention relates to the communications field, and especially, (it is particularly useful for mobile terminal television for Conditional Access system, adjustment method CAS) to relate to a kind of conditional access system.
Background technology
(Conditional Access is to follow digital video broadcasting (DVB) and next a kind of technology that is used for Streaming Media is carried out the encryption and decryption processing CA) in the condition access.At present, the technology of main flow is all followed open security framework (Open Security Framework), and wherein, the structure of open security framework as shown in Figure 1.
Core process based on file simulative debugging conditional access system in the open security framework is the multi-layer security decryption technology, and encrypting and decrypting is wherein controlled by key message.As can be seen from Figure 1, key message mainly comprises three layers: ground floor, key management messages (Entitlement Management Message, EMM); The second layer, and cipher controlled message (Entitlement Control Message, ECM); The 3rd layer, media key stream (MediaKey Stream) and the key stream (that is, (control word Control Word, CW)) that changes.
But, in actual implementation process, owing to need to cooperate the debugging (having only operator or real network that this environment is just arranged usually) that just can carry out conditional access system with service end and client device, so development cost and processing complexity be all than higher, and be not easy to operation.
Therefore, need a kind of simple technical scheme that can debug conditional access system in this locality.
Summary of the invention
Consider the problems referred to above and make the present invention, for this reason,, provide a kind of adjustment method of conditional access system according to embodiments of the invention.
This method comprises following processing:
Step S202 finds the Session Description Protocol file of key management messages correspondence in electronic navigation services, and therefrom extracts the IP and the port of key management messages;
Step S204 finds the program flow filament of the pairing Session Description Protocol file of channel of selection in electronic navigation services, and therefrom searches cipher controlled message, corresponding IP and the port of video element and audio frequency unit;
Step S206 according to the lookup result among step S202 and the step S204, extracts from transport stream and the lookup result corresponding IP data, and is the local file system file with the IP storage of extracting;
Step S208 reads the IP data of key management messages and cipher controlled message from the local file system file, remove the IP head of IP data, and the IP data are sent to the key management system proxy for equipment;
Step S210, the key management system proxy for equipment calculates key management messages and cipher controlled message with Universal Integrated Circuit Card, obtains control word, and control word is sent to descrambler; And
Step S212, descrambler utilize control word that the data encryption streaming media from the local file system file is carried out descrambling.
Wherein, above-mentioned program flow filament can comprise at least: link information, multimedia messages.
In addition, in step S206, the IP data of extraction comprise: with the IP data of the IP of cipher controlled message, video element and the audio frequency unit of selecting channel and port corresponding IP data, cipher controlled message.
And, in step S206, deposit file respectively in, and file is put into local file system generate the local file system file by the IP data that will extract.
In addition, in step S212, if descrambler descrambles success, the then stream medium data of the channel of broadcast selection; On the other hand, in step S212, if failure cause is then analyzed in the descrambler descrambles failure, wherein, can be according to the debugging recording information analysis failure cause that in debug process, writes down.
By technique scheme of the present invention, can easily realize debugging to conditional access system in this locality, save the cost of debugging, and improved the efficient of debugging.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the block diagram according to the conditional access system structure of correlation technique;
Fig. 2 is the flow chart according to the adjustment method of the conditional access system of the embodiment of the invention; And
Fig. 3 reads the detailed process flow process that local data carries out descrambling in the adjustment method according to the conditional access system of the embodiment of the invention.
Embodiment
Describe embodiments of the invention below with reference to accompanying drawings in detail.
In the present embodiment, provide a kind of adjustment method of conditional access system, this method is particularly useful for mobile terminal television.
This method comprises following processing (step S202-step S210) as shown in Figure 2:
Step S202, (Electronic Service Guide finds corresponding Session Description Protocol (SDP) file of key management messages (EMM) in ESG), and therefrom extracts IP and the port of EMM from electronic navigation services; S204 finds the program flow filament of the pairing Session Description Protocol file of channel of selection from ESG, and therefrom searches cipher controlled message, corresponding IP and the port of video element and audio frequency unit;
Wherein, the program flow filament can comprise at least: link information, multimedia messages, and preferably, carry link information in can be at the c in the session protocol description document capable, and the m in the session protocol description document carries multimedia messages in capable, like this, in above-mentioned steps, can in the session protocol description document, find out c capable (comprising link information) corresponding IP and m capable (comprising multimedia messages) corresponding port;
Step S206, according to the lookup result among step S202 and the step S204, (Transport stream extracts and the lookup result corresponding IP data in TS), and is the local file system file with the IP storage of extracting from transport stream;
In above-mentioned steps, IP that finds out according to step S202 and step S204 and port extract corresponding IP data (the IP data of extraction comprise: with the IP data of the IP of cipher controlled message, video element and the audio frequency unit of the channel of selecting and port corresponding IP data, cipher controlled message) from transport stream, be stored in the file separately, as emm.ip, ecm.ip, video.ip, audio.ip, afterwards these files are put into local file system, as the local file system file;
By the processing of step S202, store EMM data flow, ECM data flow and Voice ﹠ Video data flow into local file system to step S206.Next, will carry out the following associative operation shown in Fig. 3: obtain data flow->to data stream handle->send to KDA->control word->descrambler.
Step S208 reads the IP data of key management messages and cipher controlled message from the local file system file, remove the IP head of IP data, and with the IP data be sent to the key management system proxy for equipment (KMS Device Agent, KDA);
For example, can from local file system file emm.ip, read the IP data of key management messages, from file system files ecm.ip, read the IP data of cipher controlled message;
Step S210, the key management system proxy for equipment is received after the IP data of key management messages and cipher controlled message, with Universal Integrated Circuit Card (UICC (KMS App, KMS uses)) calculate according to key management messages and cipher controlled message together, obtain control word, and control word is sent to descrambler (Descrambler); And
Step S212, descrambler utilize control word that the data encryption streaming media (video, audio data stream) from local file system file (as video.ip and audio.ip) is carried out descrambling, produce media data expressly.
According to the execution return value of descrambler, can determine whether descrambling is successful, descrambler descrambles success, the then stream medium data of the channel of broadcast selection; If failure cause is then analyzed in the descrambler descrambles failure, wherein, can analyze failure cause according to the log that in debug process, writes down (debugging recording information).
From top description as can be seen, by means of technical scheme of the present invention, do not need server end equipment, (being used to broadcast TS stream) just can carry out the related works such as this locality debugging, transplanting of CAS not need to be provided with reflector, saved development cost, shortened the construction cycle; And, owing to only read the file of local storage in the debug process, therefore saved a series of required pre-process such as receiving DVB-H signal, search ESG, make debugging simpler, debugging efficiency is higher.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. the adjustment method of the conditional access system of a mobile terminal television is characterized in that, comprising:
Step S202 finds the Session Description Protocol file of key management messages correspondence in electronic navigation services, and therefrom searches the IP and the port of described key management messages;
Step S204 finds the program flow filament of the pairing Session Description Protocol file of channel of selection from electronic navigation services, and therefrom searches the IP of the IP of cipher controlled message correspondence and port, video element correspondence and port, corresponding IP and the port of audio frequency unit;
Step S206 according to the lookup result among described step S202 and the described step S204, extract and described lookup result corresponding IP data from transport stream, and the described IP storage that will extract is the local file system file;
Step S208 reads the IP data of described key management messages and described cipher controlled message from described local file system file, remove the IP head of described IP data, and described IP data are sent to the key management system proxy for equipment;
Step S210, described key management system proxy for equipment calculates described key management messages and described cipher controlled message with Universal Integrated Circuit Card, obtains control word, and described control word is sent to descrambler; And
Step S212, described descrambler utilize described control word that the data encryption streaming media from described local file system file is carried out descrambling.
2. adjustment method according to claim 1 is characterized in that, described program flow filament comprises: link information, multimedia messages.
3. adjustment method according to claim 1, it is characterized in that, in described step S206, the IP data of described extraction comprise: with the described IP of cipher controlled message, video element and the audio frequency unit of the channel of described selection and the IP data of port corresponding IP data and described cipher controlled message.
4. adjustment method according to claim 3 is characterized in that, in described step S206, deposits file respectively in by the IP data with described extraction, and described file is put into local file system generates described local file system file.
5. adjustment method according to claim 1 is characterized in that, in described step S212, if described descrambler descrambles is successful, then plays the stream medium data of the channel of described selection.
6. adjustment method according to claim 1 is characterized in that, in described step S212, if failure cause is then analyzed in the failure of described descrambler descrambles.
7. adjustment method according to claim 6 is characterized in that, according to the debugging recording information analysis failure cause that writes down in debug process.
CNB2007100979962A 2007-04-25 2007-04-25 The adjustment method of conditional access system Expired - Fee Related CN100551035C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100979962A CN100551035C (en) 2007-04-25 2007-04-25 The adjustment method of conditional access system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100979962A CN100551035C (en) 2007-04-25 2007-04-25 The adjustment method of conditional access system

Publications (2)

Publication Number Publication Date
CN101035252A CN101035252A (en) 2007-09-12
CN100551035C true CN100551035C (en) 2009-10-14

Family

ID=38731515

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100979962A Expired - Fee Related CN100551035C (en) 2007-04-25 2007-04-25 The adjustment method of conditional access system

Country Status (1)

Country Link
CN (1) CN100551035C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325199B (en) * 2011-09-13 2017-12-26 中兴通讯股份有限公司 IP address management method and device in terminal

Also Published As

Publication number Publication date
CN101035252A (en) 2007-09-12

Similar Documents

Publication Publication Date Title
CN101213835B (en) Method and apparatus for providing additional information on digital broadcasting program to IPTV in home network
KR101705010B1 (en) Processing recordable content in a stream
US20070033408A1 (en) Preventing illegal distribution of copy protected content
US20110010545A1 (en) Processing recordable content in a stream
CN103686333B (en) A kind of audio and video guard method and audio-video terminal
KR101920439B1 (en) Apparatus and method for sending encrypted data to a conditional access module over a common interface, Conditional access module, and System thereof
KR102004681B1 (en) Method and multimedia unit for processing a digital broadcast transport stream
CN104902311B (en) A kind of shared method of audio and video resources, shared gateway and system
US8571213B2 (en) Security method for preventing the unauthorized use of multimedia contents
KR20060064469A (en) Apparatus and method for protecting multicast streamed motion picture files
CN103535044A (en) Method of protecting a recorded multimedia content
US9641910B2 (en) Compression and decompression techniques for DRM license information delivery
US7783282B2 (en) Messaging over mobile phone network for digital multimedia network
CN108476337B (en) Method and apparatus for identifying peripheral devices from digital content
KR20050039705A (en) Controlled-access method and system for transmitting scrambled digital data in a data exchange network
KR20090056026A (en) Smart card and method for generating response message transmitted to mobile terminal supporting mobile broadcasting and the mobile terminal thereof
KR101925653B1 (en) Method to identify the origin of a security module in pay-tv decoder system
CN100589553C (en) Method for playing the interference-added TV program at the mobile phone TV terminal
CN100551035C (en) The adjustment method of conditional access system
KR100798508B1 (en) Multimedia content sharing service method and system by using network
CN113810780A (en) Video transmission method, device and storage medium
CN103037246A (en) Encryption content distribution method and conditional access device and system
KR100725782B1 (en) Broadcasting content protection system and method
WO2009083635A1 (en) Method and apparatus for protecting non real time content
Moon et al. Achieving interoperability in conditional access systems through the dynamic download and execution of cryptographic software for the IPTV system

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091014

Termination date: 20210425