KR101319895B1 - A method for sending and receiving data and broadcasting receiver - Google Patents

A method for sending and receiving data and broadcasting receiver Download PDF

Info

Publication number
KR101319895B1
KR101319895B1 KR1020070056589A KR20070056589A KR101319895B1 KR 101319895 B1 KR101319895 B1 KR 101319895B1 KR 1020070056589 A KR1020070056589 A KR 1020070056589A KR 20070056589 A KR20070056589 A KR 20070056589A KR 101319895 B1 KR101319895 B1 KR 101319895B1
Authority
KR
South Korea
Prior art keywords
host
error message
cable card
control field
error
Prior art date
Application number
KR1020070056589A
Other languages
Korean (ko)
Other versions
KR20080108702A (en
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 KR1020070056589A priority Critical patent/KR101319895B1/en
Priority to US12/155,138 priority patent/US7924701B2/en
Publication of KR20080108702A publication Critical patent/KR20080108702A/en
Application granted granted Critical
Publication of KR101319895B1 publication Critical patent/KR101319895B1/en

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/41Structure of client; Structure of client peripherals
    • H04N21/418External card to be used in combination with the client device, e.g. for conditional access
    • H04N21/4183External card to be used in combination with the client device, e.g. for conditional access providing its own processing capabilities, e.g. external module for video decoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/20Arrangements for detecting or preventing errors in the information received using signal quality detector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/19Flow control; Congestion control at layers above the network layer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/164Adaptation or special uses of UDP protocol
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/10Adaptations for transmission by electrical cable
    • H04N7/102Circuits therefor, e.g. noise reducers, equalisers, amplifiers

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

본 발명은 케이블 카드가 호스트로 UDP 통신용 데이터 송수신 패스를 연결하는 뉴 플로우 요청 메세지(new_flow_req())를 송신하는 단계, 상기 뉴 플로우 요청 메세지(new_flow_req())를 수신한 호스트가 상기 케이블 카드로 뉴 플로우 응답 메세지(new_flow_cnf())를 송신하는 단계를 포함하며, 상기 뉴 플로우 요청 메세지(new_flow_req)는 UDP 통신 중 수신하는 에러 메세지의 처리 방법을 정의하는 에러 메세지 컨트롤 필드를 포함하는 것을 특징으로 하는 데이터 송수신 방법을 제공한다. According to the present invention, a cable card transmits a new flow request message (new_flow_req ()) for connecting a data transmission / reception path for UDP communication to a host, and the host receiving the new flow request message (new_flow_req ()) sends a new message to the cable card. And transmitting a flow response message (new_flow_cnf ()), wherein the new flow request message (new_flow_req) includes an error message control field defining a method of processing an error message received during UDP communication. Provides a method for transmitting and receiving.

따라서, 본 발명에 의하면, UDP 통신 중에 수신하는 에러 메세지를 처리하는 방법을 정의하여 호스트와 케이블카드의 데이터 패스(path)를 연결함으로써, 호스트 및 케이블카드의 동작을 명확히 할 수 있다. Therefore, according to the present invention, it is possible to clarify the operation of the host and the cable card by defining a method of processing an error message received during UDP communication by connecting the data path of the host and the cable card.

Description

데이터 송수신 방법 및 방송 수신 장치{A method for sending and receiving data and broadcasting receiver}A method for sending and receiving data and broadcasting receiver

도 1은 본 발명에 따른 호스트와 케이블카드간의 데이터 송수신 흐름도1 is a flow chart of data transmission and reception between a host and a cable card according to the present invention.

도 2는 본 발명에 따른 에러 메세지 컨트롤 필드를 포함하는 뉴 플로우 요청 메세지의 신택스(syntax)2 is a syntax of a new flow request message including an error message control field according to the present invention.

도 3은 도 2에 포함되는 에러 메세지 컨트롤 필드의 실시예도FIG. 3 is an embodiment diagram of an error message control field included in FIG. 2.

도 4는 본 발명에 따른 데이터의 송수신 방법의 실시예의 순서도4 is a flowchart of an embodiment of a data transmission / reception method according to the present invention.

도 5는 호스트가 수신한 에러 메세지를 처리하는 특성도5 is a characteristic diagram of processing an error message received by the host;

도 6은 호스트가 수신한 에러 메세지에 대응하여, 처리하는 방법의 흐름도6 is a flowchart of a method of processing in response to an error message received by the host;

도 7은 호스트가 수신한 에러 메세지를 처리하는 특성도7 is a characteristic diagram of processing an error message received by the host;

도 8은 호스트가 수신한 에러 메세지에 무시하는 방법의 흐름도8 is a flowchart of a method for ignoring an error message received by a host.

도 9는 본 발명에 따른 방송 수신기의 실시예의 구성도9 is a configuration diagram of an embodiment of a broadcast receiver according to the present invention;

*도면의 주요 부분에 대한 간단한 설명*BRIEF DESCRIPTION OF THE DRAWINGS

900 : 호스트 902 : 튜너900 host 902 tuner

904 : 디멀티플렉서 906 : 오디오 디코더904: Demultiplexer 906: Audio Decoder

908 : 비디오 디코더 99 : 오디오/비디오 디스플레이부908: Video Decoder 99: Audio / Video Display

912 : 부가 정보 처리부 914 : CAS 모듈912: Additional Information Processing Unit 914: CAS Module

916 : 카드 인터페이스부 918 : 키 입력부916: card interface unit 918: key input unit

920 : 저장부 930 : 제어부920: storage unit 930: control unit

940 : 케이블 통신부 950 : 보안 모듈940: cable communication unit 950: security module

951 : 카드 제어부951: card control unit

본 발명은 데이터 송수신 방법 및 방송 수신 장치에 관한 것으로, 보다 상세하게는 케이블카드와 호스트 사이의 데이터 송수신 방법에 관한 것이다. The present invention relates to a data transmission and reception method and a broadcast reception device, and more particularly, to a data transmission and reception method between a cable card and a host.

소켓을 통한 UDP 통신 중에 외부 서버 또는 중간의 라우터에 에러가 발생하여, 방송 수신 장치에서 전송한 데이터가 유실되거나, 기타의 데이터 전송 에러가 발생할 수 있다. An error may occur in an external server or an intermediate router during UDP communication through the socket, and data transmitted from the broadcast reception device may be lost or other data transmission error may occur.

에러가 발생하는 경우, 방송 수신 장치는 에러 발생을 알려주는 에러 메세지를 수신할 수 있는데, 이 경우 호스트가 수신한 에러 메세지를 처리하는 방법이 명확하지 못하여 구현의 어려움이 있다.When an error occurs, the broadcast reception device may receive an error message indicating an error occurrence. In this case, the method of processing the error message received by the host is not clear, which is difficult to implement.

본 발명은 상기와 같은 문제점을 해결하기 위한 것으로서, 본 발명의 목적은 에러 메세지를 수신하는 경우에, 에러 메세지의 처리하는 방법을 정의하여, 호스트와 케이블카드의 데이터 송수신 처리를 명확히 하는 데이터 송수신 방법 및 방송 수신 장치를 제공하는 것이다. SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to define a method of processing an error message when receiving an error message, thereby clarifying the data transmission and reception process between the host and the cable card. And a broadcast receiving device.

상기 목적을 달성하기 위하여, 본 발명은 케이블 카드가 호스트로 UDP 통신용 데이터 송수신 패스를 연결하는 뉴 플로우 요청 메세지(new_flow_req())를 송신하는 단계, 상기 뉴 플로우 요청 메세지(new_flow_req())를 수신한 호스트가 상기 케이블 카드로 뉴 플로우 응답 메세지(new_flow_cnf())를 송신하는 단계를 포함하며, 상기 뉴 플로우 요청 메세지(new_flow_req)는 UDP 통신 중 수신하는 에러 메세지의 처리 방법을 정의하는 에러 메세지 컨트롤 필드를 포함하는 것을 특징으로 하는 데이터 송수신 방법을 제공한다. In order to achieve the above object, the present invention provides a method for transmitting a new flow request message (new_flow_req ()) connecting a data transmission path for UDP communication to a host by a cable card, and receiving the new flow request message (new_flow_req ()). The host includes sending a new flow response message (new_flow_cnf ()) to the cable card, wherein the new flow request message (new_flow_req) includes an error message control field defining a method of processing an error message received during UDP communication. It provides a data transmission and reception method comprising a.

본 발명의 다른 실시 형태에 의하면, 본 발명은 UDP 통신 중 수신하는 에러 메세지의 처리 방법을 정의하는 에러 메세지 컨트롤 필드를 포함하는 뉴 플로우 요청 메세지(new_flow_req())를 호스트가 수신하는 단계, 상기 호스트가 케이블카드와 소켓 프로세스로 연결되어, 케이블카드로부터 데이터를 수신하는 단계, 상기 케이블카드로부터 수신한 데이터를 외부 서버로 전송한 후, 전송된 데이터에 대한 에러 메세지를 수신하는 단계, 상기 에러 메세지 컨트롤 필드의 값에 따라서 상기 호스트가 상기 수신한 에러 메세지를 처리하는 단계를 포함하는 것을 특징으로 하는 데이터 송수신 방법을 제공한다. According to another embodiment of the present invention, the present invention comprises the steps of a host receiving a new flow request message (new_flow_req ()) including an error message control field defining a method of processing an error message received during UDP communication, the host Connected to a cable card and a socket process, receiving data from the cable card, transmitting the data received from the cable card to an external server, and receiving an error message for the transmitted data, the error message control And processing the received error message by the host according to the value of the field.

본 발명의 또 다른 실시 형태에 의하면, 본 발명은 방송 신호 송신 주체와의 통신 경로인 케이블카드, 방송 수신기와 외부 서버를 연결하여 네트워크 통신을 수행하는 케이블 통신부 및 상기 케이블카드로부터 데이터를 수신하여, 상기 케이블 통신부를 통하여 외부 서버와 통신하여 데이터를 송수신하는 호스트를 포함하며, 상기 케이블카드와 상기 호스트는 UDP 통신 중 수신하는 에러 메세지의 처리 방법을 정의하는 에러 메세지 컨트롤 필드를 포함 뉴 플로우 요청 메세지(new_flow_req())에 의하여 연결되며, 상기 에러 메세지 컨트롤 필드의 값에 따라서 상기 호스트가 상기 수신한 에러 메세지를 처리하는 것을 특징으로 하는 방송 수신 장치를 제공한다.According to still another embodiment of the present invention, the present invention provides a cable card, which is a communication path with a broadcast signal transmission entity, a cable communication unit for connecting a broadcast receiver and an external server to perform network communication, and receiving data from the cable card. And a host for transmitting and receiving data by communicating with an external server through the cable communication unit, and the cable card and the host include an error message control field defining a method of processing an error message received during UDP communication. Connected by new_flow_req ()), the host processes the received error message according to the value of the error message control field.

