KR20060116445A - Methode for transmitting and receiving message in device link system based television - Google Patents

Methode for transmitting and receiving message in device link system based television Download PDF

Info

Publication number
KR20060116445A
KR20060116445A KR1020050038752A KR20050038752A KR20060116445A KR 20060116445 A KR20060116445 A KR 20060116445A KR 1020050038752 A KR1020050038752 A KR 1020050038752A KR 20050038752 A KR20050038752 A KR 20050038752A KR 20060116445 A KR20060116445 A KR 20060116445A
Authority
KR
South Korea
Prior art keywords
message
link system
request message
response
television
Prior art date
Application number
KR1020050038752A
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 KR1020050038752A priority Critical patent/KR20060116445A/en
Publication of KR20060116445A publication Critical patent/KR20060116445A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/10Adaptations for transmission by electrical cable
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4247Bus transfer protocol, e.g. handshake; Synchronisation on a daisy chain bus
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • H04N21/41265The peripheral being portable, e.g. PDAs or mobile phones having a remote control device for bidirectional communication between the remote control device and client device
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • 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/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4882Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders

Abstract

A message transmitting and receiving method in a device link system based on a TV is provided to more efficiently and conveniently operate and control a device for which a user wishes by connecting devices of various types such as a VCR(Video Cassette Recorder), a DVD(Digital Video Disc) recorder, a set-top box, and a receiver to a digital TV by a daisy chain type by using a stereo jack, and operating a remote controller of the digital TV. A master device of a device link system based on a TV generates a request message, and transmits the generated request message to a slave device. The slave device receives the request message, generates a response message, and transmits the generated response message to the master device. The master device selectively determines whether to retransmit the request message according to whether the response message is received.

Description

텔레비전을 기반으로 하는 디바이스 링크 시스템에서의 메시지 송수신 방법{Methode for transmitting and receiving message in device link system based television}Method for transmitting and receiving message in device link system based television

도 1은 본 발명에 따른 디바이스 링크 시스템에 대한 전체 구성을 도시한 것이고, 1 shows an overall configuration of a device link system according to the present invention,

도 2는 본 발명에 따른 디바이스 링크 시스템에 적용되는 스테레오 잭을 도시한 것이고,2 illustrates a stereo jack applied to a device link system according to the present invention,

도 3은 본 발명에 따른 디바이스 링크 시스템에 적용되는 텔레비전 리모콘에 대한 실시예를 도시한 것이고. Figure 3 illustrates an embodiment of a television remote control applied to the device link system according to the present invention.

도 4는 본 발명이 적용되는 슬레이브 디바이스의 인터페이스 구조에 대한 실시예를 도시한 것이고,4 illustrates an embodiment of an interface structure of a slave device to which the present invention is applied;

도 5는 본 발명이 적용되는 마스터 디바이스와 슬레이브 디바이스들이 데이지 체인 방식을 통해 커맨드를 송수신하는 실시예를 도시한 것이고,FIG. 5 illustrates an embodiment in which a master device and a slave device to which the present invention is applied transmit and receive a command through a daisy chain method.

도 6은 본 발명에 따른 요구 메시지 포맷에 대한 구성을 도시한 것이고,6 illustrates a configuration of a request message format according to the present invention;

도 7은 본 발명에 따른 응답 메시지 포맷에 대한 구성을 도시한 것이고, 7 illustrates a configuration of a response message format according to the present invention;

도 8은 본 발명에 따라 요구 메시지와 응답 메시지가 송/수신되는 실시예를 도시한 것이고,8 illustrates an embodiment in which a request message and a response message are transmitted / received according to the present invention.

도 9는 본 발명에 따라 요구 메시지가 재 송신되는 실시예를 도시한 것이다.9 illustrates an embodiment in which a request message is retransmitted according to the present invention.

※ 도면의 주요부분에 대한 부호의 설명※ Explanation of code for main part of drawing

10 : 디지털 텔레비전 11 : 셋탑 박스10: digital television 11: set-top box

12 : 브이씨알 13 : 디브이디 레코더12: V13 13: DVD recorder

14 : 리시버 110 : 잭 커넥터14: receiver 110: jack connector

111 : 라인 드라이버 112 : 마이컴 111: line driver 112: microcomputer

본 발명은, 텔레비전을 기반으로 하는 디바이스 링크 시스템에서의 메시지 송수신 방법에 관한 것으로, 예를 들어, 가정 내에 설치되는 다양한 유형의 A/V 기기들을, 디지털 텔레비전(Digital Television)을 기반으로 연결하여, 사용자가 원하는 A/V 기기를 보다 편리하게 동작 제어할 수 있도록 하기 위한 텔레비전을 기반으로 하는 디바이스 링크 시스템에서의 메시지 송수신 방법에 관한 것이다. The present invention relates to a method of transmitting and receiving messages in a television-based device link system. For example, by connecting various types of A / V devices installed in a home based on a digital television, The present invention relates to a method of transmitting and receiving a message in a device link system based on a television for enabling a user to more conveniently control a desired A / V device.

최근에는, 고화질의 비디오와 고음질의 오디오를 출력 표시할 수 있는 디지털 텔레비전(D-TV)이 널리 보급되어 상용화되고 있는 데, 예를 들어 상기 디지털 텔레비전에는, 브이씨알(VCR), 디브이디 레코더(DVD-Recorder), 그리고 셋탑 박스(STB: Set Top Box) 등이 연결 접속될 수 있다. In recent years, digital televisions (D-TVs) capable of outputting and displaying high-definition video and high-quality audio have been widely used and commercialized. For example, digital TVs (VCRs) and DVD recorders (DVDs) are available. -Recorder, and Set Top Box (STB) can be connected.

한편, 상기 디브이디 레코더 또는 셋탑 박스에는, 하드 디스크(HDD)와 같은 대용량의 기록매체에 디지털 데이터를 기록 저장할 수 있는 하드 디스크 레코더(HDD-Recorder)가 포함 구성될 수 있다.Meanwhile, the DVD recorder or set-top box may include a hard disk recorder (HDD-Recorder) capable of recording and storing digital data in a large recording medium such as a hard disk (HDD).

또한, 상기 디지털 텔레비전에는, 고음질의 멀티 채널(예: 5.1 CH) 오디오를 다수의 스피커들을 통해 입체적으로 출력할 수 있는 리시버(Receiver)가 연결 접속될 수 있는 데, 상기 리시버에는, 브이씨알 또는 디브이디 레코더 등이 포함 구성된 복합 제품의 콤비 홈 씨어터(Combi-Home Theater)가 사용될 수 있다.In addition, a receiver capable of three-dimensionally outputting high-quality multi-channel (eg, 5.1 CH) audio through a plurality of speakers may be connected to the digital television. The receiver may be connected to a VCD or a DVD. Combi-Home Theater, a combination product that includes a recorder, can be used.

그리고, 사용자는, 상기 디지털 텔레비전에 연결 접속된 각 디바이스들을 선택적으로 동작 제어하여, 상기 브이씨알에서 재생되는 아날로그 오디오 및 비디오를 시청하거나, 또는 상기 디브이디 레코더에서 재생되는 디지털 오디오 및 비디오, 또는 상기 셋탑 박스를 통해 수신되는 디지털 방송의 오디오 및 비디오를 시청할 수 있게 된다. Then, the user selectively controls the devices connected to the digital television to watch analog audio and video played in the VR or digital audio and video played in the DVD recorder, or the set top. Audio and video of the digital broadcast received through the box can be viewed.

또한, 사용자는, 상기 콤비 홈 씨어터를 동작 제어하여, 고음질의 멀티 채널 오디오가, 다수의 스피커들을 통해 입체적으로 출력되도록 하여, 상기 디지털 텔레비전을 통해 표시되는 비디오 화면과, 다수의 스피커들을 통해 출력되는 멀티 채널 오디오를 입체적으로 청취할 수 있게 된다. In addition, a user may control the combination home theater so that high-quality multi-channel audio is three-dimensionally output through a plurality of speakers, and a video screen displayed through the digital television and a plurality of speakers are output. Multi-channel audio can be heard in three dimensions.

그러나, 상기와 같이 디지털 텔레비전을 통해 연결 접속된 브이씨알, 디브이디 레코더, 셋탑 박스, 그리고 콤비 홈 씨어터 등을 동작 제어하기 위해서는, 사용자가, 해당 디바이스의 리모콘을 각각 조작해야만 하기 때문에, 사용상의 불편함을 느끼게 됨은 물론, 원하는 디바이스를 동작 제어하는 데 시간이 많이 소요되는 문제점이 발생하게 된다. However, in order to control the operation of the V-Cal, DVD recorder, set-top box, and combination home theater connected through a digital television as described above, the user has to operate the remote control of the device, which is inconvenient in use. Of course, the problem that takes a long time to control the operation of the desired device occurs.

따라서, 본 발명은 상기와 같은 문제점을 해결하기 위하여 창작된 것으로서, 예를 들어 가정 내에 설치되는 브이씨알, 디브이디 레코더, 셋탑 박스, 그리고 리시버 등과 같은 다양한 유형의 디바이스들을, 스테레오 잭(Stereo Jack)을 이용하 여 데이지 체인(Daisy Chain) 방식으로, 디지털 텔레비전에 연결 접속시킴과 아울러, 상기 디지털 텔레비전의 리모콘을 조작하여, 사용자가 원하는 디바이스를 보다 효율적으로 편리하게 동작 제어할 수 있도록 하기 위한 텔레비전을 기반으로 하는 디바이스 링크 시스템에서의 메시지 송수신 방법을 제공하는 데, 그 목적이 있는 것이다. Accordingly, the present invention has been created to solve the above problems, for example, various types of devices such as V-Cal, DVD recorder, set-top box, and receiver installed in the home, such as stereo jack (Stereo Jack) By using a daisy chain method to connect and connect to a digital television, and to operate the remote control of the digital television, a television based system for enabling a user to efficiently and conveniently control a desired device. It is an object of the present invention to provide a method for transmitting and receiving messages in a device link system.

상기와 같은 목적을 달성하기 위한 본 발명에 따른 텔레비전을 기반으로 하는 디바이스 링크 시스템에서의 메시지 송수신 방법은, 텔레비전을 기반으로 하는 디바이스 링크 시스템의 마스터 디바이스에서, 요구 메시지를 생성하여, 슬레이브 디바이스로 송신하는 1단계; 상기 요구 메시지를 수신한 슬레이브 디바이스에서, 응답 메시지를 생성하여, 상기 마스터 디바이스로 송신하는 2단계; 및 상기 마스터 디바이스에서, 상기 응답 메시지의 수신 여부에 따라, 상기 요구 메시지의 재 전송 여부를 선택적으로 결정하는 3단계를 포함하여 이루어지는 것을 특징으로 하며,The message transmission and reception method in the television-based device link system according to the present invention for achieving the above object, in the master device of the device link system based on the television, generates a request message and transmits to the slave device Step 1 to do; Generating a response message from the slave device receiving the request message and transmitting the response message to the master device; And in the master device, selectively determining whether to retransmit the request message according to whether the response message is received.

또한, 상기 요구 메시지에는, 헤더 타입, 데스티네이션 어드레스, 소오스 어드레스, 렝스, 커맨드, 그리고 N 개의 데이터 블록들과 체크 섬 정보가 순서대로 기록되며, 상기 요구 메시지의 전단에는, 메시지 충돌 방지를 위한 '0xFF' 값이 2 바이트 이상 부가 전송되고, 상기 응답 메시지에는, 헤더 타입, 데스티네이션 어드레스, 소오스 어드레스, 렝스, 커맨드, 응답 코드, 그리고 N 개의 데이터 블록들과 체크 섬 정보가 순서대로 기록되며, 상기 응답 메시지의 전단에는, 메시지 충돌 방 지를 위한 '0xFF' 값이 2 바이트 이상 부가 전송되는 것을 특징으로 한다. In addition, the request message includes a header type, a destination address, a source address, a length, a command, and N data blocks and check sum information in order. In front of the request message, a ' A value of 0xFF 'is additionally transmitted by 2 bytes or more, and the response message includes a header type, a destination address, a source address, a length, a command, a response code, and N data blocks and checksum information in order. In front of the response message, a value of '0xFF' for message collision prevention is additionally transmitted by 2 bytes or more.

이하, 본 발명에 따른 텔레비전을 기반으로 하는 디바이스 링크 시스템에서의 메시지 송수신 방법에 대한 바람직한 실시예에 대해, 첨부된 도면을 참조하여 상세히 설명한다. Hereinafter, a preferred embodiment of a message transmission and reception method in a television based device link system according to the present invention will be described in detail with reference to the accompanying drawings.

도 1은, 본 발명에 따른 텔레비전을 기반으로 하는 디바이스 링크 시스템(Device Link System)에 대한 전체 구성을 도시한 것으로, 예를 들어, 가정 내에 설치되는 셋탑 박스(11), 브이씨알(12), 디브이디 레코더(13), 그리고 리시버(14) 등과 같은 다양한 유형의 디바이스들은, 디지털 텔레비전(10)과 A/V 신호 라인(Signal Line)을 통해 각각 연결 접속된다. FIG. 1 shows an overall configuration of a device link system based on a television according to the present invention. For example, a set top box 11, a BC12, Various types of devices, such as the DVD recorder 13, the receiver 14, and the like, are connected to the digital television 10 through an A / V signal line, respectively.

또한, 상기 각 디바이스들은, 도 1에 도시한 바와 같이, 데이지 체인(Daisy Chain) 방식의 컨트롤 라인(Control Line)을 통해, 상기 디지털 텔레비전(10)에 시리얼(Serial)하게 연결 접속되는 데, 예를 들어, 상기 디지털 텔레비전(10)에는, 각 디바이스들과 A/V 신호를 송수신하기 위한 다수의 신호 입/출력 포트들 이외에도, 상기 셋탑 박스(11)와의 컨트롤 라인을 위한 하나의 스테레오 잭 포트(Stereo Jack Port)가 별도로 구비된다. In addition, as shown in FIG. 1, the devices are serially connected and connected to the digital television 10 through a daisy chain type control line. For example, in addition to a plurality of signal input / output ports for transmitting and receiving A / V signals with each device, the digital television 10 includes one stereo jack port for a control line with the set-top box 11. Stereo Jack Port) is provided separately.

한편, 상기 셋탑 박스(11)에는, 상기 디지털 텔레비전(10)과의 컨트롤 라인, 그리고 브이씨알(12)과의 컨트롤 라인을 위한 2 개의 스테레오 잭 포트가 구비되며, 상기 셋탑 박스(11)에는, 상기 셋탑 박스(11)와의 컨트롤 라인, 그리고 디브이디 레코더(13)와의 컨트롤 라인을 위한 2 개의 스테레오 잭 포트가 구비된다.Meanwhile, the set top box 11 is provided with two stereo jack ports for a control line with the digital television 10 and a control line with a V-CAL 12. Two stereo jack ports are provided for the control line with the set top box 11 and the control line with the DVD recorder 13.

그리고, 상기 디브이디 레코더(13)에는, 상기 브이씨알(12)과의 컨트롤 라인, 그리고 콤비 홈 씨어터(Combi-Home Theater) 등과 같은 리시버(14)와의 컨트롤 라인을 위한 2 개의 스테레오 잭 포트가 구비되며, 상기 리시버(14)에는, 상기 디브이디 레코더(13)와의 컨트롤 라인, 그리고 임의의 또다른 디바이스와의 컨트롤 라인(미할당)을 위한 2 개의 스테레오 잭 포트가 구비된다. In addition, the DVD recorder 13 includes two stereo jack ports for a control line with the VRC 12 and a control line with the receiver 14 such as a Combi-Home Theater. The receiver 14 is provided with two stereo jack ports for a control line with the DVD recorder 13 and a control line (unassigned) with any other device.

한편, 상기 스테레오 잭은, 예를 들어 도 2에 도시한 바와 같이, 일반 개인용 컴퓨터(PC) 또는 이어폰 등에서 주로 사용하는 3.5mm 스테레오 잭이 사용될 수 있으며, 상기와 같이 스테레오 잭을 통해 데이지 체인 방식으로, 각 디바이스들이 연결 접속된 디지털 텔레비전을 동작 제어하기 위한 리모콘에는, 도 3에 도시한 바와 같이, 텔레비전 기능을 선택 제어하기 위한 다수의 키 버튼들 이외에도, 데이지 체인 방식으로 연결 접속된 각 디바이스들을 동작 제어하기 위한 키 버튼들이 추가로 할당된다. On the other hand, the stereo jack, for example, as shown in Figure 2, 3.5mm stereo jack mainly used in general personal computer (PC) or earphone, etc. can be used, as described above in a daisy chain method through the stereo jack In addition to a plurality of key buttons for selecting and controlling a television function, the remote controller for operating and controlling a digital television connected to each device operates each device connected in a daisy chain manner. Key buttons for control are additionally assigned.

예를 들어, 본 발명에 따른 디바이스 링크 시스템을, ‘XLink' 시스템이라고 가정하는 경우, 상기 리모콘에는, 도 3에 도시한 바와 같이, TV 및 XLink Device들을 온/오프시키기 위한 키 버튼과, XLink 그래픽 유저 인터페이스(GUI: Graphic User Interface) 화면을 제공하기 위한 키 버튼, 그리고 오디오 출력을 TV 또는 홈 씨어터를 통해 선택 출력하기 위한 키 버튼 등이 추가로 할당된다.For example, assuming that the device link system according to the present invention is an 'XLink' system, the remote control includes a key button for turning on / off the TV and the XLink devices, as shown in FIG. Key buttons for providing a graphical user interface (GUI) screen and key buttons for selectively outputting audio output through a TV or a home theater are additionally allocated.

그리고, 상기와 같이 스테레오 잭을 통해 데이지 체인 방식으로 연결되는 디바이스, 예를 들어 마스터(Master) 디바이스인 디지털 텔레비전에 연결 접속되어 슬레이브(Slave) 디바이스로 동작되는 셋탑 박스(11)에는, 도 4에 도시한 바와 같 이, 잭 커넥터(110), 라인 드라이버(111), 그리고 마이컴(112) 등이 포함 구성된다.In the set-top box 11 connected to a device connected in a daisy chain manner through a stereo jack, for example, a digital television, which is a master device, and operated as a slave device, as shown in FIG. As shown, the jack connector 110, the line driver 111, and the microcomputer 112 is configured to include.

한편, 상기 셋탑 박스의 잭 커넥터(110)를 통해, 상기 디지털 텔레비전(10)으로부터 수신되는 요구(Request) 커맨드는, 상기 라인 드라이버(111)의 R1_In/Out 단자를 거쳐, 상기 마이컴(112)으로 입력됨과 동시에, 상기 라인 드라이버(111)의 T2_In/Out 단자를 거쳐, 상기 잭 커넥터(110)의 다른 스테레오 잭 입/출력 포트와 연결 접속된 브이씨알(12)로 전송된다. On the other hand, the request command received from the digital television 10 via the jack connector 110 of the set top box, via the R1_In / Out terminal of the line driver 111, to the microcomputer 112. At the same time as the input, it is transmitted through the T2_In / Out terminal of the line driver 111 to the VRC 12 connected to the other stereo jack input / output port of the jack connector 110.

반면, 상기 셋탑 박스의 마이컴(112)에서 응답(Response) 커맨드를 발생시키는 경우, 그 응답 커맨드는, 상기 라인 드라이버(111)의 T1_In/Out 단자를 거쳐, 상기 잭 커넥터(110)의 입/출력 포트와 연결 접속된 디지털 텔레비전(10)으로 전송되며, 상기 브이씨알(12) 등으로부터 응답 커맨드가 발생한 경우, 그 응답 커맨드는, 상기 라인 드라이버(111)의 R2_In/Out 단자와 T1_In/Out을 거쳐, 상기 잭 커넥터(110)의 입/출력 포트와 연결 접속된 디지털 텔레비전(10)으로 전송된다.On the other hand, when a response command is generated by the microcomputer 112 of the set top box, the response command is input / output of the jack connector 110 via the T1_In / Out terminal of the line driver 111. When a response command is generated from the V12 or the like, the response command is transmitted via the R2_In / Out terminal and T1_In / Out of the line driver 111. And the digital television 10 connected to the input / output port of the jack connector 110.

또한, 상기 디지털 텔레비전(10)에서는, 예를 들어 시스템 부팅 동작을 수행하게 되는 경우, 도 5에 도시한 바와 같이, 각 슬레이브 디바이스들의 연결 접속 여부를 확인하기 위한 요구 커맨드(예: DiscoverDevices)를 발생시키게 되는 데, 상기 요구 커맨드는, 도 4를 참조로 전술한 바 있는 일련의 데이지 체인 방식을 통해 각 디바이스들로 시리얼하게 전송된다. In addition, in the digital television 10, for example, when performing a system booting operation, as shown in FIG. 5, a request command (for example, DiscoverDevices) for confirming connection of each slave device is generated. The request command is serially transmitted to the respective devices through a series of daisy chain methods described above with reference to FIG.

그리고, 상기 요구 커맨드를 수신한 각 디바이스들은, 그에 상응하는 각각의 응답 커맨드(예: Slave1Res(), Slave2Res()...)를 발생시키게 되며, 상기 응답 커 맨드는, 데이지 체인 방식을 통해 디지털 텔레비전으로 전송되므로, 상기 디지털 텔레비전에서는, 현재 링크되어 있는 각 디바이스들을 확인할 수 있게 되는 데, 상기 마스터 디바이스로 동작되는 디지털 텔레비전과, 상기 슬레이브 디바이스로 동작되는 각 디바이스들간에 송/수신되는 요구 메시지 포맷(Request Message Format)과 응답 메시지 포맷(Response Message Format)에 대해 상세히 설명하면 다음과 같다. Each device receiving the request command generates a corresponding response command (eg, Slave1Res (), Slave2Res () ...), and the response command is digitally daisy-chained. Since it is transmitted to a television, in the digital television, each device currently linked can be identified, and a request message format transmitted / received between the digital television operated as the master device and the respective devices operated as the slave device. (Request Message Format) and Response Message Format are explained in detail as follows.

도 6은, 본 발명에 따른 요구 메시지 포맷에 대한 구성을 도시한 것으로, 예를 들어, 마스터 디바이스인 디지털 텔레비전에서 송신하는 요구 메시지(Request Message)에는, 헤더 타입(Header Type), 데스티네이션 어드레스(Destination Address), 소오스 어드레스(Source Address), 렝스(Length), 커맨드(Command), 그리고 N 개의 데이터 블록(Data Block 1~N)들과 체크 섬(Checksum) 정보가 순서대로 기록된다. Fig. 6 shows a configuration of a request message format according to the present invention. For example, a request message transmitted from a digital television which is a master device includes a header type and a destination address. A destination address, a source address, a length, a command, and N data blocks 1 to N and checksum information are sequentially recorded.

그리고, 도 7은 본 발명에 따른 응답 메시지 포맷에 대한 구성을 도시한 것으로, 예를 들어, 슬레이브 디바이스인 브이씨알, 디브이디 레코더, 셋탑 박스, 리서버 등에서 송신하는 응답 메시지(Response Message)에는, 헤더 타입(Header Type), 데스티네이션 어드레스(Destination Address), 소오스 어드레스(Source Address), 렝스(Length), 커맨드(Command), 응답 코드(Response Code), 그리고 N 개의 데이터 블록(Data Block 1~N)들과 체크 섬(Checksum) 정보가 순서대로 기록된다. 7 illustrates a configuration of a response message format according to the present invention. For example, a header is included in a response message transmitted from a slave device, a DB recorder, a set-top box, a reserver, and the like. Type (Header Type), Destination Address, Source Address, Length, Command, Response Code, and N Data Blocks (Data Block 1 ~ N) And checksum information are recorded in order.

한편, 상기 요구 메시지 또는 응답 메시지를 송신할 때에서는, 도 6 및 도 7 에 도시한 바와 같이, ‘0xFF 0xFF'를 먼저 전송하게 되는 데, 이는 메시지 충돌이 발생할 경우, 슬레이브 디바이스들이 해당 사실을 감지하고, 또한 마스터 디바이스인 디지털 텔레비전에서 메시지 전송 오류가 발생한 데이터를 복구하기 위해 사용된다. Meanwhile, when transmitting the request message or the response message, as shown in FIGS. 6 and 7, '0xFF 0xFF' is first transmitted. When a message collision occurs, the slave devices detect the fact. Also, it is used to recover data in which a message transmission error occurs in a digital television which is a master device.

그리고. 상기 헤더 정보는, 메시지의 시작을 알리는 것으로, 요구(Request) 메시지의 경우, 예를 들어 해당 메시지 타입(Message Type)을 알리기 위한 5 비트의 ‘10001’과 해당 버전(Version)을 알리기 위한 3 비트의 ‘001’이 기록되며, 응답(Response) 메시지의 경우, 해당 메시지 타입을 알리기 위한 5 비트의 ‘10010’과 해당 버전을 알리기 위한 3 비트 ‘001’이 기록될 수 있다.And. The header information indicates a start of a message. In the case of a request message, for example, 5 bits of '10001' for indicating a corresponding message type and 3 bits for indicating a corresponding version. '001' is recorded, and in the case of a response message, a 5-bit '10010' for indicating a corresponding message type and a 3-bit '001' for indicating a corresponding version may be recorded.

또한, 상기 데스티네이션 어드레스에는, 메시지를 수신할 해당 디바이스에 할당된 8 비트의 물리적 아이디(Physical ID)와 논리적 아이디(Logical ID)가 기록되고, 상기 소오스 어드레스에는, 메시지를 송신하는 해당 디바이스에 할당된 8 비트의 물리적 아이디(Physical ID)와 논리적 아이디(Logical ID)가 기록되는 데, 상기 물리적 아이디는, 제품 종류별로 고유의 값이 할당되며, 상기 논리적 아이디는, 해당 제품에 포함 구비된 내부 구성 단위별로 고유의 값이 할당된다.In addition, an 8-bit physical ID and a logical ID assigned to the corresponding device to receive the message are recorded in the destination address, and the source address is assigned to the corresponding device transmitting the message. 8-bit physical ID and logical ID are recorded. The physical ID is assigned a unique value for each product type, and the logical ID is included in the corresponding product. Each unit is assigned a unique value.

예를 들어, 상기 디브이디 레코더가, 기기 내부에 하드 디스크 레코더(HDD-Recorder)가 포함 구비된 복합 제품(Combi-device)인 경우, 그 복합 제품에는, 1 개의 물리적 아이디와 2 개의 논리적 아이디가 할당되며, 상기 요구 메시지와 응답 메시지가 1:1 대응되는 경우, 상기 데스티네이션 어드레스와 소오스 어드레스가 서로 바뀌게 되지만, 도 5를 참조로 전술한 바 있는 ‘DiscoverDevices' 커맨드와 같 은 요구 메시지와 그에 따른 응답 메시지는, 1:N 대응되기 때문에, 상기 데스티네이션 어드레스와 소오스 어드레스가 예외적으로 바뀌지 않게 된다. For example, when the DVD recorder is a combination device including a hard disk recorder (HDD-Recorder) inside the device, the combined product is assigned one physical ID and two logical IDs. If the request message and the response message correspond to each other, the destination address and the source address are exchanged with each other, but the request message and the corresponding response as the 'DiscoverDevices' command described above with reference to FIG. Since the messages correspond to 1: N, the destination address and the source address do not change exceptionally.

그리고, 상기 렝스 정보는, 헤더 정보에서 체크 섬까지의 전체 메시지 길이에 해당하는 바이트 수를 나타내고, 상기 커맨드는, 전송을 원하는 구체적인 커맨드이고, 상기 데이터 블록은, 추가 정보를 전달해야할 경우에, 해당 정보를 데이터 블록 내에 기록하여 전송하게 되는 데, 상기 커맨드의 종류에 따라, 상기 데이터 블록의 존재 여부 및 길이가 선택적(Optional)으로 결정된다.And, the length information indicates the number of bytes corresponding to the total message length from the header information to the checksum, and the command is a specific command to be transmitted, and the data block corresponds to when additional information is to be transmitted. Information is recorded in a data block and transmitted. Depending on the type of the command, the existence and length of the data block are determined as optional.

한편, 일반적으로 1 바이트 단위로 정보를 구분하지만, 상기 데이터 블록은, 1 바이트가 아닌 세부 포맷에 의해 정보를 구분하게 되며, 데이터 블록 중 사용하지 않은 하위 비트가 발생할 때에는, ‘0’으로 채워서 전송하고, 상기 응답 코드는, 응답 메시지에만 포함되는 것으로, 요구 메시지에 대한 성공 여부(OK, Error)가 기록되며, 상기 체크 섬은, 메시지 에러 여부를 검출하는 데 사용되는 것으로, 체크 섬을 제외한 나머지 모든 메시지 데이터를 XOR 한 특정 값이 기록된다. On the other hand, in general, information is divided into units of 1 byte, but the data block is classified by a detailed format rather than 1 byte. When an unused lower bit occurs among data blocks, it is filled with '0' and transmitted. In addition, the response code is included only in the response message, the success or failure of the request message (OK, Error) is recorded, the check sum is used to detect the message error, except for the check sum A specific value that XORs all message data is recorded.

그리고, 상기 마스터 바이스와 슬레이브 디바이스들간의 메시지 전송방식은, 예를 들어, RS232C 전송 방식을 적용하며, 스타트 비트(Start Bit)는, ‘1’, 스톱 비트(Stop Bit)는 ‘0’을 사용하고, 보드 레이트(Baud rate)는, 9600bps, 그리고 노 패리티(No-Parity)를 사용하게 되며, 하프 더블렉스(Half duplex) 방식으로 통신하게 된다. In addition, the message transmission method between the master device and the slave devices uses, for example, an RS232C transmission method. The start bit is '1', and the stop bit is '0'. The baud rate is 9600bps, and no parity, and a half duplex method is used for communication.

또한, LSB(Least Significant Bit)을 먼저 전송하는 LSB First 전송 방식을 사용하는 데, 도 8에 도시한 바와 같이, 요구 메시지를 받은 슬레이브 디바이스는, 보통 50ms 이내에 응답 메시지를 송신하게 되며, 최대 응답 지연 시간은, 200ms 미만이어야 하고, 마스터 디바이스는, 도 9에 도시함 바와 같이, 요구 메시지를 송신한 후, 응답을 기다린 시간이 200ms를 초과하면 재 전송을 하게 되며, 이때 재 전송은 1 회 이상 반복하게 된다.In addition, the LSB First transmission method that first transmits a Least Significant Bit (LSB) is used. As shown in FIG. 8, a slave device receiving a request message transmits a response message within 50 ms, and has a maximum response delay. The time should be less than 200 ms, and as shown in FIG. 9, the master device retransmits when the waiting time for the response exceeds 200 ms after transmitting the request message, wherein the retransmission is repeated one or more times. Done.

그리고, 상기 마스터 디바이스에서는, 요구 메시지를 송신한 후, 응답 메시지가 수신되면, 다음 번째 요구 메시지를 송신할 때까지 10ms 이상을 대기하게 되며, 메시지 내부 바이트 간격은 5ms 이내로 간격을 유지하게 되고, 만일, 상기 마스터 디바이스에서, 응답 메시지로 오케이 응답(RES_OK)이 아닌 대기 응답(RES_WAIT)를 받았을 경우, 슬레이브 디바이스의 처리 속도가 늦어서 현재 처리가 진행되고 있음을 알리게 된다.In the master device, if a response message is received after transmitting the request message, the master device waits 10 ms or more until the next request message is transmitted, and the internal byte interval of the message is maintained within 5 ms. When the master device receives the standby response RES_WAIT instead of the ok response RES_OK as a response message, the master device informs that the processing speed of the slave device is slow and that the current processing is in progress.

한편, 상기 마스터 디바이스가, 정확한 완료 시점을 알기 원하는 경우, 처리 기준에 따라 추후에 같은 요구 메시지를 반복적으로 전송할 수 있으며, 마지막에는 슬레이브 디바이스에서 오케이 응답(RES_OK)으로 응답하게 되고, 대기 응답(RES_WAIT)을 받은 마스터 디바이스는, 예를 들어, ‘XLink 통신 중’과 유사한 유저 인터페이스 메시지를 화면 표시하여, 사용자가 처리 지연사실을 알 수 있도록 한다. On the other hand, if the master device wants to know the exact completion time, the same request message can be repeatedly transmitted later according to the processing criteria, and finally the slave device responds with an OK response (RES_OK), and a standby response (RES_WAIT). The master device, for example, displays a user interface message similar to 'during XLink communication', so that the user can know the processing delay.

그리고, 상기 마스터 디바이스에서는, 오케이 응답(RES_OK) 없이 대기 응답(WAIT_RES)만을 연속해서 1s 동안 받았다면, 슬레이브 디바이스의 에러로 처리하고 통신을 중단하게 되며, 요구 메시지를 재 전송한 후에도, 응답 메시지가 없으면, 디바이스가 없는 것으로 판단하여, 사용자가 알 수 있도록 그에 해당하는 안내 화 면를 출력 표시하게 된다. In the master device, if only the standby response WAIT_RES is continuously received for 1 s without the ok response RES_OK, the slave device treats the error as an error of the slave device and stops the communication, even after retransmitting the request message. If not, it determines that there is no device, and outputs the corresponding guide screen for the user to know.

이상, 전술한 본 발명의 바람직한 실시예는, 예시의 목적을 위해 개시된 것으로, 당업자라면, 이하 첨부된 특허청구범위에 개시된 본 발명의 기술적 사상과 그 기술적 범위 내에서, 또다른 다양한 실시예들을 개량, 변경, 대체 또는 부가 등이 가능할 것이다. Or more, preferred embodiments of the present invention described above, for the purpose of illustration, those skilled in the art, within the technical spirit and the technical scope of the present invention disclosed in the appended claims below, to further improve various other embodiments Changes, substitutions or additions will be possible.

상기와 같이 구성 및 이루어지는 본 발명에 따른 텔레비전을 기반으로 하는 디바이스 링크 시스템에서의 메시지 송수신 방법은, 예를 들어 가정 내에 설치되는 브이씨알, 디브이디 레코더, 셋탑 박스, 그리고 리시버 등과 같은 다양한 유형의 디바이스들을, 스테레오 잭(Stereo Jack)을 이용하여 데이지 체인(Daisy Chain) 방식으로, 디지털 텔레비전에 연결 접속시킴과 아울러, 상기 디지털 텔레비전과 각 디바이스들간에 송수신되는 요구(Request) 메시지와 응답(Response) 메시지를, 최적화된 소정 포맷으로 정의 및 생성하여 송수신함으로써, 디지털 텔레비전과 각 디바이스들간의 메시지 송수신 동작이 효율적으로 수행되도록 하여, 사용자가 디지털 텔레비전의 리모콘을 조작하여, 자신이 원하는 디바이스를 보다 편리하게 동작 제어할 수 있게 되는 매우 유용한 발명인 것이다. The message transmission and reception method in the television-based device link system according to the present invention constituted and constructed as described above, for example, various types of devices, such as VRC, DVD recorder, set-top box, and receiver installed in the home By connecting to a digital television in a daisy chain method using a stereo jack, a request message and a response message transmitted and received between the digital television and each device are connected. By defining, generating, and transmitting in an optimized predetermined format, message transmission and reception between the digital television and each device can be efficiently performed, and the user can operate the remote control of the digital television to more conveniently control the desired device. Very useful to be able to It is an invention.

Claims (11)

텔레비전을 기반으로 하는 디바이스 링크 시스템의 마스터 디바이스에서, 요구 메시지를 생성하여, 슬레이브 디바이스로 송신하는 1단계; At a master device of a television-based device link system, generating a request message and transmitting it to a slave device; 상기 요구 메시지를 수신한 슬레이브 디바이스에서, 응답 메시지를 생성하여, 상기 마스터 디바이스로 송신하는 2단계; 및 Generating a response message from the slave device receiving the request message and transmitting the response message to the master device; And 상기 마스터 디바이스에서, 상기 응답 메시지의 수신 여부에 따라, 상기 요구 메시지의 재 전송 여부를 선택적으로 결정하는 3단계를 포함하여 이루어지는 것을 특징으로 하는 텔레비전을 기반으로 하는 디바이스 링크 시스템에서의 메시지 송수신 방법. And in the master device, selectively determining whether to retransmit the request message according to whether the response message has been received or not. 제 1항에 있어서, The method of claim 1, 상기 요구 메시지에는, 헤더 타입, 데스티네이션 어드레스, 소오스 어드레스, 렝스, 커맨드, 그리고 N 개의 데이터 블록들과 체크 섬 정보가 순서대로 기록되며, 상기 요구 메시지의 전단에는, 메시지 충돌 방지를 위한 '0xFF' 값이 2 바이트 이상 부가 전송되는 것을 특징으로 하는 텔레비전을 기반으로 하는 디바이스 링크 시스템에서의 메시지 송수신 방법. In the request message, a header type, a destination address, a source address, a length, a command, and N data blocks and check sum information are sequentially recorded, and in front of the request message, '0xFF' for preventing a message collision. A message transmission and reception method in a television-based device link system, wherein a value is transmitted by two or more bytes. 제 1항에 있어서,The method of claim 1, 상기 응답 메시지에는, 헤더 타입, 데스티네이션 어드레스, 소오스 어드레 스, 렝스, 커맨드, 응답 코드, 그리고 N 개의 데이터 블록들과 체크 섬 정보가 순서대로 기록되며, 상기 응답 메시지의 전단에는, 메시지 충돌 방지를 위한 '0xFF' 값이 2 바이트 이상 부가 전송되는 것을 특징으로 하는 텔레비전을 기반으로 하는 디바이스 링크 시스템에서의 메시지 송수신 방법.In the response message, a header type, a destination address, a source address, a length, a command, a response code, and N data blocks and checksum information are sequentially recorded. In the front of the response message, message collision prevention is performed. The method of transmitting and receiving a message in a device link system based on a television, characterized in that '0xFF' value is transmitted by two or more bytes. 제 2항 및 제 3항 중 어느 한 항에 있어서,The method according to any one of claims 2 and 3, 상기 헤더 정보에는, 해당 메시지 타입 정보와 버전 정보가 기록되는 것을 특징으로 하는 텔레비전을 기반으로 하는 디바이스 링크 시스템에서의 메시지 송수신 방법.The message information transmitting and receiving method in a device link system based on a television, characterized in that the message type information and version information is recorded in the header information. 제 2항 및 제 3항 중 어느 한 항에 있어서,The method according to any one of claims 2 and 3, 상기 데스티네이션 정보에는, 해당 메시지를 수신할 디바이스에 할당된 물리적 아이디와 논리적 아이디가 기록되고, 상기 소오스 정보에는, 해당 메시지를 성하는 디바이스에 할당된 물리적 아이디와 논리적 아이디가 기록되는 것을 특징으로 하는 텔레비전을 기반으로 하는 디바이스 링크 시스템에서의 메시지 송수신 방법.In the destination information, a physical ID and a logical ID assigned to the device to receive the message are recorded, and the physical and logical IDs assigned to the device composing the message are recorded in the source information. Method of transmitting and receiving a message in a television based device link system. 제 5항에 있어서,The method of claim 5, 상기 물리적 아이디는, 제품 종류별 고유의 값으로 할당되고, 상기 논리적 아이디는, 해당 제품에 포함 구비된 내부 구성 단위별 고유의 값으로 할당되며, 1 개의 물리적 아이디와 1 개 이상의 논리적 아이디가 연계 기록되는 것을 특징으로 하는 텔레비전을 기반으로 하는 디바이스 링크 시스템에서의 메시지 송수신 방법.The physical ID is assigned to a unique value for each product type, and the logical ID is assigned to a unique value for each internal structural unit included in the corresponding product, and one physical ID and one or more logical IDs are linked and recorded. Message transmission and reception method in a device link system based on a television, characterized in that. 제 5항에 있어서,The method of claim 5, 상기 데스티네이션 어드레스와 소오스 어드레스는, 요구 메시지와 응답 메시지가, 1:1 대응되는 경우, 서로 바뀌지만, 1:N 대응되는 경우, 서로 바뀌지 않는 것을 특징으로 하는 텔레비전을 기반으로 하는 디바이스 링크 시스템에서의 메시지 송수신 방법.In the device link system based on the television, the destination address and the source address are interchanged when the request message and the response message are 1: 1 corresponded, but do not change when the 1: N correspondence is corresponded. How to send and receive messages. 제 2항 및 제 3항 중 어느 한 항에 있어서,The method according to any one of claims 2 and 3, 상기 커맨드의 종류에 따라, 상기 데이터 블록의 존재 여부 및 길이가 선택적으로 결정되는 것을 특징으로 하는 텔레비전을 기반으로 하는 디바이스 링크 시스템에서의 메시지 송수신 방법.The presence and the length of the data block is selectively determined according to the type of the command, message transmission and reception method in a television-based device link system. 제 1항에 있어서,The method of claim 1, 상기 마스터 디바이스에서는, 상기 요구 메시지를 송신한 후, 응답 메시지로 오케이 응답이 아닌 대기 응답이 수신되면, 슬레이브 디바이스의 처리 속도가 늦어서 처리가 진행 중 임을 안내 화면에 표시하는 것을 특징으로 하는 텔레비전을 기반으로 하는 디바이스 링크 시스템에서의 메시지 송수신 방법.When the master device transmits the request message and receives a standby response instead of an ok response as a response message, the master device displays on the guide screen that the processing is in progress due to a slow processing speed of the slave device. Message transmission and reception in a device link system. 제 1항에 있어서,The method of claim 1, 상기 마스터 디바이스에서는, 상기 요구 메시지를 송신한 후, 응답 메시지로 오케이 응답이 아닌 대기 응답을, 소정 시간 동안 연속해서 수신하게 되면, 슬레이브 디바이스의 에러로 처리하고, 통신을 중단하는 것을 특징으로 하는 텔레비전을 기반으로 하는 디바이스 링크 시스템에서의 메시지 송수신 방법.In the master device, after receiving the request message, if the standby response is continuously received for a predetermined period of time as a response message, the master device treats it as an error of the slave device and stops the communication. Message transmission and reception method in a device link system based on the. 제 1항에 있어서,The method of claim 1, 상기 마스터 디바이스에서는, 요구 메시지를 재 송신 후에도, 응답 메시지가 수신되지 않으면, 디바이스가 없는 것으로 판단하여, 그 사실을 안내 화면에 표시하는 것을 특징으로 하는 텔레비전을 기반으로 하는 디바이스 링크 시스템에서의 메시지 송수신 방법.In the master device, if the response message is not received even after resending the request message, the device determines that there is no device and displays the fact on the guide screen. Way.
KR1020050038752A 2005-05-10 2005-05-10 Methode for transmitting and receiving message in device link system based television KR20060116445A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050038752A KR20060116445A (en) 2005-05-10 2005-05-10 Methode for transmitting and receiving message in device link system based television

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050038752A KR20060116445A (en) 2005-05-10 2005-05-10 Methode for transmitting and receiving message in device link system based television

Publications (1)

Publication Number Publication Date
KR20060116445A true KR20060116445A (en) 2006-11-15

Family

ID=37653402

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050038752A KR20060116445A (en) 2005-05-10 2005-05-10 Methode for transmitting and receiving message in device link system based television

Country Status (1)

Country Link
KR (1) KR20060116445A (en)

Similar Documents

Publication Publication Date Title
JP4091073B2 (en) Home appliance control (CEC) protocol compatible device, CEC command management method, CEC compatible system, and audio / video entertainment system
US7561215B2 (en) Method and apparatus for wirelessly controlling devices peripheral to AV device
JP4293108B2 (en) REMOTE CONTROL SYSTEM, REMOTE CONTROL METHOD, REMOTE CONTROLLER, AND ELECTRONIC DEVICE
US8130684B2 (en) Wireless communication system for wirelessly transmitting and receiving CEC message
JP4221446B2 (en) Video / audio output device, audio output device, video / audio reproduction device, video / audio data reproduction system, and video / audio data reproduction method
EP2276009A1 (en) Digital interconnection of electronics entertainment equipment
KR20080095720A (en) Method for providing key code information and video apparatus thereof
US20060277580A1 (en) Infrared signal distribution and management system and method
KR101366316B1 (en) Signal sink and operation method thereof, and computer-readable recording media for storing computer program for controlling the sink
JP5070996B2 (en) Voice control device and voice control system
JP5178429B2 (en) Control apparatus and control method
WO2012116619A1 (en) Method and corresponding system for remotely controlling wireless multimedia communication system
JP2008022560A (en) Radio communication system
KR20060117385A (en) Methode for processing slave device event in device link system based television
KR20060116445A (en) Methode for transmitting and receiving message in device link system based television
KR20060117386A (en) Methode for processing same type slave device in device link system based television
JP2008109711A (en) Radio communication system
KR20060116448A (en) Methode for processing communication collision in device link system based television
KR20060116450A (en) Methode for controlling complex device in device link system based television
KR20080036721A (en) Control method of external a/v devices connected to display
KR100620018B1 (en) Link control apparatus for video system
KR20060116444A (en) Methode for controlling link mode in device link system based television
KR20080064037A (en) Signal sink and operation method thereof
KR20060114786A (en) Device link system based television
KR20060116446A (en) Methode for providing graphic user interface screen in device link system based television

Legal Events

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