KR20120082261A - Integrated processing method of digital broadcasting standard and apparatus for receving a broadcasting signal - Google Patents

Integrated processing method of digital broadcasting standard and apparatus for receving a broadcasting signal Download PDF

Info

Publication number
KR20120082261A
KR20120082261A KR1020110003652A KR20110003652A KR20120082261A KR 20120082261 A KR20120082261 A KR 20120082261A KR 1020110003652 A KR1020110003652 A KR 1020110003652A KR 20110003652 A KR20110003652 A KR 20110003652A KR 20120082261 A KR20120082261 A KR 20120082261A
Authority
KR
South Korea
Prior art keywords
request
tid
section
pid
standard
Prior art date
Application number
KR1020110003652A
Other languages
Korean (ko)
Other versions
KR101213453B1 (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 KR1020110003652A priority Critical patent/KR101213453B1/en
Publication of KR20120082261A publication Critical patent/KR20120082261A/en
Application granted granted Critical
Publication of KR101213453B1 publication Critical patent/KR101213453B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/46Receiver circuitry for the reception of television signals according to analogue transmission standards for receiving on more than one standard at will
    • 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/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8543Content authoring using a description language, e.g. Multimedia and Hypermedia information coding Expert Group [MHEG], eXtensible Markup Language [XML]

Landscapes

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

Abstract

PURPOSE: A digital broadcast standard integrated processing method and broadcast reception apparatus therefor are provided to syntagmatically process service information data in digital broadcast environment by creating a data transmission table. CONSTITUTION: A parser(505) parses an XML(eXtensible Markup Language) file corresponding to established standard. A table object creation unit(507) creates a table object corresponding to the established standard. A service information request reception unit(509) transmits the PID(Packet Identification) and TID(Table Identification) of a table related to the request to a section filter(109) in case the request is received from an application. A table creation unit(511) creates a table. A service information manager(501) requests the creation of the parsing and the table object to the parser and the table object creation unit.

Description

디지털 방송 표준 통합 처리 방법 및 이를 위한 방송 수신 장치{INTEGRATED PROCESSING METHOD OF DIGITAL BROADCASTING STANDARD AND APPARATUS FOR RECEVING A BROADCASTING SIGNAL}Integrated processing method for digital broadcasting standard and broadcast receiving device therefor {INTEGRATED PROCESSING METHOD OF DIGITAL BROADCASTING STANDARD AND APPARATUS FOR RECEVING A BROADCASTING SIGNAL}

본 발명의 일 실시예들은 디지털 방송 표준 통합 처리 방법 및 이를 위한 방송 수신 장치에 관한 것으로서, 더욱 상세하게는 다양한 표준이 존재하는 디지털 방송 환경에서 서비스 인포메이션 데이터를 통합적으로 처리할 수 있는 디지털 방송 표준 통합 처리 방법 및 이를 위한 방송 수신 장치에 관한 것이다.Embodiments of the present invention relate to a digital broadcasting standard integrated processing method and a broadcast receiving device therefor, and more particularly, to a digital broadcasting standard integrated for integrating a service information data in a digital broadcasting environment in which various standards exist. A processing method and a broadcast receiving device therefor.

디지털 방송은 아날로그 방송보다 시청자에게 더 나은 영상과 음성을 제공하며 다양한 서비스 및 다양한 채널을 제공한다. 하지만, 디지털 방송을 위한 표준이 다양하게 존재하면서 각 국가에서는 다양한 표준들 중에 사용할 표준을 선택해야 하고, 디지털 방송 기기를 만드는 기업들은 국가들의 표준에 맞는 기기들을 각각 만들어야 하는 문제점이 발생하게 된다. 또한 방송사 측에서도 방송 프로그램을 수출하기 위해서는 각 국의 표준에 맞게 부가 정보의 데이터를 변경해야 하는 문제점이 발생한다.Digital broadcasting provides viewers with better video and audio than analog broadcasting, and offers a variety of services and channels. However, as there are various standards for digital broadcasting, each country has to select a standard to use among various standards, and companies that make digital broadcasting devices have to make devices that meet the national standards. Also, in order to export broadcast programs, broadcasters also have to change the data of additional information in accordance with the standards of their respective countries.

이러한 문제점을 해결하기 위해 여러 디지털 방송 표준을 모두 지원하기 위한 통합 미들웨어에 관한 연구가 진행되었다.In order to solve this problem, researches on integrated middleware to support all digital broadcasting standards have been conducted.

종래의 기술 중 디지털 방송 표준을 모두 지원하기 위한 미들웨어 시스템은 다양한 표준의 프로파일을 다루기 위해 적용하고자 하는 표준들의 프로파일을 공통 모듈의 상단에 배치하고 이를 통합적으로 적용하기 위한 공통 모듈을 제공하여 동적으로 적절한 프로파일을 로딩하는 방식을 제안하였다. 하지만 동적으로 프로파일을 선택하는 방식으로 인해 성능이 느려지는 단점이 있었다.The middleware system for supporting all digital broadcasting standards among the related arts dynamically places a profile of standards to be applied to handle various standard profiles on the top of a common module and provides a common module for integrating them. A method of loading a profile has been proposed. However, the method of dynamically selecting a profile has a disadvantage of slowing down performance.

또한 XML을 이용한 서비스 인포메이션 처리 기법이 제안되었다. 이는 서비스 인포메이션을 통합적으로 처리할 수 있는 기법으로서는 큰 의미가 있지만, 모든 표준의 테이블들의 섹션 포맷(Section Format)을 XML로 만들어야 하는 단점이 있고, 추상적인 구조의 제안으로 실제로 구현하기에 어려움이 있었다.In addition, a service information processing technique using XML has been proposed. This is significant as a technique for integrating service information, but it has a disadvantage of making the section format of all standard tables in XML, and it is difficult to actually implement it by suggesting an abstract structure. .

상기한 바와 같이 종래기술의 문제점을 해결하기 위해, 본 발명에서는 디지털 방송 표준 통합 처리 방법 및 이를 위한 방송 수신 장치를 제공하자 한다.In order to solve the problems of the prior art as described above, the present invention is to provide a digital broadcast standard integrated processing method and a broadcast receiving device therefor.

상기한 목적을 달성하기 위해 본 발명의 바람직한 일실시예에 따르면, 디지털 방송 표준 통합 처리를 위한 방송 수신 장치로서, 복수의 표준 중 현재 설정된 표준에 상응하는 XML파일을 파싱하는 파서; 상기 현재 설정된 표준에 상응하는 테이블 오브젝트를 생성하는 테이블 오브젝트 생성부; 어플리케이션으로부터 요청이 수신되는 경우, 상기 요청과 관련된 테이블의 PID(Packet ID) 및 TID(Table ID)를 섹션 필터로 전달하는 서비스 인포메이션 요청 수신부; 상기 테이블 오브젝트 및 상기 섹션 필터에서 필터링된 상기 PID 및 TID를 갖는 섹션을 이용하여 테이블을 생성하는 테이블 생성부; 및 상기 파서 및 테이블 오브젝트 생성부에 상기 현재 설정된 표준에 상응하는 파일의 파싱 및 테이블 오브젝트의 생성을 요청하는 서비스 인포메이션 매니저를 포함하되, 상기 서비스 인포메이션 요청 수신부는 상기 테이블 생성부에 의해 생성된 테이블을 이용하여 데이터를 생성하고 상기 데이터를 상기 어플리케이션으로 전달하는 것을 특징으로 하는 방송 수신 장치가 제공된다.According to a preferred embodiment of the present invention to achieve the above object, a broadcast receiving device for digital broadcast standard integration processing, Parser for parsing an XML file corresponding to the currently set standard of a plurality of standards; A table object generation unit generating a table object corresponding to the currently set standard; A service information request receiver configured to transmit a PID (Packet ID) and a TID (Table ID) of a table related to the request to a section filter when a request is received from an application; A table generator for generating a table using the section having the PID and the TID filtered by the table object and the section filter; And a service information manager requesting the parser and the table object generation unit to parse a file corresponding to the currently set standard and to generate a table object, wherein the service information request receiving unit is configured to generate a table generated by the table generation unit. Provided is a broadcast receiving device, characterized in that for generating data and transferring the data to the application.

여기서, 상기 복수의 표준에 대한 테이블 클래스 파일들이 저장된 위치 정보를 가진 제1 XML파일과 상기 복수의 표준 별로 테이블 이름, PID 및 TID 정보 중 적어도 하나를 가진 복수의 제2 XML파일을 포함하는 XML파일 저장부를 더 포함할 수 있다.Here, a first XML file having location information storing table class files for the plurality of standards and an XML file including a plurality of second XML files having at least one of table name, PID, and TID information for each of the plurality of standards. The storage unit may further include.

상기 파서는 상기 제1 XML파일을 파싱하여 상기 현재 설정된 표준에 대한 테이블 클래스가 저장된 위치 정보를 추출하고, 상기 테이블 오브젝트 생성부는 상기 위치에 저장되어 있는 테이블 클래스 파일들을 이용하여 테이블 오브젝트를 생성할 수 있다.The parser parses the first XML file to extract location information storing a table class for the currently set standard, and the table object generator may generate a table object using table class files stored at the location. have.

상기 테이블 오브젝트 생성부는 복수의 표준에 대한 테이블 클래스 파일들을 저장해 놓는 테이블 클래스 파일 저장부; 및 상기 파서로부터 상기 추출된 위치 정보를 전달받고, 상기 테이블 클래스 파일 저장부의 상기 위치에 저장된 테이블 클래스 파일을 이용하여 테이블 오브젝트를 생성하는 테이블 오브젝트 복제부를 포함할 수 있다.The table object generation unit may include a table class file storage unit which stores table class files for a plurality of standards; And a table object replication unit receiving the extracted location information from the parser and generating a table object using a table class file stored at the location of the table class file storage unit.

여기서, 상기 파서는 상기 현재 설정된 표준에 상응하는 제2 XML파일을 파싱하여 상기 요청과 관련된 TID에 해당하는 테이블 이름을 추출하고, 상기 테이블 생성부는 상기 테이블 오브젝트 생성부로부터 상기 테이블 이름에 해당하는 테이블 오브젝트를 전달 받고, 상기 전송 받은 테이블 오브젝트에 상기 PID 및 TID를 갖는 섹션에 포함된 데이터를 삽입하여 상기 테이블을 생성할 수 있다.Here, the parser parses a second XML file corresponding to the currently set standard to extract a table name corresponding to the TID associated with the request, and the table generator generates a table corresponding to the table name from the table object generator. The table may be generated by receiving an object and inserting data included in a section having the PID and the TID into the received table object.

상기 테이블 생성부는 상기 섹션 필터에 의해 필터링된 상기 PID 및 상기 TID를 갖는 섹션을 전달 받는 섹션 수신부; 상기 파서로부터 상기 TID에 해당하는 테이블 이름을 전달 받는 테이블 이름 수신부; 상기 테이블 오브젝트 생성부로부터 상기 테이블 이름에 해당하는 테이블 오브젝트를 전달 받는 테이블 오브젝트 수신부; 및 상기 테이블 오브젝트에 상기 PID 및 TID를 갖는 섹션에 포함된 데이터를 삽입하여 테이블을 생성하는 섹션 데이터 삽입부를 포함할 수 있다.The table generator may include a section receiver configured to receive a section having the PID and the TID filtered by the section filter; A table name receiving unit receiving a table name corresponding to the TID from the parser; A table object receiver configured to receive a table object corresponding to the table name from the table object generator; And a section data insertion unit for generating a table by inserting data included in a section having the PID and the TID into the table object.

상기 테이블 생성부는 상기 테이블을 생성한 후 상기 테이블을 캐시에 저장하는 것을 특징으로 할 수 있다.The table generator may generate the table and store the table in a cache.

상기 서비스 인포메이션 요청 수신부는 상기 캐시에 저장된 테이블 이용하여 상기 요청 및 상기 현재 설정된 표준에 상응하는 형태의 데이터를 생성하여 상기 어플리케이션으로 전달할 수 있다.The service information request receiving unit may generate data of a form corresponding to the request and the currently set standard using the table stored in the cache and transmit the generated data to the application.

상기 서비스 인포메이션 요청 수신부는 상기 어플리케이션의 요청을 받는 요청 메신저; 상기 요청과 관련된 테이블들의 PID 및 TID를 상기 섹션 필터로 전달하는 요청 처리부; 및 상기 요청과 관련된 테이블이 상기 캐시에 저장되었는지 확인하는 테이블 생성 확인부를 포함하되 상기 요청 처리부는 상기 테이블이 캐시에 저장된 것이 확인 되는 경우 상기 테이블을 이용하여 상기 요청 및 상기 현재 설정된 표준에 상응하는 형태의 데이터를 생성하여 상기 어플리케이션으로 전달할 수 있다.The service information request receiving unit includes a request messenger receiving a request of the application; A request processing unit for transferring the PID and TID of tables related to the request to the section filter; And a table generation confirmation unit for confirming whether a table related to the request is stored in the cache, wherein the request processing unit corresponds to the request and the currently set standard using the table when it is confirmed that the table is stored in the cache. It can generate the data of and deliver it to the application.

상기 어플리케이션은 상기 JavaTV API의 SIManager Class를 이용하여 현재 시청하고 있는 방송에 대한 정보를 상기 요청 메신저에 요청할 수 있다.The application may request the request messenger for information on a broadcast currently being viewed using the SIManager Class of the JavaTV API.

또한, 본 발명의 다른 일 실시예에 따르면 디지털 방송 표준 통합 처리 방법으로서 복수의 표준 중 현재 설정된 표준에 상응하는 XML파일을 파싱하는 단계; 상기 현재 설정된 표준에 상응하는 테이블 오브젝트를 생성하는 단계; 어플리케이션으로부터 요청이 수신되는 경우, 상기 요청과 관련된 테이블의 PID(Packet ID) 및 TID(Table ID)를 섹션 필터로 전달하는 단계; 상기 테이블 오브젝트 및 상기 섹션 필터에서 필터링된 상기 PID 및 TID를 갖는 섹션을 이용하여 테이블을 생성하는 단계; 상기 생성된 테이블을 이용하여 데이터를 생성하고 상기 데이터를 상기 어플리케이션으로 전달하는 단계를 포함하는 것을 특징으로 하는 디지털 방송 표준 통합 처리 방법이 제공된다.According to another embodiment of the present invention, there is provided a digital broadcasting standard integrated processing method comprising: parsing an XML file corresponding to a currently set standard among a plurality of standards; Generating a table object corresponding to the currently set standard; When a request is received from an application, transferring a PID (Packet ID) and a TID (Table ID) of a table related to the request to a section filter; Generating a table using the table object and a section having the PID and the TID filtered by the section filter; And generating data using the generated table and delivering the data to the application.

본 발명에 따르면, 다양한 표준이 존재하는 디지털 방송 환경에서 서비스 인포메이션 데이터를 통합적으로 처리할 수 있다.According to the present invention, service information data may be integrated in a digital broadcasting environment in which various standards exist.

도 1은 디지털 방송 환경의 데이터 흐름 과정을 도시한 도면이다.
도 2는 디지털 방송의 표준에서 지원하는 테이블을 도시한 도면이다.
도 3은 MPEG-2 표준의 Private Section Format을 도시한 도면이다.
도 4는 본 발명의 일 실시예에 따른 통합 미들웨어의 시스템을 도시한 도면이다.
도 5는 본 발명의 일 실시예에 따른 서비스 인포메이션 모듈을 포함하는 방송 수신 장치의 일례를 도시한 도면이다.
도 6은 본 발명의 일 실시예에 따른 파서의 상세한 구성을 도시한 블록도이다.
도 7은 본 발명의 일 실시예에 따른 테이블 오브젝트 생성부의 상세한 구성을 도시한 블록도이다.
도 8은 본 발명의 일 실시예에 따른 테이블 생성부의 상세한 구성을 도시한 블록도이다.
도 9는 본 발명의 일 실시예에 따른 서비스 인포메이션 요청 수신부의 상세한 구성을 도시한 블록도이다.
도 10은 본 발명의 일 실시예에 따른 XML파일의 구조를 나타낸 도면이다.
도 11은 본 발명의 일 실시예에 따른 디지털 방송 표준 통합 처리 방법의 전체적인 흐름을 도시한 순서도이다.
1 is a diagram illustrating a data flow process in a digital broadcasting environment.
2 is a diagram illustrating a table supported by a standard of digital broadcasting.
3 is a diagram illustrating a private section format of the MPEG-2 standard.
4 is a diagram illustrating a system of integrated middleware according to an embodiment of the present invention.
5 is a diagram illustrating an example of a broadcast receiving device including a service information module according to an embodiment of the present invention.
6 is a block diagram showing a detailed configuration of a parser according to an embodiment of the present invention.
7 is a block diagram illustrating a detailed configuration of a table object generation unit according to an embodiment of the present invention.
8 is a block diagram illustrating a detailed configuration of a table generator according to an embodiment of the present invention.
9 is a block diagram illustrating a detailed configuration of a service information request receiving unit according to an embodiment of the present invention.
10 is a diagram showing the structure of an XML file according to an embodiment of the present invention.
11 is a flowchart illustrating the overall flow of a digital broadcasting standard integrated processing method according to an embodiment of the present invention.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였다. 이하에서, 본 발명에 따른 실시예들을 첨부된 도면을 참조하여 상세하게 설명한다.
As the invention allows for various changes and numerous embodiments, particular embodiments will be illustrated in the drawings and described in detail in the written description. It should be understood, however, that the invention is not intended to be limited to the particular embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention. In describing the drawings, similar reference numerals are used for similar elements. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 디지털 방송 환경의 데이터 흐름 과정을 도시한 도면이다.1 is a diagram illustrating a data flow process in a digital broadcasting environment.

도 1을 참조하면, 방송사(101)에서는 오디오, 비디오 및 부가 데이터인 서비스 인포메이션, DSM-CC등의 데이터들을 MPEG-2 표준의 Transport Stream(이하, TS라고 칭함) 패킷(packet) 형태로 변환하고 멀티플랙싱(Multiplexing)하여 TS 형태로 송출한다.Referring to FIG. 1, the broadcaster 101 converts data such as service information, DSM-CC, etc. which are audio, video, and additional data into a transport stream (hereinafter, referred to as TS) packet form of the MPEG-2 standard. Multiplexing and transmitting in TS format.

이때 오디오 비디오가 포함된 TS Packet들은 전송 중에 손실되더라도 실시간 방송을 위해 한번만 TS에 실리게 되고, 서비스 인포메이션과 DSM-CC의 데이터가 포함된 TS 패킷들은 전송 중에 손실될 경우를 대비하여 여러 번 TS에 실리게 된다.At this time, TS packets including audio and video are loaded on the TS only once for real time broadcasting even if they are lost during transmission, and TS packets containing service information and data of DSM-CC are repeatedly sent to TS in case of loss during transmission. Will be loaded.

이때 각 가정에 있는 디지털 TV 또는 디지털 TV 셋탑박스에서는 튜너(Tuner: 103)를 통해 여러 방송사의 TS를 수신하고 시청자가 보고자 하는 방송의 주파수에 해당하는 TS를 통과시킨다.At this time, a digital TV or a digital TV set-top box in each home receives TSs of various broadcasters through a tuner (Tuner) 103 and passes TSs corresponding to frequencies of broadcasts that viewers want to see.

튜너를 통과한 TS를 디멀티플렉서(Demultiplexer: 105)에서 MPEG-2 표준에서 정의한 188 byte의 TS 패킷 단위로 디멀티플렉싱(Demultiplexing)하고, TS Packet에 있는 Packet ID(이하, PID)를 참조하여 오디오, 비디오와 같은 elementary stream 데이터를 가지고 있는 TS Packet인 경우에는 PES(Packetized Elementary Stream) packet으로 만들어서 디코딩부(107)로 보내주고, 서비스 인포메이션이나 DSM-CC 데이터와 같은 Program Specific Information(PSI) 데이터를 가지고 있는 TS 패킷인 경우에는 섹션(Section)으로 만들어서 섹션 필터 (Section filter)(109)로 보낸다.Demultiplexing TS through the tuner by Demultiplexer 105 in 188 byte TS packet unit defined in MPEG-2 standard, and referring to Packet ID (hereinafter, referred to as PID) in TS Packet for audio and video In the case of TS Packet having elementary stream data such as PES (Packed Elementary Stream) packet, the packet is sent to the decoding unit 107 and has Program Specific Information (PSI) data such as service information or DSM-CC data. In the case of a TS packet, it is made into a section and sent to the section filter 109.

PES 패킷을 받은 디코딩부(107)에서는 PES 패킷을 디코딩(Decoding)하여 시청자에게 음성과 영상을 제공하게 되고, 섹션을 받은 섹션 필터(109)에서는 시청자가 요청하는 서비스에 해당되는 PID와 Table ID(이하, TID)를 가진 섹션들을 걸러서 해당 섹션이 서비스 인포메이션 테이블의 데이터와 관련된 섹션이면 서비스 인터페이스 모듈(111)로 보내고, DSM-CC 데이터와 관련된 섹션이면 DSM-CC 모듈(113)로 보내게 된다.The decoding unit 107 receiving the PES packet decodes the PES packet to provide audio and video to the viewer. The section filter 109 receiving the PES packet has a PID and Table ID corresponding to a service requested by the viewer. Hereinafter, the sections having the TID) are filtered and the corresponding section is sent to the service interface module 111 if the section is related to the data of the service information table, and is sent to the DSM-CC module 113 if the section is related to the DSM-CC data.

