KR100655027B1 - Digital two-way communication control device and its method - Google Patents

Digital two-way communication control device and its method Download PDF

Info

Publication number
KR100655027B1
KR100655027B1 KR20047010661A KR20047010661A KR100655027B1 KR 100655027 B1 KR100655027 B1 KR 100655027B1 KR 20047010661 A KR20047010661 A KR 20047010661A KR 20047010661 A KR20047010661 A KR 20047010661A KR 100655027 B1 KR100655027 B1 KR 100655027B1
Authority
KR
South Korea
Prior art keywords
data
header
mac
tek
macmm
Prior art date
Application number
KR20047010661A
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 KR20047010661A priority Critical patent/KR100655027B1/en
Application granted granted Critical
Publication of KR100655027B1 publication Critical patent/KR100655027B1/en

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

인터페이스 블록(11)은, 입력된 다운스트림 데이터(STRM)를 포맷 변환한다. CPU(12)는 포맷 변환된 데이터(DIF)를 받아 MAC기능을 실현한다. 또 TEK처리블록(13)은 데이터(DIF)로부터 얻어진 TEK처리데이터(DTEK)를 받아 그 데이터 구조를 해석하고, 이 해석결과를 기초로 하여 복호처리를 실행한다.The interface block 11 formats the input downstream data STRM. The CPU 12 receives the format-converted data DIF to implement the MAC function. The TEK processing block 13 receives the TEK processing data DTEK obtained from the data DIF, analyzes the data structure, and performs decoding processing based on the analysis result.

Description

디지털 쌍방향통신 제어장치 및 그 방법{DIGITAL TWO-WAY COMMUNICATION CONTROL DEVICE AND ITS METHOD}DIGITAL TWO-WAY COMMUNICATION CONTROL DEVICE AND ITS METHOD}

본 발명은 디지털 쌍방향통신에서의 쌍방향 제어를 실행하는 장치에 관한 것이며, 특히 중앙장치 쪽에서 단말장치 쪽으로의 하향통신에 관한 구성의 최적화를 실행하는 기술에 속한다.The present invention relates to an apparatus for performing two-way control in digital two-way communication, and particularly belongs to a technique for performing configuration optimization related to downlink communication from the central apparatus side to the terminal apparatus.

쌍방향 CATV로 대표되는 디지털 쌍방향 통신시스템은, 중앙장치에 대해 복수의 단말장치가 접속된 쌍방향 통신망으로 구성된다. 이 개개의 단말장치에 있어서, 중앙장치 쪽에서 단말장치 쪽으로의 하향통신 및 단말장치 쪽에서 중앙장치 쪽으로의 상향통신의 쌍방향 제어는 MAC(Media Access Control)기능으로 불리며, 통상은 통신데이터 중에 서브레이어(sub layer)로서 매입된 MAC 특유의 구조를 갖는 프로토콜의 해독에 의해 처리기능이 실현된다.The digital bidirectional communication system represented by bidirectional CATV is composed of a bidirectional communication network in which a plurality of terminal devices are connected to a central device. In this individual terminal apparatus, the bidirectional control of the downlink communication from the central apparatus side to the terminal apparatus and the uplink communication from the terminal apparatus side to the central apparatus is called a MAC (Media Access Control) function, and usually, a sublayer (sub) The processing function is realized by decrypting a protocol having a structure specific to MAC embedded as a layer).

MAC구조의 일례로서, MCNS(Multimedia Cable Network Systems Partners)라는, 미국의 케이블운영자, 케이블TV세트의 공급자로 이루어진 단체에 의해 제창되어, 현재는 업계표준이 된 DOCSIS(Data Over Cable Service Interface Specifications)방식이 존재한다. 그 상세에 대해서는 미국 CableLabs(Cable Television Laboratories Inc.)가 제공하는 사양서「Data-Over-Cable Service Interface Specifications」의 「Radio Frequency Interface Specification SP-RFIv1.1-I06-001215」에 개시되어있다.As an example of the MAC structure, the MCC (Multimedia Cable Network Systems Partners), a group of US cable operators and cable TV sets suppliers, is currently the industry standard Data Over Cable Service Interface Specifications (DOCSIS) method This exists. The details are disclosed in "Radio Frequency Interface Specification SP-RFIv1.1-I06-001215" in the "Data-Over-Cable Service Interface Specifications" specification provided by CableLabs (Cable Television Laboratories Inc.) in the United States.

통상, 하향통신에서는, 주로 영상데이터가 송신된다. 따라서 통신데이터는 MPEG구조를 갖지만, 그 서브레이어로서 MAC구조가 정의된다. 하향통신은 비교적 넓은 대역으로 통신채널 주파수가 할당되므로, 통신제어 자체는 비교적 단순하지만, 영상데이터가 송신되기 때문에 막대한 데이터량을 취급할 필요가 있어, 정해진 순서에 따라 실시간으로, 오차 없는 처리가 요구된다.Usually, in downlink communication, video data is mainly transmitted. Therefore, the communication data has an MPEG structure, but the MAC structure is defined as its sublayer. Since the downlink communication is allocated a communication channel frequency in a relatively wide band, the communication control itself is relatively simple, but since the video data is transmitted, it is necessary to handle an enormous amount of data. do.

한편 상향통신에서는 통상, 제어데이터가 주로 송신된다. 이 제어데이터에는, 단말장치 쪽으로부터의 명령요구나, 단말장치 각각의 상태를 알리기 위한 상태표시 데이터가 포함된다. 상향통신에서 송신되는 제어데이터를 받아 중앙장치 쪽은, 각 단말장치의 요구명령에 대응하거나, 단말장치를 바르게 제어하기 위한 각종 정보를 하향통신의 제어데이터로서 송신하거나 한다. 상향통신은, 좁은 대역에 다수의 통신채널 주파수가 할당되므로, 복수의 단말장치간에 충돌이 생기거나, 필요한 통신채널 주파수가 얻어지지 않는 경우가 생기는 등, 일반적으로 복잡한 제어가 필요하며, 그 기능은 쌍방향통신에 있어서의 통신성능에 커다란 영향을 미친다.In the upcoming communication, on the other hand, control data is usually transmitted. This control data includes the command request from the terminal apparatus side and status display data for notifying the status of each terminal apparatus. Receiving the control data transmitted in the uplink communication, the central apparatus responds to the request command of each terminal device or transmits various kinds of information for correctly controlling the terminal device as the control data for the downlink communication. In the uplink communication, since a plurality of communication channel frequencies are allocated to a narrow band, complex control is generally required, such as a collision between a plurality of terminal devices or a case in which a required communication channel frequency is not obtained. It greatly affects the communication performance in two-way communication.

DOCSIS MAC구조는, 이더넷에 따른 IP통신과의 친화성을 높이기 위해, 기본적으로 이더넷통신과 마찬가지의 구조를 갖지만, DOCSIS 특유 영역으로서의 각종 헤더필드를 설정한다. 그 중에서도, "확장헤더"라 불리는 가변길이 영역의 필드에 의해, 암호 그 밖의 부가기능이 정의되는 것이 특징이다.The DOCSIS MAC structure basically has the same structure as the Ethernet communication in order to increase the affinity with IP communication according to Ethernet, but sets various header fields as DOCSIS-specific areas. Among them, a cipher or other additional function is defined by a field of a variable length area called an "extended header".

MAC기능의 실현에는, 상기 사양서에 나타난 바와 같이, 복잡한 다층구조를 갖는 데이터구조를 해석한 후에, 각종 처리를 적절한 타이밍으로 실행할 필요가 있다. 다수의 처리를, 막대한 수에 이르는 조합에 대해 실현하는 것, 그리고 그 조합동작의 정확성을 검증하는 것은, 매우 난이도가 높으며 처리량이 매우 많다.To realize the MAC function, as shown in the specification, it is necessary to analyze various data structures having a complicated multilayer structure, and then execute various processes at appropriate timings. Realizing a large number of processing for a huge number of combinations, and verifying the accuracy of the combination operation, is very difficult and has a high throughput.

다음에 각 처리내용에 착안하면, MAC기능을 구성하는 개개의 처리는 제어계의 연산처리가 주된 내용이며, 기본적으로 데이터의 필터링(할당), 동기처리, 배열변경, 포맷화 등 개개의 처리 및 그 조합이다. 이들 개개의 처리 자체는, 결코 부하가 큰 처리라고는 할 수 없다.Next, focusing on the respective processing contents, the individual processings that make up the MAC function are mainly the calculation processing of the control system, and basically the individual processing such as data filtering (allocation), synchronization processing, arrangement change, formatting, and the like. It is a combination. These individual processes themselves are never called heavy loads.

그러나 MAC기능에는, 통신시스템에 불가결한 데이터의 보안기능이 포함돼있으며, DOCSIS방식에 관해서는 그 상세한 사양이 미국의 CableLabs가 출간한 사양서「Data-Over-Cable Service Interface Specifications」의 「Baseline Privacy Plus Interface Specifications SP-BPI+ -106-001215」에 개시돼있다.However, the MAC function includes data security that is indispensable to the communication system, and the details of the DOCSIS method are detailed in the Baseline Privacy Plus Interface in the Data-Over-Cable Service Interface Specifications, published by CableLabs of the United States. Specifications SP-BPI + -106-001215.

MAC기능의 보안기능은, Baseline Privacy라 하며, BPKM(Baseline Privacy key Management)이라 불리는 프로토콜을 사용한다. BPKM에서는, 안전한 키 교환을 실행하므로, 암호키 자체를 암호화시켜 주고받는 기능이나, 암호키 교환의 메시지가 올바른 상대로부터 송신된 점이나, 기입변경이 없는 점을 확인하기 위한 메시지 인증기능을 구비한다. BPKM에서는 마스터키가 될 Authorization Key와, 실제로 데이터의 암호화 및 복호에 사용하는 DES암호키(Traffic Encryption Key, 이하 TEK라 칭함)라는 2단계 키를 사용하여 키의 배포를 실행한다.The security function of the MAC function is called Baseline Privacy and uses a protocol called BPKM (Baseline Privacy Key Management). Since BPKM performs secure key exchange, it has a function of encrypting and receiving the encryption key itself, and a message authentication function for confirming that the message of the encryption key exchange has been sent from the correct partner or that there is no write change. . In BPKM, a key distribution is performed using an Authorization Key, which is to be a master key, and a two-step key called a DES encryption key (TEK), which is actually used to encrypt and decrypt data.

단말장치는 RSA공개키 방식으로 암호화된 Authorization Key를 수취하고, RSA공개키를 사용하여 이 Authorization Key를 복호한다. 다음으로, 취득한 Authorization Key로부터 TEK의 복호나 인증을 실행하는 몇가지 처리를 거쳐 TEK데이터를 취득하고, 최종적으로 이 TEK데이터를 이용하여, 실제 통신데이터의 복호를 실행한다. 여기서 Authorization Key의 복호를 실행하는 RSA암호의 복호처리나, TEK데이터의 복호를 실행하는 DES암호의 복호에 대해서도, 64비트 단위의 데이터를 복수 사용한 수치연산이 병렬이면서 반복 필요한 점에서, 개개의 처리도 상당히 부하가 큰 처리라 할 수 있다.The terminal device receives the Authorization Key encrypted by the RSA public key method and decrypts the Authorization Key using the RSA public key. Next, TEK data is obtained from the obtained Authorization Key through several processes of decrypting and authenticating the TEK. Finally, the TEK data is used to decrypt the actual communication data. In this case, the decoding processing of the RSA encryption for decoding the Authorization Key and the decoding of the DES encryption for decoding the TEK data also require individual processing since the numerical operations using a plurality of 64-bit units are required in parallel and repetition. It can also be said that the processing is quite heavy.

디지털 쌍방향통신에서의 쌍방향제어를 실행하는 MAC기능을 실현하기 위해서는, 이와 같은 처리를 조합시켜 처리하는 것을 필요로 하고 있다.In order to realize the MAC function for performing bidirectional control in digital bidirectional communication, it is necessary to combine these processes.

-해결과제-Challenge

MAC기능은, 범용 프로세서(CPU)를 이용하여 실현하는 것이 일반적이다. 이는, CPU에는 복잡한 처리에 대해 유연하게 대응할 수 있는 이점이 있으며, 시스템의 신뢰성을 확립하기 위한 검증이나 기능수정도 비교적 용이하게 실현할 수 있기 때문이다. The MAC function is generally realized by using a general purpose processor (CPU). This is because the CPU has the advantage of being able to flexibly cope with complex processing, and the verification and the number of functions for establishing the reliability of the system can be relatively easily realized.

그러나 MAC기능은, 그 막대한 처리를 실현하기 위해, 고성능의 CPU를 이용해야 하는 것이 필수적이다. 또 단순히 CPU를 점유하는데 그치지 않아, 단일 CPU에서는 원하는 모든 기능을 실현하기는 매우 어렵다. 때문에 MAC기능을 모두 실현하는 장치를 구성하기 위해서는, 회로규모가 극단적으로 커져 비현실적일 정도로 원가가 높은 장치로 돼버린다.However, in order to realize the enormous processing of the MAC function, it is essential to use a high performance CPU. Not only does it occupy the CPU, it is very difficult to achieve all the desired functions on a single CPU. Therefore, in order to construct a device that realizes all the MAC functions, the circuit scale becomes extremely large, resulting in an unrealistically high cost device.

상기 문제에 감안하여 본 발명은, 디지털 쌍방향통신 제어에 있어서, CPU처리의 부하경감을 도모하며, 장치 전체 회로규모의 적정화를 실현하는 것을 과제로 한다.In view of the above problems, the present invention aims at reducing the load on CPU processing in digital bidirectional communication control and realizing the appropriateness of the overall circuit size of the apparatus.

본 발명은, 디지털 쌍방향통신에서의 쌍방향 제어를 실행하는 장치로서, 입력된 다운스트림 데이터를 포맷 변환시켜 하향데이터를 생성하는 인터페이스 블록과, 상기 하향데이터 중 TEK(Traffic Encryption Key) 처리데이터 이외의 데이터를 수취하여, MAC(Media Access Control)기능을 실현하는 CPU와, 상기 하향데이터로부터 얻어진 TEK 처리데이터를 받아서 그 데이터 구조를 해석하고, 그 해석결과를 기초로 하여 복호처리를 실행하는 TEK처리블록을 구비하며, TEK처리블록은, TEK처리데이터를 입력하고, 이 TEK처리데이터 중의 MPEG구조와, MPEG구조에 매입된 MAC구조를 해석하여, MAC구조를 갖는 데이터인 MAC데이터의 상태 및 의미를 나타내는 MAC상태정보 데이터를 출력하는 구조해석블록을 구비하는 것이다.The present invention provides an apparatus for performing bidirectional control in digital bidirectional communication, comprising: an interface block for converting input downstream data to generate downlink data, and data other than TEK (Traffic Encryption Key) processing data among the downlink data; And a TEK processing block which receives the TEK processing data obtained from the downlink data, analyzes the data structure, and executes decoding processing based on the analysis result. And a TEK processing block which inputs TEK processing data, analyzes the MPEG structure of the TEK processing data and the MAC structure embedded in the MPEG structure, and indicates the state and meaning of MAC data which is data having a MAC structure. And a structural analysis block for outputting status information data.

이로써 MAC기능을 실현하기 위한 처리 중, TEK처리데이터의 구조해석과, 이 해석결과를 기초로 한 복호처리가, CPU와는 별개의 TEK처리블록에 의해 실행된다. 때문에, CPU처리의 부하가 경감되어 장치 전체를, 적정 회로규모로 구성하기가 가능해진다.As a result, during the process for realizing the MAC function, the structural analysis of the TEK processing data and the decoding processing based on the analysis result are executed by a TEK processing block separate from the CPU. Therefore, the load of CPU processing is reduced and the whole apparatus can be comprised by the appropriate circuit scale.

그리고 상기 본 발명에 관한 디지털 쌍방향통신 제어장치에 있어서의 TEK처리블록은, TEK처리데이터 중의 암호화된 부분을, 상기 MAC상태정보 데이터를 참조하여 판별하고, 암호화된 부분을, 암호를 풀기 위한 TEK데이터를 이용하여 복호하며, 그 복호결과를 암호화되지 않은 부분과 통합시키는 복호블록을 구비하는 것이 바람직하다.The TEK processing block in the digital two-way communication control apparatus according to the present invention determines the encrypted portion of the TEK processing data with reference to the MAC state information data, and the TEK data for decrypting the encrypted portion. It is preferable to have a decryption block which decodes using and integrates the decryption result with an unencrypted portion.

또 상기 본 발명에 관한 디지털 쌍방향통신 제어장치에 있어서의 구조해석블 록은, TEK처리데이터 중 MPEG구조의 헤더인 MPEG헤더를 해석하여, MAC데이터의 위치를 나타내는 MAC데이터 위치신호, 및 MAC프레임의 선두바이트 위치를 나타내는 MAC데이터 선두위치신호를 출력하는 MPEG헤더 해석블록과, 상기 MAC데이터 위치신호 및 MAC데이터 선두위치신호를 입력으로 하여, MAC구조의 헤더인 MAC헤더 중의 확장헤더 및 MACMM(MAC Management Message)헤더 이외의 필드에 대해, 상태정보를 인식함과 동시에, TEK처리데이터에 확장헤더가 존재할 때 확장헤더의 위치를 나타내는 확장헤더 위치정보데이터를 출력하고, 또 TEK처리데이터에 MACMM헤더가 존재할 때 MACMM헤더의 위치를 나타내는 MACMM헤더 위치정보데이터를 출력하는 MAC헤더 해석블록과, 상기 확장헤더 위치정보데이터를 받아 확장헤더의 각 필드를 체크하여, 확장헤더의 상태정보를 나타내는 확장헤더 상태정보데이터를 출력하는 확장헤더 해석블록과, 상기 MACMM헤더 위치정보데이터를 받아 MACMM헤더의 각 필드를 체크하여, MACMM헤더의 상태정보를 나타내는 MACMM헤더 상태정보데이터를 출력하는 MACMM헤더 해석블록을 구비하며, 상기 MAC헤더 해석블록은, 상기 확장헤더 상태정보데이터 및 MACMM헤더 상태정보데이터를 받아, MAC헤더 중의 확장헤더 및 MACMM헤더 이외의 각 필드 상태정보와, 상기 확장헤더 상태정보데이터가 나타내는 확장헤더의 상태정보 및 상기 MACMM헤더 상태정보데이터가 나타내는 MACMM헤더의 상태정보를 기초로 하여, 상기 MAC 상태정보데이터를 생성하는 것으로 하는 것이 바람직하다.The structure analysis block in the digital bidirectional communication control apparatus according to the present invention analyzes the MPEG header which is the header of the MPEG structure among the TEK processing data, and displays the MAC data position signal indicating the position of the MAC data, and the MAC frame. An MPEG header analysis block for outputting a MAC data head position signal indicating a head byte position, the MAC data position signal and a MAC data head position signal as inputs, and an extension header and MACMM (MAC Management) in the MAC header which is a header of the MAC structure. Recognizes the status information for fields other than the header, and outputs the extension header position information data indicating the position of the extension header when the extension header is present in the TEK processing data, and the MACMM header is present in the TEK processing data. A MAC header analysis block for outputting MACMM header location information data indicating a location of a MACMM header, and the extended header location information data. In addition, an extension header analysis block which checks each field of the extension header and outputs extension header state information data indicating the state information of the extension header, receives the MACMM header position information data, checks each field of the MACMM header, and checks the MACMM header. And a MACMM header analysis block for outputting MACMM header status information data indicating status information of the header, wherein the MAC header analysis block receives the extended header status information data and the MACMM header status information data, and includes an extended header and a MACMM in the MAC header. Generating the MAC state information data based on the state information of each field other than the header, the state information of the extended header indicated by the extended header state information data, and the state information of the MACMM header indicated by the MACMM header state information data. It is desirable to.

또한 상기 MPEG헤더 해석블록은, MPEG헤더의 필드를 체크하여 MAC데이터의 위치와 MAC프레임의 선두바이트 위치를 검출하고, 상기 MAC데이트 위치신호 및 MAC 데이터 선두위치신호를 출력하는 것이 바람직하다.The MPEG header parsing block preferably checks the field of the MPEG header to detect the position of the MAC data and the head byte position of the MAC frame, and outputs the MAC data position signal and the MAC data head position signal.

또는 상기 MAC헤더 해석블록은, HCS체크에 의해 MAC헤더의 오류검출을 실행하는 것이 바람직하다. 혹은, 상기 MAC헤더 해석블록은, MAC헤더 중의 MAC데이터 길이를 나타내는 필드의 체크를 실행하는 것이며, 상기 체크를, 상기 MAC데이터 선두위치신호를 참조하여 MAC프레임의 데이터길이를 계산하고, 이 MAC프레임 길이가 당해 필드의 값과 소정 데이터길이와의 합과 일치하는지 여부를 판단함으로써 실행하는 것이 바람직하다. 또는, 상기 MAC헤더 해석블록은, HCS체크와 더불어, MAC프레임 길이 체크 및 확장헤더 길이 체크에 의해, MAC헤더의 오류검출을 실행하는 것이며, 또, 상기 MAC프레임 길이 체크 및 확장헤더 길이 체크에 의한 체크 결과가, 오류 없음일 때 상기 HCS체크에 의한 체크결과를 무효로 하는 것이 바람직하다.Alternatively, the MAC header analysis block preferably performs error detection of the MAC header by HCS checking. Alternatively, the MAC header analysis block performs a check on a field indicating the length of the MAC data in the MAC header. The check is performed by calculating the data length of the MAC frame with reference to the MAC data head position signal. It is preferable to carry out by determining whether the length coincides with the sum of the value of the field and the predetermined data length. Alternatively, the MAC header analysis block performs error detection of the MAC header by HCS check, MAC frame length check and extended header length check, and performs MAC frame length check and extended header length check. It is preferable to invalidate the check result by the HCS check when the check result is no error.

또는, 상기 확장헤더 해석블록은, 상기 확장헤더 위치정보데이터를 참조하여, 확장헤더의 필드를 체크하고, 확장헤더의 데이터 길이나 종류를 판별하며, 확장헤더의 필드 값이 부당할 경우, 확장헤더에 오류가 있는 것으로 인식하고, 그 내용을 상기 확장헤더 상태정보데이터로서 출력하는 것이 바람직하다.Alternatively, the extended header analysis block may check the field of the extension header, determine the data length or type of the extension header, and if the field value of the extension header is invalid with reference to the extension header position information data. It is preferable to recognize that there is an error and output the contents as the extended header state information data.

또는, 상기 MACMM헤더 해석블록은, 상기 MACMM헤더 위치정보데이터를 참조하여, MACMM헤더의 필드를 체크하고 MACMM의 데이터 길이 및 종류를 판별하며, MACMM헤더의 필드 데이터 값이 부당할 경우, MACMM헤더에 오류가 있는 것으로 인식하고, 그 내용을 상기 MACMM헤더 상태정보데이터로서 출력하는 것이 바람직하다.Alternatively, the MACMM header analysis block may check the field of the MACMM header, determine the data length and type of the MACMM, and if the field data value of the MACMM header is invalid, by referring to the MACMM header position information data. It is preferable to recognize that there is an error and to output the contents as the MACMM header status information data.

또, 상기 본 발명에 관한 디지털 쌍방향통신 제어장치에 있어서의 복호블록은, 상기 MAC 상태정보데이터를 참조하여, TEK처리데이터 중의, 암호화된 부분과 암호화되지 않은 부분을 선별하여, TEK처리데이터로부터, TEK데이터를 선택하기 위한 TEK대조데이터를 추출하고, 추출한 TEK대조데이터를 참조하여, 미리 유지된 복수의 TEK데이터 중에서 복호에 이용할 TEK데이터를 선택하며, 암호화된 부분을 복호 처리단위의 비트 폭으로 변환시켜, 선택한 TEK데이터를 이용해 복호하고, 복호 후의 데이터와 암호화되지 않은 부분을 통합하는 것이 바람직하다.In the digital bidirectional communication control apparatus according to the present invention, the decryption block selects encrypted and unencrypted portions of the TEK processing data from the TEK processing data with reference to the MAC state information data. Extract TEK control data for selecting TEK data, refer to the extracted TEK control data, select TEK data to be used for decryption among a plurality of pre-stored TEK data, and convert the encrypted portion to the bit width of the decoding processing unit. It is desirable to decode using the selected TEK data, and to integrate the undecrypted data with the decoded data.

또 본 발명은, 디지털 쌍방향통신에서의 쌍방향 제어를 실행하는 방법으로서, 입력된 다운스트림 데이터를 포맷 변환시켜 하향데이터를 생성하는 단계와, CPU에 의해, 상기 하향데이터 중 TEK(Traffic Encryption Key) 처리데이터 이외의 데이터를 수취하여 MAC(Media Access Control)기능을 실현하는 단계와, TEK처리블록에 의해, 상기 하향데이터로부터 얻어진 TEK 처리데이터를 받아서 그 데이터 구조를 해석하고, 그 해석결과를 기초로 하여 복호처리를 실행하는 TEK처리 단계를 구비하며, TEK처리단계는, TEK처리데이터 중의 MPEG구조와 MPEG구조에 매입된 MAC구조를 해석하여, MAC구조를 갖는 데이터인 MAC데이터의 상태 및 의미를 나타내는 MAC 상태정보데이터를 생성하는 구조해석 단계를 구비하는 것이다.In addition, the present invention provides a method for performing bidirectional control in digital bidirectional communication, comprising: converting input downstream data to generate downlink data, and processing a TEK (Traffic Encryption Key) of the downlink data by a CPU; Receiving data other than the data to realize the MAC (Media Access Control) function, receiving the TEK processing data obtained from the downlink data by the TEK processing block, and analyzing the data structure based on the analysis result. And a TEK processing step for executing the decoding process, wherein the TEK processing step analyzes the MPEG structure and the MAC structure embedded in the MPEG structure in the TEK processing data, and indicates the state and meaning of the MAC data which is the data having the MAC structure. And a structural analysis step of generating state information data.

그리고 상기 본 발명에 관한 디지털 쌍방향통신 제어방법에 있어서의 TEK처리단계는, TEK처리데이터 중의 암호화된 부분을, 상기 MAC상태정보 데이터를 참조하여 판별하고, 암호화된 부분을, 암호를 풀기 위한 TEK데이터를 이용하여 복호하며, 그 복호결과를 암호화되지 않은 부분과 통합시키는 복호단계를 구비하는 것이 바람직하다.The TEK processing step in the digital two-way communication control method according to the present invention is characterized in that the encrypted portion of the TEK processing data is determined with reference to the MAC state information data, and the encrypted portion is TEK data for decrypting. It is preferable to have a decryption step of decrypting using a function and integrating the decryption result with an unencrypted part.

그리고 상기 구조해석단계는, TEK처리데이터의 MPEG구조 헤더인 MPEG헤더를 해석하여, MAC데이터의 위치를 나타내는 MAC데이터 위치신호, 및 MAC프레임의 선두 바이트 위치를 나타내는 MAC데이터 선두위치신호를 생성하는 MPEG헤더해석 단계와, 상기 MAC데이터 위치신호 및 MAC데이터 선두위치신호를 이용하여, MAC구조 헤더인 MAC헤더 중의 확장헤더 및 MACMM(MAC Management Message)헤더 이외의 필드에 대해 상태정보를 인식함과 동시에, TEK처리데이터에 확장헤더가 존재할 때 확장헤더의 위치를 나타내는 확장헤더 위치정보데이터를 생성하고, 또 TEK처리데이터에 MACMM헤더가 존재할 때 MACMM헤더의 위치를 나타내는 MACMM헤더 위치정보데이터를 생성하는 MAC헤더해석 단계와, 상기 확장헤더 위치정보데이터를 받아, 확장헤더의 각 필드를 체크하여, 확장헤더의 상태정보를 나타내는 확장헤더 상태정보데이터를 생성하는 확장헤더해석 단계와, 상기 MACMM헤더 위치정보데이터를 받아, MACMM헤더의 각 필드를 체크하여, MACMM헤더의 상태정보를 나타내는 MACMM헤더 상태정보데이터를 생성하는 MACMM헤더해석 단계를 구비하며, 상기 MAC헤더해석 단계에서 판단한, MAC헤더 중의 확장헤더 및 MACMM헤더 이외의 각 필드 상태정보와, 상기 확장헤더 상태정보데이터가 나타내는 확장헤더의 상태정보, 및 상기 MACMM헤더 상태정보데이터가 나타내는 MACMM헤더의 상태정보를 기초로 하여, 상기 MAC 상태정보데이터를 생성하는 것으로 하는 것이 바람직하다.In the structural analysis step, the MPEG header, which is the MPEG structure header of the TEK processing data, is analyzed to generate a MAC data position signal indicating the position of the MAC data and an MPEG data position position signal indicating the head byte position of the MAC frame. By using the header analysis step and the MAC data position signal and the MAC data head position signal, status information is recognized for fields other than the extended header and MACMM (MAC Management Message) header in the MAC header which are MAC structure headers. MAC header which generates the extended header position information data indicating the position of the extension header when the header exists in the TEK processing data, and generates the MACMM header position information data indicating the position of the MACMM header when the MACMM header is present in the TEK processing data. Receiving the extension header position information data, checking each field of the extension header, and obtaining the state information of the extension header. An extended header analysis step of generating extended header state information data, a MACMM header receiving the MACMM header position information data, checking each field of the MACMM header, and generating MACMM header state information data indicating the status information of the MACMM header. And an analysis step, wherein each field state information other than the extended header and the MACMM header in the MAC header determined in the MAC header analysis step, the extended header state information indicated by the extended header state information data, and the MACMM header state information. It is preferable to generate the MAC state information data based on the state information of the MACMM header indicated by the data.

도 1은 본 발명의 실시형태에 관한 디지털 쌍방향통신 제어장치의 구성을 나타내는 블록도.BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram showing the structure of a digital bidirectional communication control device according to an embodiment of the present invention.

도 2는 도 1에 나타내는 구조해석블록의 내부구성을 나타내는 도.FIG. 2 is a diagram showing the internal structure of the structural analysis block shown in FIG. 1; FIG.

도 3은 본 발명의 실시형태에 관한 MPEG헤더 해석의 상태머신.3 is a state machine of MPEG header analysis according to the embodiment of the present invention;

도 4는 MPEG헤더의 포맷을 나타내는 도.4 illustrates the format of an MPEG header.

도 5는 포인터필드를 포함하는 MPEG데이터의 포맷을 나타내는 도.5 is a diagram illustrating a format of MPEG data including a pointer field.

도 6은 본 발명의 실시형태에 관한 MAC헤더 해석의 상태머신.6 is a state machine of MAC header analysis according to the embodiment of the present invention;

도 7은 MAC헤더의 포맷을 나타내는 도.7 illustrates the format of a MAC header.

도 8은 HCS체크 이외의 MAC헤더 오류검출방법을 설명하기 위한 도.8 is a view for explaining a MAC header error detection method other than the HCS check.

도 9는 본 발명의 실시형태에 관한 확장헤더 해석의 상태머신.9 is a state machine of the extended header analysis according to the embodiment of the present invention.

도 10은 확장헤더의 포맷을 나타내는 도.10 illustrates the format of an extension header.

도 11은 확장헤더 일례(Downstream Privacy)의 포맷을 나타내는 도.FIG. 11 is a diagram illustrating a format of an extended header privacy example.

도 12는 본 발명의 실시형태에 관한 MACMM헤더 해석의 상태머신.12 is a state machine of the MACMM header analysis according to the embodiment of the present invention.

도 13은 MACMM헤더의 포맷을 나타내는 도.13 illustrates the format of a MACMM header.

도 14는 본 발명의 실시형태에 관한 복호블록의 동작을 나타내는 흐름도.14 is a flowchart showing the operation of a decoding block according to the embodiment of the present invention.

이하, 본 발명의 실시형태에 대해, 도면을 참조하면서 설명하기로 한다.EMBODIMENT OF THE INVENTION Hereinafter, embodiment of this invention is described, referring drawings.

도 1은 본 발명의 실시형태에 관한 디지털 쌍방향통신 제어장치의 구성을 나타내는 블록도이다. 도 1에 나타내는 디지털 쌍방향통신 제어장치(1)는, 중앙장치 및 복수의 단말장치로 구성되는 쌍방향통신망에서 쌍방향통신 제어를 실행하는 것이며, 단말장치의 내부에 구성된다.1 is a block diagram showing the configuration of a digital bidirectional communication control device according to an embodiment of the present invention. The digital bidirectional communication control device 1 shown in FIG. 1 executes bidirectional communication control in a bidirectional communication network composed of a central device and a plurality of terminal devices, and is configured inside the terminal device.

도 1에서, 11은 중앙장치 쪽에서 송신되는 영상 및 전송제어데이터인 다운스트림 데이터(STRM)를 입력으로 하여, CPU(12)로 보내기 위해 포맷 변환시켜, 하향데이터로서의 CPU 인터페이스데이터(DIF)를 생성하는 인터페이스 블록, 12는 CPU 인터페이스데이터(DIF)를 CPU버스(15)를 통해 수신하여, MAC(Media Access Control)기능을 실현하는 CPU, 14는 CPU버스(15)를 통해 CPU(12)와 데이터 수수를 실행하는 데이터 기억장치이다.In Fig. 1, reference numeral 11 denotes an input of downstream data (STRM), which is an image transmitted from the central unit, and transmission control data, and is converted to format to be sent to the CPU 12, thereby generating CPU interface data DIF as downstream data. Interface block 12 for receiving CPU interface data (DIF) through the CPU bus 15 to realize a MAC (Media Access Control) function, and 14 for data with the CPU 12 via the CPU bus 15. It is a data storage device that performs sorghum.

또 13은 영상 및 전송제어데이터 중 TEK처리에 이용되는 데이터인 TEK처리데이터(DTEK)를 입력으로 하여, 데이터구조의 해석, 암호화의 유무확인, 데이터의 복호 및 데이터 변환을 실행하며, 당해 처리 결과를 TEK처리결과 데이터(RTEK)로서 출력하는 TEK처리블록이다. TEK처리블록(13)은, TEK처리데이터(DTEK)의 구조해석을 실행하며, 지연 TEK처리데이터(DDTK) 및 MAC상태정보 데이터(STMC)를 출력하는 구조해석블록(20)과, 지연 TEK처리데이터(DDTK)와 MAC상태정보 데이터(STMC)를 이용하여, 지연 TEK처리데이터(DDTK)의 암호화 유무판별, 복호처리 및 데이터의 비트변환을 실행하여, TEK처리결과 데이터(RTEK)를 출력하는 복호블록(30)을 구비한다. TEK처리블록(13)으로부터 출력된 TEK처리결과 데이터(RTEK)는, 데이터기억장치(14)에 입력된다.13 is inputted TEK processing data (DTEK), which is data used for TEK processing among images and transmission control data, to analyze the data structure, confirm existence of encryption, decrypt data, and convert data. Is a TEK processing block for outputting TEK processing result data (RTEK). The TEK processing block 13 executes structural analysis of the TEK processing data DTEK, and outputs the delay TEK processing data DTTK and the MAC status information data STMC, and the delay TEK processing. Decoding for outputting the TEK processing result data (RTEK) by performing encryption / determination of the delay TEK processing data (DDTK), decoding processing, and bit conversion of the data using the data (DDTK) and the MAC state information data (STMC). Block 30. The TEK processing result data RTEK output from the TEK processing block 13 is input to the data storage device 14.

여기서 MAC상태정보 데이터(STMC)는, TEK처리데이터(DTEK) 중의 MPEG구조에 매입된, 통신망처리용의 서브레이어인 MAC구조를 갖는 데이터(MAC데이터)의 상태 및 의미를 나타내는 것이다. 또 지연 TEK처리데이터(DDTK)는, MAC상태정보 데이터(STMC)와 시간적으로 대응시키기 위해, TEK처리데이터(DTEK)를 0 또는 1 클록 이상 지연시킨 것이다. 그리고 CPU인터페이스데이터(DIF)는, 다운스트림 데이터(STRM)를 포맷 변환시킨 결과 데이터 외에, CPU버스(15)의 제어신호를 포함한다.Here, the MAC state information data STMC indicates the state and meaning of the data (MAC data) having the MAC structure, which is a sublayer for communication network processing, embedded in the MPEG structure in the TEK processing data DTEK. The delay TEK processing data DTTK is a delay of 0 or 1 clock or more of the TEK processing data DTEK in order to correspond in time to the MAC state information data STMC. The CPU interface data DIF includes a control signal of the CPU bus 15 in addition to the result data of the format conversion of the downstream data STRM.

도 1에 나타내는 디지털 쌍방향통신 제어장치(1)의 동작에 대해 설명한다. The operation of the digital bidirectional communication control device 1 shown in FIG. 1 will be described.                 

단말장치는, 다운스트림 데이터(STRM)를 수신하면, 이를 디지털 쌍방향통신 제어장치(1) 내의 인터페이스 블록(11)으로 보낸다. 인터페이스 블록(11)은 다운스트림 데이터(STRM)의 포맷을 변환시켜, CPU 인터페이스 데이터(DIF)로서 출력한다. CPU(12)는 CPU버스(15)를 통해 CPU 인터페이스 데이터(DIF)를 수신하고, 데이터기억장치(14)와 함께 MAC기능을 실현하기 위한 여러 가지 처리를 실행한다. 단 MAC기능 중 TEK처리에 이용되는 데이터인 TEK처리데이터(DTEK)는, CPU(12)로부터 CPU버스(15)를 통해 TEK처리블록(13)으로 보내진다.When the terminal apparatus receives the downstream data STRM, it sends it to the interface block 11 in the digital bidirectional communication control apparatus 1. The interface block 11 converts the format of the downstream data STRM and outputs it as CPU interface data DIF. The CPU 12 receives the CPU interface data DIF through the CPU bus 15, and executes various processes for realizing the MAC function together with the data storage device 14. However, TEK processing data DTEK, which is data used for TEK processing among the MAC functions, is sent from the CPU 12 to the TEK processing block 13 via the CPU bus 15.

TEK처리블록(13)에서는 TEK처리데이터(DTEK)가 입력되면, 우선 구조해석블록(20)이, TEK처리데이터(DTEK)의 MPEG구조와 MPEG구조에 매입돼있는 MAC구조와의 구조해석을 실행한다. 구조해석블록(20)에서 출력된 지연 TEK처리데이터(DDTK) 및 MAC상태정보 데이터(STMC)는 복호블록(30)으로 보내진다. 복호블록(30)은, 지연 TEK처리데이터(DDTK)의, 데이터 기밀성 보호를 위해 중앙장치 쪽에서 DES(Data Encryption Standard)에 따라 암호화된 데이터에 대해 복호처리를 실행하여, 데이터기억장치(14)에 TEK처리결과 데이터(RTEK)를 출력한다. 구조해석블록(20)과 복호블록(30)에 있어서 처리의 상세에 대해서는 후술하기로 한다.In the TEK processing block 13, when the TEK processing data DTEK is input, the structural analysis block 20 first performs a structural analysis of the MPEG structure of the TEK processing data DTEK and the MAC structure embedded in the MPEG structure. do. The delay TEK processing data DTTK and the MAC status information data STMC output from the structure analysis block 20 are sent to the decoding block 30. The decryption block 30 executes a decryption process on the data encrypted according to the DES (Data Encryption Standard) on the central device side to protect the data confidentiality of the delay TEK process data (DDTK), and transmits the data to the data storage device 14. Outputs TEK processing result data (RTEK). Details of the processing in the structural analysis block 20 and the decoding block 30 will be described later.

이와 같은 구성에 의해, MAC기능을 실현하기 위한 처리 중 TEK처리데이터(DTEK)의 구조해석과, 이 해석결과를 기초로 하는 복호처리가, CPU(12)와는 별개의 TEK처리블록(13)에 의해 실행된다. 이로써 CPU처리 부하가 대폭으로 경감된다. 또 TEK처리블록(13)에서의 처리는, 그 대부분이 비슷한 수치연산을 병렬로 또 반복 실행함으로써 실현되므로, 하드웨어 구성도 간단한 것이 된다. 따라서 장치 전체를, 적정 회로규모로 구성하기가 가능해진다.With this arrangement, the structural analysis of the TEK processing data DTEK during the processing for realizing the MAC function and the decoding processing based on the analysis result are carried out in a TEK processing block 13 separate from the CPU 12. Is executed by This greatly reduces the CPU processing load. In addition, since most of the processing in the TEK processing block 13 is realized by repeatedly performing similar numerical operations in parallel, the hardware configuration is also simple. Therefore, the whole apparatus can be comprised by an appropriate circuit scale.

여기서, TEK처리데이터(DTEK)를 CPU버스(15)로부터 TEK처리블록(13)으로 보내는 경로를 쌍방향으로 함으로써, TEK처리의 일부를 CPU(12)로 실행시키기가 가능해진다. 또 인터페이스블록(11)으로부터 TEK처리블록(13)으로 직접, 영상 및 제어데이터를 송신함으로써, CPU버스(15)의 점유율을 내릴 수 있음과 동시에, CPU처리의 고속화를 도모하기가 가능해진다. 또 다운스트림 데이터(STRM)의 입력경로와, 인터페이스 블록(11)으로부터 CPU버스(15)로의 CPU 인터페이스 데이터(DIF) 경로를, 각각 쌍방향으로 함으로써, 쌍방향통신 제어가 가능하다.Here, by making the path for sending the TEK processing data DTEK from the CPU bus 15 to the TEK processing block 13 bidirectionally, a part of the TEK processing can be executed by the CPU 12. In addition, by directly transmitting video and control data from the interface block 11 to the TEK processing block 13, the CPU bus 15 can be reduced in occupancy and the CPU processing can be speeded up. In addition, bidirectional communication control is possible by bidirectionally providing the input path of the downstream data STRM and the path of the CPU interface data DIF from the interface block 11 to the CPU bus 15, respectively.

<구조해석블록><Structure Analysis Block>

도 2는 도 1에 나타내는 구조해석블록(20)의 내부구성을 나타내는 블록도이다. 도 2에 있어서, 21은 TEK처리데이터(DTEK) 중 MPEG구조의 헤더인 MPEG헤더를 해석하여 MPEG구조로부터 MAC구조를 추출하고, MAC데이터의 데이터위치를 나타내는 MAC 데이터위치신호(PMC), MAC프레임의 선두바이트 위치를 나타내는 MAC데이터 선두위치신호(LPMC)를 출력하는 MPEG헤더 해석블록이다. MPEG헤더 해석블록(21)은, TEK처리데이터(DTEK)를 지연시켜 얻은 지연 TEK처리데이터(DDTK)와 함께, 이에 관한 MAC데이터 위치신호(PMC) 및 MAC데이터 선두위치신호(LPMC)를 출력한다.FIG. 2 is a block diagram showing the internal structure of the structural analysis block 20 shown in FIG. In Fig. 2, reference numeral 21 denotes an MPEG header, which is a header of an MPEG structure among TEK processing data DTEK, extracts a MAC structure from the MPEG structure, and indicates a MAC data position signal (PMC) and a MAC frame indicating a data position of the MAC data. An MPEG header analysis block that outputs a MAC data head position signal (LPMC) indicating the head byte position of a. The MPEG header analysis block 21 outputs the MAC data position signal PMC and the MAC data head position signal LPMC relating thereto together with the delay TEK processing data DTTK obtained by delaying the TEK processing data DTEK. .

22는, MAC데이터 위치신호(PMC) 및 MAC데이터 선두위치신호(LPMC)를 입력으로 하여, MAC구조를 갖는 MAC데이터 중 헤더부분(MAC헤더) 중의, 확장헤더와 MACMM(MAC Management Message)헤더 이외의 부분에 대해 해석을 실행하고, 각 필드의 상태정보 즉 데이터의 의미를 판단하는 MAC헤더 해석블록이다. 또한 MAC헤더 해 석블록(22)은, 지연 TEK처리데이터(DDTK)에 확장헤더가 존재할 때, 확장헤더의 위치를 나타내는 확장헤더 위치정보데이터(PEH)를 출력하며, 또 지연 TEK처리데이터(DDTK)에 MACMM헤더가 존재할 때, MACMM헤더의 위치를 나타내는 MACMM헤더 위치정보 데이터(PMM)를 출력한다.22, the MAC data position signal PMC and the MAC data head position signal LPMC are input, except for the extension header and the MACMM (MAC Management Message) header in the header portion (MAC header) of the MAC data having the MAC structure. The MAC header analysis block performs an analysis on a portion of and determines the state information of each field, that is, the meaning of data. The MAC header analysis block 22 also outputs the extended header position information data PEH indicating the position of the extended header when the extended header exists in the delay TEK processing data DDTK, and the delay TEK processing data DDTK. When the MACMM header is present, MACMM header location information data (PMM) indicating the location of the MACMM header is output.

또, 23은 확장헤더 위치정보데이터(PEH)를 수신하고 MAC헤더 중의 확장헤더 해석을 실행하여, 확장헤더의 상태정보 즉 상태, 의미를 나타내는 확장헤더 상태정보데이터(STEH)를 출력하는 확장헤더 해석블록, 24는, MACMM헤더 위치정보데이터(PMM)를 수신하고 MACMM헤더의 해석을 실행하여, MACMM헤더의 상태정보 즉 상태, 의미를 나타내는 MACMM헤더 상태정보데이터(STMM)를 출력하는 MACMM헤더 해석블록이다.Further, 23 receives the extended header position information data (PEH), performs extended header analysis in the MAC header, and outputs extended header status information data (STEH) indicating the state of the extended header, that is, the state and meaning. Block 24 is a MACMM header analysis block that receives MACMM header position information data (PMM) and performs MACMM header analysis, and outputs MACMM header status information data (STMM) indicating status information, that is, status and meaning of the MACMM header. to be.

그리고 MAC헤더 해석블록(22)은, 확장헤더 상태정보데이터(STEH) 및 MACMM헤더 상태정보데이터(STMM)를 수신하여, MAC헤더 중의 확장헤더 및 MACMM헤더 이외 필드의 상태정보와, 확장헤더 상태정보데이터(STEH)가 나타내는 확장헤더의 상태정보 및 MACMM헤더 상태정보 데이터(STMM)가 나타내는 MACMM헤더의 상태정보를 기초로 하여, MAC 상태정보데이터(STMC)를 생성한다.The MAC header analysis block 22 receives the extended header status information data STEH and the MACMM header status information data STMM, and the status information of fields other than the extended header and MACMM header in the MAC header, and the extended header status information. Based on the state information of the extended header indicated by the data STEH and the state information of the MACMM header indicated by the MACMM header state information data STMM, the MAC state information data STMC is generated.

각 해석블록(21∼24)의 동작에 대해 보다 상세히 설명한다.The operation of each analysis block 21 to 24 will be described in more detail.

<MPEG헤더 해석><MPEG Header Analysis>

MPEG헤더 해석블록(21)은, TEK처리데이터(DTEK) 중의 MPEG헤더를 해석함으로써, MPEG구조로부터 MAC구조를 추출해낸다. 구체적으로는 MPEG헤더의 각 필드를 차례로 체크하고, 각 필드의 데이터 의미를 판단하여 데이터에 상태를 부여한다. The MPEG header analysis block 21 extracts the MAC structure from the MPEG structure by analyzing the MPEG header in the TEK processing data DTEK. Specifically, each field of the MPEG header is checked in order, the data meaning of each field is determined, and a state is given to the data.                 

도 3은 MPEG헤더 해석블록(21)에서의 MPEG헤더 해석의 상태머신을 나타내는 도이다. 또 도 4는 MPEG헤더의 포맷을 나타내는 도이다. 도 3에 따라 MPEG헤더 해석의 처리흐름을 설명한다.3 is a diagram illustrating a state machine of MPEG header analysis in the MPEG header analysis block 21. 4 is a diagram illustrating the format of an MPEG header. The processing flow of MPEG header analysis will be described with reference to FIG.

상태머신의 상태는 바이트 클록별로 천이된다. 상태의 초기상태는 "IDLE"이며, TEK처리데이터(DTEK)에 오류가 있을 경우는 상태를 "ERR"로 한다.The state of the state machine transitions by byte clock. The initial state of the state is "IDLE". If there is an error in the TEK processing data DTEK, the state is set to "ERR".

상태가 "IDLE"일 때, TEK처리데이터(DTEK)에 포함되는 패킷동기가 MPEG프레임의 선두를 나타낼 때까지, 그 상태를 유지한다(S11). 그리고 패킷동기가 MPEG프레임의 선두를 나타냈을 때, MPEG데이터의 선두데이터, 즉 도 4에 나타내는 MPEG패킷 동기바이트 데이터(sync byte)의 값이 "0×47"일 때, 상태를 "S1"로 한다(S12). 한편 상기와 같지 않을 때는 상태를 "ERR"로 한다.When the state is " IDLE ", the state is maintained until the packet synchronization included in the TEK processing data DTEK indicates the head of the MPEG frame (S11). When the packet synchronization indicates the head of the MPEG frame, when the head data of the MPEG data, that is, the value of the MPEG packet sync byte data (sync byte) shown in FIG. 4 is "0x47", the state is changed to "S1". (S12). On the other hand, when it is not same as the above, the state is set to "ERR".

상태가 "S1"일 때, 도 4에 나타내는 TEI(Transport Error Indicator)데이터의 값이 "0×0"이며(S13), 또 도 4에 나타내는 PID(Program ID)의 상위 5비트 값이 "0×1F"일 때(S14) 상태를 "S2"로 하고, 그렇지 않을 때는 상태를 "ERR"로 한다. TEI데이터는 MPEG구조에 오류가 있는지 여부를 나타내는 것이며, 오류정정처리 시에 부가된다. 또 PID는 DOCSIS사양의 MAC프레임을 전송하는 MPEG데이터에 설정된다.When the state is "S1", the value of the TEI (Transport Error Indicator) data shown in FIG. 4 is "0x0" (S13), and the upper 5 bit values of the PID (Program ID) shown in FIG. 4 are "0." When " 1F " (S14), the state is set to " S2 ", otherwise the state is set to &quot; ERR &quot;. The TEI data indicates whether or not there is an error in the MPEG structure and is added in the error correction process. In addition, PID is set in MPEG data which transmits MAC frame of DOCSIS specification.

상태가 "S2"일 때, PID의 하위 8비트 값이 "0×FE"일 경우는 상태를 "S3"으로 하고, 그렇지 않을 때는 상태를 "ERR"로 한다(S15). 그리고 상태가 "S3"일 때, 도 4에 나타내는 전송 스크램블제어(Transport scrambling control)데이터의 값이 "0×0"이며, 또 도 4에 나타내는 어댑테이션 필드 제어(Adaptation field control) 데이터의 값이 "0×1"일 때 상태를 "S4"로 하고, 그렇지 않을 때는 상태를 "ERR"로 한다(S16). 전송 스크램블제어 데이터는 스크램블제어에 관한 제어데이터이며, 어댑테이션 필드 제어데이터는 DOCSIS용 필드 할당 제어데이터이다.When the state is " S2 ", the state is " S3 " when the lower 8 bit value of the PID is " 0xFE ", otherwise, the state is " ERR " (S15). When the state is "S3", the value of the transport scrambling control data shown in FIG. 4 is "0x0", and the value of the adaptation field control data shown in FIG. At 0x1 ", the state is set to" S4 ", otherwise, the state is set to" ERR "(S16). The transmission scramble control data is control data relating to scramble control, and the adaptation field control data is field allocation control data for DOCSIS.

상태가 "S4"일 경우, 도 4에 나타내는 PUSI(payload unit start indicator)의 값이 "0×1"일 때, 포인터필드가 존재하는 것으로 판단하여 상태를 "POINTER"로 한다(S17). 그렇지 않을 때는 상태를 "MAC_FRM"으로 한다. PUSI는 MPEG데이터에 MAC데이터의 선두가 존재하는지 여부를 나타내는 것이다. 여기서 포인터필드는, MAC데이터 선두위치신호(LPMC)를 생성할 때 중요한 데이터이며, 상세에 대해서는 후술하기로 한다.When the state is "S4", when the value of the payload unit start indicator (PUSI) shown in FIG. 4 is "0x1", it is determined that the pointer field exists and the state is set to "POINTER" (S17). Otherwise, the status is set to "MAC_FRM". PUSI indicates whether the head of MAC data exists in MPEG data. The pointer field is important data when generating the MAC data head position signal LPMC, which will be described later in detail.

상태가 "MAC_FRM"일 때, MPEG패킷 동기바이트 데이터가 나타날 때까지 상태를 유지시키고(S18), MPEG패킷 동기바이트 데이터가 나타나며 그 값이 "0×47"일 경우(S12), 상태를 "S1"로 하고 그렇지 않을 때는 상태를 "ERR"로 한다.When the state is "MAC_FRM", the state is maintained until the MPEG packet sync byte data appears (S18), and when the MPEG packet sync byte data appears and the value is "0 x 47" (S12), the state is changed to "S1". "" Otherwise, the status is set to "ERR".

한편, 상태가 "ERR"일 때, 패킷동기가 MPEG데이터의 선두를 나타낼 때까지 상태를 유지시키고(S19), 패킷동기가 MPEG데이터의 선두를 나타낼 때, MPEG 패킷동기 바이트 데이터의 값이 "0×47"일 경우에는, 상태를 "S1"로 하고(S12) 그렇지 않을 때는 상태를 유지시킨다.On the other hand, when the state is "ERR", the state is maintained until packet synchronization indicates the head of MPEG data (S19), and when the packet synchronization indicates the head of MPEG data, the value of MPEG packet synchronization byte data is "0." In the case of x47 ", the state is set to" S1 "(S12), otherwise, the state is maintained.

여기서 도 5를 이용하여, 포인터필드와, MAC데이터 선두위치신호(LPMC) 및 MAC데이터 위치신호(PMC)의 생성방법에 대해 설명한다. 도 5는 포인터필드를 포함하는 MPEG데이터의 포맷을 개념적으로 나타내는 도이며, 도 5에 나타내는 바와 같은 MPEG데이터는 TEK처리데이터(DTEK)에 포함된다. 5, a method for generating a pointer field, a MAC data head position signal LPMC and a MAC data position signal PMC will be described. FIG. 5 is a diagram conceptually showing a format of MPEG data including a pointer field, and MPEG data as shown in FIG. 5 is included in TEK processing data DTEK.                 

도 5에서는, MPEG헤더의 PUSI 값이 "0×1"이며, 포인터필드가 있음을 나타낸다. 그리고 MPEG헤더 뒤에 포인터 필드가 존재하며, 그 포인터 필드의 값이 M(M: 정수)이다. 이는 포인터 필드 뒤에, 하나의 MAC프레임(MAC Frame #1)의 나머지 데이터가 M바이트 존재하고, 그 다음부터 새로운 MAC프레임(MAC Frame #2)이 시작됨을 나타낸다. 따라서 포인터 필드의 값(M)으로부터 MAC프레임의 선두바이트 위치를 검출할 수 있게 된다.In FIG. 5, the PUSI value of the MPEG header is "0x1", indicating that there is a pointer field. There is a pointer field after the MPEG header, and the value of the pointer field is M (M: integer). This indicates that after the pointer field, the remaining data of one MAC frame (MAC Frame # 1) is present in M bytes, and a new MAC frame (MAC Frame # 2) starts thereafter. Therefore, the position of the head byte of the MAC frame can be detected from the value M of the pointer field.

즉 상태가 "POINTER"인 데이터가 포인터필드이므로 포인터필드 카운터를 구성시키고 이 포인터필드 카운터로, 상태가 "POINTER"인 위치 즉 포인터필드의 위치로부터 계산을 실행한다. 그리고 이 포인터필드 카운터에 의한 계산값이 포인터필드의 값과 같아졌을 때, 그 위치가 MAC프레임의 선두바이트 위치인 것으로 인식한다. 이로써 MAC데이터 선두위치신호(LPMC)를 생성한다.That is, since the data whose state is "POINTER" is a pointer field, a pointer field counter is constructed, and the pointer field counter performs calculations from the position of the "POINTER" state, that is, the position of the pointer field. When the value calculated by the pointer field counter is equal to the value of the pointer field, it is recognized that the position is the first byte position of the MAC frame. This generates the MAC data head position signal LPMC.

또 상태가 "MAC_FRM"일 동안의 데이터는 MAC구조이므로, 이에 따라 MAC데이터 위치신호(PMC)를 생성한다. 도 5에서는 MPEG데이터와, MAC데이터 선두위치신호(LPMC) 및 MAC데이터 위치신호(PMC)의 관계를 개념적으로 나타낸다.In addition, since the data for the state "MAC_FRM" is a MAC structure, it generates a MAC data position signal (PMC) accordingly. 5 conceptually shows the relationship between MPEG data, MAC data head position signal LPMC and MAC data position signal PMC.

또한 여기서 구한 각 필드의 상태정보는 레지스터에 유지시킨다. 그리고 TEK처리데이터와 상태정보를 대응시키기 위해, TEK처리데이터(DTEK)를 0 또는 1 클록 이상 지연시켜, 지연 TEK처리데이터(DDTK)를 생성한다.In addition, the state information of each field obtained here is kept in a register. In order to associate the TEK processing data with the status information, the TEK processing data DTEK is delayed by 0 or 1 clock or more to generate the delay TEK processing data DDTK.

여기서, MPEG구조의 보호기능에 대해, TEI데이터에 대한 전방보호 및 후방보호 카운터를 구성시키는 것만이 아닌, MPEG구조 데이터길이(188바이트)를 계산하는 MPEG 프레임길이 카운터를 구성시켜, TEI데이터가 오류를 나타내지 않을 경우라도, 다음 MPEG구조의 선두데이터까지의 MPEG구조 데이터길이가 188이 아닐 경우, 그 MPEG구조가 오류인 것으로 판단하는 기능을 설정하는 것은 가능하다.Here, the MPEG frame length counter that calculates the MPEG structure data length (188 bytes) as well as the front protection and back protection counters for the TEI data for the protection function of the MPEG structure is configured so that the TEI data may be corrupted. Even if not shown, if the length of the MPEG structure data up to the head of the next MPEG structure is not 188, it is possible to set a function that determines that the MPEG structure is an error.

<MAC헤더 해석><MAC header interpretation>

MAC헤더 해석블록(22)은, 지연 TEK처리데이터(DDTK) 중의 MAC헤더 해석을 실행한다. 구체적으로는, MAC헤더의 각 필드를 차례로 체크하고 각 필드의 데이터 의미를 판단하여, 데이터에 상태를 부여한다.The MAC header analysis block 22 executes MAC header analysis in the delay TEK processing data (DDTK). Specifically, each field of the MAC header is checked in order, the data meaning of each field is determined, and a state is given to the data.

도 6은, MAC헤더 해석블록(22)에서 MAC헤더 해석의 상태머신을 나타내는 도이다. 이 MAC헤더 해석의 상태머신은, MAC데이터 위치신호(PMC)가 유효일 때만 동작한다. 또 도 7은 MAC데이터의 포맷을 나타내는 도이다. 도 6에 따라, MAC헤더 해석에서의 처리흐름을 설명한다.6 is a diagram showing a state machine of MAC header analysis in the MAC header analysis block 22. As shown in FIG. The state machine of MAC header analysis operates only when the MAC data position signal PMC is valid. 7 is a diagram showing the format of MAC data. 6, the processing flow in MAC header analysis will be described.

상태머신의 상태는 바이트 클록별로 천이된다. 상태의 초기상태는 "IDLE"이며, MAC구조에 오류가 있을 경우는 상태를 "ERR"로 한다.The state of the state machine transitions by byte clock. The initial state of the state is "IDLE". If there is an error in the MAC structure, the state is set to "ERR".

상태가 "IDLE"일 때, MAC데이터 선두위치신호(LPMC)가 유효가 아닐 때는 그 상태를 유지하고, 유효일 때는 상태를 "FC"로 한다(S21). 여기서 상태가 "FC"일 때의 MAC헤더는, FC(Field Control)데이터이며, MAC데이터의 종류나, MAC데이터 구성의 확장을 가능하게 하는 확장헤더의 유무를 나타낸다.When the state is "IDLE", the state is maintained when the MAC data head position signal LPMC is not valid, and the state is "FC" when it is valid (S21). Here, the MAC header when the state is " FC " is FC (Field Control) data, which indicates the type of MAC data and the presence or absence of an extension header that enables expansion of the MAC data configuration.

상태가 "FC"일 때, FC데이터의 값을 해석한다(S22). 그리고 FC데이터의 값이, SYNC데이터를 나타낼 경우는 상태를 "PARM_T"로 하고(S22A), MACMM을 나타낼 경우는 상태를 "PARM_M"으로 하며(S22B), PacketPDU를 나타낼 경우는 상태를 "PARM_D"로 한다(S22C). 또 FC데이터의 값이 0×ff이며, MPEG구조 데이터의 더미데 이터인 STUFF바이트를 나타낼 경우는 상태를 유지하며(S22D), FC데이터가 그 밖의 경우는 상태를 "ERR"로 한다(S22E). 여기서 SYNC데이터는, 중앙장치 쪽에서 송신되는, 동기처리에 필요한 데이터를 전송하기 위한 MAC구조이며, MACMM은, 중앙장치 쪽에서 송신되는, MAC제어에 이용되는 대역 할당데이터나 동기처리에 필요한 데이터 등을 전송하기 위한 MAC구조이고, PacketPDU는 통상의 영상데이터를 전송하기 위한 MAC구조이다.When the state is "FC", the value of FC data is analyzed (S22). If the FC data value indicates SYNC data, the state is set to "PARM_T" (S22A). If the MAC data value is shown, the state is set to "PARM_M" (S22B). (S22C). If the FC data value is 0xff and STUFF bytes, which are dummy data of MPEG structure data, are present (S22D), the state is set to "ERR" if the FC data is other (S22E). . Here, the SYNC data is a MAC structure for transmitting data required for synchronization processing transmitted from the central apparatus side, and the MACMM transmits band allocation data used for MAC control, data required for synchronization processing, and the like transmitted from the central apparatus side. A MAC structure for transmitting the PacketPDU is a MAC structure for transmitting normal video data.

또 FC데이터에 포함된 EHDR_ON의 값으로, MAC데이터 중의 확장헤더 유무를 판별한다. "0"일 때는 확장헤더가 존재하지 않으며, "1"일 때는 확장헤더가 존재한다.The presence or absence of an extension header in the MAC data is determined by the value of EHDR_ON included in the FC data. If it is "0", there is no extension header. If it is "1", there is an extension header.

상태가 "PARM_T", "PARM_M", "PARM_D"일 때, 상태를 "LEN_H"로 한다. 상태가 "LEN_H"일 때, 상태를 "LEN_L"로 한다. 상태가 "LEN_L"일 때, EHDR_ON의 값으로 확장헤더의 유무를 판단한다(S23). 확장헤더가 존재할 때는 상태를 "EHDR"로 하고, 그렇지 않을 때는 상태를 "HCS_H"로 한다.When the states are "PARM_T", "PARM_M", and "PARM_D", the state is set to "LEN_H". When the state is "LEN_H", the state is set to "LEN_L". When the state is "LEN_L", the presence or absence of the extension header is determined by the value of EHDR_ON (S23). If there is an extension header, the state is set to "EHDR", otherwise the state is set to "HCS_H".

상태가 "EHDR"인 기간은 확장헤더의 위치이므로, 확장헤더 위치정보 데이터(PEH)를 생성하고, 이를 지연 TEK처리데이터(DDTK)와 함께 확장헤더 해석블록(23)으로 송신한다. 확장헤더 해석블록(23)의 처리내용에 대해서는 후술한다.Since the period in which the status is "EHDR" is the location of the extended header, the extended header location information data PEH is generated and transmitted to the extended header analysis block 23 together with the delay TEK processing data DTTK. The processing contents of the extended header analysis block 23 will be described later.

상태가 "EHDR"일 때, 확장헤더 해석블록(23)의 처리가 실행될 동안은 상태를 유지한다. 그리고 확장헤더 해석블록(23)으로부터 출력된 확장헤더 상태정보데이터(STEH)로부터, 확장헤더 해석처리가 정상적으로 종료됐음을 확인했을 때, 상태를 "HCS_H"로 한다(S25). 한편 확장헤더 상태정보데이터(STEH)로부터, 확장헤더에 오 류가 존재하는, 즉 MAC구조에 오류가 존재함을 확인했을 때, 상태를 "ERR"로 한다(S24). 확장헤더 상태정보데이터(STEH)는 확장헤더의 각 필드 상태를 나타내는 정보이다.When the state is "EHDR", the state is maintained while the processing of the extended header analyzing block 23 is executed. When it is confirmed from the extended header state information data STEH outputted from the extended header analyzing block 23 that the extended header analyzing process is normally completed, the state is set to "HCS_H" (S25). On the other hand, when it is confirmed from the extended header state information data (STEH) that an error exists in the extended header, that is, an error exists in the MAC structure, the state is set to "ERR" (S24). The extended header state information data STEH is information representing the state of each field of the extended header.

상태가 "HCS_H"일 때 상태를 "HCS_L"로 한다. 상태가 "HCS_L"일 때 상태를 "DA_LD"로 한다. 상태가 "DA_LD"일 때 상태를 "SA_LD"로 한다.When the state is "HCS_H", the state is set to "HCS_L". When the state is "HCS_L", the state is set to "DA_LD". When the state is "DA_LD", the state is set to "SA_LD".

상태가 "SA_LD"일 때, 지연 TEK처리데이터(DDTK)의 수신원 어드레스(DA: Destination Address)와 단말장치의 어드레스가 일치하는지 여부를 확인하고, 일치하지 않았을 때는 그 단말장치가 처리해야 할 데이터가 아니므로, 상태를 "ERR"로 한다(S26). 그리고 일치했을 때 MAC구조가 SYNC데이터 또는 MACMM인지의 여부, 즉 MAC구조 중에 MACMM헤더가 존재하는지 여부를 판단하여, 존재할 때는 상태를 "MAC_MNG"로 하고, 그렇지 않을 때는 상태를 "TL_H"로 한다(S27).When the status is " SA_LD ", it is checked whether or not the destination address (DA) of the delay TEK processing data (DDTK) and the address of the terminal device match. If not, the data to be processed by the terminal device. Since it is not, the state is set to "ERR" (S26). When there is a match, it is determined whether the MAC structure is SYNC data or MACMM, that is, whether there is a MACMM header in the MAC structure, and if so, the state is set to "MAC_MNG", otherwise the state is set to "TL_H" ( S27).

상태가 "MAC_MNG"인 기간은 MACMM헤더의 위치이므로, MACMM헤더 위치정보데이터(PMM)를 생성하고, 이를 지연 TEK처리데이터(DDTK)와 함께 MACMM헤더 해석블록(24)으로 송신한다. MACMM헤더 해석처리에 대해서는 후술하기로 한다.Since the period in which the status is "MAC_MNG" is the location of the MACMM header, the MACMM header location information data (PMM) is generated and transmitted to the MACMM header analysis block 24 together with the delay TEK processing data (DDTK). The MACMM header analysis process will be described later.

상태가 "MAC_MNG"일 때, MACMM헤더 해석블록(24)의 처리가 실행되는 동안은 상태를 유지한다. 그리고 MACMM헤더 해석블록(24)으로부터 출력된 MACMM헤더 상태정보데이터(STMM)로부터, MACMM헤더 해석처리가 정상적으로 종료됐음을 확인했을 때, 상태를 "VALID"로 한다(S29). 한편, MACMM헤더 상태정보데이터(STMM)로부터, MACMM헤더에 오류가 존재하는, 즉 MAC구조에 오류가 존재함을 확인했을 때, 상태를 "ERR"로 한다(S28). MACMM헤더 상태정보데이터(STMM)는 MACMM헤더의 각 필드 상태 를 나타내는 정보이다.When the state is "MAC_MNG", the state is maintained while the processing of the MACMM header analysis block 24 is executed. When it is confirmed from the MACMM header state information data (STMM) output from the MACMM header analysis block 24 that the MACMM header analysis process is normally completed, the state is set to "VALID" (S29). On the other hand, when it is confirmed from the MACMM header state information data (STMM) that an error exists in the MACMM header, that is, an error exists in the MAC structure, the state is set to "ERR" (S28). MACMM header status information data (STMM) is information indicating the state of each field of the MACMM header.

상태가 "TL_H"일 때, 지연 TEK처리데이터(DDTK)의 송신원 어드레스(SA: Source Address)와 단말장치의 어드레스가 일치하는지 여부를 확인하고, 일치했을 때는 수신원과 송신원이 동일하므로 부당한 데이터인 것으로 판단하여 상태를 "ERR"로 하고, 일치하지 않을 때는 상태를 "TL_L"로 한다(S2A). 상태가 "TL_L"일 때 상태를 "VALID"로 한다.When the status is " TL_H ", it is checked whether or not the source address (SA) of the delay TEK processing data (DDTK) matches the address of the terminal apparatus. It is determined that the state is "ERR", and when it does not match, the state is "TL_L" (S2A). When the status is "TL_L", the status is set to "VALID".

상태가 "VALID"일 때, MAC구조의 마지막 데이터가 올 때까지 상태를 유지하며, MAC구조의 마지막 데이터가 왔을 때 상태를 "FC"로 하고, 다음 MAC구조의 구조해석을 실행한다(S2B).When the state is "VALID", the state is maintained until the last data of the MAC structure, and when the last data of the MAC structure is received, the state is "FC", and the structure analysis of the next MAC structure is executed (S2B). .

즉 MAC헤더 해석블록(22)은, 상태에 따른 동작의 결과, 상태가 "EHDR"인 기간은 확장헤더를 나타내므로 확장헤더 위치정보데이터(PEH)를 생성하고, 상태가 "MAC_MNG"인 기간은 MACMM헤더를 나타내므로 MACMM헤더 위치정보데이터(PMM)를 생성한다. 그리고 확장헤더 상태정보데이터(STEH)와 MACMM헤더 상태정보데이터(STMM)와, MAC헤더 해석블록(22)에서 해석한 MAC헤더의 상태정보로부터, MAC상태정보데이터(STMC)를 생성한다. 여기서 구한 상태와 대응시키기 위해, 지연 TEK처리데이터(DDTK)를 더욱 지연시켜 구조해석블록(20)으로부터 출력한다.That is, as a result of the operation according to the state, the MAC header analysis block 22 generates the extended header position information data (PEH) because the period in which the state is "EHDR" indicates the extension header, and the period in which the state is "MAC_MNG" Since the MACMM header is shown, MACMM header location information data (PMM) is generated. The MAC state information data STMC is generated from the extended header state information data STEH and the MACMM header state information data STMM and the MAC header state information analyzed by the MAC header analysis block 22. In order to correspond with the state obtained here, the delay TEK processing data DDTK is further delayed and output from the structural analysis block 20.

(MAC헤더의 오류검출)(Error detecting MAC header)

여기서는 HCS체크에 따라, MAC헤더의 오류검출을 실행한다. HCS체크란, 도 7에 나타내는 MAC데이터의 구조에서 HCS 이외의 MAC헤더(FC필드, PARM필드, LEN필드, EHDR필드)를 CRC계산하여, HCS데이터와 일치 비교함으로써 MAC헤더의 오류를 검출하는 방법이다.Here, according to the HCS check, error detection of the MAC header is executed. The HCS check is a method of detecting MAC header errors by CRC calculation of MAC headers other than HCS (FC field, PARM field, LEN field, EHDR field) in the structure of MAC data shown in FIG. to be.

도 8은 HCS체크 이외의 MAC헤더의 오류검출을 설명하기 위한 도이다. 도 8 중, (a)는 LEN필드의 체크(MAC 프레임길이 체크), (b)는 PARM필드의 체크(확장헤더길이 체크)를 나타낸다.8 is a diagram for explaining error detection of MAC headers other than the HCS check. In Fig. 8, (a) shows the LEN field check (MAC frame length check), and (b) shows the PARM field check (extended header length check).

도 8의 (a)에 나타내는 바와 같이, LEN필드의 체크에는 LEN필드 값만큼 계산하는 LEN카운터를 이용한다. LEN카운터는, MAC데이터 선두위치신호(LPMC)가 하나의 MAC데이터(MAC데이터1) 선두를 나타내는 위치에서 유효로 됐을 때 계산을 시작하고, 다음의 MAC데이터(MAC데이터2) 선두를 나타내는 위치에서 유효로 됐을 때 그 계산을 중지한다. 이로써 LEN카운터의 값은, MAC데이터1의 데이터길이를 나타내게 되며, 오류가 없다면 MAC_LEN길이(=LEN필드값+6바이트(FC·PARM·LEN·HCS필드길이에 상당))와 일치할 것이다. 여기에 LEN카운터의 값이 MAC_LEN길이와 일치할 때는, LEN필드에 오류가 없다고 판단하는 한편, LEN카운터의 값이 MAC_LEN길이와 일치하지 않을 때는, LEN필드에 오류가 있다고 판단한다.As shown in Fig. 8A, a LEN counter for calculating the LEN field is used for checking the LEN field value. The LEN counter starts calculation when the MAC data head position signal LPMC becomes valid at a position indicating the head of one MAC data (MAC data 1), and starts the calculation at a position indicating the head of the next MAC data (MAC data 2). When it is valid, the calculation stops. Thus, the value of the LEN counter indicates the data length of MAC data 1, and if there is no error, it will match the MAC_LEN length (= LEN field value + 6 bytes (corresponding to FC, PALM, LEN, HCS field length). Here, when the value of the LEN counter matches the length of MAC_LEN, it is determined that there is no error in the LEN field, and when the value of the LEN counter does not match the length of MAC_LEN, it is determined that there is an error in the LEN field.

또 도 8의 (b)에 나타내는 바와 같이, PARM필드의 체크에는, PARM필드 값만큼 계산하는 PARM카운터를 이용한다. PARM카운터는, MAC데이터 선두위치신호(LPMC)가 하나의 MAC데이터(MAC데이터3) 선두를 나타내는 위치에서 유효로 됐을 때부터 6바이트(FC·PARM·LEN필드길이에 상당) 진행된 위치에서 계산을 시작하고, PARM필드 값만큼 계산된 위치에서 계산을 중지한다. 이로써 PARM카운터가 계산을 중지한 위치가 확장헤더의 끝에 상당하게 되며, 이후 도 6에 따른 상태해석을 진행시켜간다. 만일 PARM카운터가 나타내는 확장헤더의 최종위치가 잘못됐을 때는, 이후의 상 태해석 결과는 오류가 된다. 따라서 MAC데이터3의 상태해석이 종료된 시점에서, 상태결과가 "ERR"가 아닐 때는 PARM필드에 오류가 없는 것으로 판단하는 한편, 상태결과가 "ERR"일 때는 PARM필드 체크 결과를 무시한다.As shown in Fig. 8B, a PARM counter that calculates only the PARM field value is used to check the PARM field. The PARM counter calculates at the position where 6 bytes (corresponding to the FC, PLM, and LEN field lengths) have progressed since the MAC data head position signal LPMC became valid at the position indicating the head of one MAC data (MAC data 3). Start and stop calculation at the position calculated by the PARM field value. As a result, the position where the PARM counter stops calculating becomes equivalent to the end of the extension header, and then the state analysis according to FIG. 6 is advanced. If the final position of the extended header indicated by the PARM counter is incorrect, the result of the subsequent status analysis will be an error. Therefore, when the status analysis of the MAC data 3 ends, it is determined that there is no error in the PARM field when the status result is not "ERR", and the result of the PARM field check is ignored when the status result is "ERR".

FC필드의 체크에서는, FC필드의 값을 체크하는 처리와 그 이후의 도 6에 따른 상태해석처리가, FC필드의 값으로 판단된 데이터의 종류에 적응됐음을 확인하여, 상태결과가 "ERR"가 아닐 때는 FC필드에 오류가 없는 것으로 판단하는 한편, 상태결과가 "ERR"일 때는 FC필드 체크 결과를 무시한다.In the FC field check, it is confirmed that the processing of checking the value of the FC field and the subsequent state analysis processing according to Fig. 6 are adapted to the type of data determined as the value of the FC field, and the status result is " ERR " If not, it is determined that there is no error in the FC field. If the status result is "ERR", the FC field check result is ignored.

EHDR필드의 체크에서는, 후술하는 확장헤더 해석블록(23)의 상태해석 결과가 "ERR"가 아닐 때는 EHDR필드에 오류가 없는 것으로 판단하는 한편, 상태해석 결과가 "ERR"일 때는 EHDR필드에 오류가 있는 것으로 판단한다.In the check of the EHDR field, it is determined that there is no error in the EHDR field when the state analysis result of the extended header analysis block 23 described later is not "ERR", and an error in the EHDR field when the state analysis result is "ERR". Judging that there is.

이상과 같이 하여 MAC헤더의 각 필드를 체크한 결과, 모든 필드에 대해 오류가 없을 경우는, HCS체크결과가 오류일 경우라도 MAC헤더에 오류가 없는 것으로 판단하는 기능을 설정하기가 가능하다. 예를 들어 MAC프레임길이 체크 및 확장헤더길이 체크에 의한 체크결과가 오류 없음일 때, HCS체크에 의한 체크결과를 무효로 하면 된다. 또 이와 같은 MAC헤더의 오류검출방법을 이용하지 않고, HCS체크만으로 MAC헤더의 오류검출을 실행하는 것도 가능하다.As a result of checking each field of the MAC header as described above, if there is no error for all the fields, it is possible to set a function for determining that there is no error in the MAC header even if the HCS check result is an error. For example, when the check result of the MAC frame length check and the extended header length check is error free, the check result of the HCS check may be invalidated. It is also possible to perform MAC header error detection only by checking the HCS, without using such a MAC header error detection method.

<확장헤더 해석><Expand Header Analysis>

확장헤더 해석블록(23)은, 지연 TEK처리데이터(DDTK) 중에 확장헤더가 존재할 경우, 이 확장헤더의 해석을 실행한다. 구체적으로는, 확장헤더의 각 필드를 차례로 체크하고, 각 필드의 데이터 의미를 판단하여, 데이터에 상태를 부여한다. The extension header analysis block 23 analyzes this extension header when an extension header exists in the delay TEK processing data DDTK. Specifically, each field of the extension header is checked in order, the data meaning of each field is determined, and a state is given to the data.                 

도 9는 확장헤더 해석블록(23)에서 확장헤더 해석의 상태머신을 나타내는 도이다. 또 도 10은 확장헤더의 포맷을 나타내는 도이다. 도 10에 나타내는 바와 같이, 확장헤더는, 확장헤더의 종류를 나타내는 EH TYPE 필드, 확장헤더의 데이터부분을 나타내는 EH VALUE 필드, 및 EH VALUE 필드의 길이를 나타내는 EH LEN 필드로 구성되며, 이하 EH TYPE, EH LEN, EH VALUE의 각 필드가 세트로 반복된다.9 is a diagram illustrating a state machine of extended header analysis in the extended header analysis block 23. 10 is a diagram illustrating the format of an extended header. As shown in Fig. 10, the extension header is composed of an EH TYPE field indicating the type of the extension header, an EH VALUE field indicating the data portion of the extension header, and an EH LEN field indicating the length of the EH VALUE field. Each field of EH LEN and EH VALUE is repeated in a set.

도 9에 따라, 확장헤더 해석에서의 처리흐름을 설명한다. 상태머신의 상태는 바이트 클록별로 천이된다.9, the processing flow in extended header analysis will be described. The state of the state machine transitions by byte clock.

상태가 초기상태인 "IDLE"일 경우에 있어서, MAC헤더 해석블록(22)으로부터 송신된 확장헤더 위치정보데이터(PEH)가 유효일 때는, 상태를 "EH_TL"로 하고 그렇지 않을 때는 그 상태를 유지한다(S31).If the state is "IDLE" which is the initial state, the state is set to "EH_TL" when the extended header positional information data PEH transmitted from the MAC header analysis block 22 is valid, and otherwise maintained. (S31).

상태가 "EH_TL"일 때의 MAC데이터는, 확장헤더의 종류 및 데이터길이를 나타낸다. 확장헤더에는 다음의 3 종류가 있다. 즉 MCA데이터의 암호화에 관한 데이터인 "Downstream Privacy", MAC데이터가 연속적으로 송신되며 이들이 동일 헤더를 가질 경우에, 반복되는 헤더를 압축시켜 대역절약을 가능하게 하는 기능인 PHS(Payload Header Suppression)가 실시된 데이터인 "Downstream PHS", 및 확장헤더를 매입시키기 위해 사용되는 "Null"이다. 도 11은 "Downstream Privacy"인 확장헤더의 포맷을 나타내는 도이다.The MAC data when the state is "EH_TL" indicates the type of extension header and the data length. There are three kinds of extension headers: That is, when downlink privacy, which is data related to encryption of MCA data, and MAC data are transmitted continuously and they have the same header, a payload header suppression (PHS) function, which is a function that enables bandwidth saving by compressing repeated headers, is performed. Data "Downstream PHS", and "Null" used to embed the extension header. 11 is a diagram illustrating a format of an extended header of "Downstream Privacy".

상태가 "EH_TL"일 때, MAC데이터가 상기 3 종류 중 어느 하나를 나타낼 때는 상태를 "EH_VAL"로 하고, 그렇지 않을 때는 지연 TEK처리데이터(DDTK)에 오류가 있는 것으로 판단하여 상태를 "ERR"로 한다(S32). When the status is "EH_TL", the status is set to "EH_VAL" when the MAC data indicates any one of the above three types. Otherwise, it is determined that there is an error in the delay TEK processing data (DDTK) and the status is set to "ERR". (S32).                 

상태가 "EH_VAL"일 때, 확장헤더가 "Downstream Privacy"일 경우는(S33), 프로토콜의 버전을 나타내는 Version데이터(Protocol Version Number)의 값이 0×01이 아닐 경우나, EH VALUE 필드의 마지막 데이터인 Reserved데이터의 값이 0×00이 아닐 경우, 지연 TEK처리데이터(DDTK)에 오류가 있는 것으로 판단하여 상태를 "ERR"로 한다(S34, S35).When the status is "EH_VAL" and the extension header is "Downstream Privacy" (S33), the value of the Version Data (Protocol Version Number) indicating the version of the protocol is not 0x01 or the end of the EH VALUE field. If the value of the reserved data, which is data, is not 0x00, it is determined that there is an error in the delay TEK processing data DDTK, and the state is set to "ERR" (S34, S35).

그렇지 않을 때는, EH VALUE 필드가 마지막인지 여부를 확인한다(S36). 여기서의 확인은, EH LEN 필드의 값을 계산하는 EH LEN카운터로 실행한다. 즉 EH LEN카운터의 값이, EH LEN 필드의 값과 일치하지 않을 때는 상태를 유지한다. 한편 일치할 때는, 확장헤더 필드의 마지막인지 여부를 확인한다(S37). 여기서의 확인은 확장헤더 위치정보데이터(PEH)를 참조하여 실행한다. 확장헤더 필드의 마지막일 때는, 확장헤더의 해석이 정상적으로 종료된 것으로 판단하여 상태를 "IDLE"로 한다. 그렇지 않을 때는 상태를 "EH_TL"로 한다.If not, it is checked whether the EH VALUE field is the last (S36). The confirmation here is performed by the EH LEN counter which calculates the value of the EH LEN field. That is, when the value of the EH LEN counter does not match the value of the EH LEN field, the state is maintained. On the other hand, if there is a match, it is checked whether the extended header field is the last (S37). The check here is performed with reference to the extended header position information data (PEH). At the end of the extension header field, it is determined that the analysis of the extension header has ended normally, and the state is set to "IDLE". Otherwise, the state is set to "EH_TL".

그 결과, 확장헤더 해석블록(23)은, 확장헤더 각 필드의 상태정보, 지연 TEK처리데이터(DDTK)에 오류가 있는 것으로 판단했을 경우의 오류상태정보, 및 확장헤더의 해석이 정상적으로 종료된 것으로 판단했을 경우의 정상종료 상태정보를, 확장헤더 상태정보데이터(STEH)로서 MAC헤더 해석블록(22)으로 출력한다.As a result, the extended header analysis block 23 indicates that the error information of the extended header and the error status information when it is determined that there is an error in the state information of each field of the extended header, the delay TEK processing data (DDTK), and the extension header have been completed normally. The normal termination status information when judged is output to the MAC header analysis block 22 as the extended header status information data STEH.

<MACMM헤더 해석><MACMM header interpretation>

MACMM헤더 해석블록(24)은, 지연 TEK처리데이터(DDTK) 중에 MACMM헤더가 존재할 경우, 이 MACMM헤더의 해석을 실행한다. 구체적으로는, MACMM헤더의 각 필드를 차례로 체크하고, 각 필드의 데이터 의미를 판단하여 데이터에 상태를 부여한 다.The MACMM header analysis block 24, when there is a MACMM header in the delay TEK processing data (DDTK), analyzes the MACMM header. Specifically, each field of the MACMM header is checked in order, the data meaning of each field is determined, and a state is given to the data.

도 12는 MACMM헤더 해석블록(24)에서 MACMM헤더 해석의 상태머신을 나타내는 도이다. 또 도 13은 MACMM헤더의 포맷을 나타내는 도이다. 도 13에 있어서, DA는 지연 TEK처리데이터(DDTK)의 수신원 어드레스필드, SA는 지연 TEK처리데이터(DDTK)의 송신원 어드레스필드, MsgLEN은 MACMM의 데이터길이 필드, DSAP는 ISO 8802-2에 준거한 LLC 수신원 어드레스포인트를 나타내는 필드, SSAP는 ISO 8802-2에 준거한 LLC 송신원 어드레스포인트를 나타내는 필드, Control은 ISO 8802-3에 준거한 Unnumberd 정보프레임 필드, Version은 MACMM의 버전을 나타내는 필드, Type은 MACMM의 종류를 나타내는 필드, RSVD는 MAC Management Payload를 32비트 경계 상에 배치하기 위한 예비데이터 필드, MAC Management Payload는 MACMM의 실질데이터 필드, CRC는 DA부터 MAC Management Payload까지를 CRC계산하기 위한 체크 시퀀스데이터 필드이다.12 is a diagram showing a state machine of MACMM header analysis in the MACMM header analysis block 24. As shown in FIG. 13 shows the format of the MACMM header. In Fig. 13, DA is a source address field of delay TEK processing data (DDTK), SA is a source address field of delay TEK processing data (DDTK), MsgLEN is a data length field of MACMM, and DSAP is based on ISO 8802-2. A field indicating an LLC source address point, an SSAP field indicating an LLC source address point according to ISO 8802-2, a Control field indicating an Unnumbered information frame field according to ISO 8802-3, a Version field indicating a version of MACMM, Type is a field indicating the type of MACMM, RSVD is a preliminary data field for placing the MAC Management Payload on a 32-bit boundary, MAC Management Payload is a real data field of the MACMM, and CRC is a CRC calculation for DA to MAC Management Payload. Check sequence data field.

도 12에 따라, MACMM헤더 해석에서의 처리흐름을 설명한다. 상태머신의 상태는 바이트 클록별로 천이된다.12, the processing flow in MACMM header analysis will be described. The state of the state machine transitions by byte clock.

상태가 초기상태인 "IDLE"일 경우에, MAC헤더 해석블록(22)으로부터 송신된 MACMM헤더 위치정보데이터(PMM)가 유효일 때는, 상태를 "MSGL_H"로 하고 그렇지 않을 때는 그 상태를 유지한다(S41).If the state is " IDLE " which is the initial state, the state is set to " MSGL_H " when the MACMM header positional information data (PMM) transmitted from the MAC header analysis block 22 is valid; S41).

상태가 "MSGL_H"일 때, 수신한 지연 TEK처리데이터(DDTK)의 송신원 어드레스(SA)와 단말장치의 어드레스를 비교하여, 일치할 때는 지연 TEK처리데이터(DDTK)가 부당한 데이터인 것으로 판단하고 상태를 "ERR"로 하는 한편, 일치하지 않을 때는 상태를 "MSGL_L"로 한다(S42).When the status is "MSGL_H", the source address SA of the received delay TEK processing data DDTK is compared with the address of the terminal apparatus, and when it matches, the delay TEK processing data DTTK is judged to be invalid data. Is set to "ERR", and if not, the status is set to "MSGL_L" (S42).

상태가 "MSGL_L"일 때, 상태를 "DSAP"로 한다. 상태가 "DSAP"일 때, 지연 TEK처리데이터(DDTK)의 값이 0×00일 때는 상태를 "SSAP"로 하고, 그렇지 않을 때는 지연 TEK처리데이터(DDTK)가 부당한 것으로 판단하여 상태를 "ERR"로 한다(S43).When the state is "MSGL_L", the state is set to "DSAP". When the status is "DSAP", when the value of the delay TEK processing data (DDTK) is 0x00, the status is "SSAP". Otherwise, it is determined that the delay TEK processing data (DDTK) is invalid, and the status is set to "ERR." "(S43).

상태가 "SSAP"일 때, 지연 TEK처리데이터(DDTK)의 값이 0×00일 때는 상태를 "CONTROL"로 하고, 그렇지 않을 때는 지연 TEK처리데이터(DDTK)가 부당한 데이터인 것으로 판단하여 상태를 "ERR"로 한다(S44).When the status is "SSAP", when the value of the delay TEK processing data (DDTK) is 0x00, the status is set to "CONTROL". Otherwise, it is determined that the delay TEK processing data (DDTK) is invalid data. It is set to "ERR" (S44).

상태가 "CONTROL"일 때, 지연 TEK처리데이터(DDTK)의 값이 0×03일 때는 상태를 "VERSION"으로 하고, 그렇지 않을 때는 지연 TEK처리데이터(DDTK)가 부당한 데이터인 것으로 판단하여 상태를 "ERR"로 한다(S45).When the status is "CONTROL", the status is set to "VERSION" when the value of the delayed TEK processing data (DDTK) is 0x03. Otherwise, it is determined that the delayed TEK processing data (DDTK) is invalid data. It is set to "ERR" (S45).

상태가 "VERSION"일 때, 지연 TEK처리데이터(DDTK)의 값이 0×01 또는 0×02일 때는 상태를 "TYPE"으로 하고, 그렇지 않을 때는 지연 TEK처리데이터(DDTK)가 부당한 데이터인 것으로 판단하여 상태를 "ERR"로 한다(S46).When the status is "VERSION", when the value of the delay TEK processing data (DDTK) is 0x01 or 0x02, the status is "TYPE". Otherwise, the delay TEK processing data (DDTK) is invalid data. The judgment is made as "ERR" (S46).

상태가 "TYPE"일 때, 상태를 "RSVD"로 한다. 그리고 상태가 "RSVD"일 때 MACMM헤더 해석이 정상적으로 종료된 것으로 판단하여 상태를 "IDLE"로 한다.When the state is "TYPE", the state is set to "RSVD". When the state is " RSVD ", it is determined that the MACMM header analysis is normally completed, and the state is " IDLE ".

이 결과, MACMM헤더 해석블록(24)은, MACMM헤더 각 필드의 상태정보, 지연 TEK처리데이터(DDTK)에 오류가 있는 것으로 판단했을 경우의 오류상태정보, 및 MACMM헤더 해석이 정상적으로 종료된 것으로 판단했을 경우의 정상종료 상태정보를, MACMM헤더 상태정보데이터(STMM)로서 MAC헤더 해석블록(22)에 출력한다. As a result, the MACMM header analysis block 24 determines that the status information of each field of the MACMM header, the error status information when it is determined that there is an error in the delay TEK processing data (DDTK), and the MACMM header analysis have been completed normally. If so, the normal termination status information is output to the MAC header analysis block 22 as MACMM header status information data (STMM).                 

MAC헤더 해석블록(22), 확장헤더 해석블록(23) 및 MACMM헤더 해석블록(24)의 처리로써, 구조해석블록(20)의 처리가 종료된다. 처리 종료 후, MAC 상태정보데이터(STMC)와, 이에 대응하는 지연 TEK처리데이터(DDTK)가 복호블록(30)으로 보내진다.By the processing of the MAC header analyzing block 22, the extended header analyzing block 23, and the MACMM header analyzing block 24, the processing of the structural analysis block 20 is completed. After the end of the processing, the MAC state information data STMC and the corresponding delay TEK processing data DTTK are sent to the decoding block 30.

<복호블록><Decryption block>

복호블록(30)은, 구조해석블록(20)으로부터 출력된 지연 TEK처리데이터(DDTK) 및 MAC 상태정보데이터(STMC)를 입력으로 하여, 지연 TEK처리데이터(DDTK)에서, 데이터의 기밀성 보호를 위해 중앙장치 쪽에서 DES(Data Encryption Standard)로 암호화된 부분의 데이터에 대해 복호처리를 실행하고, 그 처리결과를 TEK 처리결과데이터(RTEK)로서 데이터 기억장치(14)로 출력한다.The decoding block 30 receives the delay TEK processing data DTTK and the MAC state information data STMC outputted from the structural analysis block 20, and protects the confidentiality of the data in the delay TEK processing data DDTK. In order to do this, the decryption process is performed on the data encrypted by the DES (Data Encryption Standard) on the central device side, and the processing result is output to the data storage device 14 as TEK processing result data (RTEK).

도 14는 복호블록(30)의 동작을 나타내는 흐름도이다. 도 14에서, 31은 지연 TEK처리데이터(DDTK) 및 MAC 상태정보데이터(STMC)를 입력으로 하고, 지연 TEK처리데이터(DDTK)의 암호 유무를 판별하여, 제 1 복호처리대상 데이터(DD1) 및 복호처리대상 외 데이터(DDX)를 출력하는 암호유무체크블록, 32는 제 1 복호처리대상 데이터(DD1)를 복호처리에 적응시킨 비트 폭인 64비트로 변환시켜 제 2 복호처리대상 데이터(DD2)로서 출력하는 제 1 비트변환블록이다. 33은 지연 TEK처리데이터(DDTK)로부터, TEK데이터(TEK)를 선택하기 위한 TEK대조데이터(ITEK)를 추출하는 TEK대조데이터 추출블록, 34는 TEK대조데이터(ITEK)를 이용하여 TEK데이터(TEK)를 추출하는 TEK데이터 추출블록이다. 35는 제 2 복호처리대상 데이터(DD2)에 복호처리를 실행하여, 제 1 복호처리 결과데이터(RD1)를 출력하는 복호처리블록, 36은 제 1 복호처리 결과데이터(RD1)를 복호처리대상 외 데이터(DDX)와 동일 비트 폭인 8비트로 변환시켜, 제 2 복호처리 결과데이터(RD2)로서 출력하는 제 2 비트변환블록, 37은 제 2 복호처리 결과데이터(RD2)와 복호처리대상 외 데이터(DDX)를 결합시켜, 결합데이터(CBD)로서 출력하는 데이터결합블록, 38은 결합데이터(CBD)를 데이터기억장치(14)에 적응시킨 비트 폭으로 변환시켜, TEK 처리결과데이터(RTEK)로서 출력하는 제 3 비트변환블록이다.14 is a flowchart showing the operation of the decoding block 30. In Fig. 14, 31 denotes input of delay TEK processing data DTTK and MAC state information data STMC, and the presence or absence of encryption of the delay TEK processing data DDTK is determined, and the first decoding processing target data DD1 and An encryption presence check block that outputs out-of-decoding data DDX, 32 converts the first decoding-processing data DD1 into 64-bits, which is a bit width adapted to the decoding process, and outputs it as second decoding-processing data DD2. Is a first bit conversion block. 33 is a TEK collation data extraction block for extracting TEK collation data (ITEK) for selecting TEK data (TEK) from the delay TEK processing data (DDTK), and 34 is a TEK collation data (TEK) using TEK collation data (ITEK). ) Is a TEK data extraction block. 35 is a decoding processing block which performs decoding processing on the second decoding processing target data DD2 and outputs the first decoding processing result data RD1, and 36 denotes that the first decoding processing result data RD1 is outside the decoding processing target. The second bit conversion block 37, which is converted into 8 bits having the same bit width as the data DDX and output as the second decoding result data RD2, 37 is the second decoding result data RD2 and the non-decoding data DDX. ), A data combining block 38 for outputting as combined data (CBD), 38 converts the combined data (CBD) into a bit width adapted to the data storage device 14, and outputs it as TEK processing result data (RTEK). The third bit conversion block.

여기서 제 1 복호처리대상 데이터(DD1)는 지연 TEK처리데이터(DDTK) 중의 DES 암호처리 된 부분의 데이터이며, 복호처리대상 외 데이터(DDX)는 지연 TEK처리데이터(DDTK) 중의 DES 암호처리 되지 않은 부분의 데이터이다. 또 TEK데이터(TEK)는 암호를 풀기 위한 데이터이며, 여기서는 실제로 데이터의 암호화 및 복호에 사용하는 DES암호키이다. TEK대조데이터(ITEK)는, 미리 유지돼있던 복수의 TEK데이터 중에서 복호에 이용할 TEK데이터(TEK)를 선택하기 위해 조회하는 시퀀스데이터이다. 여기서 TEK데이터(TEK)는, 복호처리의 초기값 데이터를 포함하는 것으로 한다.Here, the first decryption processing data DD1 is data of the DES encrypted portion of the delay TEK processing data DDTK, and the non-decoding data DDX is undecrypted DES encryption of the delay TEK processing data DDTK. Part of the data. TEK data (TEK) is data for decryption, and in this case, it is actually a DES encryption key used for encrypting and decrypting data. The TEK collation data ITEK is sequence data for inquiring to select TEK data TEK to be used for decoding from a plurality of TEK data previously held. Here, the TEK data TEK is assumed to contain initial value data of the decoding process.

그리고 TEK데이터는 해독방지를 위해 정기적으로 변경되므로, TEK데이터가 갱신될 때 중앙장치와 단말장치 사이의 통신이 두절되지 않도록, TEK데이터 추출블록(34)에, 전후의 TEK데이터, 복호처리의 초기값 데이터, 및 지연 TEK처리데이터(DDTK) 중 확장헤더에 설정된 TEK데이터의 인덱스·시퀀스번호를 미리 저장하는 데이터기억버퍼를 구성시켜둔다.Since the TEK data is periodically changed to prevent decryption, the TEK data extraction block 34 includes the initial TEK data before and after the decoding process so that the communication between the central apparatus and the terminal apparatus is not interrupted when the TEK data is updated. A data storage buffer for storing in advance the index / sequence number of the TEK data set in the extension header among the value data and the delay TEK processing data (DDTK) is configured.

이하, 도 14에 따라 복호블록(30)의 처리에 대해 설명한다. 여기서 MAC 상태정보데이터(STMC)는 적어도, 확장헤더에 포함된 MAC데이터가 암호화됐는지 여부를 나타내는 Encrypt비트로 생성되는 MAC 데이터Encrypt신호와, MAC헤더 및 어드레스데이터(SA, DA)의 위치를 나타내는 인에이블신호와, 확장헤더에 존재하는 TEK대조데이터의 위치를 나타내는 TEK대조데이터 인에이블신호를, 포함하는 것으로 한다.Hereinafter, the processing of the decoding block 30 will be described with reference to FIG. 14. Here, the MAC state information data (STMC) is at least, MAC data Encrypt signal generated by the Encrypt bit indicating whether the MAC data included in the extension header is encrypted, and enable indicating the position of the MAC header and address data (SA, DA) The signal and a TEK collation data enable signal indicating the position of the TEK collation data existing in the extension header are assumed to be included.

우선 암호유무체크블록(31)에서, MAC 상태정보데이터(STMC)를 참조하여, 지연 TEK처리데이터(DDTK) 중의 암호화된 부분과 암호화되지 않은 부분을 판별하여, 제 1 복호처리대상 데이터(DD1) 및 복호처리대상 외 데이터(DDX)를 출력한다. 즉 MAC 데이터Encrypt신호가, MAC데이터가 암호화 됐음을 나타낼 경우, MAC데이터 중의 MAC헤더 및 어드레스데이터를 복호처리대상 외 데이터(DDX)로서 출력함과 동시에, 그 이외의 MAC데이터를 제 1 복호처리대상 데이터(DD1)로서 출력한다. 한편 MAC 데이터Encrypt신호가, MAC데이터가 암호화 됐음을 나타내지 않을 경우, MAC데이터 전체를 복호처리대상 외 데이터(DDX)로서 출력한다.First, in the encryption presence check block 31, the encrypted portion and the unencrypted portion of the delay TEK processing data DDTK are determined by referring to the MAC state information data STMC, and the first decryption processing target data DD1. And out-of-decoding data DDX. That is, when the MAC data encrypt signal indicates that the MAC data is encrypted, the MAC header and the address data in the MAC data are output as the out-of-decryption data (DDX), and other MAC data is output to the first decoding process. It outputs as data DD1. On the other hand, when the MAC data encrypt signal does not indicate that the MAC data is encrypted, the entire MAC data is output as the out-of-decryption data DDX.

그 후, 제 1 복호처리대상 데이터(DD1)는, 제 1 비트변환블록(32)에서 복호처리단위의 비트 폭인 64비트로 변환되어, 제 2 복호처리대상 데이터(DD2)로서 출력된다.Thereafter, the first decoding processing target data DD1 is converted into 64 bits, which is the bit width of the decoding processing unit in the first bit conversion block 32, and output as the second decoding processing target data DD2.

또 TEK대조데이터 추출블록(33)에서, 지연 TEK처리데이터(DDTK)로부터, TEK데이터를 선택하기 위한 TEK대조데이터(ITEK)를 추출한다. 즉 TEK대조데이터 인에이블신호가 나타내는 데이터를 TEK대조데이터(ITEK)로서 추출하여 출력한다. 그리고 TEK데이터 추출블록(34)에서 TEK대조데이터(ITEK)를 이용하여 데이터기억버퍼로부터 TEK데이터(TEK)를 추출한다.Further, in the TEK contrast data extraction block 33, the TEK contrast data ITEK for selecting TEK data is extracted from the delay TEK processing data DDTK. That is, the data indicated by the TEK contrast data enable signal is extracted and output as TEK contrast data ITEK. In the TEK data extraction block 34, the TEK data TEK is extracted from the data storage buffer using the TEK reference data ITEK.

그 후, 복호처리블록(35)에서, 제 2 복호처리 대상데이터(DD2) 및 TEK데이터 (TEK)를 이용하여 복호처리를 실행하고, 당해 처리 결과를 제 1 복호처리 결과데이터(RD1)로 한다.Thereafter, in the decoding processing block 35, decoding processing is performed using the second decoding processing target data DD2 and TEK data TEK, and the processing result is referred to as the first decoding processing result data RD1. .

다음으로, 제 2 비트변환블록(36)에서, 제 1 복호처리 결과데이터(RD1)를 복호처리대상 외 데이터(DDX)와 동일 비트 폭인 8비트로 변환시키고, 이 변환결과를 제 2 복호처리 결과데이터(RD2)로서 출력한다. 그리고 데이터결합블록(37)에서, 제 2 복호처리 결과데이터(RD2)와 복호처리대상 외 데이터(DDX)를 통합시켜 결합데이터(CBD)로서 출력한 후, 제 3 비트변환블록(38)에서, 결합데이터(CBD)를 데이터기억장치(14)에 적응시킨 비트 폭으로 변환시키고, 당해 처리 결과를 TEK처리결과 데이터(RTEK)로서 데이터기억장치(14)에 출력한다.Next, in the second bit conversion block 36, the first decoding result data RD1 is converted into 8 bits having the same bit width as the non-decoding data DDDX, and the second decoding result result data is converted. It outputs as (RD2). In the data combining block 37, the second decoding processing result data RD2 and the non-decoding data DDX are integrated and output as combined data CBD, and then in the third bit conversion block 38, The combined data CBD is converted into a bit width adapted to the data storage device 14, and the processing result is output to the data storage device 14 as TEK processing result data RTEK.

여기서, 복호처리단위인 64비트, 및 제 2 복호처리 결과데이터(RD2)의 비트 폭인 8비트는, 그 값에 한정되는 것이 아니며 예를 들어 8×n(n: 정수)비트로 자유롭게 선택 가능하다.Here, 64 bits as the decoding processing unit and 8 bits as the bit width of the second decoding processing result data RD2 are not limited to the value and can be freely selected, for example, by 8 × n (n: integer) bits.

이상과 같이 본 발명에 의하면, 중앙장치 및 복수의 단말장치에 의해 구성되는 쌍방향통신망에서의 디지털 쌍방향통신 제어장치에 있어서, MAC기능 중에서도 연산처리량이 큰 TEK기능의 전용처리를, CPU와는 별도의 TEK처리블록으로 실행시킨다. 이로써 CPU의 부하를 저감할 수 있음과 동시에 회로규모의 적정화가 가능해지며, 또 처리능력이 향상되므로 장치 전체적인 코스트 성능을 높일 수 있다.As described above, according to the present invention, in the digital bidirectional communication control apparatus in a bidirectional communication network constituted by a central apparatus and a plurality of terminal apparatuses, exclusive processing of the TEK function having a large computational throughput among the MAC functions is carried out. Execute as a processing block. As a result, the CPU load can be reduced, the circuit scale can be optimized, and the processing capacity is improved, thereby increasing the overall cost performance of the device.

Claims (13)

디지털 쌍방향통신에서의 쌍방향 제어를 실행하는 장치로,Apparatus for performing bidirectional control in digital bidirectional communication, 입력된 다운스트림 데이터를 포맷 변환시켜 하향데이터를 생성하는 인터페이스 블록과,An interface block for converting input downstream data to generate downstream data; 상기 하향데이터 중 TEK(Traffic Encryption Key) 처리데이터 이외의 데이터를 수취하여, MAC(Media Access Control)기능을 실현하는 CPU와,A CPU for receiving data other than TEK (Traffic Encryption Key) processing data among the downlink data to realize a MAC (Media Access Control) function; 상기 하향데이터로부터 얻어진 TEK 처리데이터를 받아서, 그 데이터 구조를 해석하고, 그 해석결과를 기초로 하여 복호처리를 실행하는 TEK처리블록을 구비하며,A TEK processing block for receiving TEK processing data obtained from the downlink data, analyzing the data structure, and performing decoding processing based on the analysis result; 상기 TEK처리블록은,The TEK processing block, TEK 처리데이터를 입력하고, 이 TEK 처리데이터 중의 MPEG구조와, MPEG구조에 매입된 MAC(Media Access Control)구조를 해석하여, MAC구조를 갖는 데이터인 MAC 데이터의 상태 및 의미를 나타내는 MAC 상태정보 데이터를 출력하는 구조해석블록을 구비하는 것을 특징으로 하는 디지털 쌍방향통신 제어장치.MAC state information data indicating the state and meaning of MAC data which is data having a MAC structure by inputting TEK process data, analyzing the MPEG structure in the TEK process data and the MAC (Media Access Control) structure embedded in the MPEG structure. Digital two-way communication control device comprising a structural analysis block for outputting. 제 1 항에 있어서,The method of claim 1, 상기 TEK처리블록은,The TEK processing block, TEK 처리데이터 중의 암호화된 부분을 상기 MAC상태정보 데이터를 참조하여 판별하고, 암호화된 부분을 암호를 풀기 위한 TEK데이터를 이용하여 복호하며, 그 복호결과를 암호화되지 않은 부분과 통합시키는 복호블록을 구비하는 것임을 특징으로 하는 디지털 쌍방향통신 제어장치.And a decryption block for determining an encrypted portion of TEK processed data with reference to the MAC state information data, decrypting the encrypted portion using TEK data for decryption, and integrating the decryption result with an unencrypted portion. Digital two-way communication control device characterized in that. 제 2 항에 있어서,The method of claim 2, 상기 구조해석블록은, The structural analysis block, TEK처리데이터 중의 MPEG구조 헤더인 MPEG헤더를 해석하여, MAC데이터의 위치를 나타내는 MAC데이터 위치신호, 및 MAC프레임의 선두 바이트 위치를 나타내는 MAC데이터 선두위치신호를 출력하는 MPEG헤더 해석블록과,An MPEG header analysis block which analyzes an MPEG header which is an MPEG structure header in the TEK processing data, and outputs a MAC data position signal indicating the position of the MAC data and a MAC data head position signal indicating the head byte position of the MAC frame; 상기 MAC데이터 위치신호 및 MAC데이터 선두위치신호를 입력으로 하여, MAC구조의 헤더인 MAC헤더 중의 확장헤더 및 MACMM(MAC Management Message)헤더 이외의 필드에 대해, 상태정보를 인식함과 동시에, TEK처리데이터에 확장헤더가 존재할 때 확장헤더의 위치를 나타내는 확장헤더 위치정보데이터를 출력하고, 또 TEK처리데이터에 MACMM헤더가 존재할 때 MACMM헤더의 위치를 나타내는 MACMM헤더 위치정보데이터를 출력하는 MAC헤더 해석블록과,The MAC data position signal and the MAC data head position signal are input to recognize the status information for fields other than the extension header and MACMM (MAC Management Message) header in the MAC header which are headers of the MAC structure, and at the same time, TEK processing. MAC header analysis block which outputs the extension header position information data indicating the position of the extension header when the header exists in the data, and outputs the MACMM header position information data indicating the position of the MACMM header when the MACMM header is present in the TEK processing data. and, 상기 확장헤더 위치정보데이터를 받아, 확장헤더의 각 필드를 체크하여, 확장헤더의 상태정보를 나타내는 확장헤더 상태정보데이터를 출력하는 확장헤더 해석블록과,An extension header analysis block which receives the extension header position information data, checks each field of the extension header, and outputs extension header state information data indicating state information of the extension header; 상기 MACMM헤더 위치정보데이터를 받아, MACMM헤더의 각 필드를 체크하여, MACMM헤더의 상태정보를 나타내는 MACMM헤더 상태정보데이터를 출력하는 MACMM헤더 해석블록을 구비하며,A MACMM header analysis block which receives the MACMM header position information data, checks each field of the MACMM header, and outputs MACMM header status information data indicating the status information of the MACMM header, 상기 MAC헤더 해석블록은,The MAC header analysis block, 상기 확장헤더 상태정보데이터 및 MACMM헤더 상태정보데이터를 받아, MAC헤 더 중의 확장헤더 및 MACMM헤더 이외의 각 필드 상태정보와, 상기 확장헤더 상태정보데이터가 나타내는 확장헤더의 상태정보, 및 상기 MACMM헤더 상태정보데이터가 나타내는 MACMM헤더의 상태정보를 기초로 하여, 상기 MAC 상태정보데이터를 생성하는 것임을 특징으로 하는 디지털 쌍방향통신 제어장치.Receives the extended header state information data and the MACMM header state information data, each field state information other than the extended header and the MACMM header in the MAC header, the state information of the extended header indicated by the extended header state information data, and the MACMM header. And generating the MAC state information data based on the state information of the MACMM header indicated by the state information data. 제 3 항에 있어서,The method of claim 3, wherein 상기 MPEG헤더 해석블록은,The MPEG header analysis block is MPEG헤더의 필드를 체크하여 MAC데이터의 위치와 MAC프레임의선두 바이트위치를 검출하고, 상기 MAC데이터 위치신호 및 MAC데이터 선두위치신호를 출력하는 것임을 특징으로 하는 디지털 쌍방향통신 제어장치.And checking the MAC data position and the leading byte position of the MAC frame by checking a field of the MPEG header, and outputting the MAC data position signal and the MAC data head position signal. 제 3 항에 있어서,The method of claim 3, wherein 상기 MAC헤더 해석블록은,The MAC header analysis block, HCS체크에 의해 MAC헤더의 오류검출을 실행하는 것임을 특징으로 하는 디지털 쌍방향통신 제어장치.Digital two-way communication control device characterized in that for detecting the error of the MAC header by the HCS check. 제 3 항에 있어서,The method of claim 3, wherein 상기 MAC헤더 해석블록은,The MAC header analysis block, MAC헤더 중의 MAC데이터 길이를 나타내는 필드의 체크를 실행하는 것이며,To check the field indicating the MAC data length in the MAC header, 상기 체크를, 상기 MAC데이터 선두위치신호를 참조하여 MAC프레임의 데이터 길이를 계산하고, 이 MAC프레임 길이가 당해 필드의 값과 소정 데이터길이와의 합과 일치하는지 여부를 판단함으로써 실행하는 것을 특징으로 하는 디지털 쌍방향통신 제어장치.The check is performed by calculating the data length of the MAC frame with reference to the MAC data head position signal, and determining whether the MAC frame length is equal to the sum of the value of the field and the predetermined data length. Digital two-way communication control device. 제 3 항에 있어서,The method of claim 3, wherein 상기 MAC헤더 해석블록은,The MAC header analysis block, HCS체크와 더불어, MAC프레임 길이 체크 및 확장헤더 길이 체크에 의해, MAC헤더의 오류검출을 실행하는 것이며, 또,In addition to the HCS check, the MAC header length check and the extended header length check are used to perform error detection of the MAC header. 상기 MAC프레임 길이 체크 및 확장헤더 길이 체크에 의한 체크 결과가, 오류 없음일 때 상기 HCS체크에 의한 체크결과를 무효로 하는 것을 특징으로 하는 디지털 쌍방향통신 제어장치.And a check result by the HCS check is invalid when the check result by the MAC frame length check and the extended header length check is no error. 제 3 항에 있어서,The method of claim 3, wherein 상기 확장헤더 해석블록은,The extended header analysis block, 상기 확장헤더 위치정보데이터를 참조하여, 확장헤더의 필드를 체크하고, 확장헤더의 데이터 길이나 종류를 판별하며,Refer to the extension header position information data, check the field of the extension header, and determine the data length or type of the extension header, 확장헤더의 필드 값이 부당할 경우, 확장헤더에 오류가 있는 것으로 인식하고, 그 내용을 상기 확장헤더 상태정보데이터로서 출력하는 것임을 특징으로 하는 디지털 쌍방향통신 제어장치.And if the field value of the extension header is invalid, recognizes that there is an error in the extension header, and outputs the contents as the extension header state information data. 제 3 항에 있어서,The method of claim 3, wherein 상기 MACMM헤더 해석블록은,The MACMM header analysis block, 상기 MACMM헤더 위치정보데이터를 참조하여 MACMM헤더의 필드를 체크하고, MACMM의 데이터 길이 및 종류를 판별하며,The MACMM header field information is checked with reference to the MACMM header location information data, and the data length and type of the MACMM are determined. MACMM헤더 필드의 데이터 값이 부당할 경우, MACMM헤더에 오류가 있는 것으로 인식하고, 그 내용을 상기 MACMM헤더 상태정보데이터로서 출력하는 것임을 특징으로 하는 디지털 쌍방향통신 제어장치.And if the data value of the MACMM header field is invalid, recognizes that there is an error in the MACMM header, and outputs the contents as the MACMM header status information data. 제 2 항에 있어서,The method of claim 2, 상기 복호블록은,The decoding block, 상기 MAC 상태정보데이터를 참조하여, TEK처리데이터 중의, 암호화된 부분과 암호화되지 않은 부분을 선별하여,By referring to the MAC state information data, an encrypted portion and an unencrypted portion of the TEK processing data are selected, TEK처리데이터로부터, TEK데이터를 선택하기 위한 TEK대조데이터를 추출하고,From the TEK processing data, TEK control data for selecting TEK data is extracted, 추출한 TEK대조데이터를 참조하여, 미리 유지돼있던 복수의 TEK데이터 중에서 복호에 이용할 TEK데이터를 선택하며,With reference to the extracted TEK control data, TEK data to be used for decoding is selected from a plurality of TEK data previously held, 암호화된 부분을 복호처리 단위의 비트 폭으로 변환시켜, 선택한 TEK데이터를 이용해 복호하고,Converts the encrypted part to the bit width of the decryption processing unit, decrypts it using the selected TEK data, 복호 후의 데이터와, 암호화되지 않은 부분을 통합하는 것임을 특징으로 하는 디지털 쌍방향통신 제어장치.Digital two-way communication control device characterized in that to integrate the data after decryption and the unencrypted portion. 디지털 쌍방향통신에서의 쌍방향 제어를 실행하는 방법으로,In a method of performing bidirectional control in digital bidirectional communication, 입력된 다운스트림 데이터를 포맷 변환시켜 하향데이터를 생성하는 단계와,Generating downstream data by format converting the input downstream data; CPU에 의해, 상기 하향데이터 중 TEK(Traffic Encryption Key) 처리데이터 이외의 데이터를 수취하여, MAC(Media Access Control)기능을 실현하는 단계와,Receiving, by the CPU, data other than the TEK (Traffic Encryption Key) processing data among the downlink data to realize a MAC (Media Access Control) function; TEK처리블록에 의해, 상기 하향데이터로부터 얻어진 TEK 처리데이터를 받아 그 데이터 구조를 해석하고, 그 해석결과를 기초로 하여 복호처리를 실행하는 TEK 처리단계를 구비하며,A TEK processing step of receiving, by the TEK processing block, the TEK processing data obtained from the downlink data, analyzing the data structure, and performing decoding processing based on the analysis result; 상기 TEK 처리단계는,The TEK processing step, TEK 처리데이터 중의 MPEG구조와, MPEG구조에 매입된 MAC(Media Access Control)구조를 해석하여, MAC구조를 갖는 데이터인 MAC데이터의 상태 및 의미를 나타내는 MAC 상태정보 데이터를 생성하는 구조해석단계를 구비하는 것을 특징으로 하는 디지털 쌍방향통신 제어방법.Analyze the MPEG structure in the TEK processed data and the MAC (Media Access Control) structure embedded in the MPEG structure, and have a structure analysis step of generating MAC state information data indicating the state and meaning of the MAC data which is the data having the MAC structure. Digital two-way communication control method characterized in that. 제 11 항에 있어서,The method of claim 11, 상기 TEK 처리단계는,The TEK processing step, TEK 처리데이터 중의 암호화된 부분을 상기 MAC상태정보 데이터를 참조하여 판별하고, 암호화된 부분을 암호를 풀기 위한 TEK데이터를 이용하여 복호하며, 그 복호결과를 암호화되지 않은 부분과 통합시키는 복호단계를 구비하는 것임을 특징으로 하는 디지털 쌍방향통신 제어방법.A decryption step of determining an encrypted portion of the TEK processing data with reference to the MAC state information data, decrypting the encrypted portion using TEK data for decryption, and integrating the decryption result with the unencrypted portion; Digital two-way communication control method characterized in that. 제 12 항에 있어서,The method of claim 12, 상기 구조해석단계는, The structural analysis step, TEK처리데이터의 MPEG구조 헤더인 MPEG헤더를 해석하여, MAC데이터의 위치를 나타내는 MAC데이터 위치신호, 및 MAC프레임의 선두 바이트 위치를 나타내는 MAC데이터 선두위치신호를 생성하는 MPEG헤더해석 단계와,An MPEG header analysis step of analyzing an MPEG header, which is an MPEG structure header of TEK processing data, to generate a MAC data position signal indicating the position of the MAC data and a MAC data head position signal indicating the head byte position of the MAC frame; 상기 MAC데이터 위치신호 및 MAC데이터 선두위치신호를 이용하여, MAC구조의 헤더인 MAC헤더 중의 확장헤더 및 MACMM(MAC Management Message)헤더 이외의 필드에 대해, 상태정보를 인식함과 동시에, TEK처리데이터에 확장헤더가 존재할 때 확장헤더의 위치를 나타내는 확장헤더 위치정보데이터를 생성하고, 또 TEK처리데이터에 MACMM헤더가 존재할 때 MACMM헤더의 위치를 나타내는 MACMM헤더 위치정보데이터를 생성하는 MAC헤더해석 단계와,By using the MAC data position signal and the MAC data head position signal, status information is recognized for fields other than the extended header and MACMM (MAC Management Message) header in the MAC header, which are headers of the MAC structure, and TEK processing data. An MAC header analysis step of generating extended header location information data indicating the location of the extension header when the header exists in the header, and generating the MACMM header location information data indicating the location of the MACMM header when the MACMM header is present in the TEK processing data; , 상기 확장헤더 위치정보데이터를 받아 확장헤더의 각 필드를 체크하여, 확장헤더의 상태정보를 나타내는 확장헤더 상태정보데이터를 생성하는 확장헤더해석 단계와,An extension header analysis step of receiving the extension header position information data and checking each field of the extension header to generate extension header state information data indicating the state information of the extension header; 상기 MACMM헤더 위치정보데이터를 받아 MACMM헤더의 각 필드를 체크하여, MACMM헤더의 상태정보를 나타내는 MACMM헤더 상태정보데이터를 생성하는 MACMM헤더해석 단계를 구비하며,Receiving the MACMM header location information data and checking each field of the MACMM header, and generating a MACMM header status information data indicating the status information of the MACMM header; 상기 MAC헤더해석 단계에서 판단한, MAC헤더 중의 확장헤더 및 MACMM헤더 이외의 각 필드 상태정보와, 상기 확장헤더 상태정보데이터가 나타내는 확장헤더의 상태정보, 및 상기 MACMM헤더 상태정보데이터가 나타내는 MACMM헤더의 상태정보를 기초로 하여, 상기 MAC 상태정보데이터를 생성하는 것임을 특징으로 하는 디지털 쌍방향통신 제어방법.The status information of each field other than the extended header and MACMM header in the MAC header determined in the MAC header analysis step, the status information of the extended header indicated by the extended header status information data, and the MACMM header represented by the MACMM header status information data. And generating the MAC state information data based on the state information.
KR20047010661A 2002-04-17 2003-04-16 Digital two-way communication control device and its method KR100655027B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR20047010661A KR100655027B1 (en) 2002-04-17 2003-04-16 Digital two-way communication control device and its method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JPJP-P-2002-00114076 2002-04-17
KR20047010661A KR100655027B1 (en) 2002-04-17 2003-04-16 Digital two-way communication control device and its method

Publications (1)

Publication Number Publication Date
KR100655027B1 true KR100655027B1 (en) 2006-12-06

Family

ID=41755818

Family Applications (1)

Application Number Title Priority Date Filing Date
KR20047010661A KR100655027B1 (en) 2002-04-17 2003-04-16 Digital two-way communication control device and its method

Country Status (1)

Country Link
KR (1) KR100655027B1 (en)

Similar Documents

Publication Publication Date Title
US20090187937A1 (en) Device and method for controlling digital bidirectional communication
US9300465B2 (en) Method, system and program product for attaching a title key to encrypted content for synchronized transmission to a recipient
CN1731719B (en) Method to secure the transfer of a data stream, corresponding computer program product, storage means and nodes
JP4698106B2 (en) System and method for copy protection of transmitted information
JP5676589B2 (en) Encryption detection using error detection on received data
CN100521599C (en) Encrypting/decrypting device, encrypting device and decrypting device
KR100793133B1 (en) Data receiving method and data receiving unit therefor
US7580358B2 (en) Bidirectional communication control apparatus, terminal apparatus, and bidirectional communication control method
US10505735B2 (en) Digital content protection over audio return data link
US7940930B2 (en) Native scrambling system
JPH1032567A (en) Ciphering equipment, de-ciphering equipment and data transmission system using them
KR100655027B1 (en) Digital two-way communication control device and its method
CN101500156A (en) Information ciphering, deciphering method and apparatus and information ciphering and deciphering system
CN105744321A (en) Broadcasting receiving apparatus and method for controlling thereof
CN108366296A (en) video encryption method and device
KR100986236B1 (en) Key transport tamper protection
KR101081773B1 (en) Data encryption/decryption equipment and method in the physical layer of ethernet lan
CN101133641A (en) Content protection system
CN117675328A (en) MIPI message encryption and decryption method and device
WO2004019614A1 (en) Smart card with nrss delay line for data alignment
JP2000165841A (en) Data transmitter-receiver
WO2004019547A1 (en) Fast synchronization in smart cards

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20111028

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee