[go: up one dir, main page]

KR20060064830A - System and method for controlling communication between two devices using serial interface - Google Patents

System and method for controlling communication between two devices using serial interface Download PDF

Info

Publication number
KR20060064830A
KR20060064830A KR1020040103491A KR20040103491A KR20060064830A KR 20060064830 A KR20060064830 A KR 20060064830A KR 1020040103491 A KR1020040103491 A KR 1020040103491A KR 20040103491 A KR20040103491 A KR 20040103491A KR 20060064830 A KR20060064830 A KR 20060064830A
Authority
KR
South Korea
Prior art keywords
packet
byte
devices
serial interface
length
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
KR1020040103491A
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 KR1020040103491A priority Critical patent/KR20060064830A/en
Publication of KR20060064830A publication Critical patent/KR20060064830A/en
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43622Interfacing an external recording device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/93Regeneration of the television signal or of selected parts thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Transfer Systems (AREA)

Abstract

본 발명은 DVD나 DVR, 디지털 방송 수신기 등에서 2 개 이상의 프로세서나 콘트롤러로 설계된 시스템을 구성하거나, 서로 다른 두 시스템을 연결하여 새로운 시스템을 구성할 때, 하나의 장치가 시리얼 인터페이스(Serial Interface)를 통하여 다른 장치를 제어하도록 통신하는, 시리얼 인터페이스를 이용한 두 장치간 통신 제어 시스템 및 방법에 관한 것으로서, 서로 다른 두 장치 상호 간에 시리얼 인터페이스를 통하여 연결하고, 상기 두 장치 간의 통신 제어 신호를 송수신하되, 5 바이트(Byte) 이상의 가변 길이(Variable Length)를 갖는 데이터 패킷(DATA Packet)과 요청(REQUEST) 패킷, 및 5 바이트의 고정된 길이를 갖는 응답 패킷(RETURN Packet)을 통하여 송수신하는 것을 특징으로 하며,In the present invention, when configuring a system designed with two or more processors or controllers in a DVD, a DVR, a digital broadcast receiver, or a new system by connecting two different systems, one device is connected through a serial interface. A system and method for controlling communication between two devices using a serial interface for communicating to control other devices, comprising: connecting two different devices through a serial interface and transmitting and receiving a communication control signal between the two devices, wherein It is characterized in that the transmission and reception through the data packet (DATA Packet) having a variable length (Byte) or more (Byte) or more (REQUEST) packet, and the response packet (RETURN Packet) having a fixed length of 5 bytes,

두 장치를 새로운 모듈의 추가없이 시리얼 인터페이스를 통해 하나의 장치로 사용할 수 있으며, 두 장치간 운영체제가 다르더라도 상호 간에 통신 제어가 가능하므로, 두 장치간 통신을 위한 별도의 장비를 구비할 필요가 없는 매우 유익한 발명인 것이다.The two devices can be used as one device through the serial interface without adding a new module, and even if the operating system between the two devices can be controlled communication with each other, there is no need to have a separate device for communication between the two devices It is a very advantageous invention.

시리얼 인터페이스, DVD, DVR, 디지털 방송, 패킷, 헤더, 가변길이Serial Interface, DVD, DVR, Digital Broadcast, Packet, Header, Variable Length

Description

시리얼 인터페이스를 이용한 두 장치간 통신 제어 시스템 및 방법{Communication Controlling System and Method Using by Serial Interface Between One System and the Other System} Communication Controlling System and Method Using by Serial Interface Between One System and the Other System}             

도 1은 본 발명의 실시예에 따른 시리얼 인터페이스를 이용한 두 장치간 통신 제어 시스템(100)의 구성을 개략적으로 나타낸 구성도이고,1 is a configuration diagram schematically showing the configuration of a communication control system 100 between two devices using a serial interface according to an embodiment of the present invention.

도 2는 본 발명의 실시예에 따라 두 장치간에 시리얼 인터페이스를 통한 통신 제어시에 적용하는 데이터 패킷의 구성을 나타낸 도면이며,2 is a diagram showing the configuration of a data packet applied in the communication control via the serial interface between the two devices according to an embodiment of the present invention,

도 3은 패킷의 구성에서 헤더의 상세 구성을 나타낸 도면이다.3 is a diagram illustrating a detailed configuration of a header in the packet configuration.

< 도면의 주요 부분에 대한 부호의 설명 ><Description of Symbols for Main Parts of Drawings>

100 : 두 장치간 통신 제어 시스템 110 : 셋탑박스100: communication control system between two devices 110: set-top box

102 : 튜너 104 : 아날로그 스위치102: tuner 104: analog switch

106 : 디지털 컨버터 108 : MPEG-2 인코더106: digital converter 108: MPEG-2 encoder

112 : 메인 제어부 114 : 오디오 컨버터112: main control section 114: audio converter

120 : DVD 재생기 122 : DVD 로더120: DVD Player 122: DVD Loader

124 : DVD 제어부 126 : 오디오 컨버터124: DVD control unit 126: audio converter

130 : 시리얼 인터페이스 140 : 스위치 매트릭스130: serial interface 140: switch matrix

본 발명은 시리얼 인터페이스를 이용한 두 장치간 통신 제어 시스템 및 방법에 관한 것으로, 더욱 상세하게는 DVD나 DVR, 디지털 방송 수신기 등에서 2 개 이상의 프로세서나 콘트롤러로 설계된 시스템을 구성하거나, 서로 다른 두 시스템을 연결하여 새로운 시스템을 구성할 때, 새로운 모듈의 추가없이 하나의 장치가 시리얼 인터페이스(Serial Interface)를 이용하여 다른 장치를 제어하도록 통신하는, 시리얼 인터페이스를 이용한 두 장치간 통신 제어 시스템 및 방법에 관한 것이다.The present invention relates to a system and method for controlling communication between two devices using a serial interface, and more particularly, to a system designed with two or more processors or controllers in a DVD, a DVR, a digital broadcasting receiver, or to connecting two different systems. The present invention relates to a system and method for controlling communication between two devices using a serial interface, in which one device communicates to control another device using a serial interface without adding a new module.

최근에 개발된 디지털 재생 시스템들에 있어서 그 기능이 매우 복잡하고 동작도 다양한 제품들이 출시되고 있다. 예를 들면, DVD 재생기에 VDR이 결합된 제품이나, DVD 재생기에 디지털 방송 수신기가 결합된 제품, DVR에 디지털 방송 수신기가 결합된 제품 등 2 가지 이상의 주기능을 수행하는 복합기 성격의 제품들이 많이 출시되고 있고, 소비자들 사이에서도 많은 인기를 누리고 있다.Recently developed digital playback systems are very complicated in their function and various products are being released. For example, there are many products with multifunction devices that perform two or more main functions, such as VDR combined with DVD player, digital broadcast receiver combined with DVD player, and digital broadcast receiver combined with DVR. It is becoming popular among consumers.

이렇게 다양하고 복잡한 기능을 수행하기 위해서는 시스템 내부적으로도 매우 복잡한 구조를 가지며, 사용되는 부품들도 많은 기능을 수행할 수 있는 것들을 사용한다.In order to perform such diverse and complex functions, the system has a very complicated structure, and the parts used are also used to perform many functions.

따라서, 처음 개발하고자 하는 제품의 사양을 정하고 시스템이 제공할 기능과 동작을 결정하기 위해 강력한 하나의 프로세서나 콘트롤러를 사용하기도 하고, 두 개의 프로세서로 역할을 분담하도록 시스템을 설계하기도 한다.Therefore, one might use a powerful processor or controller to specify the specifications of the product to be developed for the first time, and to determine the functions and operations that the system will provide, or design the system to divide the roles between the two processors.

특히, 사용하고자 하는 프로세서가 제공하려고 하는 기능을 충분히 충족시키지 못할 때 여러 개의 프로세서를 사용하여 그 기능을 분담하여 수행하게 할 수 있다. 예를 들면, 고화질(High Definition) 디지털 영상을 재생(Decoding)하고 생성(Encoding)할 수 있는 제품의 경우, 하나의 프로세서는 영상과 음성을 디코딩하고 인코딩하는 역할만을 전담시키고, 다른 하나의 프로세서는 디스플레이와 입출력을 통제하고 그 밖의 다른 기본적인 일들을 담당하도록 하는 것이다.In particular, when the processor to be used does not fully satisfy the function to be provided, several processors may be used to share the function. For example, for a product that can decode and encode high definition digital video, one processor is dedicated to decoding and encoding video and audio, and the other processor It's about controlling the display, input and output, and doing other basic things.

그러나, 현재 개발되어 시판되고 있는 프로세서의 스펙(Specification)상 고화질 디지털 영상을 인코딩하고 디코딩하면서 기본적인 프로세서가 갖는 기능을 수행하도록 원칩(One-Chip)화 된 프로세서가 존재하지 않을 수 있으며, 또한 존재한다고 하더라도 안정성의 테스트나 가격이 적당하지 않아 두 개의 프로세서를 이용하는 구조를 선택해야 하는 문제점이 있다.However, according to the specifications of the currently developed and commercially available processors, there may or may not be one-chip processors that encode and decode high-definition digital images to perform the functions of the basic processors. Even if the stability test or the price is not suitable, there is a problem to choose a structure using two processors.

또한, 기존에 어떤 제품을 개발한 상태이고, 거기에 어떤 기능을 더하여 새로운 복합기를 개발하려고 할 때 각각의 기능을 제어하기 위해 2 개의 프로세서를 사용하게 된다. 이는 새로운 복합기를 설계하고 개발하기에는 그 개발 비용이 너무 크기 때문에 기존의 것을 이용하는 것이다. 예를 들면, DVD 재생기와 VDR이 결합된 복합기의 경우, 기존에 이미 VCR을 개발하여 여러가지 노하우(Know-How)을 가지고 있는 상태에서, 여기에 DVD 재생 기능을 추가하여 새로운 복합 제품을 개발하려고 할 때 VCR 기능 및 DVD 기능을 제어하기 위해 두 프로세서를 이용하게 된다. In addition, when a product is developed in the past and a new multifunction device is added to a function, two processors are used to control each function. This is because the cost of development is too high to design and develop a new multifunction device, which uses the existing one. For example, in the case of a multifunction device that combines a DVD player and a VDR, the existing VCR has already been developed and has various know-hows. In this case, two processors are used to control the VCR function and the DVD function.

따라서, 두 시스템의 운영 시스템(Operating System)이 다를 수 있으나, 두 시스템을 연결하여 제어하는 두 프로세서 간의 통신 인터페이스가 절실히 요구되고 있다.Therefore, although operating systems of the two systems may be different, a communication interface between two processors that connect and control the two systems is urgently required.

상기 문제점을 해결하면서 상기 요구 사항에 부응하기 위해 본 발명은, DVD나 DVR, 디지털 방송 수신기 등에서 2 개 이상의 프로세서나 콘트롤러로 설계된 시스템을 구성하거나, 서로 다른 두 시스템을 연결하여 새로운 시스템을 구성할 때, 새로운 모듈의 추가없이 하나의 장치가 시리얼 인터페이스를 통하여 다른 장치를 제어하도록 통신하는, 시리얼 인터페이스를 이용한 두 장치간 통신 제어 시스템 및 방법을 제공함에 그 목적이 있다.
In order to meet the above requirements while solving the above problems, the present invention provides a system designed with two or more processors or controllers in a DVD, a DVR, a digital broadcasting receiver, or a new system by connecting two different systems. It is an object of the present invention to provide a communication control system and method between two devices using a serial interface, in which one device communicates to control another device through a serial interface without adding a new module.

상기 목적을 달성하기 위한 본 발명에 따른 시리얼 인터페이스를 이용한 두 장치간 통신 제어 시스템은, 서로 다른 두 장치 간에 통신을 수행하는 두 장치간 통신 제어 시스템에 있어서, 외부로부터 방송 신호를 수신하여 디지털 데이터로 변환하여 저장하거나 디스플레이하는 제 1 장치; 기록 매체에 비디오 및 오디오 신호를 기록하거나, 상기 기록 매체에 기록되어 있는 상기 비디오 및 오디오 신호를 재생하여 출력하는 제 2 장치; 및 상기 제 1 장치와 상기 제 2 장치 간의 통신 제어 신호를 송수신하기 위한 시리얼 인터페이스를 포함하고, 두 장치 간의 송수신은 5 바이트 이상의 가변 길이를 갖는 데이터 패킷과 요청 패킷, 및 5 바이트의 고정된 길이를 갖는 응답 패킷을 통해 이루어지는 것을 특징으로 한다.In the communication control system between two devices using a serial interface according to the present invention for achieving the above object, in a communication control system between two devices for performing communication between two different devices, by receiving a broadcast signal from the outside to digital data A first device for converting and storing or displaying; A second device for recording video and audio signals on a recording medium or reproducing and outputting the video and audio signals recorded on the recording medium; And a serial interface for transmitting and receiving a communication control signal between the first device and the second device, wherein the transmission and reception between the two devices includes a data packet and a request packet having a variable length of 5 bytes or more, and a fixed length of 5 bytes. It is characterized by having through the response packet having.

또한, 본 발명의 다른 목적에 따른 시리얼 인터페이스를 이용한 두 장치간 통신 제어 방법은, 서로 다른 두 장치 간에 통신을 수행하는 두 장치간 통신 제어 방법에 있어서, 상기 두 장치 상호 간에 시리얼 인터페이스를 통하여 연결하고, 상기 두 장치 간의 통신 제어 신호를 송수신하되, 5 바이트 이상의 가변 길이를 갖는 데이터 패킷과 요청 패킷, 및 5 바이트의 고정된 길이를 갖는 응답 패킷을 통하여 송수신하는 것을 특징으로 한다.In addition, a communication control method between two devices using a serial interface according to another object of the present invention, in a communication control method between two devices for performing communication between two different devices, the two devices are connected through a serial interface And transmitting and receiving a communication control signal between the two devices, via a data packet and a request packet having a variable length of 5 bytes or more, and a response packet having a fixed length of 5 bytes.

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

우선 각 도면의 구성요소들에 참조부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. First of all, in adding reference numerals to the components of each drawing, it should be noted that the same reference numerals are used as much as possible even if displayed on different drawings.

또한, 본 발명을 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다.In addition, in describing the present invention, when it is determined that the detailed description of the related well-known configuration or function may obscure the gist of the present invention, the detailed description thereof will be omitted.

도 1은 본 발명의 실시예에 따른 시리얼 인터페이스를 이용한 두 장치간 통 신 제어 시스템(100)의 구성을 개략적으로 나타낸 구성도이다.1 is a configuration diagram schematically showing the configuration of a communication control system 100 between two devices using a serial interface according to an embodiment of the present invention.

본 발명에 따른 두 장치간 통신 제어 시스템은, 외부로부터 방송 신호를 수신하여 디지털 데이터로 변환하여 저장하거나 디스플레이하는 디지털 방송 수신기와, 광디스크 등의 기록 매체에 비디오 및 오디오 신호를 기록하거나, 기록되어 있는 비디오 및 오디오 신호를 재생하여 출력하는 디지털 기록 재생기, 및 디지털 방송 수신기와 디지털 기록 재생기를 상호 간에 연결하여 두 장치간의 통신 제어 신호를 송수신하기 위한 시리얼 인터페이스를 포함한 구성을 갖는다.The communication control system between two devices according to the present invention includes a digital broadcast receiver that receives a broadcast signal from an external source, converts it into digital data, stores it, or displays the video and audio signals on a recording medium such as an optical disk, A digital recording player for reproducing and outputting video and audio signals, and a serial interface for transmitting and receiving a communication control signal between two devices by connecting a digital broadcasting receiver and a digital recording player to each other.

본 발명의 실시예에서는 디지털 방송 수신기로서 셋탑박스(Set Top Box)를 예로하여 설명하고, 디지털 기록 재생기로서 DVD를 예로하여 설명한다.In the embodiment of the present invention, a set-top box is described as an example of a digital broadcast receiver, and a DVD is described as an example of a digital recorder.

도 1에 도시된 바와 같이 본 발명에 따른 두 장치간 통신 제어 시스템(100)은, 아날로그 방송 신호를 수신하거나, CCTV 카메라 또는 비디오 카메라 등의 외부 장치로부터 촬영된 영상이나 캠코더에 의해 녹화된 아날로그 A/V 신호를 수신하여 디지털 스트림으로 변환하여 디스플레이하는 셋탑박스(110)와, DVD 타이틀 및 엠피쓰리(MP3) CD, 비디오 CD, 오디오 CD, CD-DA, CD-RW 등의 기록 매체로부터 데이터를 판독해 디지털 A/V 신호를 재생하는 DVD 재생기(120), 셋탑박스(110)와 DVD 재생기(120) 간의 통신 신호를 송수신하기 위한 시리얼 인터페이스(Serial Interface)(130), 및 셋탑박스(110) 또는 DVD 재생기(120)로부터 오디오 전송 파일의 표준 형식 데이터인 S/PDIF(Sony Philips Digital Interface) 또는 RGB 또는 CVBS 신호를 아날로그 신호로 구현하는 스위치 매트릭스(140)를 포함한 구성을 갖는다.As shown in FIG. 1, the communication control system 100 between two devices according to the present invention includes an analog A received an analog broadcast signal or recorded by a camcorder or an image captured from an external device such as a CCTV camera or a video camera. The set-top box 110 receives / V signals, converts them into digital streams, and displays the data from recording media such as DVD titles and MP3 CDs, video CDs, audio CDs, CD-DAs, and CD-RWs. DVD player 120 for reading and reproducing digital A / V signals, serial interface 130 for transmitting and receiving communication signals between set-top box 110 and DVD player 120, and set-top box 110 Or a switch matrix 140 that implements S / PDIF (Sony Philips Digital Interface) or RGB or CVBS signal, which is standard format data of an audio transmission file, from the DVD player 120 as an analog signal. All.

또한, 셋탑박스(110)는 안테나로부터 입력되는 방송 신호를 사용자가 설정한 채널로 선국 및 검파하는 튜너(102), 튜너(102)로부터 출력되는 신호 또는 외부입력으로부터 들어온 A/V 신호 중 사용자가 원하는 신호를 선택하는 아날로그 스위치(104), 아날로그 스위치(104)에 의해 선택되어진 아날로그 A/V 신호를 디지털 A/V 신호로 변환하는 디지털 컨버터(106), 디지털 컨버터(106)로부터 변환된 디지털 A/V 신호를 인코딩하여 MPEG-2 트랜스포트 스트림으로 변환하는 MPEG-2 인코더(108), MPEG-2 인코더(108)에 의해 변환된 MPEG-2 트랜스포트 스트림을 전달받아 하드디스크 등으로 저장하거나, MPEG-2 트랜스포트 스트림을 복호화 해서 주 비디오 신호로 화면상에 출력하도록 제어하는 메인 제어부(112), 및 메인 제어부(112)로부터의 제어 신호에 따라 디지털 오디오 신호를 아날로그 오디오 신호로 변환하여 출력하는 오디오 컨버터(114)를 포함한 구성을 갖는다.In addition, the set-top box 110 is a tuner 102 that tunes and detects a broadcast signal input from an antenna to a channel set by a user, a signal output from the tuner 102, or an A / V signal input from an external input. An analog switch 104 for selecting a desired signal, a digital converter 106 for converting an analog A / V signal selected by the analog switch 104 into a digital A / V signal, and a digital A converted from the digital converter 106 MPEG-2 encoder 108, which encodes a / V signal and converts it into an MPEG-2 transport stream, receives the MPEG-2 transport stream converted by the MPEG-2 encoder 108 and stores it on a hard disk or the like, The main control unit 112 controls the decoding of the MPEG-2 transport stream to be output on the screen as the main video signal, and the digital audio signal is analyzed in accordance with the control signal from the main control unit 112. It has a configuration including an audio converter 114, which converts the output to the audio signal.

또한, DVD 재생기(120)는 재생 가능한 DVD, MP3 CD, Video CD, CD-DA, CD-RW 등의 매체를 탑재하는 DVD 로더(Loader)(122), DVD 로더(122)의 동작을 제어하고 저장되어 있는 데이터를 호출하여 재생 가능한 매체의 데이터를 재생하는 DVD 제어부(124), 및 재생되는 디지털 오디오 신호를 아날로그 오디오 신호로 변환하여 출력하는 오디오 컨버터(126)를 포함한 구성을 갖는다. 물론, 데이터를 임시 저장하는 SDRAM이나 FLASH RAM, EEPROM 등도 포함하나 통상적이므로 생략한다.In addition, the DVD player 120 controls the operations of the DVD loader 122 and the DVD loader 122 that load media such as playable DVD, MP3 CD, Video CD, CD-DA, CD-RW, and the like. And a DVD control unit 124 for calling the stored data to reproduce data of the reproducible medium, and an audio converter 126 for converting the reproduced digital audio signal into an analog audio signal and outputting the same. Of course, SDRAM, FLASH RAM, EEPROM, and the like, which temporarily store data, are included, but are omitted since they are common.

도 2는 본 발명의 실시예에 따라 두 장치간에 시리얼 인터페이스를 통한 통신 제어시에 적용하는 데이터 패킷의 구성을 나타낸 도면이다.FIG. 2 is a diagram illustrating a configuration of a data packet applied when controlling communication through a serial interface between two devices according to an embodiment of the present invention.

먼저, 두 장치간에 송수신하는 패킷에는 데이터(DATA) 패킷과, 요청(REQUEST) 패킷, 및 응답(RETURN) 패킷이 있다.First, a packet transmitted and received between two devices includes a data packet, a request packet, and a response packet.

도 2의 (a)는 데이터(DATA) 패킷의 구성을 나타낸 것으로서, 두 장치간의 통신 기본단위로 사용하며, 길이는 각각 두 장치에서 요구하는 데이터 사이즈로 가변 길이(Variable Length)를 갖는다. 이것은 두 장치 간의 시리얼 통신에 있어서 에러(Error)가 거의 없는 가정하에서 가장 이상적이다. 즉, 데이터를 일률적인 패킷 사이즈로 만드는 오버헤드(Overhead)를 줄일 수 있으며, 필요한 데이터의 양만큼만 송수신하면 된다. 도 2의 (a)에서 데이터 패킷은 프로토콜을 위해서 헤더 형태로 5 바이트(Byte)를 할당하고 있는데, 패킷시작(Packet Start) 1 바이트, 패킷길이(Packet Length) 2 바이트, 패킷헤더(Packet Header) 1 바이트, 패킷아이디(Packet ID) 1 바이트로 구성되고, 헤더 외에 다수의 데이터로 구성된다. 여기서, 패킷길이는 패킷길이 상(High) 1 바이트와 패킷길이 하(Low) 1 바이트로 나뉜다.2 (a) shows the configuration of a data packet, which is used as a basic unit of communication between two devices, each of which has a variable length as a data size required by the two devices. This is ideal under the assumption that there are few errors in serial communication between the two devices. That is, the overhead of making data into a uniform packet size can be reduced, and only the amount of data required for transmission and reception is required. In (a) of FIG. 2, the data packet is allocated 5 bytes in the form of a header for the protocol, 1 byte of packet start, 2 bytes of packet length, and packet header. It consists of one byte and one packet ID (Packet ID), and consists of a number of data in addition to the header. Here, the packet length is divided into one byte high in the packet length and one byte low in the packet length.

도 2의 (b)는 요청(REQUEST) 패킷의 구성을 나타낸 것으로서, 셋탑박스(110)에서 메인 제어부(112)가 필요한 정보를 자신이 원하는 시점에 DVD 재생기(120)에게 요구하거나, DVD 제어부(124)가 셋탑박스(110)로 요구할 때 사용하게 된다. 따라서, 어떤 데이터를 요구할지를 지시(Pointing)하는 지시정보가 포함된다. 요청 패킷은 패킷시작(Packet Start) 1 바이트, 패킷길이(Packet Length) 2 바이트, 패킷헤더(Packet Header) 1 바이트, 패킷아이디(Packet ID) 1 바이트로서, 5 바이트로 고정된 길이를 갖는다.2 (b) shows the configuration of a request packet. In the set-top box 110, the main controller 112 requests the DVD player 120 to request information required by the main controller 112, or the DVD controller ( 124 is used when required by the set-top box (110). Therefore, indication information indicating which data is requested (Pointing) is included. The request packet is a packet start 1 byte, a packet length 2 bytes, a packet header 1 byte, and a packet ID 1 byte, and has a fixed length of 5 bytes.

도 2의 (c)는 응답(RETURN) 패킷의 구성을 나타낸 것으로서, DVD 재생기 (120)에서 DVD 제어부(124)가 요청(REQUEST) 패킷으로 데이터를 요구하였을 때 본 응답(RETURN) 패킷에 해당 데이터를 실어 시리얼 인터페이스(130)를 통해 전송한다. 또한, DVD 재생기(120)에서 응답 패킷의 분별을 용이하게 할 수 있도록 요청시 지시 정보를 되돌려 준다. 그리고, 요청 패킷의 수신시 받았던 인덱스 넘버(Index Number)를 되돌려 준다. 응답 패킷도 데이터 패킷과 유사하게 5 바이트 이상의 가변 길이를 갖는다. 따라서, 패킷시작(Packet Start) 1 바이트, 패킷길이(Packet Length) 2 바이트, 패킷헤더(Packet Header) 1 바이트, 패킷아이디(Packet ID) 1 바이트를 포함하는 5 바이트(Byte)의 헤더와, 다수의 데이터로 구성된다.FIG. 2C shows the structure of a RETURN packet. When the DVD control unit 124 requests data in the REQUEST packet from the DVD player 120, the corresponding data is in the RETURN packet. To carry through the serial interface 130. In addition, the DVD player 120 returns the instruction information upon request so that the response packet can be easily classified. The index number received when the request packet is received is returned. The response packet also has a variable length of 5 bytes or more similarly to a data packet. Therefore, a 5 byte header including 1 byte of packet start, 2 bytes of packet length, 1 byte of packet header, 1 byte of packet ID, and many It consists of data.

도 3은 패킷의 구성에서 헤더의 상세 구성을 나타낸 것이다.3 shows the detailed configuration of the header in the packet configuration.

도 3의 (a)는 패킷의 헤더 중 Packet Start의 구성을 나타낸 것으로서, 패킷의 시작을 나타내며, 테스트(Test) 측정하기 쉬운 패턴(Pattern)인 "0xAA"로 결정된다. 3 (a) shows the configuration of Packet Start in the header of the packet, which indicates the start of the packet and is determined as “0xAA” which is a pattern that is easy to test.

도 3의 (b)는 패킷의 헤더 중 Packet Length의 구성을 나타낸 것으로서, 패킷길이 2 바이트는 전송되는 패킷이 Packet Start, Packet Header, Packet ID, Packet Length H, Packet Length L의 5 바이트를 기본으로 포함하여, 전송하려는 데이터의 총 바이트의 사이즈를 나타낸다. 즉, 최대 "0xFF"로 65536 바이트를 나타낼 수 있으며, 최소 "0x0005"로 Packet Start, Packet Header, Packet ID, Packet Length H, Packet Length L의 5 바이트를 나타낼 수 있다.FIG. 3 (b) shows the configuration of Packet Length in the header of the packet. Packet length 2 bytes is based on 5 bytes of Packet Start, Packet Header, Packet ID, Packet Length H, and Packet Length L. Including the total bytes of data to be transmitted. That is, the maximum "0xFF" may represent 65536 bytes, and the minimum "0x0005" may represent 5 bytes of Packet Start, Packet Header, Packet ID, Packet Length H, and Packet Length L.

도 3의 (c)는 패킷의 헤더 중 Packet Header의 구성을 나타낸 것으로서, 2 비트는 패킷 타입(Packet Type), 5 비트는 예약(Reserved), 1 비트는 체크섬(Packet Check Sum)으로 설정되어 있다. 여기서, 패킷 타입은 패킷의 종류를 표현하며, '00'은 데이터 패킷, '01'은 요청 패킷, '10'은 응답 패킷을 나타낸다. 또한, 체크섬은 '1'인 경우 패킷의 마지막 바이트에 체크섬 바이트를 추가하며, '0'인 경우 체크섬 바이트를 추가하지 않는다. 셋탑박스(110)와 DVD 재생기(120)를 연결할 초기 상황에서 시리얼 인터페이스(130)를 검증하기 위해서 추가한 것이며 디버깅시에 사용될 수 있다. 모든 검증이 끝난 상황에서는 체크섬 비트를 '0'으로 세팅하여 패킷에서 제외시켜 체크섬 과정(Routine)을 거치지 않음으로써 체크섬 계산 오버헤드를 줄일 수 있다. 이때, 패킷길이는 체크섬 바이트가 포함될 경우 체크섬 바이트까지의 패킷 사이즈를 의미한다.FIG. 3 (c) shows the structure of a packet header among headers of a packet, 2 bits of which are a packet type, 5 bits of a reserved type, and 1 bit of a packet check sum. . Here, the packet type represents the type of packet, '00' represents a data packet, '01' represents a request packet, and '10' represents a response packet. If the checksum is '1', the checksum byte is added to the last byte of the packet. If the checksum is '0', the checksum byte is not added. It is added to verify the serial interface 130 in the initial situation to connect the set-top box 110 and the DVD player 120 can be used during debugging. In all verification, the checksum bit can be set to '0' and excluded from the packet so that the checksum calculation overhead can be reduced. In this case, the packet length means a packet size up to the checksum byte when the checksum byte is included.

한편, 패킷 아이디(Packet ID)는 데이터에 부여된 고유 인덱스 넘버(Index Number)를 나타낸다. 최대 256 개의 데이터 패킷 아이디가 존재하며, 패킷의 데이터가 어떤 데이터인지를 특정짓게 된다. Meanwhile, the packet ID indicates a unique index number assigned to the data. There are a maximum of 256 data packet IDs, which specify what data the packet contains.

전술한 바와 같이 본 발명에 따르면, DVD나 DVR, 디지털 방송 수신기 등에서 2 개 이상의 프로세서나 콘트롤러로 설계된 시스템을 구성하거나, 서로 다른 두 시스템을 연결하여 새로운 시스템을 구성할 때, 새로운 모듈의 추가없이 하나의 장치가 시리얼 인터페이스를 통하여 다른 장치를 제어하도록 통신하는, 시리얼 인터페이스를 이용한 두 장치간 통신 제어 시스템 및 방법을 실현할 수 있다.As described above, according to the present invention, when configuring a system designed with two or more processors or controllers in a DVD, DVR, digital broadcasting receiver, or the like, or when connecting two different systems to form a new system, one without adding a new module A communication control system and method between two devices using a serial interface can be realized in which the device of the device communicates to control another device through the serial interface.

이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. The above description is merely illustrative of the technical idea of the present invention, and those skilled in the art to which the present invention pertains may make various modifications and changes without departing from the essential characteristics of the present invention.

따라서, 본 발명에 개시된 실시예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. Therefore, the embodiments disclosed in the present invention are not intended to limit the technical idea of the present invention but to describe the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments.

본 발명의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.The protection scope of the present invention should be interpreted by the following claims, and all technical ideas within the equivalent scope should be interpreted as being included in the scope of the present invention.

이상에서 설명한 바와 같이 본 발명에 의하면, 두 장치를 새로운 모듈의 추가없이 시리얼 인터페이스를 통해 하나의 장치로 사용할 수 있으며, 두 장치간 운영체제가 다르더라도 상호 간에 통신 제어가 가능하므로, 두 장치간 통신을 위한 별도의 장비를 구비할 필요가 없다. 따라서, 두 장치간 안정성의 테스트를 수행할 수 있으며, 통신을 위한 별도의 비용이 들지 않는 잇점이 있다.As described above, according to the present invention, the two devices can be used as one device through the serial interface without adding a new module, and communication between the two devices can be controlled even if the operating systems between the two devices are different. There is no need to have a separate equipment. Thus, it is possible to perform a test of stability between the two devices, which does not cost extra for communication.

Claims (12)

서로 다른 두 장치 간에 통신을 수행하는 두 장치간 통신 제어 시스템에 있어서,In a communication control system between two devices performing communication between two different devices, 외부로부터 방송 신호를 수신하여 디지털 데이터로 변환하여 저장하거나 디스플레이하는 제 1 장치;A first device which receives a broadcast signal from an external source, converts it into digital data, and stores or displays the digital signal; 기록 매체에 비디오 및 오디오 신호를 기록하거나, 상기 기록 매체에 기록되어 있는 상기 비디오 및 오디오 신호를 재생하여 출력하는 제 2 장치; 및 A second device for recording video and audio signals on a recording medium or reproducing and outputting the video and audio signals recorded on the recording medium; And 상기 제 1 장치와 상기 제 2 장치 간의 통신 제어 신호를 송수신하기 위한 시리얼 인터페이스를 포함하고,A serial interface for transmitting and receiving a communication control signal between the first device and the second device, 두 장치 간의 송수신은 5 바이트(Byte) 이상의 가변 길이(Variable Length)를 갖는 데이터 패킷(DATA Packet)과 요청(REQUEST) 패킷, 및 5 바이트의 고정된 길이를 갖는 응답 패킷(RETURN Packet)을 통해 이루어지는 것을 특징으로 하는 시리얼 인터페이스를 이용한 두 장치간 통신 제어 시스템.Transmission and reception between the two devices is performed through a data packet having a variable length of 5 bytes or more and a request packet, and a return packet having a fixed length of 5 bytes. Communication control system between two devices using a serial interface, characterized in that. 제 1 항에 있어서,The method of claim 1, 상기 응답 패킷은, 패킷시작(Packet Start) 1 바이트, 패킷길이(Packet Length) 2 바이트, 패킷헤더(Packet Header) 1 바이트, 패킷아이디(Packet ID) 1 바이트로 구성된 것을 특징으로 하는 시리얼 인터페이스를 이용한 두 장치간 통신 제어 시스템.The response packet includes a packet start 1 byte, a packet length 2 bytes, a packet header 1 byte, and a packet ID 1 byte. Communication control system between two devices. 제 1 항에 있어서,The method of claim 1, 상기 데이터 패킷 및 상기 요청 패킷은, The data packet and the request packet, 패킷시작(Packet Start) 1 바이트, 패킷길이(Packet Length) 2 바이트, 패킷헤더(Packet Header) 1 바이트, 패킷아이디(Packet ID) 1 바이트로 이루어진 헤더(Header)와,A header consisting of 1 byte of packet start, 2 bytes of packet length, 1 byte of packet header, 1 byte of packet ID, 다수의 데이터로 구성된 것을 특징으로 하는 시리얼 인터페이스를 이용한 두 장치간 통신 제어 시스템.Communication control system between two devices using a serial interface, characterized in that consisting of a plurality of data. 제 2 항 또는 제 3 항에 있어서,The method of claim 2 or 3, 상기 패킷길이 2 바이트는, 패킷길이 상(High) 1 바이트와 패킷길이 하(Low) 1 바이트로 구성된 것을 특징으로 하는 시리얼 인터페이스를 이용한 두 장치간 통신 제어 시스템.The packet length 2 bytes, the packet length of the high (High) byte and the packet length (Low) of 1 byte (Low), characterized in that the communication device between the two devices using a serial interface. 제 1 항 또는 제 3 항에 있어서,The method according to claim 1 or 3, 상기 요청 패킷은, 어떤 데이터를 요구할지를 지시(Pointing)하는 지시정보가 포함된 것을 특징으로 하는 시리얼 인터페이스를 이용한 두 장치간 통신 제어 시스템.The request packet, the communication control system between the two devices using a serial interface, characterized in that the indication (Pointing) indicating what data to request (Pointing). 제 2 항 또는 제 3 항에 있어서,The method of claim 2 or 3, 상기 패킷 헤더 1 바이트는, 2 비트의 패킷 타입(Packet Type)과 1 비트의 체크섬(Packet Check Sum)을 포함하고,The packet header 1 byte includes a 2-bit packet type and a 1-bit packet check sum. 상기 패킷 타입은 패킷의 종류를 표현하며, '00'은 데이터 패킷, '01'은 요청 패킷, '10'은 응답 패킷을 나타내며,The packet type represents a packet type, '00' represents a data packet, '01' represents a request packet, and '10' represents a response packet. 상기 체크섬이 '1'인 경우 패킷의 마지막 바이트에 체크섬 바이트를 추가하고, 상기 체크섬이 '0'인 경우 체크섬 바이트를 추가하지 않는 것을 특징으로 하는 시리얼 인터페이스를 이용한 두 장치간 통신 제어 시스템.And the checksum byte is added to the last byte of the packet when the checksum is '1', and the checksum byte is not added when the checksum is '0'. 서로 다른 두 장치 간에 통신을 수행하는 두 장치간 통신 제어 방법에 있어서,In the communication control method between two devices performing communication between two different devices, 상기 두 장치 상호 간에 시리얼 인터페이스(Serial Interface)를 통하여 연결하고, 상기 두 장치 간의 통신 제어 신호를 송수신하되,Connecting the two devices through a serial interface and transmitting and receiving a communication control signal between the two devices; 5 바이트(Byte) 이상의 가변 길이(Variable Length)를 갖는 데이터 패킷(DATA Packet)과 요청(REQUEST) 패킷, 및 5 바이트의 고정된 길이를 갖는 응답 패킷(RETURN Packet)을 통하여 송수신하는 것을 특징으로 하는 시리얼 인터페이스를 이용한 두 장치간 통신 제어 방법.Transmitting / receiving through a data packet having a variable length of more than 5 bytes (Variable Length) and a request packet, and a RETURN packet having a fixed length of 5 bytes How to control communication between two devices using serial interface. 제 7 항에 있어서,The method of claim 7, wherein 상기 응답 패킷은, 패킷시작(Packet Start) 1 바이트, 패킷길이(Packet Length) 2 바이트, 패킷헤더(Packet Header) 1 바이트, 패킷아이디(Packet ID) 1 바이트로 구성된 것을 특징으로 하는 시리얼 인터페이스를 이용한 두 장치간 통신 제어 방법.The response packet includes a packet start 1 byte, a packet length 2 bytes, a packet header 1 byte, and a packet ID 1 byte. How to control communication between two devices. 제 7 항에 있어서,The method of claim 7, wherein 상기 데이터 패킷 및 상기 요청 패킷은, The data packet and the request packet, 패킷시작(Packet Start) 1 바이트, 패킷길이(Packet Length) 2 바이트, 패킷헤더(Packet Header) 1 바이트, 패킷아이디(Packet ID) 1 바이트로 이루어진 헤더(Header)와,A header consisting of 1 byte of packet start, 2 bytes of packet length, 1 byte of packet header, 1 byte of packet ID, 다수의 데이터로 구성된 것을 특징으로 하는 시리얼 인터페이스를 이용한 두 장치간 통신 제어 방법.Communication control method between two devices using a serial interface, characterized in that consisting of a plurality of data. 제 8 항 또는 제 9 항에 있어서,The method according to claim 8 or 9, 상기 패킷길이 2 바이트는, 패킷길이 상(High) 1 바이트와 패킷길이 하(Low) 1 바이트로 구성된 것을 특징으로 하는 시리얼 인터페이스를 이용한 두 장치간 통신 제어 방법.The packet length 2 bytes, the packet length of the high (High) byte and the packet length (Low) 1 byte, characterized in that the communication control method between the two devices using a serial interface. 제 7 항 또는 제 9 항에 있어서,The method according to claim 7 or 9, 상기 요청 패킷은, 어떤 데이터를 요구할지를 지시(Pointing)하는 지시정보가 포함된 것을 특징으로 하는 시리얼 인터페이스를 이용한 두 장치간 통신 제어 방법.The request packet, the control method of the communication between the two devices using the serial interface, characterized in that the indication (Pointing) indicating what data to request (Pointing). 제 8 항 또는 제 9 항에 있어서,The method according to claim 8 or 9, 상기 패킷 헤더 1 바이트는, 2 비트의 패킷 타입(Packet Type)과 1 비트의 체크섬(Packet Check Sum)을 포함하고,The packet header 1 byte includes a 2-bit packet type and a 1-bit packet check sum. 상기 패킷 타입은 패킷의 종류를 표현하며, '00'은 데이터 패킷, '01'은 요청 패킷, '10'은 응답 패킷을 나타내며,The packet type represents a packet type, '00' represents a data packet, '01' represents a request packet, and '10' represents a response packet. 상기 체크섬이 '1'인 경우 패킷의 마지막 바이트에 체크섬 바이트를 추가하고, 상기 체크섬이 '0'인 경우 체크섬 바이트를 추가하지 않는 것을 특징으로 하는 시리얼 인터페이스를 이용한 두 장치간 통신 제어 방법.If the checksum is '1', adds a checksum byte to the last byte of the packet; if the checksum is '0', the checksum byte is not added.
KR1020040103491A 2004-12-09 2004-12-09 System and method for controlling communication between two devices using serial interface Ceased KR20060064830A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040103491A KR20060064830A (en) 2004-12-09 2004-12-09 System and method for controlling communication between two devices using serial interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040103491A KR20060064830A (en) 2004-12-09 2004-12-09 System and method for controlling communication between two devices using serial interface

Publications (1)

Publication Number Publication Date
KR20060064830A true KR20060064830A (en) 2006-06-14

Family

ID=37160211

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040103491A Ceased KR20060064830A (en) 2004-12-09 2004-12-09 System and method for controlling communication between two devices using serial interface

Country Status (1)

Country Link
KR (1) KR20060064830A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009070460A3 (en) * 2007-11-27 2009-08-13 Microsoft Corp Interface protocol and api for a wireless transceiver

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009070460A3 (en) * 2007-11-27 2009-08-13 Microsoft Corp Interface protocol and api for a wireless transceiver
US8060681B2 (en) 2007-11-27 2011-11-15 Microsoft Corporation Interface protocol and API for a wireless transceiver
US8230150B2 (en) 2007-11-27 2012-07-24 Microsoft Corporation Interface protocol and API for a wireless transceiver

Similar Documents

Publication Publication Date Title
US20030066084A1 (en) Apparatus and method for transcoding data received by a recording device
EP1033875A2 (en) Recording and reproducing apparatus
US20070073965A1 (en) Direct storage and retrieval of multimedia data using a data storage device
US20110072166A1 (en) Storage device and driving method thereof
US9277197B2 (en) Recording apparatus, recording method, and recording system
US6240138B1 (en) Data transmitting apparatus
US9338388B2 (en) Recording apparatus
US20090129756A1 (en) Method and device to seamlessly reproduce contents using storage medium
KR20060064830A (en) System and method for controlling communication between two devices using serial interface
CN1242571A (en) Information reproducing, recording reproducing and selectively output device, and electronic equipment system
US9025935B2 (en) Recording apparatus, recording method, and recording system
US20050031299A1 (en) Method for processing audiovisual signals
KR100563666B1 (en) Method for providing attribute information of disc recording medium and disc player using digital interface, and apparatus and method for controlling it accordingly
US20070024702A1 (en) Storage apparatus for digial/analog TV video/audio media
KR100921431B1 (en) Converter device
KR101297188B1 (en) Transmitting device connected with receiving device through HDMI cable and method thereof
US20050188115A1 (en) Data output apparatus and data input apparatus
KR100211977B1 (en) Multifunctional MPEG-2 TS Transmitter Using Memory Switch and Its Method
KR100910083B1 (en) Digital video devices, methods for converting analog video signals to digital video signals and methods for converting digital video signals to analog video signals
KR100599086B1 (en) Multi-Device Access System and AW Device with Multi-Device Access Function Using the Same
JP2760261B2 (en) Transmission device and transmission method
JP4702242B2 (en) Video / audio output device
KR100381730B1 (en) Method for providing program specific information recorded on data stroage device
KR101085898B1 (en) Composite video device that stores system programs on the hard disk drive
JP4168996B2 (en) Content data recording / reproducing system and content data recording / reproducing method

Legal Events

Date Code Title Description
A201 Request for examination
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 20041209

PA0201 Request for examination
PG1501 Laying open of application
E902 Notification of reason for refusal
PE0902 Notice of grounds for rejection

Comment text: Notification of reason for refusal

Patent event date: 20060629

Patent event code: PE09021S01D

E601 Decision to refuse application
PE0601 Decision on rejection of patent

Patent event date: 20060929

Comment text: Decision to Refuse Application

Patent event code: PE06012S01D

Patent event date: 20060629

Comment text: Notification of reason for refusal

Patent event code: PE06011S01I