서비스 인포메이션 모듈(111)과 DSM-CC 모듈(113)에서는 각각의 섹션을 DVB-MHP, OpenCable-OCAP 및 ATSC-ACAP 등의 디지털 방송 표준에 맞게 테이블 형태로 또는 파일 형태로 저장한 뒤 어플리케이션에게 데이터를 제공한다.In the service information module 111 and the DSM-CC module 113, each section is stored in a table or file format in accordance with digital broadcasting standards such as DVB-MHP, OpenCable-OCAP, and ATSC-ACAP, and then the data is stored in an application. To provide.

디지털 방송의 표준에서는 서비스 인포메이션을 위한 API를 하기의 표 1과 같이 제공한다. In the digital broadcasting standard, an API for service information is provided as shown in Table 1 below.

StandardStandard PackagePackage ClassClass DVB-MHPDVB-MHP org.dvb.siorg.dvb.si SIDatabase
SIRequest
...
SIDatabase
SIRequest
...
OpenCable-OCAPOpenCable-OCAP org.ocap.siorg.ocap.si ProgramAssociationTableManager
ProgramMapTableManager
...
ProgramAssociationTableManager
ProgramMapTableManager
...
ATSC-ACAPATSC-ACAP org.atsc.siorg.atsc.si ContentIdentification
ISANIdentification
...
ContentIdentification
ISANIdentification
...

표 1을 참조하면 DVB-MHP에서는 org.dvb.si 패키지를 제공하며, OpenCable-OCAP에서는 org.ocap.si 패키지를 제공한다. 그리고 ATSC-ACAP에서는 org.atsc.si 패키지를 제공한다.Referring to Table 1, DVB-MHP provides the org.dvb.si package, and OpenCable-OCAP provides the org.ocap.si package. ATSC-ACAP also provides the org.atsc.si package.

각 표준에서는 API들을 이용하여 서비스 인포메이션 테이블에 있는 정보들을 시청자들에게 제공한다.Each standard uses APIs to provide viewers with the information in the service information table.

도 2는 디지털 방송의 표준에서 지원하는 테이블을 도시한 도면이다.2 is a diagram illustrating a table supported by a standard of digital broadcasting.

도 2를 참조하면, 각 디지털 방송의 표준에서는 MPEG-2 표준에서 제공하는 테이블들과 상기 테이블들과 매칭(matching)되는 각 표준에서 정의한 테이블들을 섹션으로 제공한다.Referring to FIG. 2, each digital broadcasting standard provides tables provided by the MPEG-2 standard and tables defined by each standard matching the tables.

여기서, MPEG-2 표준의 테이블로는 PAT(Program Association Table), PMT(Program Map Table), CAT(Control Access Table), NIT(Network Information Table)가 있다. PAT는 PMT, NIT에 대한 정보를 담고 있으며, PMT는 오디오, 비디오 스트림에 대한 정보를 담고 있다. CAT는 해당 서비스의 보안에 대한 정보를 담고 있으며 NIT는 네트워크에 대한 정보를 담고 있다.The MPEG-2 standard tables include a program association table (PAT), a program map table (PMT), a control access table (CAT), and a network information table (NIT). PAT contains information on PMT and NIT, and PMT contains information on audio and video streams. The CAT contains information about the security of the service and the NIT contains information about the network.

모든 디지털 방송의 표준에서는 PAT, PMT, CAT를 지원하지만 NIT의 경우에는 지원하지 않는 표준이 존재한다. 이 외의 각각의 표준에서 부가서비스에 대한 정보를 담는 테이블들에 대해 살펴보도록 한다.All digital broadcasting standards support PAT, PMT, and CAT, but there are standards that do not support NIT. Let's take a look at the tables that contain information on additional services in each other standard.

DVB-MHP 표준에서는 TSDT, SDT, BAT, EIT, RST, TDT, TOT, ST, RNT, DIT를 지원하고, OpenCable-OCAP 표준에서는 NTT, SVCT, LVCT, MGT, STT, RRT, AEIT, AETT를 지원한다. 그리고 ATSC-ACAP에서는 MGT, TVCT, CVCT, RRT, EIT, ETT, STT, DCCT, DCCSCT를 지원한다.DVB-MHP standard supports TSDT, SDT, BAT, EIT, RST, TDT, TOT, ST, RNT, DIT, and OpenCable-OCAP standard supports NTT, SVCT, LVCT, MGT, STT, RRT, AEIT, AETT do. And ATSC-ACAP supports MGT, TVCT, CVCT, RRT, EIT, ETT, STT, DCCT, DCCSCT.

도 3은 MPEG-2 표준의 Private Section Format을 도시한 도면이다.3 is a diagram illustrating a private section format of the MPEG-2 standard.

도 3을 참조하면, 각각의 표준 별로 지원하는 테이블 종류는 다르지만 테이블의 섹션 포맷은 MPEG-2 표준의 Private Section Format과 동일하거나 조금 변형된 형태이다. Referring to FIG. 3, although the types of tables supported by each standard are different, the section format of the tables is the same as or slightly modified from the Private Section Format of the MPEG-2 standard.

Private Section은 private_data_byte 부분을 포함하는 바디부분과 그 외의 부분인 헤더부분으로 나눠지며 헤더부분은 파싱에 필요한 정보를 포함하며 바디부분은 전달하고자 하는 정보 데이터를 포함한다.The private section is divided into a body part including a private_data_byte part and a header part other parts. The header part includes information necessary for parsing, and the body part includes information data to be delivered.

도 4는 본 발명의 일 실시예에 따른 통합 미들웨어의 시스템을 도시한 도면이다.4 is a diagram illustrating a system of integrated middleware according to an embodiment of the present invention.

도 4를 참조하면, 통합 미들웨어 시스템(400)은 섹션 필터(109), 미들웨어 모듈(Middleware)(110), 포팅 레이어(Porting Layer)(401), Java TV API(403), 어플리케이션(Application)(405)을 포함할 수 있다.Referring to FIG. 4, the integrated middleware system 400 includes a section filter 109, a middleware module 110, a porting layer 401, a Java TV API 403, an application ( 405).

섹션 필터(109)는 섹션을 시청자가 요청하는 서비스에 해당하는 PID 및 TID를 가진 섹션으로 필터링하며, 필터링 된 섹션을 미들웨어 모듈로(110)로 전송한다.The section filter 109 filters the section to a section having a PID and a TID corresponding to a service requested by the viewer, and transmits the filtered section to the middleware module 110.

미들웨어 모듈(110)은 서비스 인포메이션 모듈(111) 및 DSM-CC 모듈(113)을 포함할 수 있다. 필터링 된 섹션이 서비스 인포메이션 테이블 또는 DSM-CC 데이터와 관련된 섹션인지에 따라 각각의 모듈은 섹션을 전송 받게 되며 미들웨어 모듈(110)은 섹션을 각각의 디지털 방송의 표준에 따라 테이블 형태 또는 파일 형태로 저장하여 데이터를 생성한다.The middleware module 110 may include a service information module 111 and a DSM-CC module 113. Depending on whether the filtered section is a section related to the service information table or DSM-CC data, each module receives the section and the middleware module 110 stores the section in a table or file format according to each digital broadcast standard. To generate the data.

JavaTV API(403)는 모든 디지털 방송 표준에 적용이 가능한 JavaTV API를 포함하며, 어플리케이션(405)은 사용자가 원하는 서비스를 선택할 수 있게 해주는 기능을 한다. 포팅 레이어(401)는 미들웨어 모듈(110)과 JavaTV API(403)를 연결시켜주는 기능을 한다.The JavaTV API 403 includes a JavaTV API applicable to all digital broadcasting standards, and the application 405 functions to allow a user to select a desired service. The porting layer 401 functions to connect the middleware module 110 and the JavaTV API 403.

JavaTV API는 다른 표준들과 마찬가지로 디지털 방송을 위해 만들어진 API지만, 다른 표준들과 다르게 하드웨어의 플랫폼을 알 수 없다는 가정하에 만들어진 API다.As with other standards, the JavaTV API is designed for digital broadcasting, but unlike other standards, it is assuming that the hardware platform is unknown.

즉 JavaTV API는 플랫폼에 독립적이므로, 본 발명에서는 모든 표준에서 지원하는 API들을 통합하는 방법을 사용할 필요 없이 모든 표준에서 사용 가능한 JavaTV API를 사용할 수 있다.That is, since the JavaTV API is platform independent, the present invention can use the JavaTV API available in all standards without using a method of integrating APIs supported by all standards.

JavaTV API에는 그래픽과 관련된 javax.tv.graphics 패키지, 부가 데이터의 위치 정보를 관리하는 javax.tv.locator 패키지, 미디어와 관련된 javax.tv.media 패키지, 타이머와 관련된 javax.tv.util 패키지, Application의 생명주기를 관리하는 javax.tv.xlet 패키지 및 서비스를 관리하는 javax.tv.service 패키지가 존재한다. The JavaTV API includes the javax.tv.graphics package for graphics, the javax.tv.locator package for managing location information for additional data, the javax.tv.media package for media, the javax.tv.util package for timers, and the Application. There is a javax.tv.xlet package that manages the life cycle and a javax.tv.service package that manages the service.

서비스 인포메이션과 관련이 있는 패키지는 javax.tv.service 패키지로, 여기에는 총 17개의 클래스들과 3개의 서브 패키지가 존재한다. 이 중에서 가장 중요한 클래스는 SIManager 클래스로서 어플리케이션(405)은 대부분 SIManager 클래스를 통해 현재 시청하고 있는 방송 정보 및 EPG와 같은 정보들을 미들웨어 모듈(110)에 요청하게 된다The package related to service information is the javax.tv.service package, which contains 17 classes and three subpackages. The most important class among these is the SIManager class, and the application 405 requests the middleware module 110 for information such as broadcast information and EPG, which are currently viewed through the SIManager class.

본 발명에서는 이 SIManager 클래스와 이후 설명할 서비스 정보 요청 수신부에 있는 요청 메신저 클래스와 포팅(Porting)을 함으로써, JavaTV API(403)와 미들웨어 모듈(110)를 연동시켜 준다. In the present invention, porting the SIManager class and the request messenger class in the service information request receiving unit to be described later, the JavaTV API 403 and the middleware module 110 are interworked.

요청 메신저를 간략히 설명하면 어플리케이션(405)의 요청을 받아 그 요청을 처리할 수 있는 클래스에게 요청을 전송해주는 역할을 한다. 즉, JavaTV API(403)를 사용하는 어플리케이션과 미들웨어의 창구 역할을 한다고 볼 수 있다.Briefly describing the request messenger serves to receive a request from the application 405 and transmit the request to a class capable of processing the request. That is, it can be said that it serves as a window of the application and the middleware using the JavaTV API (403).

이하 본 발명의 상세한 설명에서는, 서비스 인포메이션 모듈을 포함하는 방송 수신 장치에 대하 보다 자세하게 설명하도록 한다.In the following detailed description of the present invention, a broadcast receiving device including a service information module will be described in more detail.

도 5는 본 발명의 일 실시예에 따른 서비스 인포메이션 모듈을 포함하는 방송 수신 장치의 일례를 도시한 도면이다.5 is a diagram illustrating an example of a broadcast receiving device including a service information module according to an embodiment of the present invention.

도 5를 참조하면, 본 발명의 일 실시예에 따른 방송 수신 장치(500)는 서비스 인포메이션 매니저(SI Configuration Manager)(501), XML 저장부(XML File Repository)(503), 파서(Parser)(505), 테이블 오브젝트 생성부(Table Object Creator)(507), 서비스 인포메이션 요청 수신부(SI Request Receiver)(509), 테이블 생성부(Table Builder)(511), 캐시(Cache)(513)를 포함한다.Referring to FIG. 5, the broadcast receiving device 500 according to an embodiment of the present invention may include a service information manager (SI Configuration Manager) 501, an XML file repository 503, and a parser ( 505, a table object creator 507, a service information request receiver 509, a table builder 511, and a cache 513. .

서비스 인포메이션 매니저(501)는 방송 수신 장치(500)에 현재 설정된 표준에 상응하는 파일을 파싱(Parsing)하도록 파서(505)에 요청하고 표준에서 지원하는 테이블 오브젝트를 생성하도록 테이블 오브젝트 생성부(507)에 요청한다.The service information manager 501 requests the parser 505 to parse a file corresponding to the currently set standard from the broadcast receiving device 500 and generates a table object supported by the standard. Ask.

본 발명의 일 실시예에 따르면 방송 수신 장치(500)에 설정되는 표준은 사용자에 의해 방송 수신 장치(500)에서 직접 설정될 수도 있고, 방송국에서 송출하는 TS 패킷의 표준 형태에 따라 방송 수신 장치(500)에서 자동으로 설정될 수도 있다.According to an embodiment of the present invention, the standard set in the broadcast receiving apparatus 500 may be set directly by the user in the broadcast receiving apparatus 500, or may be set according to the standard type of TS packet transmitted from a broadcasting station. 500 may be automatically set.

XML 저장부(503)는 복수의 표준에 대한 각각의 테이블 클래스 파일들이 저장된 위치 정보를 가진 제1 XML파일과 복수의 표준 별 테이블 이름, PID 및 TID 정보를 가지는 복수의 제2 XML파일을 포함할 수 있다. The XML storage unit 503 may include a first XML file having location information where respective table class files for a plurality of standards are stored and a plurality of second XML files having a plurality of standard table names, PIDs, and TID information. Can be.

파서(505)는 현재 설정된 표준에 상응하는 XML파일을 파싱한다.The parser 505 parses an XML file corresponding to the currently set standard.

본 발명의 일 실시예에 따르면 파서(505)는 서비스 인포메이션 매니저(501)로부터 현재 설정된 표준에 대한 XML파일을 파싱하도록 요청을 받는 경우 제1 XML을 파싱하여 현재 설정된 표준에 대한 클래스의 위치 정보를 추출할 수 있다.According to an embodiment of the present invention, when the parser 505 receives a request from the service information manager 501 to parse the XML file for the currently set standard, the parser 505 parses the first XML to obtain location information of the class for the currently set standard. Can be extracted.

테이블 오브젝트 생성부(507)는 현재 설정된 표준에 상응하는 테이블 오브젝트를 생성한다.The table object generation unit 507 generates a table object corresponding to the currently set standard.

예를 들어, 테이블 오브젝트 생성부(507)는 서비스 인포메이션 매니저(501)로부터 현재 설정된 표준에 대한 정보를 받고, 설정된 표준에 대한 클래스의 위치 정보를 파서(505)에게 요청한다. For example, the table object generation unit 507 receives the information on the currently set standard from the service information manager 501 and requests the parser 505 for location information of the class of the set standard.

이어서, 테이블 오브젝트 생성부(507)는 파서(505)로부터 클래스의 위치 정보를 전달 받고 상기 위치에 저장되어 있는 테이블 클래스 파일들을 이용하여 테이블 오브젝트를 생성한다.Subsequently, the table object generation unit 507 receives the class location information from the parser 505 and generates the table object using the table class files stored at the location.

서비스 인포메이션 요청 수신부(509)는 어플리케이션(405)로부터 요청이 수신이 되는 경우 요청과 관련된 테이블의 PID 및 TID를 섹션 필터(109)로 전달한다.When the request is received from the application 405, the service information request receiver 509 transmits the PID and TID of the table related to the request to the section filter 109.

이어서, 테이블 생성부(511)는 테이블 오브젝트 및 섹션 필터(109)에서 필터링된 PID 및 TID를 갖는 섹션을 이용하여 테이블을 생성한 후 캐시(513)에 저장한다. 보다 상세하게 테이블 생성부(511)는 테이블 오브젝트에 섹션에 포함된 데이터를 삽입하여 테이블을 생성한다.Subsequently, the table generator 511 generates a table using the section having the PID and the TID filtered by the table object and the section filter 109 and stores the table in the cache 513. In more detail, the table generator 511 inserts data included in a section into a table object to generate a table.

여기서, 캐시(513)는 데이터가 포함된 테이블을 저장하는 장소를 의미한다.Here, the cache 513 means a place for storing a table containing data.

이때, 서비스 인포메이션 요청 수신부(509)는 캐시(513)에 저장된 테이블을 이용하여 현재 설정된 표준에 상응하는 형태의 데이터를 생성하여 어플리케이션(405)으로 전달한다.In this case, the service information request receiving unit 509 generates data in a form corresponding to the currently set standard using the table stored in the cache 513 and delivers the data to the application 405.

이하. 도 6 내지 도 9를 참조하여 방송 수신 장치(500)에 대해 보다 상세하게 설명하도록 한다.Below. The broadcast reception device 500 will be described in more detail with reference to FIGS. 6 to 9.

도 6은 본 발명의 일 실시예에 따른 파서의 상세한 구성을 도시한 블록도이다.6 is a block diagram showing a detailed configuration of a parser according to an embodiment of the present invention.

도 6을 참조하면 파서(505)는 파일 파서(File Parser)(601), DOM 파서(DOM Parser)(603), 파싱 데이터 저장부(Data storage)(605)를 포함할 수 있다.Referring to FIG. 6, the parser 505 may include a file parser 601, a DOM parser 603, and a parsed data storage 605.

파일 파서(601)는 파일을 파싱하기 위한 메소드를 지원한다.File parser 601 supports methods for parsing files.

DOM 파서(603)는 파일 파서(601)를 상속받은 파서로서 XML파일을 Document Object Model(DOM) Tree형식으로 파싱하며, 파싱 데이터 저장부(605)는 파싱된 데이터를 저장하는 장소이다.The DOM parser 603 is a parser inheriting the file parser 601 and parses an XML file in a Document Object Model (DOM) Tree format, and the parsing data storage unit 605 stores a parsed data.

서비스 인포메이션 매니저(501)에서 파일 파서(601)에게 현재 설정된 표준에 상응하는 파싱해야 할 파일들의 경로를 알려주면, 파일 파서(601)는 XML 저장부(503)안에 지정된 경로에 저장된 XML파일들을 파싱하여 파싱 데이터 저장부(605)에 저장한다.When the service information manager 501 tells the file parser 601 the path of the files to be parsed corresponding to the currently set standard, the file parser 601 parses the XML files stored in the path specified in the XML storage unit 503. Store the data in the parsing data storage unit 605.

여기서, DOM 파서(603)는 제1 XML을 파싱하여 현재 설정된 표준에 해당하는 테이블 클래스의 위치 정보를 추출하며, 제2 XML을 파싱하여 어플리케이션(405)의 요청과 관련된 테이블의 PID 및 TID에 해당하는 테이블의 이름을 추출할 수 있다.Here, the DOM parser 603 parses the first XML to extract the location information of the table class corresponding to the currently set standard, and parses the second XML to correspond to the PID and TID of the table related to the request of the application 405. You can extract the name of the table you are doing.

도 7은 본 발명의 일 실시예에 따른 테이블 오브젝트 생성부의 상세한 구성을 도시한 블록도이다.7 is a block diagram illustrating a detailed configuration of a table object generation unit according to an embodiment of the present invention.

도 7을 참조하면, 테이블 오브젝트 생성부(507)는 테이블 클래스 파일 저장부(Table Class File Storage)(701), 테이블 오브젝트 복제부(Table Object Cloner)(703)를 포함할 수 있다.Referring to FIG. 7, the table object generator 507 may include a table class file storage 701 and a table object cloner 703.

테이블 클래스 파일 저장부(701)는 복수의 표준에 대한 테이블 클래스 파일들을 저장한다.The table class file storage unit 701 stores table class files for a plurality of standards.

테이블 오브젝트 복제부(703)은 서비스 인포메이션 매니저(501)로부터 현재 설정된 표준 정보를 받는 경우 상기 표준에 해당하는 테이블 클래스들이 저장된 위치정보를 파서(505)로부터 전달 받고, 테이블 클래스 파일 저장부(701)안의 상기 위치에 저장된 테이블 클래스 파일들을 이용하여 테이블 오브젝트를 생성한다.When the table object replication unit 703 receives the currently set standard information from the service information manager 501, the table object replication unit 703 receives the location information storing the table classes corresponding to the standard from the parser 505, and the table class file storage unit 701. Create a table object using the table class files stored at this location in the table.

여기서, 테이블 오브젝트 복제부(703)는 외부에서 테이블 오브젝트에 대한 요청이 있는 경우 테이블 오브젝트를 복제하여 전달한다.Here, when there is a request for a table object from the outside, the table object replication unit 703 duplicates and transfers the table object.

도 8은 본 발명의 일 실시예에 따른 테이블 생성부의 상세한 구성을 도시한 블록도이다.8 is a block diagram illustrating a detailed configuration of a table generator according to an embodiment of the present invention.

도 8을 참조하면, 테이블 생성부(511)는 섹션 수신부(801), 테이블 이름 수신부(803), 테이블 오브젝트 수신부(805), 섹션 데이터 삽입부(807)를 포함할 수 있다.Referring to FIG. 8, the table generator 511 may include a section receiver 801, a table name receiver 803, a table object receiver 805, and a section data inserter 807.

섹션 수신부(801)는 섹션 필터(109)에서 섹션이 필터링 된 이벤트를 감지하는 경우 현재 설정된 표준에 대한 테이블의 PID 및 TID를 갖는 섹션을 전달 받는다.The section receiver 801 receives a section having a PID and a TID of a table for a currently set standard when the section filter 109 detects an event in which the section is filtered.

테이블 이름 수신부(803)는 TID를 파서(505)에 전달하고, 이어서 파서(505)로부터 TID에 해당하는 테이블 이름을 전달 받는다.The table name receiver 803 transmits the TID to the parser 505, and then receives the table name corresponding to the TID from the parser 505.

테이블 오브젝트 수신부(805)는 상기 전달 받은 테이블 이름을 이용하여 상기 테이블 이름에 해당하는 테이블 오브젝트를 테이블 오브젝트 생성부(507)로부터 전달 받는다.The table object receiving unit 805 receives the table object corresponding to the table name from the table object generating unit 507 using the received table name.

섹션 데이터 삽입부(807)는 테이블 오브젝트에 섹션에 포함된 데이터를 삽입하여 테이블을 생성하고 캐시(513)에 저장한다.The section data inserting unit 807 generates a table by inserting data included in the section into the table object and stores the table in the cache 513.

도 9는 본 발명의 일 실시예에 따른 서비스 인포메이션 요청 수신부의 상세한 구성을 도시한 블록도이다.9 is a block diagram illustrating a detailed configuration of a service information request receiving unit according to an embodiment of the present invention.

도 9를 참조하면, 서비스 인포메이션 요청 수신부(509)는 요청 메신저(901), 요청 처리부 생성부(903), 요청 처리부(905), 테이블 생성 확인부(907)을 포함할 수 있다.Referring to FIG. 9, the service information request receiving unit 509 may include a request messenger 901, a request processing unit generating unit 903, a request processing unit 905, and a table generation checking unit 907.

요청 메신저(901)는 어플리케이션(405)의 요청을 받는다.The request messenger 901 receives a request from the application 405.

본 발명의 일 실시예에 따르면, 어플리케이션(405)은 복수의 표준에 모두 적용 가능한 JavaTV API의 SIManager Class를 이용하여 현재 시청하고 있는 방송에 대한 정보를 상기 요청 메신저(901)에 요청할 수 있다.According to an embodiment of the present invention, the application 405 may request the request messenger 901 for information on the broadcast currently being viewed using the SIManager Class of the JavaTV API applicable to all of the plurality of standards.

요청 처리부 생성부(903)는 현재 설정된 표준에 해당하는 요청 처리부(905)를 생성하며 요청 처리부(905)는 어플리케이션(405)의 요청과 관련된 테이블들의 PID 및 SID를 섹션 필터(109)로 전달한다.The request processing unit generation unit 903 generates a request processing unit 905 corresponding to the currently set standard, and the request processing unit 905 transfers the PID and SID of the tables related to the request of the application 405 to the section filter 109. .

테이블 생성 확인부(907)는 요청과 관련된 테이블이 캐시(513)에 저장되었는지 확인을 하며 요청 처리부(905)는 캐시(513)에 테이블이 저장되어 있다 확인되는 경우 상기 테이블을 이용하여 어플리케이션(405)의 요청 및 현재 설정된 표준에 상응하는 형태의 데이터를 생성하여 어플리케이션(405)으로 전달한다.The table creation checker 907 checks whether the table associated with the request is stored in the cache 513. The request processor 905 uses the table when the table is stored in the cache 513. ) And data in the form corresponding to the currently set standard is transmitted to the application 405.

도 10은 본 발명의 일 실시예에 따른 XML파일의 구조를 나타낸 도면이다.10 is a diagram showing the structure of an XML file according to an embodiment of the present invention.

도 10(a)는 표준 별로 테이블 클래스 파일이 저장된 위치정보 가지고 있는 제1 XML파일의 구조를 나타낸다.FIG. 10A illustrates a structure of a first XML file having location information in which a table class file is stored for each standard.

도 10(a)를 참조하면 standards라는 최상위 태그가 있고 그 안에 standard 태그가 1개 이상 포함될 수 있다. Standard 태그 안에는 단 하나의 name 태그와 path 태그가 존재하게 된다. 여기서 name은 표준의 이름을 의미하며 path는 표준의 테이블 클래스 파일이 저장된 위치 정보 즉 경로를 의미한다.Referring to FIG. 10 (a), there is a top-level tag called standards, and one or more standard tags may be included therein. There is only one name tag and path tag in the standard tag. Where name is the name of the standard and path is the location information, or path, where the standard table class files are stored.

도 10(b)는 표준 별로 테이블과 테이블의 PID 및 TID를 저장하고 있는 제2 XML파일 중 MPEG 표준의 제2 XML파일을 나타낸 도면으로서 제2 XML파일은 표준 별로 각각 만들어지게 되며, 각 표준 별로 동일한 규칙에 의해 만들어진다. FIG. 10 (b) is a diagram illustrating a second XML file of the MPEG standard among the second XML files storing the table and the PID and TID of the table for each standard. The second XML file is created for each standard, and for each standard. Are made by the same rules.

도 10(b)를 참조하면 최상위 태그로 standard 태그가 있고 이 태그는 하나 이상의 table 태그를 포함한다. table 태그는 Table의 이름을 나타내는 name attribute를 제공하고 Table 에 해당하는 PID 와 TID의 개수가 틀리므로 하나 이상 제공된다.Referring to FIG. 10 (b), there is a standard tag as a top tag, and the tag includes one or more table tags. One or more table tags are provided because they provide a name attribute indicating the name of the table and the number of PIDs and TIDs corresponding to the table is different.

도 11은 본 발명의 일 실시예에 따른 디지털 방송 표준 통합 처리 방법의 전체적인 흐름을 도시한 순서도이다. 이하, 도 11을 참고하여 각 단계별로 수행되는 과정을 설명한다.  11 is a flowchart illustrating the overall flow of a digital broadcasting standard integrated processing method according to an embodiment of the present invention. Hereinafter, a process performed at each step will be described with reference to FIG. 11.

단계(S1100)에서는 복수의 표준에 대한 테이블 클래스 파일들이 저장된 위치 정보를 가진 제1 XML파일과 상기 복수의 표준 별로 테이블 이름, PID 및 TID 정보를 가진 복수의 제2 XML파일을 유지한다.In operation S1100, a first XML file having location information storing table class files for a plurality of standards and a plurality of second XML files having table names, PIDs, and TID information for each of the plurality of standards are maintained.

단계(S1105)에서는 제1 XML을 파싱하여 현재 설정된 표준에 대한 테이블 클래스가 저장된 위치 정보를 추출한다.In step S1105, the first XML is parsed to extract location information in which a table class for a currently set standard is stored.

이어서, 단계(S1110)에서는 상기 위치에 저장된 테이블 클래스 파일들을 이용하여 테이블 오브젝트를 생성한다.Subsequently, in step S1110, a table object is created using the table class files stored in the location.

단계(S1115)에서는 어플리케이션(405)으로부터 요청이 있는 경우 상기 요청과 관련된 테이블의 PID 및 TID를 섹션 필터(109)로 전달한다.In operation S1115, when there is a request from the application 405, the PID and TID of the table related to the request are transferred to the section filter 109.

단계(S1120)에서는 섹션 필터(109)로부터 필터링 된 상기 PID 및 TID를 갖는 섹션을 전달 받는다.In step S1120, the section having the PID and the TID filtered by the section filter 109 is received.

이어서, 단계(S1125)에서는 제2 XML파일을 파싱하여 상기 TID에 해당하는 테이블 이름을 전달 받고 단계(S1130)에서는 상기 테이블 이름에 해당하는 테이블 오브젝트를 가져온다.In operation S1125, the second XML file is parsed to receive a table name corresponding to the TID, and in operation S1130, a table object corresponding to the table name is obtained.

단계(S1135)에서는 상기 테이블 오브젝트에 상기 PID 및 TID를 갖는 섹션에 포함된 데이터를 삽입하여 테이블을 생성한다.In step S1135, a table is generated by inserting data included in a section having the PID and the TID into the table object.

단계(S1140)에서는 테이블을 이용하여 어플리케이션(405)의 요청 및 상기 현재 설정된 표준에 상응하는 형태의 데이터를 생성하고 상기 데이터를 어플리케이션(405)으로 전달한다.
In operation S1140, a data of a form corresponding to the request of the application 405 and the currently set standard is generated using the table, and the data is transmitted to the application 405.

이상과 같이 본 발명에서는 구체적인 구성 요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. 따라서, 본 발명의 사상은 설명된 실시예에 국한되어 정해져서는 아니되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등하거나 등가적 변형이 있는 모든 것들은 본 발명 사상의 범주에 속한다고 할 것이다.In the present invention as described above has been described by the specific embodiments, such as specific components and limited embodiments and drawings, but this is provided to help a more general understanding of the present invention, the present invention is not limited to the above embodiments. For those skilled in the art, various modifications and variations are possible from these descriptions. Accordingly, the spirit of the present invention should not be construed as being limited to the embodiments described, and all of the equivalents or equivalents of the claims, as well as the following claims, belong to the scope of the present invention .

101: 방송사103: 튜너
105: 디멀티플렉서107: 디코딩부
109: 섹션 필터111: 서비스 인포메이션 모듈
113: DSM-CC 모듈
400: 통합 미들웨어 시스템401: 포팅 레이어
403: JavaTV API405: 어플리케이션
500: 방송 수신 장치501: 서비스 인포메이션 매니저
503: XML 저장부505: 파서
507: 테이블 오브젝트 생성부509: 서비스 인포메이션 요청 수신부
511: 테이블 생성부513: 캐시
601: 파일 파서603: DOM 파서
605: 파싱 데이터 저장부
701: 테이블 클래스 파일 저장부703: 테이블 오브젝트 복제부
801: 섹션 수신부803: 테이블 이름 수신부
805: 테이블 오브젝트 수신부807: 섹션 데이터 삽입부
901: 요청 메신저903: 요청 처리 생성부
905: 요청 처리부907: 테이블 생성 확인부
101: Broadcaster 103: Tuner
105: demultiplexer 107: decoding unit
109: section filter 111: service information module
113: DSM-CC module
400: integrated middleware system 401: porting layer
403: JavaTV API405: Application
500: broadcast receiving device 501: service information manager
503: XML storage unit 505: parser
507: Table object generation unit 509: Service information request receiving unit
511: table generation unit 513: cache
601: File parser 603: DOM parser
605: parsing data storage
701: Table class file storage unit 703: Table object replication unit
801: section receiver 803: table name receiver
805: Table object receiving unit 807: Section data insertion unit
901: request messenger 903: request processing generation unit
905: Request processing unit 907: Table generation confirmation unit

Claims (14)

디지털 방송 표준 통합 처리를 위한 방송 수신 장치로서,
복수의 표준 중 현재 설정된 표준에 상응하는 XML파일을 파싱하는 파서;
상기 현재 설정된 표준에 상응하는 테이블 오브젝트를 생성하는 테이블 오브젝트 생성부;
어플리케이션으로부터 요청이 수신되는 경우, 상기 요청과 관련된 테이블의 PID(Packet ID) 및 TID(Table ID)를 섹션 필터로 전달하는 서비스 인포메이션 요청 수신부;
상기 테이블 오브젝트 및 상기 섹션 필터에서 필터링된 상기 PID 및 TID를 갖는 섹션을 이용하여 테이블을 생성하는 테이블 생성부; 및
상기 파서 및 테이블 오브젝트 생성부에 상기 현재 설정된 표준에 상응하는 파일의 파싱 및 테이블 오브젝트의 생성을 요청하는 서비스 인포메이션 매니저
를 포함하되,
상기 서비스 인포메이션 요청 수신부는 상기 테이블 생성부에 의해 생성된 테이블을 이용하여 데이터를 생성하고 상기 데이터를 상기 어플리케이션으로 전달하는 것을 특징으로 하는 방송 수신 장치.
A broadcast receiving device for digital broadcast standard integrated processing,
A parser for parsing an XML file corresponding to a currently set standard among a plurality of standards;
A table object generation unit generating a table object corresponding to the currently set standard;
A service information request receiver configured to transmit a PID (Packet ID) and a TID (Table ID) of a table related to the request to a section filter when a request is received from an application;
A table generator for generating a table using the section having the PID and the TID filtered by the table object and the section filter; And
A service information manager requesting the parser and table object generation unit to parse a file corresponding to the currently set standard and to generate a table object
Including,
And the service information request receiving unit generates data using the table generated by the table generating unit and delivers the data to the application.
제1항에 있어서,
상기 복수의 표준에 대한 테이블 클래스 파일들이 저장된 위치 정보를 가진 제1 XML파일과 상기 복수의 표준 별로 테이블 이름, PID 및 TID 정보 중 적어도 하나를 가진 복수의 제2 XML파일을 포함하는 XML파일 저장부
를 더 포함하는 것을 특징으로 하는 방송 수신 장치.
The method of claim 1,
An XML file storage unit including a first XML file having location information storing table class files for the plurality of standards and a plurality of second XML files having at least one of table name, PID and TID information for each of the plurality of standards
Broadcast receiving apparatus further comprises a.
제2항에 있어서,
상기 파서는 상기 제1 XML파일을 파싱하여 상기 현재 설정된 표준에 대한 테이블 클래스가 저장된 위치 정보를 추출하고,
상기 테이블 오브젝트 생성부는 상기 위치에 저장되어 있는 테이블 클래스 파일들을 이용하여 테이블 오브젝트를 생성하는 것을 특징으로 하는 방송 수신 장치.
The method of claim 2,
The parser parses the first XML file to extract location information storing a table class for the currently set standard,
And the table object generator generates a table object using table class files stored in the location.
제3항에 있어서,
상기 테이블 오브젝트 생성부는
복수의 표준에 대한 테이블 클래스 파일들을 저장해 놓는 테이블 클래스 파일 저장부; 및
상기 파서로부터 상기 추출된 위치 정보를 전달받고, 상기 테이블 클래스 파일 저장부의 상기 위치에 저장된 테이블 클래스 파일을 이용하여 테이블 오브젝트를 생성하는 테이블 오브젝트 복제부
를 포함하는 것을 특징으로 하는 방송 수신 장치.
The method of claim 3,
The table object generation unit
A table class file storage unit for storing table class files for a plurality of standards; And
Receiving the extracted position information from the parser, a table object replication unit for generating a table object using a table class file stored in the location of the table class file storage unit
Broadcast receiving apparatus comprising a.
제2항에 있어서,
상기 파서는 상기 현재 설정된 표준에 상응하는 제2 XML파일을 파싱하여 상기 요청과 관련된 TID에 해당하는 테이블 이름을 추출하고,
상기 테이블 생성부는 상기 테이블 오브젝트 생성부로부터 상기 테이블 이름에 해당하는 테이블 오브젝트를 전달 받고, 상기 전송 받은 테이블 오브젝트에 상기 PID 및 TID를 갖는 섹션에 포함된 데이터를 삽입하여 상기 테이블을 생성하는 것을 특징으로 하는 방송 수신 장치.
The method of claim 2,
The parser parses a second XML file corresponding to the currently set standard to extract a table name corresponding to the TID associated with the request.
The table generation unit receives a table object corresponding to the table name from the table object generation unit, and generates the table by inserting data included in a section having the PID and the TID into the received table object. Broadcast receiving device.
제5항에 있어서,
상기 테이블 생성부는
상기 섹션 필터에 의해 필터링된 상기 PID 및 상기 TID를 갖는 섹션을 전달 받는 섹션 수신부;
상기 파서로부터 상기 TID에 해당하는 테이블 이름을 전달 받는 테이블 이름 수신부;
상기 테이블 오브젝트 생성부로부터 상기 테이블 이름에 해당하는 테이블 오브젝트를 전달 받는 테이블 오브젝트 수신부; 및
상기 테이블 오브젝트에 상기 PID 및 TID를 갖는 섹션에 포함된 데이터를 삽입하여 테이블을 생성하는 섹션 데이터 삽입부
를 포함하는 것을 특징으로 하는 방송 수신 장치.
The method of claim 5,
The table generation unit
A section receiver configured to receive a section having the PID and the TID filtered by the section filter;
A table name receiving unit receiving a table name corresponding to the TID from the parser;
A table object receiver configured to receive a table object corresponding to the table name from the table object generator; And
A section data inserter for generating a table by inserting data included in a section having the PID and the TID into the table object.
Broadcast receiving apparatus comprising a.
제 1항에 있어서,
상기 테이블 생성부는 상기 테이블을 생성한 후 상기 테이블을 캐시에 저장하는 것을 특징으로 하는 방송 수신 장치.
The method of claim 1,
And the table generator generates the table and stores the table in a cache.
제7 항에 있어서,
상기 서비스 인포메이션 요청 수신부는
상기 캐시에 저장된 테이블 이용하여 상기 요청 및 상기 현재 설정된 표준에 상응하는 형태의 데이터를 생성하여 상기 어플리케이션으로 전달하는 것을 특징으로 하는 방송 수신 장치.
The method of claim 7, wherein
The service information request receiving unit
And generating data in a form corresponding to the request and the currently set standard by using the table stored in the cache and delivering the data to the application.
제7항에 있어서,
상기 서비스 인포메이션 요청 수신부는
상기 어플리케이션의 요청을 받는 요청 메신저;
상기 요청과 관련된 테이블들의 PID 및 TID를 상기 섹션 필터로 전달하는 요청 처리부; 및
상기 요청과 관련된 테이블이 상기 캐시에 저장되었는지 확인하는 테이블 생성 확인부를 포함하되
상기 요청 처리부는 상기 테이블이 캐시에 저장된 것이 확인 되는 경우 상기 테이블을 이용하여 상기 요청 및 상기 현재 설정된 표준에 상응하는 형태의 데이터를 생성하여 상기 어플리케이션으로 전달하는 것을 특징으로 하는 방송 수신 장치.
The method of claim 7, wherein
The service information request receiving unit
A request messenger receiving a request of the application;
A request processing unit for transferring the PID and TID of tables related to the request to the section filter; And
And a table generation check unit for checking whether a table related to the request is stored in the cache.
The request processing unit, if it is determined that the table is stored in the cache, the broadcast receiving device, characterized in that for generating the data of the form corresponding to the request and the currently set standard using the table and forwarding to the application.
제9항에 있어서,
상기 어플리케이션은 상기 JavaTV API의 SIManager Class를 이용하여 현재 시청하고 있는 방송에 대한 정보를 상기 요청 메신저에 요청하는 것을 특징으로 하는 방송 수신 장치.
10. The method of claim 9,
The application is a broadcast receiving device, characterized in that for requesting the request messenger information on the broadcast currently being viewed using the SIManager Class of the JavaTV API.
디지털 방송 표준 통합 처리 방법으로서
복수의 표준 중 현재 설정된 표준에 상응하는 XML파일을 파싱하는 단계;
상기 현재 설정된 표준에 상응하는 테이블 오브젝트를 생성하는 단계;
어플리케이션으로부터 요청이 수신되는 경우, 상기 요청과 관련된 테이블의 PID(Packet ID) 및 TID(Table ID)를 섹션 필터로 전달하는 단계;
상기 테이블 오브젝트 및 상기 섹션 필터에서 필터링된 상기 PID 및 TID를 갖는 섹션을 이용하여 테이블을 생성하는 단계; 및
상기 생성된 테이블을 이용하여 데이터를 생성하고 상기 데이터를 상기 어플리케이션으로 전달하는 단계
를 포함하는 것을 특징으로 하는 디지털 방송 표준 통합 처리 방법.
As a digital broadcasting standard integrated processing method
Parsing an XML file corresponding to a currently set standard among a plurality of standards;
Generating a table object corresponding to the currently set standard;
When a request is received from an application, transferring a PID (Packet ID) and a TID (Table ID) of a table related to the request to a section filter;
Generating a table using the table object and a section having the PID and the TID filtered by the section filter; And
Generating data using the generated table and transferring the data to the application
Digital broadcast standard integrated processing method comprising a.
제11항에 있어서,
상기 복수의 표준에 대한 테이블 클래스 파일들이 저장된 위치 정보를 가진 제1 XML파일과 상기 복수의 표준 별로 테이블 이름, PID 및 TID 정보를 가진 복수의 제2 XML파일을 유지하는 단계를
더 포함하는 것을 특징으로 하는 디지털 방송 표준 통합 처리 방법.
The method of claim 11,
Maintaining a first XML file having location information storing table class files for the plurality of standards and a plurality of second XML files having table name, PID and TID information for each of the plurality of standards;
Digital broadcast standard integrated processing method further comprising.
제12항에 있어서,
상기 XML파일을 파싱하는 단계는
상기 제1 XML파일을 파싱하여 상기 현재 설정된 표준에 대한 테이블 클래스가 저장된 위치 정보를 추출하고,
상기 테이블 오브젝트를 생성하는 단계는 상기 위치에 저장되어 있는 테이블 클래스 파일들을 이용하여 테이블 오브젝트를 생성하는 것을 특징으로 하는 디지털 방송 표준 통합 처리 방법.
The method of claim 12,
Parsing the XML file
Parsing the first XML file to extract location information storing a table class for the currently set standard;
The generating of the table object may include generating a table object using table class files stored at the location.
12항에 있어서,
상기 테이블을 생성하는 단계는,
상기 섹션 필터로부터 상기 PID 및 상기 TID를 갖는 섹션을 전달 받는 단계;
상기 제2 XML을 파싱하여 추출된 상기 TID에 해당하는 테이블 이름을 전달받는 단계;
상기 테이블 이름에 해당하는 테이블 오브젝트를 전달 받는 단계; 및
상기 테이블 오브젝트에 상기 PID 및 TID를 갖는 섹션에 포함된 데이터를 삽입하여 테이블을 생성하는 단계
를 포함하는 것을 특징으로 하는 디지털 방송 표준 통합 처리 방법.
The method of claim 12,
Generating the table,
Receiving a section having the PID and the TID from the section filter;
Receiving a table name corresponding to the TID extracted by parsing the second XML;
Receiving a table object corresponding to the table name; And
Generating a table by inserting data included in a section having the PID and the TID into the table object
Digital broadcast standard integrated processing method comprising a.
KR1020110003652A 2011-01-13 2011-01-13 Integrated processing method of digital broadcasting standard and apparatus for receving a broadcasting signal KR101213453B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020110003652A KR101213453B1 (en) 2011-01-13 2011-01-13 Integrated processing method of digital broadcasting standard and apparatus for receving a broadcasting signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020110003652A KR101213453B1 (en) 2011-01-13 2011-01-13 Integrated processing method of digital broadcasting standard and apparatus for receving a broadcasting signal

Publications (2)

Publication Number Publication Date
KR20120082261A true KR20120082261A (en) 2012-07-23
KR101213453B1 KR101213453B1 (en) 2012-12-18

Family

ID=46714121

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110003652A KR101213453B1 (en) 2011-01-13 2011-01-13 Integrated processing method of digital broadcasting standard and apparatus for receving a broadcasting signal

Country Status (1)

Country Link
KR (1) KR101213453B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898714A (en) * 2016-06-01 2016-08-24 武汉大学 Real-time on-demand data broadcast scheduling system and method based on XML
KR102170738B1 (en) * 2020-04-23 2020-10-27 국방과학연구소 Method, apparatus and system for transmitting and receiving message

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100870200B1 (en) 2008-04-16 2008-11-25 (주)티비스톰 Digital broadcast receiving apparutus using integrated middleware

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898714A (en) * 2016-06-01 2016-08-24 武汉大学 Real-time on-demand data broadcast scheduling system and method based on XML
KR102170738B1 (en) * 2020-04-23 2020-10-27 국방과학연구소 Method, apparatus and system for transmitting and receiving message

Also Published As

Publication number Publication date
KR101213453B1 (en) 2012-12-18

Similar Documents

Publication Publication Date Title
CA2834046C (en) Method for transmitting a broadcast service, apparatus for receiving same, and method for processing an additional service using the apparatus for receiving same
KR102637023B1 (en) Receiving devices, transmitting devices, and data processing methods
US20060184965A1 (en) Method for providing electronic program guide for digital broadcasting
US10715571B2 (en) Self-adaptive streaming medium processing method and apparatus
US10924810B2 (en) Reception device, reception method, transmission device, and transmission method
CN101558589A (en) Method and apparatus for transmitting broadcast, method and apparatus for receiving broadcast
US20170078765A1 (en) Apparatus for transmitting broadcast signal, apparatus for receiving broadcast signal, method for transmitting broadcast signal and method for receiving broadcast signal
JP2007043739A (en) Method and system for providing content description information and connection information
JP2012257234A (en) Receiver
JP6018799B2 (en) Broadcast communication system
US20050080840A1 (en) URI pointer system and method for the carriage of MPEG-4 data in an ATSC MPEG-2 transport stream file system
JP2017216717A (en) Receiver
JP2012257232A (en) Receiver and program
KR101213453B1 (en) Integrated processing method of digital broadcasting standard and apparatus for receving a broadcasting signal
US20170034066A1 (en) Transmission device, transmission method, reception device, and reception method
KR20150013110A (en) Device and method for processing bi-directional service related to broadcast program
JP6002438B2 (en) Receiving machine
KR20200035396A (en) Transmission device, transmission method, reception device, and reception method
KR100772197B1 (en) Apparatus and method for providing electronic program guide information of digital broadcasting program
KR101685157B1 (en) System and method associated real-time scheduling information of pp
JP2013009341A (en) Receiver
JP6018797B2 (en) Receiving machine
KR20210085932A (en) Method for processing additional data in digital broadcasting system and apparatus for the same
JP2013009322A (en) Receiver and broadcast transmission device
JP2013009342A (en) Receiver

Legal Events

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

Payment date: 20151002

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20160927

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee