KR20070076129A - Method and apparatus for processing entitlement management message in dmb terminal - Google Patents

Method and apparatus for processing entitlement management message in dmb terminal Download PDF

Info

Publication number
KR20070076129A
KR20070076129A KR1020060005163A KR20060005163A KR20070076129A KR 20070076129 A KR20070076129 A KR 20070076129A KR 1020060005163 A KR1020060005163 A KR 1020060005163A KR 20060005163 A KR20060005163 A KR 20060005163A KR 20070076129 A KR20070076129 A KR 20070076129A
Authority
KR
South Korea
Prior art keywords
message
management message
entitlement management
received
processing
Prior art date
Application number
KR1020060005163A
Other languages
Korean (ko)
Inventor
박재민
Original Assignee
엘지전자 주식회사
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 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR1020060005163A priority Critical patent/KR20070076129A/en
Publication of KR20070076129A publication Critical patent/KR20070076129A/en

Links

Images

Classifications

    • EFIXED CONSTRUCTIONS
    • E04BUILDING
    • E04FFINISHING WORK ON BUILDINGS, e.g. STAIRS, FLOORS
    • E04F19/00Other details of constructional parts for finishing work on buildings
    • E04F19/02Borders; Finishing strips, e.g. beadings; Light coves
    • E04F19/06Borders; Finishing strips, e.g. beadings; Light coves specially designed for securing panels or masking the edges of wall- or floor-covering elements
    • E04F19/062Borders; Finishing strips, e.g. beadings; Light coves specially designed for securing panels or masking the edges of wall- or floor-covering elements used between similar elements
    • E04F19/064Borders; Finishing strips, e.g. beadings; Light coves specially designed for securing panels or masking the edges of wall- or floor-covering elements used between similar elements in corners
    • EFIXED CONSTRUCTIONS
    • E04BUILDING
    • E04FFINISHING WORK ON BUILDINGS, e.g. STAIRS, FLOORS
    • E04F13/00Coverings or linings, e.g. for walls or ceilings
    • E04F13/02Coverings or linings, e.g. for walls or ceilings of plastic materials hardening after applying, e.g. plaster
    • E04F13/04Bases for plaster
    • E04F13/06Edge-protecting borders
    • E04F2013/063Edge-protecting borders for corners

Abstract

A method and an apparatus for processing entitlement management messages in a DMB terminal are provided to improve speed of processing entitlement management messages by reducing ON/OFF frequency of a broadcasting module to one time in processing the entitlement management messages transmitted through an OTA(Over The Air) for CAS(Conditional Access System) related work, thereby stably performing the CAS related work. The number of whole entitlement management messages included in received entitlement management messages is grasped(S410). It is confirmed whether the entitlement management messages are all processed(S420). If the entitlement management messages are not all processed, a flag is set up(S430). It is confirmed whether a message is a first entitlement management message(S440). If so, a broadcasting module is initialized(S441). It is confirmed whether a message is a final entitlement management message(S460). If so, the broadcasting module is turned off(S461). When all entitlement management messages are processed, entitlement management message processing is terminated(S480).

Description

DMB 겸용 단말기에서 자격 관리 메시지 처리 방법 및 장치{Method and apparatus for processing Entitlement Management Message in DMB terminal} Method and apparatus for processing Entitlement Management Message in DMB terminal

도 1은 자격 관리 메시지을 처리하는 시스템의 구성도를 나타낸다.1 shows a configuration diagram of a system for processing a qualification management message.

도 2는 종래 기술에 따른 자격 관리 메시지 처리 흐름도를 나타낸다.2 is a flow chart of a qualification management message processing according to the prior art.

도 3은 DMB 겸용 단말기에서 DMB 방송과 자격 관리 메시지을 처리하기 위한 모듈간의 관계를 나타낸다. 3 shows a relationship between a module for processing a DMB broadcast and an entitlement management message in a DMB dual terminal.

도 4는 본 발명에 따른 자격 관리 메시지 처리 흐름도를 나타낸다. 4 is a flowchart illustrating a qualification management message processing according to the present invention.

도 5는 플래그 설정 과정을 나타낸다. 5 shows a flag setting process.

도 6은 플래그 설정을 위한 비트 할당을 나타낸다.6 shows bit allocation for flag setting.

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>

310 : 수신부 320 : 카운터부310: receiver 320: counter

330 : 플래그 설정부 340 : 방송 모듈330 flag setting unit 340 broadcasting module

341 : 메시지 처리부 350 : 디코더341: message processing unit 350: decoder

360 : 재생부 370 : 제어부360: playback unit 370: control unit

본 발명은 디지털 멀티미디어 방송(Digital Multimedia Broadcasting,이하 "DMB"라고 한다) 겸용 단말기에 관한 것으로 특히, 이동통신망을 통해 전송(Over The Air, OTA)되는 자격 관리 메시지(Entitlement Management Message) 처리속도를 개선하는 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital multimedia broadcasting (hereinafter referred to as "DMB") combined terminal. In particular, the processing speed of Entitlement Management Message (Over The Air, OTA) transmitted through a mobile communication network is improved. It is about how to.

디지털 멀티미디어 방송은 무지향성 수신 안테나를 장착한 개인 휴대용 수신기 또는 차량용 수신기를 통해 이동 중에도 다양한 멀티미디어 방송을 다채널로 시청할 수 있도록 하는 방송 서비스를 말한다. 특히, 한국에서 채택된 위성 DMB는 국제전기통신연합(International Telecommunication Union; ITU)의 표준 Rec. BO.1130-4:System-E 로서 CDMA 이동전화와 비슷한 CDM(Code Division Multiplexing) 기술을 채택한다.Digital multimedia broadcasting refers to a broadcasting service that enables a user to watch various multimedia broadcasting in a multi-channel on the go through a personal portable receiver or a vehicle receiver equipped with an omnidirectional receiving antenna. In particular, the satellite DMB adopted in Korea is a standard of the International Telecommunication Union (ITU) Rec. BO.1130-4: System-E adopts Code Division Multiplexing (CDM) technology similar to CDMA mobile phones.

통상적으로 위성 디지털 멀티미디어 방송의 전송 규격으로 MPEG(Motion Picture Experts Group)-2 전송 스트림을 사용한다. 이러한 DMB 방송 규격에 따르면 DMB는 왈쉬코드(Walsh code) 정보를 포함하는 CDM(Code Division Multiplex) 채널의 구성 정보를 전송하는 파일럿(Pilot) 채널과, DMB 방송의 수신에 대한 인증 정보를 전송하는 수신 제한 시스템(Conditional Access System, CAS) 채널, 서비스 채널에 대한 정보를 전송하는 EPG(Electronic Program Guide) 채널, 그리고 실제 전송 스트림 패킷 데이터를 전송하는 적어도 하나의 미디어 채널로 구성된다.In general, a Motion Picture Experts Group (MPEG) -2 transport stream is used as a transmission standard for satellite digital multimedia broadcasting. According to the DMB broadcasting standard, the DMB is a pilot channel for transmitting configuration information of a CDM channel including Walsh code information, and a reception for transmitting authentication information for receiving DMB broadcasting. It consists of a Conditional Access System (CAS) channel, an Electronic Program Guide (EPG) channel for transmitting information about a service channel, and at least one media channel for transmitting actual transport stream packet data.

특히, 단말기가 DMB 시청 상태에서만 CAS 메시지가 전달됨에 따라, 고객이 가입, 해지 및 변경 시 자격이 제때에 부여되지 않을 수 있는 문제를 근원적으로 해결하기 위해 DMB 겸용 단말기의 경우, CAS의 가입, 해지 및 변경 등의 메시지를 CDMA 이동통신망(OTA)을 이용하여 단말기의 상태와 무관하게 처리할 수 있도록 하고 있다.In particular, as the CAS message is delivered only when the terminal is in DMB viewing state, in order to fundamentally solve the problem that entitlement may not be granted in time when a customer joins, terminates, or changes, the subscription or termination of CAS in the case of a DMB dual terminal And a message such as a change and the like can be processed regardless of the state of the terminal using a CDMA mobile communication network (OTA).

OTA-EMM 이란 이와 같이 OTA망을 통해서 전달되는 CAS 관련 작업을 처리하는 자격 관리 메세지(EMM, Entitlement Management Message)를 말한다. OTA-EMM refers to an Entitlement Management Message (EMM) that handles CAS-related operations delivered through the OTA network.

일반적으로 디스크램블링에 필요한 정보는 적어도 하나의 자격 제어 메시지(ECM, Entitlement Control Message) 및 하나의 자격 관리 메시지를 포함하는 조건부 액세스 메시지들(CAM, Control Acess Messages)이라고 불리우는 특정 액세스 제어 메시들 내에서 전송된다. 자격 제어 메시지들은 제어워드(CW, Control Word) 및 서비스 키에 의존하고, 반면에 자격 관리 메시지들은 서비스 키 및 사용자 키에 의존한다. 자격 제어 메시지 및 자격 관리 메시지는 주기적으로 그리고 연속적으로 단말기로 전송된다. In general, the information needed for descrambling is contained within certain access control meshes called Conditional Access Messages (CAMs) including at least one Entitlement Control Message (ECM) and one Entitlement Management Message (CAM). Is sent. Entitlement control messages depend on the Control Word (CW) and the service key, while entitlement management messages depend on the service key and the user key. The entitlement control message and the entitlement management message are sent to the terminal periodically and continuously.

도 1은 자격 관리 메시지을 처리하는 시스템의 구성도를 보여준다. 먼저 위성 DMB 가입자 관리 시스템(10)으로부터 전달 받은 신규가입, 해지 및/또는 변경 등의 고객 처리와 관련된 모든 메시지에 대해서 무선으로 전송되는 자격 관리 메시지을 MS(Mesage System) 서버(20)로 전달한다. MS서버는 2차 대역(Out-of-Band)을 사용하는 메시지가 단말기에 전달될 수 있도록 해주는 인터페이스를 제공하는 서버이다.1 shows a configuration diagram of a system for processing an entitlement management message. First of all, the entitlement management message is transmitted wirelessly to all messages related to customer processing such as new subscription, termination and / or change received from the satellite DMB subscriber management system 10. Transfer to MS (Mesage System) server 20. MS server is a server that provides an interface that allows messages that use the out-of-band to be delivered to the terminal.

MS 서버(20)는 모든 사업자를 통합 관리하며 위성 DMB 가입자 관리 시스템으로부터 전달받은 자격 관리 메시지을 각 사업자의 해당하는 OTA 서버(30)로 전송한다. OTA 서버(30)는 무선통신망을 제공하는 서버로서, 이동통신업체의 서버가 될 수 있다. 현재에는 도 1에 도시된 바와 같이 SK 텔레콤, KTF, LG텔레콤 등의 이동통신업체가 있다. MS 서버(20)는 메시지의 정상 송출 여부를 관리하며, 송출에 실패할 경우에는 재전송을 시도한다. OTA 서버(30)와 단말기 간의 메시지 전송 규격은 표준 규격(IS-683, IS-725)을 따르고 있다.The MS server 20 integrates and manages all operators and transmits the entitlement management message received from the satellite DMB subscriber management system to the corresponding OTA server 30 of each operator. The OTA server 30 is a server for providing a wireless communication network, and may be a server of a mobile communication company. Currently, as shown in FIG. 1, there are mobile communication companies such as SK Telecom, KTF, and LG Telecom. The MS server 20 manages whether the message is normally sent, and attempts to retransmit if the message fails to be sent. The message transmission standard between the OTA server 30 and the terminal follows the standard (IS-683, IS-725).

DMB겸용 단말기(50)는 이동통신망을 통해 자격 관리 메시지를 수신하면 DMB 모듈의 CA 태스크(TASK)에 자격 관리 메시지을 전달하고 CA 태스크에서 자격 관리 메시지을 처리하고 인증 절차를 거친다. 이 때 만약 DMB 모듈이 꺼져 있을 경우에는 DMB 모듈을 ON 시킨후 자격 관리 메시지을 전달하고, 작업 완료 후에는 DMB 모듈를 다시 OFF 하여야 한다.  When the DMB dual-use terminal 50 receives the entitlement management message through the mobile communication network, the entitlement management message is delivered to the CA task (TASK) of the DMB module, the entitlement management message is processed by the CA task, and undergoes an authentication procedure. At this time, if the DMB module is turned off, turn on the DMB module and deliver the credential management message. After completing the work, the DMB module should be turned off again.

도 2는 DMB 겸용 단말기에서 DMB 방송 상태가 아닌 경우에 기존 방식으로 자격 관리 메시지를 처리하는 방법을 나타낸 흐름도이다. 2 is a flowchart illustrating a method of processing an entitlement management message in a conventional manner when a DMB dual terminal is not in a DMB broadcasting state.

먼저 수신된 자격 관리 메시지 메시지에 포함된 전체 자격 관리 메시지 개수(N개)를 파악한다(S210). 전체 N개의 자격 관리 메시지를 모두 처리 했는지 여부를 확인하고(S220) 모두 처리하지 않은 경우에는 하나의 자격 관리 메시지를 처리하기 위해서 방송 모듈을 초기화하고 시작시킨다(S230). 즉, 방송 모듈을 ON시키는 것이다. 방송 모듈을 ON시킨 다음 하나의 자격 관리 메시지를 처리하고(S240), 방송 모듈을 다시 OFF시킨다(S250). 이 과정을 전체 자격 관리 메시지 개수인 N번 만큼 반복 수행한다(S260). 즉, N개의 메시지를 모두 처리하였는지 여부를 확인하고(S220), 모두 처리하지 않은 경우에는 다음 메시지를 처리하고 모두 처리한 경우에는 자격 관리 메시지 처리를 종료하게 된다(S270). First, determine the total number (N) of entitlement management messages included in the received entitlement management message message (S210). Check whether all N credential management messages have been processed (S220), and if not all are processed, initialize and start a broadcast module to process one credential management message (S230). In other words, the broadcasting module is turned on. After the broadcasting module is turned on, one qualification management message is processed (S240), and the broadcasting module is turned off again (S250). This process is repeated as many as N times the total number of entitlement management messages (S260). That is, it is checked whether all N messages have been processed (S220). If not, all of the following messages are processed, and if all of them have been processed, the qualification management message processing is terminated (S270).

상기에서 살펴본 바와 같이 종래 기술에 의하면 자격 관리 메시지를 처리시 마다 방송 모듈을 ON/OFF 하여야 한다. CAS 작업을 처리하는데 필요한 자격 관리 메시지 개수는 작업의 종류에 따라서 다르기 때문에 자격 관리 메시지 개수가 많은 경우에는 그 만큼 방송 모듈의 ON/OFF 회수가 많아진다. 예를 들면 신규가입의 경우 필요한 자격 관리 메시지의 개수는 6개이고, IPPV(Impulse Pay Per view)추가 작업의 경우 필요한 자격 관리 메시지 개수는 1개이며, 서비스 해지의 경우 필요한 자격 관리 메시지 개수는 4개이다. 즉, 신규가입의 경우에는 6개의 자격 관리 메시지을 처리해야 하고, DMB 방송상태가 아닌 경우에는 방송 모듈을 여섯번 ON/OFF 해야 한다. IPPV (Impulse Pay Per view) 란 시청한 프로그램에 대해서만 요금을 지불하는 PPV(Pay Per View, 개별 프로그램 유료시청) 시스템 중에서 시청하고자 할 때 즉시 계약할 수 있는 PPV 방식의 하나이다.As described above, according to the related art, the broadcasting module should be turned on / off every time the entitlement management message is processed. Since the number of entitlement management messages required to process a CAS task varies depending on the type of the task, when the number of entitlement management messages is large, the number of ON / OFF times of the broadcasting module increases. For example, the number of entitlement management messages required for a new subscription is 6, the number of entitlement management messages required for an impulse pay per view (IPPV) addition operation is one, and the number of entitlement management messages required for service termination is four. . That is, in the case of a new subscription, six credential management messages must be processed, and in the case of non-DMB broadcasting, the broadcasting module must be turned ON / OFF six times. IPPV (Impulse Pay Per view) is a PPV (Pay Per View) system that pays only for the program you watch.

그러나, 방송 모듈을 초기화하고 시작하는데는 시간이 많이 걸리기 때문에 자격 관리 메시지 개수가 많은 경우에는 자격 관리 메시지를 모두 처리하는데 상당한 시간이 소요되는 문제점이 있다. However, since it takes a long time to initialize and start the broadcast module, there is a problem that it takes a considerable time to process all of the entitlement management messages when the number of entitlement management messages is large.

본 발명의 목적은 상기의 문제점을 해결하기 위한 것으로서, DMB 겸용 단말기에서 DMB 방송 상태가 아닌 경우에 가입, 해지 및/또는 변경 등의 CAS 관련 작업을 위해서 DMB 가입자 관리 시스템에서 전송하는 자격 관리 메시지 메시지를 처리하는데 소요되는 시간을 단축시키는 방법 및 장치를 제공하는데 있다.An object of the present invention is to solve the above problems, the DMB subscriber management system message to the qualification management message transmitted by the DMB subscriber management system for the CAS-related operations such as subscription, termination and / or change when the DMB broadcast state is not To provide a method and apparatus for reducing the time required to process the.