따라서, 본 발명에 의하면, UDP 통신 중에 수신하는 에러 메세지를 처리하는 방법을 정의하여 호스트와 케이블카드의 데이터 패스(path)를 연결함으로써, 호스트 및 케이블카드의 동작을 명확히 할 수 있다. Therefore, according to the present invention, it is possible to clarify the operation of the host and the cable card by defining a method of processing an error message received during UDP communication by connecting the data path of the host and the cable card.

이하 상기의 목적을 구체적으로 실현할 수 있는 본 발명의 바람직한 실시예를 첨부한 도면을 참조하여 설명한다. 이때 도면에 도시되고 또 이것에 의해서 설명되는 본 발명의 구성과 작용은 적어도 하나의 실시예로서 설명되는 것이며, 이것에 의해서 본 발명의 기술적 사상과 그 핵심 구성 및 작용이 제한되지는 않는다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings. At this time, the configuration and operation of the present invention shown in the drawings and described by it will be described as at least one embodiment, by which the technical spirit of the present invention and its core configuration and operation is not limited.

아울러, 본 발명에서 사용되는 용어는 가능한 한 현재 널리 사용되는 일반적인 용어를 선택하였으나, 특정한 경우는 출원인이 임의로 선정한 용어도 있으며 이 경우 해당되는 발명의 설명 부분에서 상세히 그 의미를 기재하였으므로, 단순한 용어의 명칭이 아닌 용어가 가지는 의미로서 본 발명을 파악하여야 함을 밝혀 두고자 한다. In addition, although the term used in the present invention is selected as a general term that is widely used at present, in some cases, there is a term arbitrarily selected by the applicant. In this case, the meaning is described in detail in the description of the present invention. It is to be understood that the present invention should be grasped as a meaning of a term other than a name.

방송 수신 장치는 케이블카드, 호스트 그리고 케이블 통신부로 구성된다.The broadcast reception device includes a cable card, a host, and a cable communication unit.

상기 케이블카드는 방송 신호 송신 주체 예를 들면 방송국, 헤드엔드와의 통신 경로가 된다. 상기 케이블 통신부는 방송 수신기와 외부 서버를 연결하여 네트 워크 통신을 수행한다. 상기 케이블 통신부의 실시예로 케이블 모뎀이 있다. The cable card serves as a communication path with a broadcast signal transmitting entity, for example, a broadcasting station and a head end. The cable communication unit connects a broadcast receiver and an external server to perform network communication. An example of the cable communication unit is a cable modem.

상기 호스트는 수신한 방송 신호를 처리하고, 이를 출력할 수 있다. 또한 케이블카드로부터 데이터를 수신하여, 상기 케이블 통신부를 통하여 외부 서버와 통신하여 데이터를 송수신할 수 있다. The host may process the received broadcast signal and output it. In addition, by receiving data from the cable card, it can communicate with an external server through the cable communication unit to transmit and receive data.

호스트와 케이블카드가 외부 서버와 IP 통신을 구현하기 위하여 3개의 IP address가 필요하다. 필요한 IP address의 첫 번째는 케이블 모뎀, 두 번째는 호스트, 세 번째는 케이블카드를 위한 것이다. 기본적으로 OCAP 어플리케이션의 경우 호스트의 IP address를 이용하여 소켓(socket)을 열어 IP 통신을 하게 되고 케이블카드(CableCARD)에서 IP 통신을 원할 때는 케이블카드(CableCARD)용 IP address를 가지고 케이블카드(CableCARD) 인터페이스(Interface)를 통해 IP 통신을 하게 된다. 하지만 기본적으로 케이블카드(CableCARD) 인터페이스(interface)의 경우 별도의 호스트와 케이블카드 사이의 인터페이스를 통해 호스트에 IP 패킷(packet)형태로 데이터를 호스트에 전달한다. 이때, 호스트는 카드의 식별자를 가지고 데이터 송수신을 대리로 수행해 주어야 하기 때문에 구현에 있어서 복잡하다는 단점이 있다. 또한 하나의 방송 수신 장치 내에 IP address가 3개가 필요하기 때문에 IP address를 낭비하는 요인이 된다. The host and cable card need three IP addresses to implement IP communication with the external server. The first IP address required is for the cable modem, the second for the host, and the third for the cable card. Basically, in case of OCAP application, IP communication is performed by opening a socket using the IP address of the host. When IP communication is required from the cable card, the cable card has an IP address for the cable card. IP communication is performed through the interface. However, in the case of the CableCARD interface, the data is transmitted to the host in the form of an IP packet through the interface between the separate host and the cable card. In this case, the host has a disadvantage in that it is complicated in implementation since the host must perform data transmission and reception on behalf of the card identifier. In addition, since three IP addresses are required in one broadcast receiving device, the IP address is wasted.

이를 보완하기 위해 케이블카드의 IP address를 없애고 기본적으로 호스트의 IP address를 가지고 소켓(socket)을 통해 IP 통신을 하도록 하여 IP 낭비를 줄이고, 통신 Card의 IP 통신을 간단하고 명료하게 구현할 수 있도록 하였다. To compensate for this, the IP address of the cable card is eliminated and IP communication is carried out through the socket with the IP address of the host basically to reduce IP waste and to implement IP communication of the communication card simply and clearly.

외부 서버와 방송 수신 장치는 로지컬 커뮤니케이션(logical communication) 을 수행한다. 이때, 엔드 투 엔드(end to end) 간의 로지컬 커뮤니케션을 수행하는 트랜스포트 레이어(transport layer)의 종류로는 UDP 와 TCP가 있다. The external server and the broadcast reception device perform logical communication. At this time, the types of transport layers that perform logical communication between end-to-end include UDP and TCP.

상기 TCP는 연결형(connection-oriented) 트랜스포트(transport)로, 외부 서버의 상태를 고려하여 데이터를 전송한다. 즉, 전송된 데이터에 대한 응답 메세지를 수신하여 데이터가 정상적으로 전송된 것을 확인하고, 정상적인 수신이 되지 아니하면 데이터를 재전송하기도 한다. The TCP is a connection-oriented transport and transmits data in consideration of the state of an external server. That is, a response message for the transmitted data is received to confirm that the data is transmitted normally. If the reception is not successful, the data may be retransmitted.

상기 UDP는 비연결형(connectionless) 트랜스포트(transport)로, 외부 서버의 상태를 고려하지 않고 데이터를 전송한다. 또한 데이터의 전송의 에러 등을 고려하지 아니하고 데이터를 전송하므로 데이터 전송의 지연(delay)이 발생하지 않는다. The UDP is a connectionless transport, and transmits data without considering the state of an external server. In addition, since data is transmitted without considering an error of data transmission, a delay of data transmission does not occur.

소켓(Socket)을 통한 UDP 통신을 하다 보면 호스트(Host)에서 이상이 생기던지, 외부 서버(Remote server)에서 이상이 발생하던지 또는 호스트(Host)와 외부 서버(remote server)를 연결하는 중간의 라우터(Router)에서 이상이 생기는 등의 원인에 의하여 전송한 UDP 패킷(packet)이 외부 서버(remote host)에 도달하지 못할 수 있다. UDP protocol은 기본적으로 best-effort 서비스를 제공하기 때문에 신뢰성(reliability)를 보장해 줄 수 없다. 따라서, IP layer에서 보낸 데이터그램(datagram)이 목적지(destination)에 도착했는지에 대한 보장(guarantee)을 하지 않는다. 만일 외부 서버(remote host)에 문제가 있을 경우 외부 서버(remote host)에서는 발신 측에 에러 메세지를 통해 오류보고를 할 수 있다. 발신 측에서는 에러 메세지를 받으면 그에 따른 처리를 하게 되는데, 에러 메세지를 받고 그에 상응하 는 처리를 하던지 아니면 에러 메세지를 무시할지는 구현 방법에 따라 결정된다. 이렇게 다양한 형태로 구현이 가능한데, 구현 방법에 대한 기준이 없어 동작 구현상에 모호한 부분이 있고 테스트시에도 임의의 기준으로 테스트하고 있다.  If UDP communication is performed through socket, there may be a problem with the host, a problem with the external server, or an intermediate router connecting the host and the remote server. The UDP packet transmitted by the router may fail to reach the remote host due to an abnormality in the router. Since UDP protocol basically provides the best-effort service, it cannot guarantee reliability. Therefore, there is no guarantee that the datagram sent from the IP layer has reached its destination. If there is a problem with the remote server, the remote server may report the error through an error message to the calling party. When the sender receives an error message, it handles it accordingly. It is up to the implementation method to receive the error message and process the corresponding message or to ignore the error message. This can be implemented in various forms. There is no standard on how to implement, so there are some ambiguities in the implementation of the operation.

도 1은 본 발명에 따른 호스트와 케이블카드간의 데이터 송수신 플로우를 도시한다. 1 illustrates a flow of data transmission and reception between a host and a cable card according to the present invention.

도 1을 참조하면, 케이블카드가 호스트로 뉴 플로우 요청 메세지(new_flow_req())를 송신하고, 이에 대하여 호스트가 케이블카드로 뉴 플로우 응답 메세지(new_flow_cnf())를 송신하여, 케이블카드와 호스트가 데이터 송수신을 위한 이 연결되게 된다. Referring to FIG. 1, the cable card transmits a new flow request message (new_flow_req ()) to the host, and the host transmits a new flow response message (new_flow_cnf ()) to the cable card, so that the cable card and the host send data. This will be connected for transmission and reception.

이때, 상기 뉴 플로우 요청 메세지(new_flow_req)는 UDP 통신 중 수신하는 에러 메세지의 처리 방법을 정의하는 에러 메세지 컨트롤 필드를 포함한다.In this case, the new flow request message (new_flow_req) includes an error message control field defining a method of processing an error message received during UDP communication.

본 발명은 UDP 통신 중 에러가 발생하여, 외부 서버로부터 에러 메세지를 수신하는 경우, 호스트에서의 에러 메세지의 제어 방법에 관한 것이다. The present invention relates to a method of controlling an error message in a host when an error occurs during UDP communication and an error message is received from an external server.

상기 외부 서버와 방송 수신 장치는 UDP 트랜스포트 레이어를 통하여 통신한다. 이때, 상기 외부 서버는 방송 수신 장치 내의 호스트를 통하여 케이블카드와 통신한다. The external server and the broadcast receiving device communicate through a UDP transport layer. At this time, the external server communicates with the cable card through a host in the broadcast receiving device.

이러한 외부 서버와의 데이터 송수신을 위하여, 호스트와 케이블카드가 소켓 프로세스로 연결되는데, 케이블카드에서 호스트로 뉴 플로우 요청 메세지를 송신하고, 호스트는 케이블카드로 뉴 플로우 요청 메세지에 대한 뉴 플로우 응답 메세지를 송신함으로써, 케이블카드와 호스트의 연결(connection)이 개시된다.In order to send and receive data to and from the external server, the host and the cable card are connected by a socket process. The cable card transmits a new flow request message from the cable card to the host, and the host sends a new flow response message for the new flow request message to the cable card. By transmitting, the connection between the cable card and the host is initiated.

케이블카드는 호스트와의 연결이 개시되면, 호스트로 데이터를 송신하고, 호스트는 수신한 데이터를 케이블 모뎀을 통하여 외부 서버로 전송한다.When the cable card starts to connect with the host, the cable card transmits data to the host, and the host transmits the received data to the external server through the cable modem.

본 발명은 UDP 통신 중의 에러(error) 발생 시 케이블카드와 호스트와의 동작을 명확하게 정의하고자 하는 것이다. The present invention is intended to clearly define the operation of the cable card and the host when an error occurs during UDP communication.

UDP 프로토콜은 기본적으로 신뢰성(reliability)을 제공하지 않기 때문에, 데이터그램(datagram)을 전송한 호스트에서는 전송한 데이터그램(datagram)이 목적지(destination)에 도착했는지에 대한 보장(guarantee)을 하지 않는다. 그러나, 외부 서버(remote host) 혹은 중간에 문제가 발생할 경우 에러 메세지를 통해서 발신자에 오류 메시지를 보낼 수 있다. 에러 메세지의 실시예로는 ICMP(Internet Control Message protocol) 메세지가 있다. 이하에서는 에러 메세지의 실시예인 ICMP 메세지를 사용하여 설명하기로 한다. The UDP protocol does not provide reliability by default, so the host that sent the datagram does not guarantee that the datagram has arrived at its destination. However, if a problem occurs in the remote host or in the middle, an error message can be sent to the sender. An example of an error message is an Internet Control Message Protocol (ICMP) message. Hereinafter, description will be given using an ICMP message which is an embodiment of an error message.

이때 발신자 측에서는 이미 전송한 데이터그램(datagram)에 대해서는 데이터가 목적지(destination)에 잘 도착하던지 그렇지 못 하던지 상관하지 않기 때문에 수신한 ICMP 메세지를 무시할 수 있다. 그러나 또한 ICMP 메세지를 받으면 그에 대한 적절한 조치를 취할 수도 있다. 이것은 호스트쪽에서 어떻게 구현하느냐에 따라 결정되는 것이다. 하지만 이러한 구현 방법에 대한 명확한 기술이 없어 각각 회사의 모델마다 구현이 달라질 수 있다. 따라서 이러한 모호한 부분에 대하여 좀 더 명확히 규정할 수 있는 방안을 제시하여 발생가능한 오류를 미리 막고자 한다.At this time, the sender can ignore the received ICMP message because the datagram does not matter whether the data arrives at the destination well or not. However, if you receive an ICMP message, you can also take appropriate action. This is determined by the implementation on the host side. However, there is no clear description of how this is implemented, so implementations may vary for each company's model. Therefore, this paper suggests a way to more clearly define the ambiguity to prevent possible errors.

도 2는 본 발명에 따른 에러 메세지 컨트롤 필드를 포함하는 뉴 플로우 요청 메세지의 신택스(syntax)를 도시한다. Figure 2 illustrates the syntax of a new flow request message including an error message control field in accordance with the present invention.

도 2를 참조하면, 뉴 플로우 요청 메세지는 서비스 타입이 소켓 프로세스인 경우의 소켓 연결(connection) 정보를 담고 있는 루프(이하에서는 '소켓 연결 정보 루프'라 한다)에 UDP 통신 중 수신하는 에러 메세지의 처리 방법을 정의하는 에러 메세지 컨트롤 필드(201)를 포함한다. Referring to FIG. 2, a new flow request message is an error message received during UDP communication in a loop containing socket connection information when the service type is a socket process (hereinafter referred to as a 'socket connection information loop'). An error message control field 201 defining the processing method is included.

뉴 플로우 요청 메세지는 OOB 모드인 경우에는 호스트가 카드로 송신하고, DSG 모드인 경우에는 카드가 호스트로 송신한다.The new flow request message is sent by the host to the card in the OOB mode and the card to the host in the DSG mode.

뉴 플로우 요청 메세지는 호스트와 카드 사이의 연결(connection) 또는 흐름(flow)의 개시(open)를 요청하는 메세지이다. 뉴 플로우 요청 메세지는 사용하는 프로세스에 따른 연결 정보를 별도의 루프에 포함한다. The new flow request message is a message requesting the opening of a connection or flow between a host and a card. The new flow request message includes connection information according to a process used in a separate loop.

커먼 루프(common loop)에는 뉴 플로우 요청 메세지 태그(tag) 및 필드 길이, 서비스 타입 필드를 포함한다. 서비스 타입의 예시로는 MPEG 섹션(section), IP 유니캐스트(unicast), IP 멀티캐스트(multicast), 소켓(socket) 등이 있고, 이러한 서비스 타입 중 하나를 상기 서비스 타입 필드에서 정의한다. The common loop includes a new flow request message tag, a field length, and a service type field. Examples of service types include MPEG section, IP unicast, IP multicast, socket, etc. One of these service types is defined in the service type field.

상기 서비스 타입에 따른 연결 정보를 포함하는 개별 루프가 있다. 본 발명에 따른 에러 메세지 컨트롤 필드는 소켓 연결 정보의 하나에 해당하므로, 소켓 연결 정보 루프에 포함된다.There is a separate loop containing connection information according to the service type. Since the error message control field according to the present invention corresponds to one of the socket connection information, it is included in the socket connection information loop.

상기 소켓 연결 정보 루프는 프로토콜 태그(protocol_tag) 필드, 타임아웃 컨트롤(timeout_control) 필드, 로컬 포트 넘버(local_port_number) 필드, 리모트 포트 넘버(remote_port_number)필드, 커넥션 타임아웃(connection_timeout) 필드를 포함한다. 그 이외에 소켓 연결 정보 필드를 더 포함할 수 있다. The socket connection information loop includes a protocol tag (protocol_tag) field, a timeout_control field, a local_port_number field, a remote_port_number field, and a connection_timeout field. In addition, it may further include a socket connection information field.

에러 메세지 컨트롤 필드(201)는 에러 메세지를 외부 서버로부터 수신한 경우, 에러 메세지의 처리 방법을 정의한다. 또한 에러 메세지 컨트롤 필드에서 정의하는 값에 따라 에러 메세지 처리 프로세스가 달라진다. 이때 에러 메세지 컨트롤 필드는 에러 메세지의 처리 방법으로 에러 메세지를 무시하거나(ignore) 또는 대응(not ignore) 중에서 하나를 정의할 수 있다. The error message control field 201 defines a method of processing an error message when an error message is received from an external server. Also, the error message processing process depends on the value defined in the error message control field. In this case, the error message control field may define one of ignore or not ignore the error message as a method of processing the error message.

또한 에러 메세지 컨트롤 필드(201)는 수신한 에러 메세지를 케이블카드로 보고(report)하도록 정의할 수도 있다. The error message control field 201 may also be defined to report the received error message to the cable card.

로컬 포트 넘버(local_port_number) 필드는 로컬 포트를 식별한다.The local port number field (local_port_number) identifies a local port.

리모트 포트 넘버(remote_port_number)필드는 리모트 포트를 식별한다.The remote port number (remote_port_number) field identifies a remote port.

커넥션 타임아웃(connection_timeout) 필드는 타임아웃이 되는 상태를 정의한다. 예를 들면 타임아웃으로 판단하는 시간 등을 정의한다.The connection_timeout field defines a state that is timed out. For example, the time determined by the timeout is defined.

도 3은 도 2에 포함되는 에러 메세지 컨트롤 필드의 실시예를 도시한다.FIG. 3 illustrates an embodiment of an error message control field included in FIG. 2.

도 3을 참조하면, 에러 메세지 컨트롤 필드의 값이 0x00이면, 호스트는 수신한 에러 메세지를 무시하고, 에러 메세지 컨트롤 필드의 값이 0x01이면, 호스트는 에러 메세지를 무시하지 아니하고, 에러 메세지 컨트롤 필드의 값이 0x02이면, 호스트는 수신한 에러 메세지를 케이블카드로 보고(report)하도록 정의할 수 있다. 이러한 구현은 실시예에 불과하며, 필드의 값에 따른 구현 방법을 달리하도록 정의할 수 있다. Referring to FIG. 3, if the value of the error message control field is 0x00, the host ignores the received error message. If the value of the error message control field is 0x01, the host does not ignore the error message. If the value is 0x02, the host can define to report the received error message to the cable card. Such an implementation is merely an embodiment and may be defined to vary an implementation method according to a value of a field.

여분의 비트는 장래의 사용을 위한 예약 필드(reserved field)로 남겨둘 수 있다. The extra bits can be left as reserved fields for future use.

케이블카드는 호스트에 뉴 플로우 요청 메세지(new_flow_req())를 보낼 때 에러 메세지 컨트롤 필드(icmp_control field)에 0x00 (host ignores icmp message) 혹은 0x01 (host SHALL not ignore icmp message) 혹은 0x02(host SHALL report icmp message)를 set 하여 보내도록 한다. 이는 실시예에 불과하며, 본 발명의 권리 범위는 본 실시예에 한정되지 아니한다. When the cable card sends a new flow request message (new_flow_req ()) to the host, 0x00 (host ignores icmp message) or 0x01 (host SHALL not ignore icmp message) or 0x02 (host SHALL report icmp) in the error message control field. message) to send. This is only an embodiment, the scope of the present invention is not limited to this embodiment.

뉴 플로우 요청 메세지(new_flow_req())를 수신한 호스트에서는 에러 메세지 컨트롤 필드(icmp_control field)값을 추출하여 호스트에서 에러 메세지(icmp message)를 처리할 것인지 무시할 것인지를 결정하고 그에 따른 동작을 수행한다.The host receiving the new flow request message (new_flow_req ()) extracts the value of the error message control field (icmp_control field) to determine whether to process or ignore the error message (icmp message) in the host and performs an operation accordingly.

호스트는 뉴 플로우 요청 메세지(new_flow_req()) 내에 에러 메세지 컨트롤 필드(icmp_control field)의 값이 정의된 값이 아닐 경우 에러 메세지를 처리하는 것을 디폴트(default)로 할 수 있다. The host may default to process an error message when the value of the error message control field (icmp_control field) in the new flow request message (new_flow_req ()) is not a defined value.

도 4는 본 발명에 따른 데이터의 송수신 방법의 실시예의 순서도를 도시한다.4 is a flowchart of an embodiment of a method of transmitting and receiving data according to the present invention.

도 4를 참조하면, 본 발명에 따른 데이터 송수신 방법의 실시예는 UDP 통신 중 수신하는 에러 메세지의 처리 방법을 정의하는 에러 메세지 컨트롤 필드를 포함하는 뉴 플로우 요청 메세지(new_flow_req())를 호스트가 수신하는 단계, 상기 호스트가 케이블카드와 소켓 프로세스로 연결되어, 케이블카드로부터 데이터를 수신하는 단계, 상기 케이블카드로부터 수신한 데이터를 외부 서버로 전송한 후, 전송된 데이터에 대한 에러 메세지를 수신하는 단계, 상기 에러 메세지 컨트롤 필드의 값에 따라서 상기 호스트가 상기 수신한 에러 메세지를 처리하는 단계를 포함한다.Referring to FIG. 4, according to an embodiment of the present invention, a host receives a new flow request message (new_flow_req ()) including an error message control field defining a method of processing an error message received during UDP communication. The host is connected to the cable card and the socket process, receiving data from the cable card, transmitting the data received from the cable card to an external server, and receiving an error message for the transmitted data. And processing, by the host, the received error message according to the value of the error message control field.

상기 뉴 플로우 요청 메세지를 수신하는 단계(S41)는 호스트가 케이블카드로부터 새로운 플로우(flow)가 요청되는 단계이다. 뉴 플로우 요청 메세지는 UDP 통신 중 수신하는 에러 메세지의 처리 방법을 정의하는 에러 메세지 컨트롤 필드를 포함한다. Receiving the new flow request message (S41) is a step in which a host requests a new flow from the cable card. The new flow request message includes an error message control field that defines a method of processing an error message received during UDP communication.

뉴 플로우 요청 메세지를 수신한 호스트는 케이블카드로 뉴 플로우 응답 메세지를 송신한다. 뉴 플로우 응답 메세지를 케이블카드가 수신함으로써, 호스트와 케이블카드의 데이터 패스(path)가 연결되게 된다.The host receiving the new flow request message sends a new flow response message to the cable card. When the cable card receives the new flow response message, the data path of the host and the cable card is connected.

상기 데이터 패스가 연결되면, 호스트는 케이블카드로부터 확장 채널(extended channel)을 통해 데이터를 수신하여, 외부 서버로 전송한다(S42). 이때, 데이터는 패킷 또는 데이터그램 형태로 수신할 수 있다. When the data path is connected, the host receives data through an extended channel from the cable card, and transmits the data to an external server (S42). In this case, the data may be received in the form of a packet or datagram.

확장 채널을 통해 받은 데이터는 이미 열려진 소켓(socket)을 통해 케이블 모뎀을 통해 네트워크상으로 나가게 된다. Data received over the extension channel is routed over the network through the cable modem through an already open socket.

외부 서버 또는 중간의 라우터에 문제가 발생하여, 데이터 발신측으로 에러 메세지를 송신하여, 호스트는 에러 메세지를 수신한다(S43).A problem occurs in the external server or the intermediate router, and an error message is sent to the data sender, and the host receives the error message (S43).

수신한 에러 메세지를 뉴플로우 요청 메세지에 포함된 에러 메세지 컨트롤 필드에 정의된 방법으로 에러 메세지를 처리하게 된다(S44). The received error message is processed by the method defined in the error message control field included in the new flow request message (S44).

도 5는 호스트가 수신한 에러 메세지를 처리하는 특성을 도시한다. 5 shows a characteristic of processing an error message received by the host.

도 5를 참조하면, 케이블 모뎀(59), 호스트(520), 케이블카드(530)로 구성된 방송 수신 장치에서, 케이블 모뎀(59)을 통하여 호스트(520)가 에러 메세지를 수신하면, 호스트는 에러 발생 상황에 대해 대응하게 된다. 호스트가 에러 발생을 대응 하는 구체적인 방법에 대해서는 도 6을 참조하여 설명하기로 한다. Referring to FIG. 5, in the broadcast receiving device including the cable modem 59, the host 520, and the cable card 530, when the host 520 receives an error message through the cable modem 59, the host may receive an error. Respond to the situation. A detailed method of coping with an error occurrence by the host will be described with reference to FIG. 6.

도 6은 호스트가 수신한 에러 메세지에 대응하여, 처리하는 방법의 흐름을 도시한다.6 shows a flow of a method of processing, in response to an error message received by the host.

에러 메세지 컨트롤 필드에서 호스트가 수신한 에러 메세지를 무시하지 않도록 즉, 대응하여 처리하도록 정의하면, UDP 소켓(socket) 개시(open) 요청 시 외부 서버의 상태를 확인하여 해당 서버의 포트(port)가 데이터를 받을 상태가 되었는지 확인할 수 있다.If the error message control field is defined not to ignore the error message received by the host, that is, to handle it accordingly, the port of the server is checked by checking the status of the external server when a UDP socket open request is made. You can check whether you are ready to receive data.

또한 UDP 데이터그램(datagram) 전송 후에 외부 서버(remote host) 혹은 중간 라우터(router)에 문제가 발생하여 UDP 패킷 전송에 문제가 생겼음을 에러 메세지(ICMP 메시지)를 통해서 알려온 경우, 호스트는 데이터의 전송을 중지하고 에러 발생을 소켓(socket) 인터페이스를 통해서 호스트의 어플리케이션으로 전달한다. In addition, if a problem occurs in an external server or an intermediate router after transmitting a UDP datagram, the host transmits data when an error message (ICMP message) indicates that there is a problem in UDP packet transmission. Stop and propagate the error to the host's application through the socket interface.

해당 어를리케이션은 케이블카드(CableCARD)로 에러 발생 지시 메세지(lost_flow_ind())를 케이블카드로 송신하여(S69), 케이블카드에 플로우가 끊겼음을 알린다. 이때, 에러 발생은 상기 에러 발생 지시 메세지의 리즌 필드(reason_field)에서 정의된다. 예를 들면 에러 발생 지시 메세지의 리즌 필드의 값이 0x06이면 소켓 에러(Socket Write Error)가 발생함을 의미할 수 있다. 또한 이때, 에러 발생 지시 메세지는 플로우 식별자를 사용하여, 에러가 발생된 플로우를 케이블카드로 알릴 수 있다. 플로우 식별자는 플로우 아이디(flow ID)가 있다. The assignment sends an error occurrence indication message (lost_flow_ind ()) to the cable card (C69) to the cable card (C69) to inform the cable card that the flow has been terminated. In this case, the error occurrence is defined in the reason field (reason_field) of the error occurrence indication message. For example, if the value of the reason field of the error occurrence indication message is 0x06, this may mean that a socket error occurs. In this case, the error occurrence indication message may use the flow identifier to inform the cable card of the flow in which the error occurred. The flow identifier has a flow ID.

케이블카드는 에러 발생 응답 메세지(lost_flow_cnf())를 호스트로 보내고(S620), 다시 플로우 종료 요청 메세지(delete_flow_req())를 호스트로 보낸 다(S630). 호스트는 케이블카드로부터 플로우 종료 요청 메세지(delete_flow_req())를 수신하면, 해당 플로우에 대한 소켓(socket)을 종료(close) 시킨 후 플로우 종료 응답 메세지(delete_flow_cnf())를 케이블카드로 보낸다(S640). The cable card sends an error occurrence response message (lost_flow_cnf ()) to the host (S620) and again sends a flow end request message (delete_flow_req ()) to the host (S630). When the host receives the flow end request message (delete_flow_req ()) from the cable card, the host closes the socket for the flow and then sends a flow end response message (delete_flow_cnf ()) to the cable card (S640). .

이후에 케이블카드는 호스트로 뉴 플로우 요청 메세지를 송신하여, 새로운 데이터 패스가 연결되면, 새롭게 데이터 송수신이 가능해진다.Thereafter, the cable card transmits a new flow request message to the host, and when a new data path is connected, new data transmission and reception are possible.

에러 메세지 컨트롤 필드에서 호스트가 수신한 에러 메세지를 케이블카드로 보고하도록 정의하면, UDP 소켓(socket) 개시(open) 요청 시 외부 서버의 상태를 확인하여 해당 서버의 포트(port)가 데이터를 받을 상태가 되었는지 확인할 수 있다.If the error message control field is defined to report the error message received by the host to the cable card, the server's port will receive the data by checking the status of the external server when a UDP socket open request is made. You can check whether

또한 UDP 데이터그램(datagram) 전송 후에 외부 서버(remote host) 혹은 중간 라우터(router)에 문제가 발생하여 UDP 패킷 전송에 문제가 생겼음을 에러 메세지(ICMP 메시지)를 통해서 알려온 경우, 이에 대해 케이블카드쪽에 경고 메세지(warning message)를 전송하고 UDP 패킷 전송을 계속한다. 이때 경고 메세지(warning message)는 기존의 에러 발생 지시 메세지(lost_flow_ind()) 함수를 사용할 수도 있고 새로운 함수를 정의해서 사용할 수도 있다. 예를 들면 problem_flow_ind()함수이다. 이 때, 케이블카드는 에러 메세지를 무시할지 혹은 해당 소켓 커넥션(socket connection)을 종료할지 판단하여 다음 동작을 수행한다. 즉, 에러 메세지를 케이블카드로 보고함으로써, 에러 메세지의 처리 방법을 케이블카드에서 결정하여, 이후의 단계를 제어하는 것이다.In addition, if a problem occurs in an external server or an intermediate router after transmitting a UDP datagram, and an error message (ICMP message) indicates that there is a problem in UDP packet transmission, Send a warning message and continue sending UDP packets. In this case, a warning message may use an existing error occurrence indication message (lost_flow_ind ()) or a new function. For example, problem_flow_ind (). At this time, the cable card determines whether to ignore the error message or terminate the socket connection. That is, by reporting the error message to the cable card, the cable card determines how to process the error message and controls subsequent steps.

도 7은 호스트가 수신한 에러 메세지를 처리하는 특성을 도시한다. 7 shows a characteristic of processing an error message received by the host.

도 7을 참조하면, 케이블 모뎀(59), 호스트(520), 케이블카드(530)로 구성된 방송 수신 장치에서, 케이블 모뎀(59)을 통하여 호스트(520)가 에러 메세지를 수신하면, 호스트는 에러 메세지를 무시하게 된다. Referring to FIG. 7, in the broadcast reception device including the cable modem 59, the host 520, and the cable card 530, when the host 520 receives an error message through the cable modem 59, the host may receive an error. Ignore the message.

도 8은 호스트가 수신한 에러 메세지를 무시하는 방법의 흐름을 도시한다.8 shows the flow of a method for ignoring an error message received by a host.

에러 메세지 컨트롤 필드에서 호스트가 수신한 에러 메세지를 무시하도록 정의하면, UDP 소켓(socket) 개시(open) 요청 시 외부 서버의 상태를 확인하지 않고, UDP datagram을 전송한다. 또한 전송 후에는 호스트에서는 전송된 데이터가 목적지(destination)에 도착했는지에 대한 고려는 하지 않고 케이블카드에 별도의 통지(notify)를 하지 않는다.If the error message control field is defined to ignore the error message received by the host, the UDP datagram is transmitted without checking the status of the external server when the UDP socket open request is made. In addition, after transmission, the host does not consider whether the transmitted data has reached its destination and does not notify the cable card separately.

또한 UDP 데이터그램(datagram) 전송 후에 외부 서버(remote host) 혹은 중간 라우터(router)에 문제가 발생하여 UDP 패킷 전송에 문제가 생겼음을 에러 메세지(ICMP 메시지)를 통해서 알려온 경우, 에러 메세지(ICMP 메시지)를 무시하고 데이터를 전송을 계속한다. In addition, if an error message (ICMP message) indicates that a problem occurs in the UDP packet transmission due to a problem in the remote host or an intermediate router after the UDP datagram transmission, an error message (ICMP message) Ignore) and continue to transfer data.

도 9는 본 발명에 따른 방송 수신기의 실시예의 구성을 도시한다.9 shows a configuration of an embodiment of a broadcast receiver according to the present invention.

도 9를 참조하면, 본 발명에 따른 방송 수신 장치는 방송 신호 송신 주체와의 통신 경로인 케이블카드, 방송 수신기와 외부 서버를 연결하여 네트워크 통신을 수행하는 케이블 통신부 및 상기 케이블카드로부터 데이터를 수신하여, 상기 케이블 통신부를 통하여 외부 서버와 통신하여 데이터를 송수신하는 호스트를 포함한다. Referring to FIG. 9, the broadcast receiving apparatus according to the present invention receives data from a cable card, which is a communication path with a broadcast signal transmission entity, a cable communication unit for connecting a broadcast receiver and an external server to perform network communication, and the cable card. And a host communicating with an external server through the cable communication unit to transmit and receive data.

이때, 상기 케이블카드와 상기 호스트는 UDP 통신 중 수신하는 에러 메세지의 처리 방법을 정의하는 에러 메세지 컨트롤 필드를 포함 뉴 플로우 요청 메세지(new_flow_req())에 의하여 연결되며, 상기 에러 메세지 컨트롤 필드의 값에 따라서 상기 호스트가 상기 수신한 에러 메세지를 처리하는 것을 특징으로 한다. At this time, the cable card and the host are connected by a new flow request message (new_flow_req ()) including an error message control field defining a method of processing an error message received during UDP communication, and to a value of the error message control field. Therefore, the host processes the received error message.

디지털 방송 수신 장치는 호스트(900)와 케이블 통신부(940), 케이블 카드(950)로 구성된다. The digital broadcast receiver includes a host 900, a cable communication unit 940, and a cable card 950.

상기 호스트(900)는 튜너(902), 디멀티플렉서(904), 오디오 디코더(906), 비디오 디코더(908), 오디오 처리부(609), 비디오 처리부(99), 부가 정보 처리부(912), CAS(Conditional Access System)모듈(914), 키 입력부(918), 카드 인터페이스부(916), 저장부(920), 제어부(930)을 포함한다. The host 900 includes a tuner 902, a demultiplexer 904, an audio decoder 906, a video decoder 908, an audio processor 609, a video processor 99, an additional information processor 912, and a CAS (Conditional). Access System) module 914, a key input unit 918, a card interface unit 916, a storage unit 920, and a control unit 930.

상기 튜너(902)는 사용자가 선택한 방송 채널을 선국한다. 사용자가 시청 채널을 변경하면, 해당되는 주파수를 선택하게 된다. 선택된 주파수는 VSB 또는 QAM컨버터(미도시)로 들어가 디지털 신호로 변환된다.The tuner 902 tunes a broadcast channel selected by a user. When the user changes the viewing channel, the corresponding frequency is selected. The selected frequency enters a VSB or QAM converter (not shown) and is converted into a digital signal.

상기 디멀티플렉서(904)는 시간 다중화된 트랜스포트 스트림을 역다중화 즉, 비디오, 오디오 및 부가 정보 신호로 분리한다.The demultiplexer 904 demultiplexes the time multiplexed transport stream into demultiplexed, that is, video, audio and side information signals.

상기 오디오 디코더(906)는 디멀티플렉서(904)에서 분리된 오디오 신호를 신장/복원시켜 오디오 디스플레이부(99)를 통해 출력하고, 상기 비디오 디코더(908)는 디멀티플렉서(904)에서 분리된 비디오 신호를 신장/복원하여, 비디오 디스플레이부(99)를 통해 출력한다.The audio decoder 906 expands / restores the audio signal separated by the demultiplexer 904 and outputs the audio signal through the audio display unit 99, and the video decoder 908 decompresses the video signal separated by the demultiplexer 904. / Restore and output via the video display unit (99).

상기 CAS 모듈(914)은 상기 부가 정보 처리부(912)에서 분석된 정보에서 ECM(Entitlement Control Message) PID와 LTSID(Local Transport Stream ID)를 추출한다.The CAS module 914 extracts an Entitlement Control Message (ECM) PID and a Local Transport Stream ID (LTSID) from the information analyzed by the additional information processor 912.

상기 키 입력부(918) 에는 사용자가 원하는 명령이 입력되고, 상기 제어부(930)는 디지털 방송 시스템 각 부의 동작을 제어한다. A command desired by a user is input to the key input unit 918, and the controller 930 controls the operation of each unit of the digital broadcasting system.

상기 제어부(930)은 케이블 카드(950)와 호스트(900)간의 제한 수신기능을 담당하는 복제 제한 처리도 담당한다. 제어부(930)은 수신된 디지털 방송 신호를 메인 스트림과 엑스트라 스트림으로 분류하여 스크램블 여부를 판단하고, 스크램블된 스트림을 디스크램블한다. The control unit 930 is also responsible for the copy restriction process that is responsible for the limited reception function between the cable card 950 and the host 900. The controller 930 classifies the received digital broadcast signal into a main stream and an extra stream, determines whether to scramble, and descrambles the scrambled stream.

또한 본 발명에 의한 호스트와 케이블카드간의 소켓 프로세스를 제어한다. 즉, 케이블카드로부터 수신한 뉴 플로우 요청 메세지를 수신하여, 에러 메세지 컨트롤 필드의 값을 분석한다. 또한 데이터 전송에 대한 에러 메세지를 수신하면, 에러 메세지 컨트롤 필드의 값에 따라 에러 처리를 제어한다. 위에서 서술한 소켓 프로세스에 관한 내용은 본 제어부에 적용될 수 있다. It also controls the socket process between the host and the cable card according to the present invention. That is, a new flow request message received from the cable card is received and the value of the error message control field is analyzed. When an error message for data transmission is received, the error processing is controlled according to the value of the error message control field. The above-described socket process may be applied to the controller.

상기 저장부(920)는 상기 제어부(930)의 제어신호에 따라 필요한 정보를 저장 및 추출하고, 본 발명에서는 상기 제어부의 제어 신호에 의하여, 상기 스크램블 여부가 판단된 스트림의 정보가 저장된다. The storage unit 920 stores and extracts necessary information according to the control signal of the controller 930. In the present invention, the information on the stream in which the scramble is determined is stored by the control signal of the controller.

상기 카드 인터페이스부(222)에는 상기 케이블 카드(950)가 삽입된다. 카드 인터페이스부는 호스트 내부에 위치할 수도 있고, 상기 케이블카드(950)에 위치할 수도 있으며, 양자에 함께 존재할 수도 있다. 본 발명에 따라, 상기 제어부가 케이블 카드와 메세지를 주고 받거나 데이터를 주고 받을 때, 통신의 통로가 된다.The cable card 950 is inserted into the card interface unit 222. The card interface unit may be located in the host, may be located in the cable card 950, may be present together. According to the present invention, when the control unit exchanges a message with a cable card or exchanges data, the control unit is a passage for communication.

상기 케이블 통신부(940)는 네트워크 통신을 담당한다. 본 발명에서 상기 케이블 통신부는 외부 서버와 연결하여, 메시지를 주고 받을 수 있다. 상기 케이블 통신부의 실시예로는 케이블 모뎀이 있다. The cable communication unit 940 is in charge of network communication. In the present invention, the cable communication unit may be connected to an external server to exchange messages. An embodiment of the cable communication unit is a cable modem.

상기 케이블카드(950)는 방송 신호 송신 주체와의 통신 경로가 된다. 또한 케이블카드 내에 제어부(951)를 구비한다. The cable card 950 serves as a communication path with the broadcast signal transmitter. In addition, a control unit 951 is provided in the cable card.

케이블카드 내의 제어부(951)는 에러 메세지 컨트롤 필드에서 에러 메세지를 케이블카드로 보고하도록 정의하는 경우에, 호스트가 케이블카드로 에러 메세지 수신을 보고하면, 이후의 단계를 결정한다. 즉, 케이블카드가 에러 처리에 대한 주체가 된다. When the controller 951 in the cable card defines to report the error message to the cable card in the error message control field, if the host reports the error message to the cable card, it determines the next step. In other words, the cable card becomes the subject for error handling.

다만, 본 실시예에서는 디스크램블(descrambling) 모듈이 케이블 카드에 구비되고, 케이블 카드는 호스트에 착탈착되도록 하고 있다. 방송국으로부터의 방송신호는 케이블 카드의 디스크램블(descrambling) 모듈을 통해 디스크램블되어 사용자에게 제공되고 있다. 그러나, 실시예에 따라서는 케이블 카드 없이 호스ㅌ 내부에 디스크램블(descrambling) 모듈이 구비되고, 디스크램블(descrambling) 모듈은 방송국 등으로부터 다운로드되도록 구성을 달리할 수 있다. 즉 방송국 등으로부터 다운로드된 디스크램블(descrambling) 모듈은 호스트내의 소정 메모리에 저장되도록 구성을 달리할 수 있다. In this embodiment, however, a descrambling module is provided in the cable card, and the cable card is attached to and detached from the host. The broadcast signal from the broadcast station is descrambled through a descrambling module of the cable card and provided to the user. However, according to an embodiment, a descrambling module is provided inside the host without a cable card, and the descrambling module may be configured to be downloaded from a broadcasting station. That is, a descrambling module downloaded from a broadcasting station or the like may have a different configuration to be stored in a predetermined memory in the host.

상기 descrambling 모듈 다운로드 받는 방법의 일예로는 셋탑 안에 미리 내장된 Security Processor가 망에 연결되면, 헤드엔드로부터 자동으로 CA(Conditional Access) 이미지를 내려 받아 수행될 수 있다. 다만, 이러한 구성의 차이가 본 발명의 권리범위를 변경하지 않음은 당연하다.As an example of the method for downloading the descrambling module, when a security processor pre-embedded in the set-top is connected to the network, the CA may automatically download a CA (Conditional Access) image from the headend. However, it is natural that the difference in configuration does not change the scope of the present invention.

이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술분야에서 통상의 지식을 가지는 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 따라서, 본 발명에 개시된 실시예들은 본 발명의 기술사상을 한정하기 위한 것이 아니라 설명하기 위한 것에 불과하고, 이러한 실시예에 의하여 본 발명의 기술사상의 범위가 한정되는 것은 아니다. 본 발명의 보호범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.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 scope of protection of the present invention should be construed according to the following claims, and all technical ideas falling within the scope of the same shall be construed as falling within the scope of the present invention.

상기에서 설명한 본 발명에 따른 데이터 송수신 방법 및 방송 수신 장치의 효과를 설명하면 다음과 같다. The effects of the data transmission and reception method and the broadcast reception device according to the present invention described above are as follows.

본 발명에 의하면, UDP 통신 중에 수신하는 에러 메세지를 처리하는 방법을 정의하여 호스트와 케이블카드의 데이터 패스(path)를 연결함으로써, 호스트 및 케이블카드의 동작을 명확히 할 수 있다. According to the present invention, it is possible to clarify the operation of the host and the cable card by defining a method of processing an error message received during UDP communication and connecting the data path of the host and the cable card.

Claims (11)

케이블 카드가 호스트로 UDP 통신용 데이터 송수신 패스를 연결하는 플로우 요청 메세지를 송신하는 단계;Sending, by the cable card, a flow request message for connecting a data transmission / reception path for UDP communication to a host; 상기 플로우 요청 메세지를 수신한 호스트가 상기 케이블 카드로 플로우 응답 메세지를 송신하는 단계를 포함하며,Sending the flow response message to the cable card by the host receiving the flow request message, 상기 플로우 요청 메세지는 UDP 통신 중 수신하는 에러 메세지의 처리 방법을 정의하는 에러 메세지 컨트롤 필드를 포함하는 것을 특징으로 하는 데이터 송수신 방법.The flow request message includes an error message control field for defining a method of processing an error message received during UDP communication. 제 1항에 있어서,The method of claim 1, 상기 에러 메세지 컨트롤 필드는 호스트가 수신한 데이터에 대한 에러 메세지 무시(ignore) 또는 대응(not ignore) 중에서 하나를 구현하도록 정의하는 것을 특징으로 하는 데이터 송수신 방법.The error message control field is defined to implement one of the error message (ignore) or not (ignore) for the data received by the host. 제 1항에 있어서,The method of claim 1, 상기 에러 메세지 컨트롤 필드는 호스트가 수신한 데이터에 대한 에러 메세지를 상기 케이블카드로 보고(report)하도록 구현하도록 정의하는 것을 특징으로 하는 데이터 송수신 방법.The error message control field is defined to implement to report an error message for the data received by the host to the cable card. UDP 통신 중 수신하는 에러 메세지의 처리 방법을 정의하는 에러 메세지 컨트롤 필드를 포함하는 플로우 요청 메세지를 호스트가 수신하는 단계;Receiving, by the host, a flow request message including an error message control field defining a method of processing an error message received during UDP communication; 상기 호스트가 케이블카드와 소켓 프로세스로 연결되어, 케이블카드로부터 데이터를 수신하는 단계;The host is connected to a cable card and a socket process to receive data from the cable card; 상기 케이블카드로부터 수신한 데이터를 외부 서버로 전송한 후, 전송된 데이터에 대한 에러 메세지를 수신하는 단계;Transmitting data received from the cable card to an external server and receiving an error message for the transmitted data; 상기 에러 메세지 컨트롤 필드의 값에 따라서 상기 호스트가 상기 수신한 에러 메세지를 처리하는 단계를 포함하는 것을 특징으로 하는 데이터 송수신 방법.And processing, by the host, the received error message according to a value of the error message control field. 제 4항에 있어서,5. The method of claim 4, 상기 에러 메세지 컨트롤 필드가 상기 수신하는 에러 메세지를 무시(ignore)하도록 처리 방법을 정의하는 경우,If the error message control field defines a processing method to ignore the received error message, 상기 호스트는 상기 에러 메세지 컨트롤 필드의 값에 따라서 상기 수신한 에러 메세지를 무시 처리하는 것을 특징으로 하는 데이터 송수신 방법.And the host ignores the received error message according to a value of the error message control field. 제 4항에 있어서,5. The method of claim 4, 상기 에러 메세지 컨트롤 필드가 상기 수신하는 에러 메세지에 대응하도록 처리 방법을 정의하는 경우,When the error message control field defines a processing method corresponding to the received error message, 상기 호스트는 상기 에러 메세지 컨트롤 필드의 값에 따라서 상기 호스트는 상기 케이블카드로 데이터의 에러 발생 지시 메세지를 전송하는 단계;The host sending an error occurrence indication message of data to the cable card according to a value of the error message control field; 상기 케이블카드는 상기 호스트로의 데이터 전송을 중단하고, 플로우 종료 요청 메세지를 상기 호스트로 전송하는 단계;The cable card stopping data transmission to the host and transmitting a flow end request message to the host; 상기 호스트는 소켓 프로세스를 종료하는 단계를 더 포함하는 것을 특징으로 하는 데이터 송수신 방법.The host further comprises the step of terminating the socket process. 제 6항에 있어서,The method according to claim 6, 상기 에러 발생은 에러 발생 지시 메세지의 리즌 필드(reson field)에서 정의되는 것을 특징으로 하는 데이터 송수신 방법.The occurrence of the error is a method of transmitting and receiving data, characterized in that defined in the reason (reson field) of the error occurrence indication message. 제 4항에 있어서,5. The method of claim 4, 상기 에러 메세지 컨트롤 필드가 상기 수신하는 에러 메세지를 상기 케이블카드로 보고하도록 처리 방법을 정의하는 경우,If the error message control field defines a processing method to report the received error message to the cable card, 상기 호스트는 상기 에러 메세지 컨트롤 필드의 값에 따라서 상기 호스트는 상기 케이블카드로 데이터의 에러 발생을 보고하는 단계;The host reporting an error occurrence of data to the cable card according to the value of the error message control field; 상기 케이블카드는 데이터 전송의 진행 여부를 결정하여, 상기 호스트로 알려주는 단계를 더 포함하는 것을 특징으로 하는 데이터 송수신 방법.The cable card further comprises the step of determining whether to proceed with the data transmission, and notifying the host characterized in that the data transmission and reception method. 방송 신호 송신 주체와의 통신 경로인 케이블카드;A cable card, which is a communication path with a broadcast signal transmitter; 방송 수신기와 외부 서버를 연결하여 네트워크 통신을 수행하는 케이블 통신부; 및 A cable communication unit for connecting a broadcast receiver and an external server to perform network communication; And 상기 케이블카드로부터 데이터를 수신하여, 상기 케이블 통신부를 통하여 외부 서버와 통신하여 데이터를 송수신하는 호스트를 포함하며,A host for receiving data from the cable card and communicating with an external server through the cable communication unit to transmit and receive data; 상기 케이블카드와 상기 호스트는 UDP 통신 중 수신하는 에러 메세지의 처리 방법을 정의하는 에러 메세지 컨트롤 필드를 포함 플로우 요청 메세지에 의하여 연결되며, 상기 에러 메세지 컨트롤 필드의 값에 따라서 상기 호스트가 상기 수신한 에러 메세지를 처리하는 것을 특징으로 하는 방송 수신 장치.The cable card and the host are connected by a flow request message including an error message control field defining a method of processing an error message received during UDP communication, and the error received by the host according to the value of the error message control field. A broadcast receiving device characterized by processing a message. 제 9항에 있어서,10. The method of claim 9, 상기 에러 메세지 컨트롤 필드는 호스트가 수신한 데이터에 대한 에러 메세지 무시(ignore) 또는 대응(not ignore) 중에서 하나를 구현하도록 정의하는 것을 특징으로 하는 방송 수신 장치.The error message control field is defined to implement one of the error message (ignore) or not (ignore) for the data received by the host. 제 9항에 있어서,10. The method of claim 9, 상기 에러 메세지 컨트롤 필드는 호스트가 수신한 데이터에 대한 에러 메세지를 상기 케이블카드로 보고(report)하도록 구현하도록 정의하는 것을 특징으로 하는 방송 수신 장치.The error message control field is defined to implement to report an error message for the data received by the host to the cable card.
KR1020070056589A 2007-06-11 2007-06-11 A method for sending and receiving data and broadcasting receiver KR101319895B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020070056589A KR101319895B1 (en) 2007-06-11 2007-06-11 A method for sending and receiving data and broadcasting receiver
US12/155,138 US7924701B2 (en) 2007-06-11 2008-05-29 Data transmitting and receiving method and broadcasting receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070056589A KR101319895B1 (en) 2007-06-11 2007-06-11 A method for sending and receiving data and broadcasting receiver

Publications (2)

Publication Number Publication Date
KR20080108702A KR20080108702A (en) 2008-12-16
KR101319895B1 true KR101319895B1 (en) 2013-10-18

Family

ID=40368272

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070056589A KR101319895B1 (en) 2007-06-11 2007-06-11 A method for sending and receiving data and broadcasting receiver

Country Status (1)

Country Link
KR (1) KR101319895B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6901049B1 (en) 1998-11-10 2005-05-31 Cisco Technology Method and apparatus for supporting header suppression and multiple microflows in a network
KR20050053140A (en) * 2003-12-02 2005-06-08 삼성전자주식회사 Ip packet error handling apparatus and method using the same, and computer readable medium on which program executing the method is recorded

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6901049B1 (en) 1998-11-10 2005-05-31 Cisco Technology Method and apparatus for supporting header suppression and multiple microflows in a network
KR20050053140A (en) * 2003-12-02 2005-06-08 삼성전자주식회사 Ip packet error handling apparatus and method using the same, and computer readable medium on which program executing the method is recorded

Also Published As

Publication number Publication date
KR20080108702A (en) 2008-12-16

Similar Documents

Publication Publication Date Title
US8627392B1 (en) Proxy addressing scheme for cable networks
US8429461B2 (en) Apparatus and method for diagnosing cablecard-related status and performing proper processing according to diagnosis result in opencable system, opencable host, and opencable reception apparatus
US9706243B2 (en) Broadcasting receiver and a method of determining an operation mode of broadcasting receiver
CA2536177C (en) Cable modem termination system having a gateway for transporting out-of-band messaging signals
US20090106806A1 (en) Broadcast receiver and system information processing method
US20090133056A1 (en) Broadcasting system and method of processing emergency alert message
US9210479B2 (en) Broadcasting receiver and method of interfacing resource information between a host device and a pod, sending host device resource information and obtaining host device resource information
KR20080010897A (en) Method and apparatus for communication between embedded cable modem and embedded settop box
KR101319895B1 (en) A method for sending and receiving data and broadcasting receiver
US8826356B2 (en) Cable modem and data receiving method thereof
KR20090013060A (en) Host device, pod(a point of deployment) and method for identifying operation mode
US7924701B2 (en) Data transmitting and receiving method and broadcasting receiver
US7836478B2 (en) Ethernet port control method and apparatus of digital broadcasting system
EP2051519A2 (en) A host device interfacing with a point of deployment (POD) and a method of processing digital video recorder (DVR) status information
US20090083454A1 (en) Host device, a point of deployment (POD), and a method of identifying an operation mode
KR20080108701A (en) A method for sending and receiving data and broadcasting receiver
EP1959644B1 (en) Broadcasting receiver and communication method using the broadcasting receiver
US7724647B2 (en) Method and system for fast channel change in a DOCSIS set top gateway device
KR20090003897A (en) Broadcasting receiver and processing method for broadcasting signal
KR20080009992A (en) Broadcasting receiver and interfacing method

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20160923

Year of fee payment: 4