[go: up one dir, main page]

CN1784005B - A method of accessing carousel data through the file system - Google Patents

A method of accessing carousel data through the file system Download PDF

Info

Publication number
CN1784005B
CN1784005B CN 200410018173 CN200410018173A CN1784005B CN 1784005 B CN1784005 B CN 1784005B CN 200410018173 CN200410018173 CN 200410018173 CN 200410018173 A CN200410018173 A CN 200410018173A CN 1784005 B CN1784005 B CN 1784005B
Authority
CN
China
Prior art keywords
data
file system
carousel
define
accessing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
CN 200410018173
Other languages
Chinese (zh)
Other versions
CN1784005A (en
Inventor
方向忠
廖洪涛
孙海生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
STMicroelectronics SA
Original Assignee
STMicroelectronics SA
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 STMicroelectronics SA filed Critical STMicroelectronics SA
Priority to CN 200410018173 priority Critical patent/CN1784005B/en
Priority to PCT/CN2005/000626 priority patent/WO2005109880A1/en
Publication of CN1784005A publication Critical patent/CN1784005A/en
Application granted granted Critical
Publication of CN1784005B publication Critical patent/CN1784005B/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26266Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for determining content or additional data repetition rate, e.g. of a file in a DVB carousel according to its importance

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

This invention relates to a method for addressing carousel by file, especially relating to a technology for random accessing data and effectively extracting data based on data carousel format and protocol in digital television receiving equipment. Said carousel data is a data transmitting technology applied in digital television field based on ISO/13818-6 data transmission protocol, but in standard large protocol it does not correspond with file system, the data accessing is complex. Said invention provides a method for storing data in buffer memory and corresponded with a kind of file system(such as virtual file system VFS) to obtain high speed data addressing.

Description

一种通过文件系统访问轮播数据的方法 A method of accessing carousel data through the file system

技术领域technical field

本发明涉及一种通过文件随机访问轮播数据的方法,特别是指一种在数字电视接收设备中基于数据轮播格式和协议技术对数据进行随机访问和有效提取的技术。属于数字电视接收技术领域。The invention relates to a method for randomly accessing carousel data through files, in particular to a technology for randomly accessing and effectively extracting data based on data carousel format and protocol technology in a digital television receiving device. It belongs to the technical field of digital television reception.

背景技术Background technique

数字电视接收设备泛指能够接收、解码和显示数字电视信号的硬件设备,它应用于数字电视领域,是模拟电视数字化得以实现的终端(见图1)。数字电视接收设备所接收的是数字化的图像和数据信息,因此,不同于传统的模拟电视信号的接收与处理,数字电视接收设备对数字化的图像信息和数据的接收及处理是通过其内部的CPU及与其相连接的外围器件进行的。接收系统就是在相应的硬件及操作系统的基础上开发出数字电视接收设备适用的应用程序;同样,一些专业的数字广播内容服务商也需要根据不同的数字电视接收设备的硬件性能和功能开发出相应的服务软件。Digital TV receiving equipment generally refers to hardware equipment that can receive, decode and display digital TV signals. It is used in the field of digital TV and is the terminal for realizing the digitization of analog TV (see Figure 1). Digital TV receiving equipment receives digital image and data information. Therefore, unlike the reception and processing of traditional analog TV signals, digital TV receiving equipment receives and processes digital image information and data through its internal CPU and peripheral devices connected to it. The receiving system is to develop the application program applicable to digital TV receiving equipment on the basis of corresponding hardware and operating system; similarly, some professional digital broadcast content service providers also need to develop corresponding service software.

在电视台或电视运营商的广播设备中,音机频信号与数据内容经过前端的复用器混合,形成传输流(TS流)。传输流经过调制形成电磁信号传送到数字电视接收设备中。数字电视接收设备(机顶盒)工作的原理如下:In the broadcasting equipment of a TV station or a TV operator, audio and video signals and data content are mixed through a front-end multiplexer to form a transport stream (TS stream). The transmission stream is modulated to form an electromagnetic signal and sent to the digital TV receiving device. The working principle of digital TV receiving equipment (set-top box) is as follows:

调谐/选择模块接受到电磁信号并选择一定范围的带宽。 The tuning/selection module receives the electromagnetic signal and selects a certain range of bandwidth.

解调模块才巳信号转换为数据流(Bitstreams)。 The demodulation module converts signals into data streams (Bitstreams).

Figure B2004100181732D00013
解复用模块从数据流(Bitstreams)中抽出期望信息并将其以合适的方式提供给不同的解码器,它包括与条件接收模块合作的解扰器。
Figure B2004100181732D00013
The demultiplexing module extracts the desired information from the data streams (Bitstreams) and provides them in a suitable way to different decoders, which includes a descrambler cooperating with the conditional access module.

视频解码模块转换显示的图像序列中的视频位流。 The video decoding module converts the video bitstream in the displayed image sequence.

Figure B2004100181732D00015
音频解码模块转换模拟音频信号中的音频位流。
Figure B2004100181732D00015
The audio decoding module converts the audio bit stream in the analog audio signal.

Figure B2004100181732D00016
图形引擎建立图形层在发送之前将其和对PAL/INTSC的模拟信号请求中的视频混合。
Figure B2004100181732D00016
The graphics engine builds the graphics layer to mix it with the video in the analog signal request to PAL/INTSC before sending.

前面控制板部分负责解释通过接收遥控器、无线键盘或前面板发出的用户命令。 The front panel section is responsible for interpreting user commands via the receiver remote control, wireless keypad, or front panel.

视频位流与音频位流经过图像处理器与图像相混合,变成模拟的音视频信号,输出到显示屏(电视机)上。数据流则通过解复用器流入到CPU中,由在中央处理器(CPU)上运行的系统程序进行处理。处理的结果可以与音视频流一起进行混合,输出到显示器件上。The video bit stream and the audio bit stream are mixed with the image through the image processor to become an analog audio and video signal, which is output to the display screen (television). The data stream flows into the CPU through the demultiplexer and is processed by the system program running on the central processing unit (CPU). The processed results can be mixed with the audio and video streams and output to the display device.

数字电视在原有音视频业务的基础上增加了大量的数据业务,数据通过轮播方式循环与数字电视信号一起通过TS流的方式广播到数字电视接收设备。数据轮播技术是根据ISO/IEC 13818-6标准DSM-CC技术而规定的。数据轮播方式主要有数据转盘和对象转盘两种。数字电视广播用的数据转盘是建立在DSM-CC数据转盘基础之上的,转盘中的数据以模块的形式发送,每个模块又被分割成多个大小相同的数据块。数字电视广播用的对象转盘是建立在DSM-CC对象转盘基础之上的,每个转盘代表一个特殊的服务域,该域由DSM-CC U-U对象集合构成,这些对象包括文件、目录、事件、以及流事件。根据ISO/I EC13818-6标准,数据轮播协议使用消息来封装数据与控制信息,要广播的数据的目录结构信息由数据表格服务下载初始化DSI(DownloadServerInitiate)消息和下载信息说明DII(DownloadInfoIndirection)消息传送,将实际的数据文件放入数据转盘协议所定义的DownloadDataB lock(DDB)消息中进行传送。在一个数据轮播中,除每个模块的最后一个数据块外,模块的所有数据块都具有同样的长度。模块是逻辑上独立的数据的集合,多个模块可以组成一个组(Group),多个组(Group)则组成一个超级组(SuperGroup)。服务下载初始化DSI消息描述了在超级组中的组的信息;下载信息说明DI I消息描述了组中的模块的信息。接收设备根据控制消息可以决定接收哪些模块。轮播数据的播发格式见图2。Digital TV adds a large number of data services on the basis of the original audio and video services, and the data is circulated in a carousel mode together with digital TV signals and broadcast to digital TV receiving equipment through TS streams. The data carousel technology is specified in accordance with the ISO/IEC 13818-6 standard DSM-CC technology. There are two main data carousel modes: data carousel and object carousel. The data carousel used in digital TV broadcasting is based on the DSM-CC data carousel. The data in the carousel is sent in the form of modules, and each module is divided into multiple data blocks of the same size. The object carousel used in digital TV broadcasting is based on the DSM-CC object carousel. Each carousel represents a special service domain, which is composed of a collection of DSM-CC U-U objects. These objects include files, directories, events, and stream events. According to the ISO/I EC13818-6 standard, the data carousel protocol uses messages to encapsulate data and control information, and the directory structure information of the data to be broadcast is downloaded by the data table service to initialize the DSI (DownloadServerInitiate) message and the download information description DII (DownloadInfoIndirection) message Transmission, put the actual data file into the DownloadDataBlock (DDB) message defined by the data carousel protocol for transmission. In a data carousel, all data blocks of a module have the same length except the last data block of each module. A module is a collection of logically independent data. Multiple modules can form a group (Group), and multiple groups (Group) can form a supergroup (SuperGroup). The service download initialization DSI message describes the information of the group in the super group; the download information description DI I message describes the information of the modules in the group. The receiving device can decide which modules to receive according to the control message. The broadcast format of the carousel data is shown in Figure 2.

在现代的计算技术中,数据的组织结构一般通过文件系统来实现。虚拟文件系统(VFS)是一种常用的文件系统组织结构技术。而在数字电视领域,由于通过DSM-CC方式广播的数据是通过表结构的形式广播的,如何将轮播数据与VFS文件系统结合与关联起来目前并没有特定的技术。In modern computing technology, the organizational structure of data is generally realized through the file system. Virtual File System (VFS) is a commonly used file system organizational structure technology. In the field of digital TV, since the data broadcast by DSM-CC is broadcast in the form of a table structure, there is currently no specific technology on how to combine and associate the carousel data with the VFS file system.

不管是数据转盘方法还是对象转盘方法都能够通过轮播的方式传送数据。然而,要获取这些数据,需要将它们即时装载,存放于缓存中。但是对于需要使用这些数据的应用而言,上述方法非常的不方便,耗时繁琐。本发明的方法就是针对传统技术的不足而提出的解决办法。Both the data carousel method and the object carousel method can transmit data in a carousel manner. However, to obtain these data, they need to be loaded on the fly and stored in the cache. However, for applications that need to use these data, the above method is very inconvenient, time-consuming and cumbersome. Method of the present invention is exactly the solution that proposes for the deficiency of traditional technology.

发明内容Contents of the invention

本发明要解决的技术问题是一种文件系统访问轮播数据的方法。该方法的好处是通过在数字电视接收设备设置一个数据缓冲区,从数字电视数据信号中获取的通过轮播协议传输的数据存储于数据缓冲区,数据缓冲区与文件系统相联,应用时直接以普通文件的方式访问数据,从而消除轮播数据获取的繁琐。The technical problem to be solved by the invention is a method for a file system to access carousel data. The advantage of this method is that by setting a data buffer in the digital TV receiving device, the data transmitted through the carousel protocol obtained from the digital TV data signal is stored in the data buffer, and the data buffer is connected with the file system. Access data in the form of ordinary files, thereby eliminating the cumbersomeness of carousel data acquisition.

本发明通过以下的技术方案使以上问题得到解决。本发明的方法在于设定一种缓存,通过传统的文件系统(如通过虚拟文件系统VFS)与此缓存相关联,当需要获取轮播数据时,只需打开和读取相应的文件,从而方使使用,提高数字电视接收设备的反应速度和数据利用效率。The present invention solves the above problems through the following technical solutions. The method of the present invention is to set a cache, which is associated with the cache through a traditional file system (such as through a virtual file system VFS). When it is necessary to obtain carousel data, it only needs to open and read the corresponding file, thereby Use to improve the response speed and data utilization efficiency of digital TV receiving equipment.

下面详细说明本发明的技术方案。The technical solution of the present invention will be described in detail below.

本方法的步骤:Steps in this method:

本发明提供一种基于DSM-CC转盘的传输方法,通过目录文件系统的方式来获取数据。不管是DSM-CC数据转盘协议(Data Carousel)还是对象转盘协议(Object Carousel),本方法对于它们都是适用的。这两种协议的不同只是体现在数据装载方式的不同而已。下面以数据转盘(或称数据轮播)为例来说明如何建立缓存和将文件系统与轮播数据关联起来,从而达到通过文件系统来有效获取数据的目的。The invention provides a transmission method based on a DSM-CC turntable, which acquires data through a directory file system. This method is applicable to both DSM-CC Data Carousel and Object Carousel. The difference between the two protocols is only reflected in the way the data is loaded. The following takes the data carousel (or data carousel) as an example to illustrate how to establish a cache and associate the file system with the carousel data, so as to achieve the purpose of effectively obtaining data through the file system.

要进行DSM-CC轮播数据的装载,并将它们与文件系统进行关联,To load the DSM-CC carousel data and associate them with the file system,

一般有下列几个子模块:Generally, there are several sub-modules as follows:

1.Service Gateway:负责提供对外公用接口,并且协调该系统各个模块的任务执行;1. Service Gateway: Responsible for providing external public interfaces and coordinating the task execution of each module of the system;

2.Cache:负责存储有关的文件数据,并提供技寻和删除功能;2. Cache: responsible for storing relevant file data, and providing technical search and deletion functions;

3.DSM FS:DSM文件系统,提供与上层文件系统进行关联的操作接口。3. DSM FS: DSM file system, which provides an operation interface associated with the upper file system.

Cache(缓存)的作用:cache用来存取已经装载的数据,使得无需经常地装载数据。当缓存一个Carousel时,将首先接收所有的服务下载初始化DS I和下载信息说明DII消息,将整个文件系统结构缓存下来,但应用调用某个文件时,临时从信道中获取,并缓存下来。当使用完一个文件并被关闭后,可以将其所占用内存也被释放。Cache的结构以DDB作为缓存的基本单元,一个Carousel对应Group链表,每个Group节点指向一个MoGule链表,每个Module节点指向一个DDB链表。Cache的结构见图5。The role of Cache (cache): The cache is used to access the loaded data, so that the data does not need to be loaded frequently. When caching a Carousel, it will first receive all service download initialization DSI and download information description DII messages, and cache the entire file system structure. However, when an application calls a file, it will temporarily obtain it from the channel and cache it. When a file is used and closed, the memory it occupies can also be released. The structure of the Cache uses DDB as the basic unit of the cache. A Carousel corresponds to a Group linked list, each Group node points to a MoGule linked list, and each Module node points to a DDB linked list. The structure of Cache is shown in Figure 5.

与文件系统的关联(DSM FS):DSM-CC数据cache本身并没有一个约定俗成的文件系统,为了数据获取的方便,应该将Cache数据与一个文件系统关联,使得可以通过文件系统来访问数据。上层的文件系统的组织结构与Cache的组织并不需要相同。DSM-CC与文件系统(如VFS)一般需要定义文件系统关联必须的数据结构和函数。Association with the file system (DSM FS): The DSM-CC data cache itself does not have a conventional file system. For the convenience of data acquisition, the cache data should be associated with a file system so that the data can be accessed through the file system. The organizational structure of the upper file system does not need to be the same as that of the Cache. DSM-CC and file systems (such as VFS) generally need to define the necessary data structures and functions associated with the file system.

下面通过附图对本发明的方法来做进一步的说明。The method of the present invention will be further described below by means of the accompanying drawings.

附图说明Description of drawings

图1是数字电视设备工作的框图。数字电视信号进入接收设备,经过解调和解复用模块的处理,将音视频信号和数据信号分开,数据信号中所携带的事件信息数据经过处理和存储,用于显示在电手见机屏幕上。Figure 1 is a block diagram of digital television equipment work. The digital TV signal enters the receiving device and is processed by the demodulation and demultiplexing module to separate the audio and video signal from the data signal. The event information carried in the data signal is processed and stored for display on the TV screen.

图2显示了轮播数据的组织结构。在数据轮播中,传输的数据被存储到模块(Module)中;而每个模块被分成若干数据块(Block)。在一个数据轮播中,除每个模块的最后一个数据块外,模块的所有数据块都具有同样的长度。模块是逻辑上独立的数据的集合,多个模块可以组成一个组(Group),多个纽(Group)则组成一个超级组(SuperGroup)。数据轮播协议使用消息来封装数据与控制信息。数据由DDB消息携带;控制则由下载信息说明DII,服务下载初始化DSI等消息携带。服务下载初始化DSI消息描述了在超级组中的组的信息;下载信息说明DII消息描述了组中的模块的信息。接收设备根据控制消息可以决定接收哪些模块。Figure 2 shows the organizational structure of the carousel data. In the data carousel, the transmitted data is stored in modules (Module); and each module is divided into several data blocks (Block). In a data carousel, all data blocks of a module have the same length except the last data block of each module. A module is a collection of logically independent data. Multiple modules can form a group (Group), and multiple buttons (Group) can form a supergroup (SuperGroup). The data carousel protocol uses messages to encapsulate data and control information. The data is carried by the DDB message; the control is carried by the download information description DII, service download initialization DSI and other messages. The service download initialization DSI message describes the group information in the super group; the download information description DII message describes the module information in the group. The receiving device can decide which modules to receive according to the control message.

图3显示了文件系统的结构。在本发明中,Flash模块作为文件系统的一个驱动,它是可读可写的存储模块;DSMCC作为文件系统的另一个驱动,它是可读而不可写的,因为它是一个循环轮播的系统,写是没有意义的。Figure 3 shows the structure of the file system. In the present invention, the Flash module is a readable and writable storage module as a driver of the file system; DSMCC is readable and unwritable as another driver of the file system, because it is a circular carousel system, writing is pointless.

图4显示了DSM-CC数据的模块结构以及与文件系统的关联。Org.dvb.dsmcc模块通过SG接口指示需要将某个轮播(Carousel)装载入Cache。然后VFS使可以通过文件系统的常用函数进行数据的访问。Figure 4 shows the module structure of DSM-CC data and its association with the file system. The Org.dvb.dsmcc module indicates through the SG interface that a certain carousel needs to be loaded into the Cache. Then VFS enables data access through common functions of the file system.

图5显示了Cache的组织结构:Cache采用层次存储结构,按DSI(Carousel Node)->DI I(Group Node)->Module分类。Figure 5 shows the organizational structure of Cache: Cache adopts a hierarchical storage structure, which is classified according to DSI (Carousel Node)->DI I (Group Node)->Module.

以下结合具体的实施实例对本发明作进一步的详细说明。The present invention will be further described in detail below in conjunction with specific implementation examples.

具体实施方式Detailed ways

具体的实施方式如下:The specific implementation is as follows:

1.获得轮播数据的信息1. Obtain the information of carousel data

装载程序映射表PMT,分析stream_identifier_descriptor描述子,装载事件信息表EIT或业务描述表SDT,分析data_broadcast_descriptor描述子,获取数据播发的包标识符PID信息和轮播的类型和轮播的级别等信息。Load the program mapping table PMT, analyze the stream_identifier_descriptor descriptor, load the event information table EIT or business description table SDT, analyze the data_broadcast_descriptor descriptor, obtain the packet identifier PID information of the data broadcast and the type and level of the carousel.

调用MBT_SilGetCarouselInfo()获取需要的data_broadcast_descriptor描述子。Call MBT_SilGetCarouselInfo() to obtain the required data_broadcast_descriptor descriptor.

2.关联轮播2. Associate carousel

Figure B2004100181732D00051
在DSM-CC模块启动时,根据获得的data_broadcast_descriptor描述子,调用MBT_DIAttachGateway()将对应的数据轮播挂载到VFS的文件系统上。
Figure B2004100181732D00051
When the DSM-CC module starts, according to the obtained data_broadcast_descriptor descriptor, call MBT_DIAttachGateway() to mount the corresponding data carousel to the VFS file system.

调用MBT_DIDetachGateway()可以取消关联,并卸载DSM-CC文件系统。 Call MBT_DIDetachGateway() to disassociate and unmount the DSM-CC file system.

在关联轮播数据时,需要装载服务下载初始化DSI和下载信息说明DII表以获取具体的数据组织结构。与虚拟文件系统VFS关联时,需要进行以下的操作:When associating the carousel data, it is necessary to load the service download initialization DSI and download information description DII table to obtain the specific data organization structure. When associating with the virtual file system VFS, the following operations are required:

a)定义DSM-CC文件系统的类型:其名称为:″dsmfs″;a) Define the type of DSM-CC file system: its name is: "dsmfs";

b)定义文件系统super_block和inode的结构;b) Define the structure of the file system super_block and inode;

c)定义文件系统super_operation操作的三个方法:void(*read_inode)(structinode*),void(*put_super)(struct super_block*),int(*statfs)(struct super_block*,struct statfs*,int)c) Define three methods of file system super_operation: void(*read_inode)(structinode*), void(*put_super)(struct super_block*), int(*statfs)(struct super_block*, struct statfs*, int)

d)定义文件系统file inode操作需要的四个方法:dsmfs_file_operations,dsmfs_file_inode_create,dsmfs_inode_lookup,dsmfs_inode_unlink;d) Define four methods required for file system file inode operations: dsmfs_file_operations, dsmfs_file_inode_create, dsmfs_inode_lookup, dsmfs_inode_unlink;

e)定义文件系统dir inode操作需要的三个方法:dsmfs_dir_operations,dsmfs_inode_lookup,dsmfs_inode_unlink;e) Define three methods required for file system dir inode operations: dsmfs_dir_operations, dsmfs_inode_lookup, dsmfs_inode_unlink;

f)定义文件系统file_operation读写的三个方法:dsmfs_file_read,dsmfs_file_write,dsmfs_file_readdir\f) Define three methods for reading and writing file system file_operation: dsmfs_file_read, dsmfs_file_write, dsmfs_file_readdir\

g)定义文件系统dir operation目录操作的读取方法:dsmfs_dir_readdir;g) Define the reading method of the file system dir operation directory operation: dsmfs_dir_readdir;

h)定义DSM-CC文件系统注册到VFS文件系统的方法:h) Define the method of registering the DSM-CC file system to the VFS file system:

register_filesystem(&dsmfs_fs_type);register_filesystem(&dsmfs_fs_type);

i)定义DSM-CC文件系统的注销的方法:i) Define the method of logging out of the DSM-CC file system:

unregister_filesystem(&romfs_fs_type)。unregister_filesystem(&romfs_fs_type).

按照上述步骤,通过实现所述的结构和方法,将DSM-CC与VFS文件系统就关联了起来。According to the above steps, by implementing the structure and method, the DSM-CC is associated with the VFS file system.

3.文件操作3. File operation

调用VFS文件系统操作的函数访问文件,此时装载DDB消息以提供具体的数据。Call the function of the VFS file system operation to access the file, and load the DDB message at this time to provide specific data.

最后所应说明的是:本发明提供的是一种通过文件系统访问轮播数据的方法及其设计思想,以上实施例仅用以说明而非限制本发明的技术方案,尽管参照上述实施例对本发明进行了详细说明,本领域的普通技术人员应当理解:依然可以对本发明进行修改或者等同替换,而不脱离本发明的精神和范围的任何修改或局部替换,其均应涵盖在本发明的权利要求范围当中。Finally, it should be noted that: the present invention provides a method for accessing carousel data through a file system and its design concept. The above embodiments are only used to illustrate and not limit the technical solutions of the present invention. The invention has been described in detail, and those of ordinary skill in the art should understand that: the present invention can still be modified or equivalently replaced, and any modification or partial replacement without departing from the spirit and scope of the present invention should be covered by the rights of the present invention. within the required range.

Claims (7)

1.一种通过文件系统访问轮播数据的方法,其特征在于,包括:1. A method for accessing carousel data through a file system, comprising: 1)通过Service Gateway模块获取轮播数据信息;1) Obtain carousel data information through the Service Gateway module; 2)根据Service Gateway模块接口指示,将获取的轮播数据信息装载入Cache缓存数据模块中,进行轮播数据与文件系统模块的关联;2) According to the Service Gateway module interface instruction, load the obtained carousel data information into the Cache cache data module, and associate the carousel data with the file system module; 3)通过文件系统模块进行数据访问;3) Data access through the file system module; 其中,所述文件系统为虚拟文件系统VFS;Wherein, the file system is a virtual file system VFS; 将轮播数据与虚拟文件系统VFS关联的操作包括:The operations for associating the carousel data with the virtual file system VFS include: A.定义DSM-CC文件系统的类型;A. Define the type of DSM-CC file system; B.定义文件系统super_block和inode的结构;B. Define the structure of the file system super_block and inode; C.定义文件系统super_operation操作的方法;C. Define the method of file system super_operation operation; D.定义文件系统file inode操作的方法;D. Define the method of file system file inode operation; E.定义文件系统dir inode操作的方法;E. Define the method of file system dir inode operation; F.定义文件系统file_operation读写的方法;F. Define the method of reading and writing the file system file_operation; G.定义文件系统dir operation目录操作的读取方法;G. Define the reading method of the file system dir operation directory operation; H.定义DSM-CC文件系统注册到虚拟文件系统VFS的方法;H. Define the method for registering the DSM-CC file system to the virtual file system VFS; I.定义DSM-CC文件系统的注销方法。I. Define the logout method of the DSM-CC file system. 2.根据权利要求1所述的一种通过文件系统访问轮播数据的方法,其特征在于,在所述1)中的获取轮播数据信息包括:装载程序映射表PMT,分析stream_identifier_descriptor描述子,装载事件信息表EI T或业务描述表SDT,分析data_broadcast_descriptor描述子,获取数据播发的包标识符PID信息、轮播的类型和轮播的级别;调用MBT_SilGetCarouselInfo函数获取需要的data_broadcast_descriptor描述子。2. A method for accessing carousel data through a file system according to claim 1, wherein the acquisition of carousel data information in said 1) includes: loading program mapping table PMT, analyzing stream_identifier_descriptor descriptor, Load the event information table EIT or the service description table SDT, analyze the data_broadcast_descriptor descriptor, obtain the packet identifier PID information of the data broadcast, the type of carousel and the level of the carousel; call the MBT_SilGetCarouselInfo function to obtain the required data_broadcast_descriptor descriptor. 3.根据权利要求1所述的一种通过文件系统访问轮播数据的方法,其特征在于,在所述2)中的将获取的轮播数据信息装载入Cache数据模块时,首先装载服务下载初始化DSI和下载信息说明DII消息。3. A method for accessing carousel data through a file system according to claim 1, characterized in that, when the obtained carousel data information is loaded into the Cache data module in said 2), at first load the service Download Initialization DSI and Download Information Description DII messages. 4.根据权利要求1所述的一种通过文件系统访问轮播数据的方法,其特征在于,在所述2)中的进行轮播数据与文件系统的关联包括:在DSM-CC启动时,根据获得的data_broadcast_descriptor描述子,调用MBT_DlAttachGateway函数将对应的轮播数据挂载到文件系统上。4. A method for accessing carousel data through a file system according to claim 1, wherein associating the carousel data with the file system in said 2) comprises: when DSM-CC starts, According to the obtained data_broadcast_descriptor descriptor, call the MBT_DlAttachGateway function to mount the corresponding carousel data to the file system. 5.根据权利要求4所述的一种通过文件系统访问轮播数据的方法,其特征在于,调用MBT_DIDetachGateway函数取消所述轮播数据与文件系统的关联并卸载文件系统。5. A method for accessing carousel data through a file system according to claim 4, characterized in that calling the MBT_DIDetachGateway function to cancel the association between the carousel data and the file system and uninstall the file system. 6.根据权利要求1-5任一项所述的一种通过文件系统访问轮播数据的方法,其特征在于,所述文件系统为树形文件系统。6. A method for accessing carousel data through a file system according to any one of claims 1-5, wherein the file system is a tree file system. 7.根据权利要求1-5任一项所述的一种通过文件系统访问轮播数据的方法,其特征在于,该方法处理的具体的数据轮播格式和协议为符合ISO/IEC 13818-6标准所规范的数据轮播和对象轮播或者为通过其他传输协议传送的其他格式数据。7. A method for accessing carousel data through a file system according to any one of claims 1-5, characterized in that, the specific data carousel format and protocol processed by the method conform to ISO/IEC 13818-6 The data carousel and object carousel regulated by the standard or data in other formats transmitted through other transmission protocols.
CN 200410018173 2004-05-09 2004-05-09 A method of accessing carousel data through the file system Expired - Lifetime CN1784005B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN 200410018173 CN1784005B (en) 2004-05-09 2004-05-09 A method of accessing carousel data through the file system
PCT/CN2005/000626 WO2005109880A1 (en) 2004-05-09 2005-05-08 A method for accessing carousel data via file system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410018173 CN1784005B (en) 2004-05-09 2004-05-09 A method of accessing carousel data through the file system

Publications (2)

Publication Number Publication Date
CN1784005A CN1784005A (en) 2006-06-07
CN1784005B true CN1784005B (en) 2010-11-24

Family

ID=35320596

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410018173 Expired - Lifetime CN1784005B (en) 2004-05-09 2004-05-09 A method of accessing carousel data through the file system

Country Status (2)

Country Link
CN (1) CN1784005B (en)
WO (1) WO2005109880A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101358501B1 (en) 2007-12-14 2014-02-05 엘지전자 주식회사 Data broadcast receiver and method for gathering data boadcasting application
CN106686444B (en) * 2016-12-30 2020-02-28 深圳市九洲电器有限公司 Object carousel data downloading method and system based on DSM-CC protocol

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1277778A (en) * 1998-06-12 2000-12-20 皇家菲利浦电子有限公司 Transmission system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001008176A (en) * 1999-06-24 2001-01-12 Matsushita Electric Ind Co Ltd Broadcast receiver
GB2357922A (en) * 1999-12-07 2001-07-04 Sony Service Ct Optimising a data carousel
JP2002044547A (en) * 2000-07-26 2002-02-08 Sharp Corp Digital TV broadcast receiver
GB0111008D0 (en) * 2001-05-04 2001-06-27 Koninkl Philips Electronics Nv Recording of interactive applications

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1277778A (en) * 1998-06-12 2000-12-20 皇家菲利浦电子有限公司 Transmission system

Also Published As

Publication number Publication date
CN1784005A (en) 2006-06-07
WO2005109880A1 (en) 2005-11-17

Similar Documents

Publication Publication Date Title
US6678463B1 (en) System and method for incorporating previously broadcast content into program recording
JP4035209B2 (en) Receiver for cyclic packet data transmission system
US9264757B2 (en) Service executing apparatus
JP4135251B2 (en) Information processing device
US20030231855A1 (en) Scalable programmable video recorder
US20080151058A1 (en) Method for Acquiring Video Data by Using Camera Mobile Phone as Computer Camera
BRPI9907903B1 (en) decoder for a digital audiovisual transmission system and method for processing digital images in a decoder for a digital audiovisual transmission system
AU2002302869B2 (en) Recording of interactive applications
AU2002302869A1 (en) Recording of interactive applications
JP4378780B2 (en) Receiving apparatus and receiving method
CN1750637A (en) Broadcast metadata format independent of transmission standard
CN1825902A (en) Image reproduction device and method for channel map update
CN1784005B (en) A method of accessing carousel data through the file system
WO2005109865A1 (en) A method for realizing embedded digital television service platform
US8208799B2 (en) Method and system for PVR software buffer management to support software passage
EP1113608A2 (en) Methods and apparatus for accessing synchronized broadcast data
CN1125561C (en) Method and device for service data management in television system
US20120117607A1 (en) Transport Stream, Data Processing Device and Digital Television for Intermittently Updating Firmware
KR20050014619A (en) Digital Broadcast Receiving Apparatus For Storing And Executing Application, And Method For The Same
KR100447184B1 (en) Method and apparatus for realizing network game through PVR system
WO2005109868A1 (en) A method for improving the efficiency of extracting eit
CN115633220A (en) A method for demultiplexing and filtering PAT data distribution
Metzler et al. LINUX DVB API
Lin et al. An Interactive Media Platform Scheme for DTV Receiver Compliant with MHP
KR100913696B1 (en) Data broadcasting receiver

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Granted publication date: 20101124

CX01 Expiry of patent term