본 발명에 따른 자격 관리 메시지 처리 방법은, The method for processing entitlement management message according to the present invention,

수신되는 전체 자격 관리 메시지의 개수를 파악하는 단계;Determining the number of all entitlement management messages received;

상기 자격 관리 메시지를 처리하는 단계;를 포함하는 DMB 겸용 단말기에 있어서, 상기 자격 관리 메시지의 수에 관계없이 방송 모듈을 1회만 시작하고 종료하는 것을 특징으로 한다.And processing the entitlement management message. The DMB dual terminal comprising: starting and terminating the broadcast module only once regardless of the number of the entitlement management messages.

또한 본 발명에 따른 자격 관리 메시지 처리 방법은, 상기 자격 관리 메시지가 첫번째 메시지인 경우에 방송 모듈을 시작하는 것을 특징으로 한다.In addition, the method for processing a credential management message according to the present invention is characterized in that the broadcasting module is started when the credential management message is the first message.

또한 본 발명에 따른 자격 관리 메시지 처리 방법은, 상기 자격 관리 메시지가 마지막 메시지인 경우에 방송 모듈을 종료하는 것을 특징으로 한다.In addition, the method for processing an entitlement management message according to the present invention is characterized in that the broadcasting module is terminated when the entitlement management message is the last message.

또한 본 발명에 따른 자격 관리 메시지 처리 방법은, In addition, the credential management message processing method according to the present invention,

수신되는 전체 자격 관리 메시지의 개수를 파악하는 단계;Determining the number of all entitlement management messages received;

상기 자격 관리 메시지를 처리하는 단계;를 포함하는 DMB 겸용 단말기에 있어서, 상기 수신되는 자격 관리 메시지가 첫번째 또는 마지막 메시지인지 여부를 여부를 확인할 수 있는 플래그를 설정하는 단계를 포함하고, 상기 자격 관리 메시지의 수에 관계없이 방송 모듈을 1회만 시작하고 종료하는 것을 특징으로 한다.Processing the entitlement management message; comprising the step of: setting a flag for confirming whether the received entitlement management message is the first or the last message; Irrespective of the number of times, the broadcasting module starts and ends only once.

또한 본 발명에 따른 자격 관리 메시지 처리 방법은, 상기 플래그가 첫번째 메시지를 나타내는 경우에 방송 모듈을 시작하는 것을 특징으로 한다.In addition, the method for processing an entitlement management message according to the present invention is characterized in that the broadcasting module is started when the flag indicates the first message.

또한 본 발명에 따른 자격 관리 메시지 처리 방법은, 상기 플래그가 마지막 메시지를 나타내는 경우에 방송 모듈을 종료하는 것을 특징으로 한다.In addition, the method for processing an entitlement management message according to the present invention is characterized in that the broadcasting module is terminated when the flag indicates the last message.

또한 본 발명에 따른 자격 관리 메시지 처리 방법은, 상기 플래그 설정을 위 하여 2비트를 할당하는 것을 특징으로 한다.In addition, the method for processing a credential management message according to the present invention is characterized by allocating 2 bits for setting the flag.

또한 본 발명에 따른 자격 관리 메시지 처리 방법은, 상기 플래그 설정시 수신되는 자격 관리 메시지가 첫번째 메시지인 경우에는 하위 비트에 1을 설정하는 것을 특징으로 한다.In addition, the method for processing a credential management message according to the present invention is characterized in that 1 is set to a lower bit when the credential management message received when the flag is set is the first message.

또한 본 발명에 따른 자격 관리 메시지 처리 방법은, 상기 플래그 설정시 수신되는 자격 관리 메시지가 마지막 자격 관리 메시지인 경우에는 상위 비트에 1을 설정하는 것을 특징으로 한다.In addition, the method for processing a credential management message according to the present invention is characterized in that, if the credential management message received at the flag setting is the last credential management message, 1 is set to an upper bit.

또한 본 발명에 따른 자격 관리 메시지 처리 장치는, In addition, the entitlement management message processing device according to the present invention,

자격 관리 메시지를 수신하는 수신부;Receiving unit for receiving a qualification management message;

상기 수신된 메시지의 개수를 파악하고 수신된 메시지의 순서를 파악하는 카운터부;A counter unit to identify the number of received messages and determine the order of received messages;

상기 수신된 메시지를 처리하고 수신된 디지털 방송 데이터를 복조하여 전송스트림을 생성하는 방송 모듈;A broadcast module for processing the received message and demodulating the received digital broadcast data to generate a transport stream;

상기 카운터부의 확인된 메시지에 따라 방송 모듈을 시작 또는 종료하도록 제어하는 제어부를 포함하는 것을 특징으로 한다.And a control unit controlling to start or end the broadcasting module according to the checked message of the counter unit.

또한 본 발명에 따른 자격 관리 메시지 처리 장치는, 수신된 자격 관리 메시지의 첫번째, 또는 마지막 여부를 표시하는 플래그를 설정하는 플래그 설정부를 더 포함하는 것을 특징으로 한다. In addition, the apparatus for processing entitlement management message according to the present invention may further include a flag setting unit for setting a flag indicating whether the received entitlement management message is first or last.

또한 본 발명에 있어서, 상기 제어부는 플래그 설정부의 플래그를 확인하여 방송 모듈을 시작 또는 종료하도록 제어하도록 하는 것을 포함하는 것을 특징으로 한다.In addition, in the present invention, the control unit may include controlling to start or end the broadcasting module by checking a flag of the flag setting unit.

이하 본 발명의 실시예를 첨부된 도면을 참조하여 상세히 기술한다. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 3은 본 발명의 실시에 따른 단말기의 개략적인 구성도를 나타낸것이다. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.

본 발명의 목적을 달성하기 위한 단말기는 디지털 방송 및 자격관리 메시지를 수신하는 수신부(310), 상기 수신된 자격 관리 메시지를 카운터하고 순서를 확인하는 카운터부(320), 상기 수신된 자격 관리 메시지의 첫번째 또는 마지막 여부를 표시하는 플래그를 설정하는 플래그 설정부(330), 상기 수신된 자격 관리 메시지를 처리하고 수신된 디지털 방송 데이터를 복조하여 전송 스트림을 생성하는 방송모듈(340), 상기 방송 모듈로부터 전송 스트림을 입력받아 디코딩 하는 디코더부(350), 디지털 멀티미디어 방송을 재생하는 재생부(360), 상기 카운터부와 플래그 설정부의 신호에 따라 방송 모듈을 시작 또는 종료시키는 제어부(370), 수신 제한 시스템(CAS)에 필요한 데이터를 기록해 두는 스마트카드(380)를 포함한다. A terminal for achieving the object of the present invention includes a receiving unit 310 for receiving a digital broadcasting and qualification management message, a counter unit 320 for counting the received qualification management message and confirming the order of the received qualification management message. A flag setting unit 330 for setting a flag indicating whether it is the first or the last; a broadcast module 340 for processing the received entitlement management message and demodulating the received digital broadcast data to generate a transport stream; A decoder 350 for receiving and decoding a transport stream, a reproducing unit 360 for reproducing digital multimedia broadcasting, a control unit 370 for starting or terminating a broadcasting module according to signals of the counter and flag setting unit, and a reception restriction system And a smart card 380 for recording data required for (CAS).

상기 수신부(310)를 통해 자격 관리 메시지를 수신하면 카운터부(320)에서 수신된 자격 관리 메시지를 개수를 파악하고 수신된 순서를 파악하여 첫번째 및 마지막 메시지를 확인한다. 메시지의 순서가 확인되면 플래그 설정부(330)에서는 첫번째 및 마지막 메시지를 표시하는 플래그를 설정한다. 이때 만약 수신된 자격 관리 메시지가 하나라면 첫번째 메시지를 나타내는 플래그와 마지막 메시지임을 나타내는 플래그를 동시에 설정한다. When the qualification management message is received through the receiver 310, the number of the qualification management messages received by the counter unit 320 is determined, and the received order is checked to confirm the first and last messages. When the order of the messages is confirmed, the flag setting unit 330 sets flags indicating the first and last messages. At this time, if there is only one credential management message, a flag indicating the first message and a flag indicating the last message are simultaneously set.

상기 제어부(370)에서는 상기 설정된 플래그를 확인하여 첫번째 메시지임을 나타내는 플래그인 경우에는 방송 모듈을 시작하고 마지막 메시지임을 나타내는 플 래그인 경우에는 방송 모듈을 종료시키도록 제어하는 역할을 수행한다. The controller 370 checks the set flag and starts the broadcasting module in the case of the flag indicating the first message and ends the broadcasting module in the case of the flag indicating the last message.

상기 방송 모듈(340)은 제어부의 제어에 따라 시작 또는 종료되고 메시지 처리부를 포함(341)하고 있다. 즉, 첫번째 자격 관리 메시지인 경우에는 방송 모듈은 제어부의 제어에 따라 시작되고 메시지 처리부에서 인증에 필요한 작업 절차를 처리하며 첫번째 자격 관리 메시지가 아닌 경우에는 방송 모듈을 시작하는 절차 없이 바로 메시지를 처리한다. 그리고 마지막 자격 관리 메시지인 경우에는 방송 모듈은 제어부의 제어에 의해 종료된다. 또한 상기 자격 관리 메시지 및 자격 제어 메시지를 추출하여 스마트 카드(380)에 보내면 스마트 카드는 상기 정보를 저장하고 이를 이용하여 디스크램블 키를 생성 한 후 디코더(350)에 전달하면 디코더에서 디스크램블 키를 이용하여 암호 해독을 하게 되고 오디오 및 비디오 신호를 복호화하여 재생부(360)에서 재생하게 된다. The broadcast module 340 starts or ends under the control of the controller and includes a message processor 341. That is, in the case of the first entitlement management message, the broadcast module starts under the control of the controller and processes the work procedure required for authentication in the message processing unit, and if it is not the first entitlement management message, the broadcast module processes the message immediately without starting the broadcast module. . In the case of the last qualification management message, the broadcast module is terminated under the control of the controller. In addition, when the credential management message and the credential control message are extracted and sent to the smart card 380, the smart card stores the information, generates a descramble key using the generated information, and delivers the descramble key to the decoder 350. Decryption is used to decode and the audio and video signals are decoded and reproduced by the playback unit 360.

도 4는 DMB 겸용 단말기에서 방송 상태가 아닌 경우에 본 발명의 실시에 따른 자격 관리 메시지 메시지를 처리하는 방법을 나타낸 흐름도이다. 4 is a flowchart illustrating a method of processing an entitlement management message message according to an embodiment of the present invention when the DMB dual terminal is not in a broadcast state.

먼저 수신된 자격 관리 메시지 메시지에 포함된 전체 자격 관리 메시지의 개수(N개)를 파악한다(S410). First, the number (N) of all the entitlement management messages included in the received entitlement management message message is determined (S410).

자격 관리 메시지 개수 파악 후, N개의 자격 관리 메시지을 모두 처리하였는지 여부를 확인하고(S420), 모두 처리하지 않은 경우에는 플래그를 설정하고(S430), 모두 처리한 경우에는 메시지 처리를 종료한다(S480).After grasping the number of qualification management messages, it is checked whether all N qualification management messages have been processed (S420), and if not all are processed, a flag is set (S430), and when all are processed, message processing ends (S480). .

플래그 설정 방법은 도 5와 도 6을 참조하여 설명한다. The flag setting method will be described with reference to FIGS. 5 and 6.

먼저 도 5를 참조하여 살펴 보면, 먼저 첫번째 자격 관리 메시지을 표시하기 위해 할당된 비트(이하 FS)와 마지막 자격 관리 메시지을 표시하기 위해 할당된 비트(이하 LT)를 0으로 세팅한다(S510). 수신되는 자격 관리 메시지가 첫번째 자격 관리 메시지이면(S520) FS를 1로 세팅하고(S521), 마지막 자격 관리 메시지이면(S530) LT를 1로 세팅한다(S531). First, referring to FIG. 5, first, a bit allocated to display the first credential management message (hereinafter, FS) and a bit allocated to display the last credential management message (hereinafter, LT) are set to 0 (S510). If the received credential management message is the first credential management message (S520), FS is set to 1 (S521), and if the last credential management message (S530), LT is set to 1 (S531).

도 6은 플래그 설정을 위해 할당된 비트를 나타낸 것이다. 6 shows bits allocated for flag setting.

예를 들어 플래그 설정을 위해 2비트를 사용하다면, 하위비트를 FS로 사용하고 상위비트를 LT로 사용한다. 즉, FS가 1이면 첫번째 자격 관리 메시지를 나타내고, LT가 1이면 마지막 자격 관리 메시지를 나타내며, FS와 LT가 모두 0이면 중간에 위치한 자격 관리 메시지를 나타내는 것으로 설정할 수 있다. For example, if you use 2 bits to set the flag, use the low bit as FS and the high bit as LT. That is, if FS is 1, the first credential management message may be set. If LT is 1, the last credential management message may be set. If both FS and LT are 0, the credential management message located in the middle may be set.

도 5에서와 같은 방법으로 플래그 설정이 끝나면 첫번째 자격 관리 메시지 인지 여부를 확인한다(S440). 상기 플래그 설정을 참조하여 FS가 1이면 첫번째 자격 관리 메시지로 인식한다. 첫번째 자격 관리 메시지인 경우에는 방송 모듈을 초기화하고 시작시킨다(S441). 즉, 방송 모듈을 ON시키는 것이다. 첫번째 자격 관리 메시지가 아닌 경우에는 바로 자격 관리 메시지을 처리하여 인증 절차를 거치고, 첫번째 자격 관리 메시지인 경우에는 방송 모듈을 초기화하고 시작한 후 자격 관리 메시지을 처리하는 것이다. 첫번째가 아닌 경우에는 DMB 모듈이 이미 ON되어 있는 상태이기 때문에 별도의 절차를 거칠 필요 없이 바로 자격 관리 메시지을 처리할 수 있기 때문이다. When the flag is set in the same manner as in FIG. 5, it is checked whether the first qualification management message is present (S440). With reference to the flag setting, if FS is 1, it is recognized as the first qualification management message. If it is the first qualification management message, the broadcast module is initialized and started (S441). In other words, the broadcasting module is turned on. If it is not the first credential management message, the credential management message is processed immediately and the authentication procedure is performed. In the first credential management message, the credential management message is processed after initializing and starting the broadcast module. If it is not the first time, since the DMB module is already in the ON state, it is possible to process the credential management message without going through a separate procedure.

메시지 처리 후, 마지막 자격 관리 메시지 여부를 확인한다(S460). 상기 절차에서 설정된 플래그 LT가 1이면 마지막 자격 관리 메시지으로 인식한다. 마지막 자격 관리 메시지인 경우에는 방송 모듈을 종료(OFF)시킨(S461) 후, 자격 관리 메시지처리 여부 확인 단계(S420)로 되돌아가고, 마지막 자격 관리 메시지가 아닌 경우에는 방송 모듈을 종료시키는 절차 없이 자격 관리 메시지 처리 여부 확인 단계(S420)로 돌아간다. After processing the message, it is checked whether or not the last qualification management message (S460). If the flag LT set in the above procedure is 1, it is recognized as the last qualification management message. In the case of the last entitlement management message, the broadcasting module is terminated (OFF), and then the process returns to the step of checking whether the entitlement management message is processed (S420). The process returns to whether the management message is processed (S420).

마지막 자격 관리 메시지 확인 후 모든 자격 관리 메시지가 처리되었다고 판단되는 경우에는 자격 관리 메시지 처리를 종료하게 된다(S480).If it is determined that all the entitlement management messages have been processed after the last entitlement management message is checked, the entitlement management message processing is terminated (S480).

예를 들어서 설명하면, CAS 신규가입을 처리하기 위한 자격 관리 메시지는 전체 6개의 자격 관리 메시지로 구성되어 있다. 따라서 첫 번째 자격 관리 메시지을 처리할 때 DMB 모듈을 ON시키고, 두 번째부터 다섯 번째 자격 관리 메시지을 처리할 때는 바로 메시지 처리부로 전달하여 인증 절차 등의 처리를 거치며 마지막 여섯 번째 자격 관리 메시지를 처리하고 나서는 방송 모듈을 OFF시킨다.  For example, the credential management message for processing a new CAS subscription is composed of six credential management messages. Therefore, the DMB module is turned on when the first credential management message is processed, and when the second to fifth credential management messages are processed, the DMB module is immediately transferred to the message processing unit for processing such as an authentication procedure. Turn off the module.

다른 일례를 들어서 설명하면, CAS IPPV(Impulse Pay Per view)추가 작업을 처리하기 위한 자격 관리 메시지는 1개의 메시지로 구성되어 있다. 이 경우에는 하나의 자격 관리 메시지가 첫번째이자 마지막 자격 관리 메시지이므로 먼저 방송 모듈을 ON시키고 나서 자격 관리 메시지을 처리한 후 다시 방송 모듈을 OFF시킨다.As another example, the entitlement management message for processing the CAS impulse pay per view (IPPV) addition operation is composed of one message. In this case, since one credential management message is the first and last credential management message, the broadcast module is first turned on, and then the broadcast module is turned off again after processing the credential management message.

상기의 실시예에서는 플래그를 설정하여 자격 관리 메시지이 첫번째 또는 마지막인지를 체크하였지만, 플래그 설정 단계(S430)없이도 플래그의 순서를 파악할 수도 있다. In the above embodiment, the flag is set to check whether the qualification management message is the first or the last, but the order of the flags may be grasped without the flag setting step (S430).

전체 자격 관리 메시지 메시지 개수를 파악하는 단계(S410)에서 카운트를 위해서 임의의 매개변수를 i=1로 설정하고 루프를 돌때 마다 매개변수 i를 하나씩 증 가시면서 개수를 파악하고 있는데, 매개변수 i가 1인 때를 첫번째 자격 관리 메시지으로 인식하고, i가 N일때 마지막 자격 관리 메시지으로 인식할 수 있기 때문에 상기에의 플래그 설정(S430)단계가 없더라고 동일한 효과를 얻을 수 있다. In step S410 of determining the total number of entitlement management message messages, the random parameter is set to i = 1 for counting, and the number of parameters i is increased by increasing the parameter i one by one each time the loop passes. Since 1 can be recognized as the first entitlement management message and i can be recognized as the last entitlement management message when i is N, the same effect can be obtained even without the above flag setting step (S430).

다만 상기에서 설명한 것과 같이 플래그를 설정함으로써 매개변수 i의 인식과 방송 모듈의 ON/OFF가 다른 모듈에서 처리되더라도 첫번째 또는 마지막 자격 관리 메시지인지를 인식할 수 있는 효과가 있다. However, by setting a flag as described above, even if the recognition of the parameter i and the ON / OFF of the broadcasting module are processed in another module, it is possible to recognize whether it is the first or the last qualification management message.

이상에서 설명한 본 발명은 본 발명이 속하는 기술분야에서 통상의 지식을 가진자에 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지로 치환 또는 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 한정되는 것은 아니다. The present invention described above may be substituted or changed in various ways without departing from the technical spirit of the present invention for those skilled in the art to which the present invention pertains. It is not limited.

이상에서와 같이 본 발명은 DMB 겸용 단말기에서 가입, 해지 및/또는 변경 등의 CAS 관련 작업을 위해서 전송받은 이동통싱망(OTA)을 통해 전송 받은 자격 관리 메시지를 처리할 때 방송 모듈을 ON, OFF시키는 횟수를 1회로 줄여서 메시지 처리 속도를 개선하였다. 자격 관리 메시지를 처리하는데 시간이 오래 걸리면 처리 도중에 배터리 탈착과 같은 예상치 못한 일이 발생하면 CAS관련 작업을 정상적으로 수행 할 수 없게 되며, 이 경우에는 사용자는 고객센터에 작업을 재요청을 해야 하는 등의 문제가 있으나, 본 발명에 의하면, 자격 관리 메시지 처리속도를 개선하여 보다 안정적으로 CAS관련 작업을 수행할 수 있게 함으로써 향후 발생할 수 있는 고객불만을 사전에 예방하는 효과가 있다. As described above, according to the present invention, the broadcasting module is turned on and off when the DMB dual terminal processes the entitlement management message transmitted through the mobile communication network (OTA) received for CAS related operations such as subscription, termination, and / or change. The message processing speed is improved by reducing the number of times to be one. If it takes a long time to process the entitlement management message, if an unexpected event such as battery removal occurs during processing, CAS-related work cannot be performed normally. In this case, the user needs to re-request the work to the customer center. Although there is a problem, according to the present invention, it is possible to perform a CAS related work more stably by improving the processing speed of the qualification management message, thereby preventing customer complaints that may occur in the future.

Claims (12)

수신되는 전체 자격 관리 메시지의 개수를 파악하는 단계;Determining the number of all entitlement management messages received; 상기 자격 관리 메시지를 처리하는 단계;를 포함하는 DMB 겸용 단말기에 있어서, 상기 자격 관리 메시지의 수에 관계없이 방송 모듈을 1회만 시작 또는 종료하는 것을 특징으로 하는 자격 관리 메시지 처리 방법.And processing the credential management message, wherein the credential management message processing method comprises starting or terminating the broadcasting module only once regardless of the number of the credential management messages. 제 1항에 있어서, 상기 자격 관리 메시지가 첫번째 메시지인 경우에 방송 모듈을 시작하는 것을 특징으로 하는 자격 관리 메시지 처리 방법.The method of claim 1, wherein the broadcast module is started when the entitlement management message is the first message. 제 1항에 있어서, 상기 자격 관리 메시지가 마지막 메시지인 경우에 방송 모듈을 종료하는 것을 특징으로 하는 자격 관리 메시지 처리 방법.The method of claim 1, wherein the broadcast module is terminated when the entitlement management message is the last message. 수신되는 전체 자격 관리 메시지의 개수를 파악하는 단계;Determining the number of all entitlement management messages received; 상기 자격 관리 메시지를 처리하는 단계;를 포함하는 DMB 겸용 단말기에 있어서, 상기 수신되는 자격 관리 메시지가 첫번째 또는 마지막 메시지인지 여부를 여부를 확인할 수 있는 플래그를 설정하는 단계를 포함하고, 상기 자격 관리 메시지의 수에 관계없이 방송 모듈을 1회만 시작 또는 종료하는 것을 특징으로 하는 자격 관리 메시지 처리 방법.Processing the entitlement management message; comprising the step of: setting a flag for confirming whether the received entitlement management message is the first or the last message; The credential management message processing method, characterized in that the broadcasting module is started or terminated only once regardless of the number. 제 4항에 있어서, 상기 플래그가 첫번째 메시지를 나타내는 경우에 방송 모듈을 시작하는 것을 특징으로 하는 자격 관리 메시지 처리 방법.5. The method of claim 4, wherein starting a broadcast module when the flag indicates a first message. 제 4항에 있어서, 상기 플래그가 마지막 메시지를 나타내는 경우에 방송 모듈을 종료하는 것을 특징으로 하는 자격 관리 메시지 처리 방법.5. The method of claim 4, wherein the broadcast module is terminated when the flag indicates a last message. 제 4항에 있어서, 상기 플래그 설정을 위하여 2비트를 할당하는 것을 특징으로 하는 자격 관리 메시지 처리 방법.5. The method of claim 4, wherein two bits are allocated for the flag setting. 제 4항에 있어서, 상기 플래그 설정시 수신되는 자격 관리 메시지가 첫번째 메시지인 경우에는 하위 비트에 1을 설정하는 것을 특징으로 하는 자격 관리 메시지 처리 방법.5. The method of claim 4, wherein if the credential management message received when the flag is set is a first message, 1 is set to a lower bit. 제 4항에 있어서, 상기 플래그 설정시 수신되는 자격 관리 메시지가 마지막 자격 관리 메시지인 경우에는 상위 비트에 1을 설정하는 것을 특징으로 하는 자격 관리 메시지 처리 방법.5. The method of claim 4, wherein if the credential management message received when the flag is set is a last credential management message, 1 is set to an upper bit. 자격 관리 메시지를 수신하는 수신부;Receiving unit for receiving a qualification management message; 상기 수신된 메시지의 개수를 파악하고 수신된 메시지의 순서를 파악하는 카운터부;A counter unit to identify the number of received messages and determine the order of received messages; 상기 수신된 메시지를 처리하고 수신된 디지털 방송 데이터를 복조하여 전송스트림을 생성하는 방송 모듈;A broadcast module for processing the received message and demodulating the received digital broadcast data to generate a transport stream; 상기 카운터부의 확인된 메시지에 따라 방송 모듈을 시작 또는 종료하도록 제어하는 제어부를 포함하는 것을 특징으로 하는 자격 관리 메시지 처리 장치.And a control unit for controlling to start or end the broadcasting module according to the checked message of the counter unit. 제 10항에 있어서, 수신된 자격 관리 메시지의 첫번째, 또는 마지막 여부를 표시하는 플래그를 설정하는 플래그 설정부를 더 포함하는 것을 특징으로 하는 자격 관리 메시지 처리 장치.The apparatus of claim 10, further comprising a flag setting unit that sets a flag indicating whether the received credential management message is first or last. 제 11항에 있어서, 상기 제어부는 플래그 설정부의 플래그를 확인하여 방송 모듈을 시작 또는 종료하도록 제어하도록 하는 것을 특징으로 하는 자격 관리 메시지 처리 장치.12. The apparatus of claim 11, wherein the controller is configured to check the flag of the flag setting unit to control to start or end the broadcasting module.
KR1020060005163A 2006-01-18 2006-01-18 Method and apparatus for processing entitlement management message in dmb terminal KR20070076129A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060005163A KR20070076129A (en) 2006-01-18 2006-01-18 Method and apparatus for processing entitlement management message in dmb terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060005163A KR20070076129A (en) 2006-01-18 2006-01-18 Method and apparatus for processing entitlement management message in dmb terminal

Publications (1)

Publication Number Publication Date
KR20070076129A true KR20070076129A (en) 2007-07-24

Family

ID=38501122

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060005163A KR20070076129A (en) 2006-01-18 2006-01-18 Method and apparatus for processing entitlement management message in dmb terminal

Country Status (1)

Country Link
KR (1) KR20070076129A (en)

Similar Documents

Publication Publication Date Title
KR100755435B1 (en) Digital broadcasting conditional access terminal and method thereof
JP4533888B2 (en) Data stream format processing for audio and video reception by mobile devices
US20050047448A1 (en) Digital multimedia broadcasting receiver and method for reproducing digital multimedia data
EP1300035A1 (en) A receiver
US8640249B2 (en) Digital broadcasting conditional access system and method
CN104703029B (en) A kind of digital television program flow point enjoys method, apparatus, terminal and system
CN102957961A (en) Method and device for sharing encrypted digital television programs and digital television receiver
CN101442664B (en) Terminal, system and method for previewing program in mobile multimedia broadcast system
US7995755B2 (en) Method for management of access means to conditional access data
KR100703554B1 (en) Subscriber management system and method thereof in the digital multimedia broadcasting
CN106973315B (en) Broadcast television network multichannel intelligent scheduling transmission system and method based on user requirements
US8432941B2 (en) Method and apparatus for selective caching of burst stream transmission
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
CN101277160B (en) Method for previewing programs and apparatus thereof
US8707346B2 (en) Method and apparatus for digital broadcasting service
US8843954B2 (en) Information transmission method, system and data card
EP2278800B1 (en) A method and apparatus for terminal to obtain decryption and descrambling information
KR20050090399A (en) Method for access control in digital pay television
KR20070076129A (en) Method and apparatus for processing entitlement management message in dmb terminal
US8578155B2 (en) Address generating method and broadcast receiving apparatus
CN1404693A (en) Distributed digital television system and related method
KR20060041563A (en) Method for updating entitlement information in conditional access system
CN113747220A (en) Method and system for realizing DVB (digital video broadcasting) receiving of mobile terminal based on coaxial gateway
KR100853084B1 (en) Method for processing emm in terminal where dmb module and mobile communication module is included
CN109413491A (en) A kind of method and device of the descrambling audio, video data for reducing bandwidth

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination