JP3473151B2 - Broadcast receiving apparatus and method - Google Patents
Broadcast receiving apparatus and methodInfo
- Publication number
- JP3473151B2 JP3473151B2 JP03377095A JP3377095A JP3473151B2 JP 3473151 B2 JP3473151 B2 JP 3473151B2 JP 03377095 A JP03377095 A JP 03377095A JP 3377095 A JP3377095 A JP 3377095A JP 3473151 B2 JP3473151 B2 JP 3473151B2
- Authority
- JP
- Japan
- Prior art keywords
- file
- data
- page
- teletext
- program
- 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 - Fee Related
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Television Systems (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、文字放送等のデータ放
送番組を視聴する際に、受信中の番組データを視聴する
だけでなく、番組データを効率良く蓄積することによ
り、任意の番組を自由に選択して見ることのできる文字
放送受信装置およびその方法に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention not only watches the program data being received but also efficiently stores the program data when watching a data broadcasting program such as a character broadcast. The present invention relates to a teletext receiver and a method thereof that can be freely selected and viewed.
【0002】[0002]
【従来の技術】近年、放送電波を利用して、文字や図形
からなるニュース、天気予報、株式市場などの文字図形
情報を、家庭のテレビジョン受像機の画面に映し出すこ
とのできる符号化伝送方式の文字放送が実用化され、こ
の符号化伝送方式の文字放送を受信する受信装置内蔵の
テレビジョン受像機も開発されている。2. Description of the Related Art In recent years, a coded transmission system capable of displaying news, weather forecasts, stock market, and other text and graphic information consisting of text and graphics on the screen of a home television receiver by using broadcast radio waves. Has been put into practical use, and a television receiver with a built-in receiving device for receiving the character broadcast of this coded transmission system has also been developed.
【0003】以下に、従来の文字放送受信機について、
図面を参照しながら説明する。図14は従来の文字放送
受信機の構成を示すものである。図14において141
はシステム全体を制御するCPU、142は動作プログ
ラムを保持する記憶部である。aはテレビの映像信号
で、143は映像信号aから垂直帰線区間に重畳されて
いる文字放送データを抜き取るための文字信号抜き取り
部、144は文字信号抜き取り部143で抜き取った文
字放送データのデコードを行ない、表示するための文字
図形の表示データに展開するデコード部である。145
は文字信号抜き取り部143で抜き取った文字放送デー
タのみを蓄積しておくデータ記憶部、146はデータ記
憶部145の文字放送データの制御コードにより文字放
送データを管理するためのメモリ管理部、147はデコ
ード部144で文字図形に展開した表示データを保持す
る表示メモリ、148は表示メモリ147から表示デー
タを取り出しすためのメモリアドレス制御を行なう表示
制御部、149は表示メモリ147から文字放送データ
を読み出して実際に表示するためのテレビモニタであ
る。Below, regarding the conventional teletext receiver,
A description will be given with reference to the drawings. FIG. 14 shows the configuration of a conventional teletext receiver. 141 in FIG.
Is a CPU that controls the entire system, and 142 is a storage unit that holds an operation program. a is a video signal of the television, 143 is a character signal extracting unit for extracting the character broadcast data superimposed on the vertical blanking interval from the video signal a, and 144 is decoding of the character broadcast data extracted by the character signal extracting unit 143. Is a decoding unit that performs the above process and develops into display data of a character graphic for display. 145
Is a data storage unit for storing only the teletext data extracted by the text signal extraction unit 143, 146 is a memory management unit for managing the teletext data according to the control code of the teletext data of the data storage unit 145, and 147 is A display memory for holding display data expanded into a character graphic by the decoding unit 144, a display control unit 148 for performing memory address control for taking out display data from the display memory 147, and a display controller 149 for reading character broadcast data from the display memory 147. It is a TV monitor for actual display.
【0004】以上のように構成された文字放送受信装置
について、以下その動作について説明する。文字放送信
号抜き取り部143は入力された映像信号aから、垂直
帰線消去区間14H(277H)、15H(278
H)、16H(279H)、21H(284H)の4つ
の伝送路に重畳されている文字信号を抜き取る。The operation of the teletext receiving apparatus configured as described above will be described below. The teletext signal extracting unit 143 extracts vertical blanking intervals 14H (277H) and 15H (278) from the input video signal a.
H), 16H (279H), and 21H (284H), the character signals superimposed on the four transmission lines are extracted.
【0005】文字放送データは、4つの垂直帰線消去区
間の伝送路にそれぞれ22バイトづつ重畳されている
(この22バイトデータが1パケット)。Twenty-two bytes of the teletext data are superimposed on the transmission lines of the four vertical blanking intervals (22-byte data is one packet).
【0006】文字放送に関する規格の詳細は「文字放送
技術ハンドブック、放送技術開発開発協議会、兼六間出
版」に記述されている。明細書で記載している「番
組」、「ページ」の定義は、この文字放送技術ハンドブ
ックに従う。Details of the standard relating to teletext are described in "Teletext Broadcasting Handbook, Broadcasting Technology Development and Development Council, Kenrokugen Publishing". The definitions of "program" and "page" described in the specification follow this teletext technical handbook.
【0007】CPU141は、抜き取った文字放送デー
タをメモリ管理部146を介してデータ記憶部145に
蓄積する。また、CPU141は、データ記憶部145
からメモリ管理部146を介して文字放送データを読み
出す。そしてデコード部144により、テレビモニタに
文字や図形を表示するための文字図形データ(表示デー
タ)に変換して、表示メモリ147に書き込む。表示制
御部148は文字図形データを表示メモリ147から読
み出してテレビモニタ149に表示する。The CPU 141 stores the extracted teletext data in the data storage unit 145 via the memory management unit 146. In addition, the CPU 141 uses the data storage unit 145.
To read the teletext data from the memory management unit 146. Then, the decoding unit 144 converts the data into character / graphic data (display data) for displaying characters and graphics on the television monitor, and writes the character / graphic data in the display memory 147. The display control unit 148 reads the character graphic data from the display memory 147 and displays it on the television monitor 149.
【0008】CPU141は、あらかじめ予約した文字
放送の番組を優先的にデータ記憶部145に蓄積する機
能を有する。さらにデータ記憶部145の残りメモリ容
量に応じて、逐次受信した文字放送データを格納する。The CPU 141 has a function of preferentially accumulating reserved teletext programs in the data storage unit 145. Further, the teletext data that is sequentially received is stored according to the remaining memory capacity of the data storage unit 145.
【0009】以下に、図15、図16、図17を用いて
メモリ管理部146によるデータ記憶部145の制御方
法について、図面を参照しながら説明する。図15は、
データ記憶部145とメモリ管理部146の内部構成
で、逐次受信した文字放送データをパケット毎に格納す
るためのN個のメモリブロックと、メモリブロックを管
理するための位置テーブルから成る。位置テーブルは、
メモリブロックと1対1に対応しており、メモリブロッ
クに対してリングメモリを形成している。A method of controlling the data storage unit 145 by the memory management unit 146 will be described below with reference to FIGS. 15, 16 and 17. Figure 15 shows
The internal configuration of the data storage unit 145 and the memory management unit 146 includes N memory blocks for storing sequentially received teletext data for each packet and a position table for managing the memory blocks. The position table is
There is a one-to-one correspondence with the memory block, and a ring memory is formed for the memory block.
【0010】すなわち位置テーブル1は位置テーブル
2、位置テーブル2は位置テーブル3、そして位置テー
ブルNは位置テーブル1を指している。逐次受信した文
字放送データは、リングメモリに書き込まれる。リング
メモリでは、受信した文字放送データがデータ記憶部1
45のメモリ容量を越えると、古い文字放送データが格
納されているメモリブロックから順に新しいデータに更
新される。That is, the position table 1 indicates the position table 2, the position table 2 indicates the position table 3, and the position table N indicates the position table 1. The teletext data sequentially received is written in the ring memory. In the ring memory, the received teletext data is stored in the data storage unit 1
When the memory capacity of 45 is exceeded, new data is sequentially updated from the memory block in which old teletext data is stored.
【0011】図16aは逐次受信したパケットデータを
実際にメモリブロックに格納する時のパケットフォーマ
ットで、番組、ページ情報とパケットデータから成る。
先にも述べたが、パケットデータは、逐次受信したもの
から格納する。この時、パケットデータは、文字放送番
組の番組の内容が連続しているわけではないので、パケ
ットフォーマットには番組、ページ情報が必要になる。FIG. 16a shows a packet format for actually storing sequentially received packet data in a memory block, which consists of programs, page information and packet data.
As described above, the packet data is stored from the one received sequentially. At this time, in the packet data, since the content of the teletext program is not continuous, the packet format requires the program and page information.
【0012】図16bはメモリブロックに逐次パケット
を格納した場合のメモリ内部図である。番組5の2ペー
ジ目をテレビモニタに表示する場合、メモリブロックの
番組とページ情報から、番組5の2ページ目を検索して
パケットデータをデコード部144によって、文字図形
に展開して表示メモリ147に転送する。FIG. 16b is an internal view of the memory when the packets are sequentially stored in the memory block. When the second page of the program 5 is displayed on the television monitor, the second page of the program 5 is searched from the program and page information in the memory block, the packet data is expanded by the decoding unit 144 into a character graphic, and the display memory 147 is displayed. Transfer to.
【0013】このとき、もし番組5の2ページ目がデー
タ記憶部145に存在しない時、データが送られてくる
まで待つことになる。At this time, if the second page of the program 5 does not exist in the data storage section 145, it waits until the data is sent.
【0014】次に、予約した場合について図17を用い
て述べる。図17は予約を用いる場合のデータ記憶部1
45とメモリ管理部146の内部構成で、図15で示し
た内容に予約テーブルが付加されている。ユーザが文字
放送番組を予約すると、その番組が優先されてメモリに
格納される。予約テーブルは、予約した番組と優先割り
付けされたメモリブロックの番号からなる。図17で
は、番組番号100を予約する場合に、メモリブロック
1、2を確保し、メモリブロック1、2と残りのメモリ
ブロック3〜Nはそれぞれ別々のリングメモリを構成し
ていることを示している。Next, the case of reservation will be described with reference to FIG. FIG. 17 shows the data storage unit 1 when reservation is used.
In the internal configurations of the memory management unit 45 and the memory management unit 146, a reservation table is added to the content shown in FIG. When a user reserves a teletext program, the program is prioritized and stored in the memory. The reservation table is composed of reserved programs and the numbers of memory blocks that are prioritized. FIG. 17 shows that when the program number 100 is reserved, the memory blocks 1 and 2 are secured, and the memory blocks 1 and 2 and the remaining memory blocks 3 to N respectively form separate ring memories. There is.
【0015】予約されている文字放送番組をテレビモニ
タに表示する場合、予約用に確保したメモリから、ペー
ジを検索し、デコード部144によって、文字図形に展
開して表示メモリ147に転送する。When a reserved teletext program is displayed on the television monitor, a page is retrieved from the memory reserved for reservation, and the decoding unit 144 develops it into a character graphic and transfers it to the display memory 147.
【0016】以上のようにして、従来の文字放送受信機
では、文字放送番組を蓄積、表示していた。As described above, the conventional teletext receiver stores and displays teletext programs.
【0017】[0017]
【発明が解決しようとする課題】しかしながら従来装置
では、2つの問題点があった。一つは文字放送番組のメ
モリ管理が十分でないことである。これはメモリの使用
効率を上げるために、データ記憶部に対して、リングメ
モリ形式で管理し、また文字放送番組をファイルとして
管理するのではなく、文字放送番組を構成する要素であ
るパケット単位で管理していた。よって、任意の文字放
送番組のページにアクセスする場合には、そのページデ
ータのパケットを集めて表示していた。また、リングメ
モリでは、メモリが一杯になると、古いデータから順番
に消されるので、ページデータの有無の管理ができなか
った。However, the conventional device has two problems. One is that the memory management of teletext programs is not sufficient. This is to manage the data storage unit in a ring memory format and to manage the teletext program as a file in order to improve the memory usage efficiency. I was in control. Therefore, when accessing a page of an arbitrary teletext program, packets of the page data are collected and displayed. Further, in the ring memory, when the memory is full, old data is erased in order, so that it is impossible to manage the presence or absence of page data.
【0018】もう一つはメモリ容量におけるコストの問
題である。例えば、NHKの文字放送番組をすべてメモ
リに格納する場合、少なくとも約1Mバイト必要とな
る。従来装置では、文字放送番組の蓄積に200Kバイ
ト程度のメモリしか実装しておらず、1Mバイトのメモ
リを実装しようとするとコスト高となっていた。Another problem is the cost of memory capacity. For example, if all NHK teletext programs are stored in the memory, at least about 1 MB is required. In the conventional device, only a memory of about 200 Kbytes is installed to store teletext programs, and it is costly to install a memory of 1 Mbyte.
【0019】本発明は上記従来の問題点を解決するため
になされたもので、文字放送番組のメモリ管理問題とメ
モリ容量の問題を解決するために、文字放送番組の複数
ページを一つのファイルとしてファイル管理する。そし
て、圧縮して格納することにより、見かけ上のメモリ容
量を増やした。また、ファイル管理を行なう場合に、メ
モリの使用効率をリングメモリ形式と同じ程度にした、
文字放送受信装置及びその方法を提供することを目的と
する。The present invention has been made to solve the above-mentioned conventional problems. In order to solve the memory management problem and the memory capacity problem of a teletext program, a plurality of pages of the teletext program are treated as one file. Manage files. Then, by compressing and storing, the apparent memory capacity was increased. Also, when managing files, the memory usage efficiency is set to the same level as the ring memory format.
An object is to provide a teletext receiver and a method thereof.
【0020】[0020]
【課題を解決するための手段】この目的を達成するため
に本発明の文字放送受信装置は、文字放送を受信し、文
字放送データを抽出する信号抽出手段と、前記抽出され
た文字放送データのうち、少なくとも一つの文字放送番
組の文字放送データを選別する文字放送番組選別手段
と、前記選別された文字放送データを蓄積するためのデ
ータ記憶手段と、前記データ記憶手段内を小さなブロッ
クに分割する機能と、前記選択された文字放送データ毎
にそのデータサイズに応じて未使用ブロックからブロッ
クを獲得してデータ蓄積領域を形成する機能と、不必要
なブロックが発生した場合は未使用ブロックとして解放
する機能を持つメモリ管理手段と、前記文字放送データ
の「ページ」を一つのファイルとして管理するファイル
管理手段と、前記文字放送データの「ページ」を一つの
ファイルとして管理するファイル管理手段とファイルデ
ータを圧縮するためのデータ圧縮手段と、圧縮データを
伸長するためのデータ伸長手段とを備えた構成を有して
いる。In order to achieve this object, a teletext receiving apparatus of the present invention includes a signal extraction means for receiving teletext and extracting teletext data, and a means for extracting the teletext data extracted. Among them, a teletext program selection means for selecting teletext data of at least one teletext program, a data storage means for storing the selected teletext data, and the inside of the data storage means are divided into small blocks. A function, a function of acquiring a block from an unused block according to the data size of each of the selected teletext data to form a data storage area, and releasing an unused block when an unnecessary block occurs Memory management means having a function to perform, a file management means for managing the "page" of the teletext data as one file, and the sentence And it has a configuration in which a data compression means for compressing the file management means and the file data for managing the "page" of the broadcast data as one file, and data expanding means for expanding the compressed data.
【0021】[0021]
【作用】この構成によって、信号抽出手段によって抽出
された文字放送データに対し、ファイル管理手段では、
文字放送番組選別手段で選別された文字放送番組を、文
字放送番組の「ページ」単位を最小ファイル単位とし
て、データ記憶手段に格納する。メモリ管理手段は、デ
ータ記憶手段を小さなブロックに分割しており、ファイ
ル管理手段によってブロックに書き込む場合、ファイル
毎にデータサイズに応じてブロックを割り当て、そのブ
ロックの使用状況、リンク情報を管理する。With this configuration, in the file management means, with respect to the teletext data extracted by the signal extraction means,
The teletext program selected by the teletext program selection means is stored in the data storage means with the "page" unit of the text broadcast program as the minimum file unit. The memory management unit divides the data storage unit into small blocks, and when writing to the blocks by the file management unit, allocates blocks according to the data size for each file and manages the usage status and link information of the blocks.
【0022】また、ファイルの削除におけるブロックの
解放も行なう。ファイルは、任意にデータ圧縮手段によ
り圧縮、データ伸長手段により伸長することができる。Blocks are also released when files are deleted. The file can be arbitrarily compressed by the data compression means and expanded by the data expansion means.
【0023】このような特徴を有する本発明によれば、
文字放送受信装置のメモリ使用効率を最大限に高めるこ
とができる。また、ファイル管理を用いることで文字放
送番組の管理を柔軟に行なうことができる。According to the present invention having such characteristics,
It is possible to maximize the memory usage efficiency of the teletext receiver. Further, by using file management, it is possible to flexibly manage teletext programs.
【0024】[0024]
(実施例1)以下、図1、2、3を用いて、本発明の実
施例1について説明する。図1において、1はシステム
全体を制御するCPU、2は動作プログラムを保持する
記憶部である。3は映像信号aから垂直帰線区間に重畳
されている文字放送データを抜き取るための文字信号抜
き取り部、4は文字信号抜き取り部3で抜き取った文字
放送データから、必要なデータを選別するための文字放
送番組選別部、5は文字放送番組選別部4で選別された
文字放送データのデコードを行ない、表示するための文
字図形の表示データに展開するデコード部である。6は
文字放送番組選別部4で選別された文字放送データを蓄
積しておくデータ記憶部、7はデータ記憶部6を小さな
ブロックに分割し、そのブロックの使用状況、リンク情
報を管理するためのメモリ管理部、8は文字放送番組の
「ページ」単位を最小ファイル単位として、ファイルの
作成、削除を管理するファイル管理部、9はデコード部
5で文字図形に展開した表示データを蓄えておく表示メ
モリ、10は表示メモリ7から表示データの取り出しの
メモリアドレス制御を行なう表示制御部、11は表示メ
モリ9から読み出して実際に表示するためのテレビモニ
タである。(Embodiment 1) Hereinafter, Embodiment 1 of the present invention will be described with reference to FIGS. In FIG. 1, 1 is a CPU that controls the entire system, and 2 is a storage unit that holds an operation program. Reference numeral 3 is a character signal extracting unit for extracting the character broadcasting data superimposed on the vertical blanking section from the video signal a, and 4 is for selecting necessary data from the character broadcasting data extracted by the character signal extracting unit 3. The teletext program selection unit 5 is a decoding unit that decodes the teletext data selected by the teletext program selection unit 4 and develops the data into display data of a character graphic to be displayed. 6 is a data storage unit for storing the teletext data selected by the teletext program selection unit 4, and 7 is a unit for dividing the data storage unit 6 into small blocks and managing the usage status and link information of the blocks. A memory management unit, 8 is a file management unit that manages the creation and deletion of files with the "page" unit of the teletext program as the minimum file unit, and 9 is a display for storing the display data expanded into character graphics by the decoding unit 5. A memory 10 is a display control unit for controlling a memory address for fetching display data from the display memory 7, and a reference numeral 11 is a television monitor for reading from the display memory 9 for actual display.
【0025】以上のように構成された文字放送受信装置
について、以下その動作について図2、図3を用いて説
明する。文字放送信号抜き取り部3は入力された映像信
号aから、垂直帰線消去区間14H、15H、16H、
21Hの4つの伝送路に重畳されている文字信号を抜き
取る。文字放送データは、4つの垂直帰線消去区間の伝
送路にそれぞれ22バイトづつ重畳されている(22バ
イトデータを1パケットとする)。The operation of the teletext receiving apparatus configured as described above will be described below with reference to FIGS. 2 and 3. The teletext signal extracting unit 3 extracts vertical blanking intervals 14H, 15H, 16H from the input video signal a.
The character signals superimposed on the four transmission lines of 21H are extracted. The teletext data is superposed by 22 bytes on each of the transmission lines of the four vertical blanking intervals (22-byte data is one packet).
【0026】抜き取られた文字放送データは、文字放送
番組選別部4によって、あらかじめ指定している文字放
送番組のみ(例えば、ユーザが予約した番組)を選別す
る。選別された番組は、その番組の各ページ毎にファイ
ルを作成し、ファイル管理部8がページ単位で管理す
る。From the extracted teletext data, the teletext program selection unit 4 selects only predesignated teletext programs (for example, programs reserved by the user). The selected program creates a file for each page of the program, and the file management unit 8 manages the page by page.
【0027】ファイル管理部8がファイルを作成する場
合、メモリ管理部7によりデータ記憶部6のメモリブロ
ックを一つ確保する。その後、ファイル管理部8が文字
放送データ(パケットデータ)の書き込みを行ない、メ
モリブロックの容量が一杯になれば、メモリ管理部7に
よって新しいメモリブロックを確保する。When the file management unit 8 creates a file, the memory management unit 7 secures one memory block in the data storage unit 6. After that, the file management unit 8 writes teletext data (packet data), and when the capacity of the memory block becomes full, the memory management unit 7 secures a new memory block.
【0028】図2は、実際にメモリブロックに文字放送
データ(パケットデータ)の書き込みを行なう場合の説
明図である。メモリブロックへの書き込みはパケットデ
ータ単位で行なうので、メモリブロックの大きさはパケ
ットデータの倍数とする。FIG. 2 is an explanatory diagram in the case of actually writing teletext data (packet data) in the memory block. Since writing to the memory block is performed in packet data units, the size of the memory block is a multiple of the packet data.
【0029】本実施例では、一つのメモリブロックは1
2個のパケットデータを格納でき、本図は、3ページ分
のデータをデータ記憶部6に蓄積している状態を示す。
1ページ目のデータは10パケット、2ページ目は6パ
ケット、3ページ目は15パケットからなる。メモリ管
理部7は1、2ページのデータに対してそれぞれ1ブロ
ック獲得し、3ページのデータに対して2ブロック獲得
している。In this embodiment, one memory block is 1
Two pieces of packet data can be stored, and this figure shows a state in which data for three pages is stored in the data storage unit 6.
The first page data consists of 10 packets, the second page contains 6 packets, and the third page contains 15 packets. The memory management unit 7 acquires one block for each of the data of pages 1 and 2 and two blocks for each of the data of page 3.
【0030】図3は、選別された文字放送データに対し
て、新規ファイルを作成してデータの書き込みを行なう
場合の説明図である。図3において、ファイル管理部8
のファイルテーブル7は、ファイル管理部8が作成した
ファイル名と、そのファイルを蓄積しているデータ記憶
部6の先頭メモリブロックを示すメモリブロックの番号
(メモリ管理テーブルの番号)から構成される。メモリ
管理部7のメモリ管理テーブルは、データ記憶部6のメ
モリブロックと1対1対応しており、メモリブロックの
使用状況とブロック間のリンク情報を格納する。メモリ
ブロックが未使用であれば「0」を格納すし、また使用
中のブロックであれば、リンクした次のブロック番号、
または最終のブロックであれば「−1」を格納する。FIG. 3 is an explanatory diagram of a case where a new file is created and data is written to the selected teletext data. In FIG. 3, the file management unit 8
The file table 7 includes a file name created by the file management unit 8 and a memory block number (memory management table number) indicating the first memory block of the data storage unit 6 that stores the file. The memory management table of the memory management unit 7 has a one-to-one correspondence with the memory blocks of the data storage unit 6, and stores the usage status of the memory blocks and the link information between the blocks. If the memory block is not used, "0" is stored. If the block is in use, the next linked block number,
Alternatively, if it is the final block, "-1" is stored.
【0031】図3(a)の場合、ファイル管理部8で
「name1」というページファイルを作成して、デー
タ記憶部6のメモリブロック1から蓄積している。図3
(b)では、メモリブロック1のメモリ容量が一杯にな
ったので、新たに未使用のメモリブロック2を獲得す
る。そしてメモリ管理テーブルにはメモリブロックのリ
ンク情報として、メモリ管理テーブル1に次のブロック
を示す「2」を格納し、メモリ管理テーブル2にファイ
ルの最終ブロックを示す「−1」を格納する。他のペー
ジファイル「name2」、「name3」についても
同様である。In the case of FIG. 3A, the file management unit 8 creates a page file "name1" and stores it from the memory block 1 of the data storage unit 6. Figure 3
In (b), since the memory capacity of the memory block 1 is full, a new unused memory block 2 is acquired. Then, as the link information of the memory block, "2" indicating the next block is stored in the memory management table 1 in the memory management table, and "-1" indicating the last block of the file is stored in the memory management table 2. The same applies to the other page files “name2” and “name3”.
【0032】以上により、すべての文字放送の番組デー
タをファイル単位で管理できるので、任意のファイルを
表示メモリ9に展開する際、所定の番組データへのアク
セスが、従来例のリングメモリ形式に比べて速くなる。As described above, since all teletext program data can be managed in file units, when expanding an arbitrary file in the display memory 9, access to predetermined program data can be made more easily than in the conventional ring memory format. And get faster.
【0033】さらに、文字放送データをファイル単位で
管理するので、データ記憶部6の容量が一杯になって
も、従来例で示したリングメモリ形式のように、強制的
に古い文字放送データから順番に削除されることがな
い。すなわちCPU1はファイル管理部8を用いて、文
字放送データの蓄積/管理ができる。ファイルの削除の
方法としては、現在ユーザが視聴していない文字放送番
組ファイルから削除する方法等が考えられる。Further, since the teletext data is managed in file units, even if the capacity of the data storage unit 6 becomes full, the teletext data is forcibly ordered from the oldest as in the ring memory format shown in the conventional example. Will never be deleted. That is, the CPU 1 can store / manage teletext data using the file management unit 8. As a method of deleting the file, a method of deleting from the teletext program file that the user is not currently viewing is conceivable.
【0034】(実施例2)以下、図4、図5、図6を用
いて、本発明の実施例2について説明する。図4は本実
施例2における全体のシステム構成図で、1〜7および
9〜11は図1の構成と同様のものである。図1の構成
と異なるのは、ファイル管理部8にページ検索機能8a
が付加された点である。図5は本実施例2における、デ
ータ記憶部6のメモリ内部構成図である。以下その動作
について説明する。(Second Embodiment) A second embodiment of the present invention will be described below with reference to FIGS. 4, 5 and 6. FIG. 4 is an overall system configuration diagram in the second embodiment, and 1 to 7 and 9 to 11 are similar to the configuration of FIG. The difference from the configuration of FIG. 1 is that the file management unit 8 has a page search function 8a
Is the point added. FIG. 5 is a memory internal configuration diagram of the data storage unit 6 in the second embodiment. The operation will be described below.
【0035】本実施例では、ファイル単位を文字放送の
「番組」とした場合について、図5を用いて説明する。
文字放送番組が、図3と同様に3ページから構成される
場合、メモリ管理部7は1ページ目を書き込む時、メモ
リブロックを1つ獲得する。そしてファイル管理部8に
よって実際にメモリに書き込む。2ページ目を書き込む
場合、メモリブロックはまだ、2パケット分書き込める
ので、2ページ目の始めの2パケットを書き込む。その
後、新たにメモリブロックを獲得して、残りの4パケッ
ト分を書き込む。3ページ目も同様である。複数のペー
ジを一つのファイルとすることにより、メモリブロック
中の未使用メモリを減らすことができる(メモリブロッ
クが1Kバイト前後の場合、ページファイル管理ではメモ
リの使用率は約70%、番組ファイル管理では約95
%)。In this embodiment, a case where a file unit is a "program" of teletext will be described with reference to FIG.
When the teletext program is composed of three pages as in FIG. 3, the memory management unit 7 acquires one memory block when writing the first page. Then, the file management unit 8 actually writes in the memory. When writing the second page, the memory block can still write two packets, so the first two packets of the second page are written. After that, a new memory block is acquired and the remaining 4 packets are written. The same applies to the third page. By using multiple pages as one file, the unused memory in the memory block can be reduced. (If the memory block is around 1 Kbyte, the page file management has a memory usage rate of about 70%. Then about 95
%).
【0036】図6は、図5に示した番組ファイルの内部
構成である。番組ファイルの1ページ目は、次のデータ
が番組管理データであることを示す番組データヘッダ
と、番組の総ページ数、番組データ長、番組形態など
の、番組管理データからなる。2ページ目は、次のデー
タが文字放送番組の1ページ目であることを示すページ
データヘッダと1ページ目の番組データからなり、3ペ
ージ目は、次のデ−タが文字放送番組の2ページ目であ
ることを示すページデータヘッダと2ページ目の番組デ
ータからなる。FIG. 6 shows the internal structure of the program file shown in FIG. The first page of the program file comprises a program data header indicating that the next data is program management data, and program management data such as the total number of pages of the program, the program data length, and the program form. The second page consists of a page data header indicating that the next data is the first page of the teletext program and the program data of the first page. On the third page, the next data is 2 of the teletext program. It is composed of a page data header indicating the page and program data of the second page.
【0037】なおこの番組ファイルの1ページ目のデー
タは文字放送の番組管理情報であるので、ページデータ
として管理しなくてもよい(他の実施例における「ペー
ジ」ファイルも同様)。Since the data of the first page of this program file is the program management information of teletext, it is not necessary to manage it as page data (the same applies to the "page" file in other embodiments).
【0038】図4のページ検索機能8aは、番組ファイ
ル中の番組データヘッダ、ページデータヘッダをページ
の先頭から検索することで、所定のページを検出するこ
とができる。The page search function 8a shown in FIG. 4 can detect a predetermined page by searching the program data header and page data header in the program file from the top of the page.
【0039】以上により、ファイル管理を複数の「ペー
ジ」(この場合、文字放送番組単位)で行なうことによ
り、メモリの使用効率を高めることができる。また、所
定のページをアクセスする場合は、ページ検索機能8a
を用いればよい。As described above, file management is performed for a plurality of "pages" (in this case, in units of teletext programs), so that memory usage efficiency can be improved. When accessing a predetermined page, the page search function 8a
Can be used.
【0040】(実施例3)以下、図7を用いて、本発明
の実施例3について説明する。図7は本実施例におい
て、図1のファイル管理部8が管理するファイル単位を
文字放送の「番組」とし、ファイル/ページ変換テーブ
ルを備えた場合のファイル管理を説明するための構成図
である。ファイル管理部8以外は、実施例1のシステム
構成図である図1と同じであるので省略する。以下その
動作について説明する。(Third Embodiment) The third embodiment of the present invention will be described below with reference to FIG. FIG. 7 is a block diagram for explaining file management in the present embodiment in which the file unit managed by the file management unit 8 of FIG. 1 is a "broadcast" program of teletext and a file / page conversion table is provided. . Except for the file management unit 8, the system configuration of the first embodiment is the same as that of FIG. The operation will be described below.
【0041】図7のファイル管理部8のファイルテーブ
ルは、図3のファイルテーブルと同様、ファイル管理部
8が管理するファイルと、そのファイルを蓄積している
データ記憶部6の先頭メモリブロックの番号(メモリ管
理テーブルの番号)と、さらに追加機能としてファイル
/ページ変換テーブルのあるアドレスを示す、変換テー
ブルアドレスから構成される。The file table of the file management unit 8 of FIG. 7 is similar to the file table of FIG. 3, and the file managed by the file management unit 8 and the number of the first memory block of the data storage unit 6 that stores the file. (Memory management table number) and a conversion table address indicating an address of the file / page conversion table as an additional function.
【0042】番組ファイルを作成する時、同時にそのフ
ァイルのファイル/ページ変換テーブルを作成し、ファ
イルテーブルの変換テーブルアドレスにファイル/ペー
ジ変換テーブルの先頭アドレスを格納する。そして、フ
ァイル管理部8がその番組ファイルの文字放送データを
メモリブロックに書き込む時、ページ番号とページのサ
イズを、ファイル/ページ変換テーブルに記録する。When a program file is created, a file / page conversion table for the file is created at the same time, and the start address of the file / page conversion table is stored in the conversion table address of the file table. Then, when the file management unit 8 writes the teletext data of the program file in the memory block, the page number and the page size are recorded in the file / page conversion table.
【0043】文字放送の番組データをメモリブロックに
書き込んだ後、所定のページを検索する場合、ページの
先頭から検索せずに、ファイル/ページ変換テーブルか
ら所定のページの先頭アドレスを得ることができるの
で、高速なファイルアクセスが可能になる。When the predetermined page is searched after writing the teletext program data in the memory block, the start address of the predetermined page can be obtained from the file / page conversion table without searching from the top of the page. Therefore, high-speed file access becomes possible.
【0044】例えば、ページ番号3を検索する場合、ペ
ージ番号1とページ番号2のページサイズを加算するこ
とにより、ページ番号3のページデータの先頭アドレス
を得ることができる。For example, when retrieving page number 3, the start address of the page data of page number 3 can be obtained by adding the page sizes of page number 1 and page number 2.
【0045】以上により、ファイル管理部8が文字放送
の番組毎にファイルを管理し、ファイル/ページ変換テ
ーブルを持つことで、所定のページデータへの高速アク
セスが可能になる。As described above, the file management unit 8 manages files for each program of teletext and has the file / page conversion table, so that high-speed access to predetermined page data becomes possible.
【0046】なお、ファイル/ページ変換テーブル中の
ページサイズは、それぞれのページの先頭アドレスをあ
らかじめ計算しておいて格納しておいてもよいし、ペー
ジ番号を省略して、1ページ目からのページサイズもし
くは先頭アドレスのみを格納してもよい。The page size in the file / page conversion table may be calculated by storing the top address of each page in advance and storing it, or omitting the page number and starting from the first page. Only the page size or the start address may be stored.
【0047】(実施例4)以下、図8を用いて、本発明
の実施例4について説明する。図8は実施例3のファイ
ル管理部8が備えているファイル/ページ変換テーブル
を、番組ファイルに組み込んだ場合の構成図である。フ
ァイル管理部8以外は、実施例1のシステム構成図であ
る図1の1〜7および9〜11と同じである。以下その
動作について説明する。(Fourth Embodiment) The fourth embodiment of the present invention will be described below with reference to FIG. FIG. 8 is a configuration diagram when the file / page conversion table included in the file management unit 8 of the third embodiment is incorporated into a program file. Except for the file management unit 8, the system configuration of the first embodiment is the same as 1 to 7 and 9 to 11 in FIG. The operation will be described below.
【0048】図8のデータ記憶部6のメモリブロック中
のファイル/ページ変換テーブル用の領域は、番組ファ
イルを作成する時、その番組ファイルのページ数を番組
ページヘッダで調べて、あらかじめファイル/ページ変
換テーブルで使用するメモリサイズを、メモリブロック
内のファイルの先頭から確保したものである。The area for the file / page conversion table in the memory block of the data storage unit 6 of FIG. 8 is checked beforehand by checking the page number of the program file with the program page header when the program file is created. The memory size used in the conversion table is secured from the beginning of the file in the memory block.
【0049】そして、ファイル管理部8がその番組ファ
イルのパケットデータをメモリブロックに書き込む時、
ページデータヘッダを検出して、ページ番号とページサ
イズを、ファイル/ページ変換テーブルに記録する。When the file management unit 8 writes the packet data of the program file in the memory block,
The page data header is detected and the page number and page size are recorded in the file / page conversion table.
【0050】この方法を用いると、ファイル管理部8で
ファイル/ページ変換テーブルを保持するための変換テ
ーブルアドレスをファイルテーブル中に設ける必要がな
い。さらに、ファイル/ページ変換テーブル用のファイ
ルを保持する必要がない。When this method is used, it is not necessary for the file management unit 8 to provide a conversion table address for holding the file / page conversion table in the file table. Further, it is not necessary to hold the file for the file / page conversion table.
【0051】(実施例5)以下、図9を用いて、本発明
の実施例5について説明する。図9は本実施例5におけ
る全体のシステム構成図で、1〜11は図1の構成と同
様のものである。図1の構成と異なるのは、ファイル管
理部8で管理している番組ファイルを圧縮するデータ圧
縮部12、圧縮された番組ファイルを伸長するデータ伸
長部13が追加された点である。また、ファイル管理部
8は実施例1〜4のどの機能を持っている場合でもよい
が、本実施例では実施例4の機能を持つファイル管理部
8について説明する。以下その動作について説明する。(Fifth Embodiment) A fifth embodiment of the present invention will be described below with reference to FIG. FIG. 9 is an overall system configuration diagram in the fifth embodiment, and 1 to 11 are the same as the configuration in FIG. The difference from the configuration of FIG. 1 is that a data compression unit 12 that compresses a program file managed by the file management unit 8 and a data decompression unit 13 that decompresses the compressed program file are added. Further, the file management unit 8 may have any of the functions of the first to fourth embodiments, but in this embodiment, the file management unit 8 having the functions of the fourth embodiment will be described. The operation will be described below.
【0052】番組ファイルはテレビモニタに表示する場
合、デコード部5によって表示するための文字図形の表
示データに展開して、表示メモリ9に転送することによ
りテレビモニタ11に表示するという動作は実施例1と
同じである。When the program file is displayed on the TV monitor, the decoding unit 5 develops it into display data of character and graphics, and transfers it to the display memory 9 to display it on the TV monitor 11. Same as 1.
【0053】しかしながら、ファイル管理部8の番組フ
ァイルは、テレビモニタに表示する場合と番組更新が発
生した時以外に使用されない。そこで、番組ファイルは
番組ファイルの作成が終了した後、圧縮してデータ記憶
部6に格納することにより、メモリの使用効率を高める
ことができる。番組更新が発生した時は、再度番組ファ
イルを作成して圧縮する。However, the program file of the file management unit 8 is not used except when it is displayed on the television monitor and when the program is updated. Therefore, the program file can be compressed and stored in the data storage unit 6 after the creation of the program file is completed, thereby improving the efficiency of use of the memory. When a program update occurs, a program file is created again and compressed.
【0054】受信した番組ファイル(非圧縮ファイル)
の蓄積が完了すると、データ圧縮部12は番組ファイル
を圧縮し、圧縮ファイルとして蓄積して非圧縮ファイル
は削除する。Received program file (non-compressed file)
When the storage of the program is completed, the data compression unit 12 compresses the program file, stores it as a compressed file, and deletes the uncompressed file.
【0055】圧縮ファイルとなっている番組ファイルを
参照する場合は、データ伸長部13が圧縮データを伸長
した後、デコード部5によって表示するための文字図形
の表示データに展開して、表示メモリ9に転送すること
によりテレビモニタ11に表示する。When referring to a program file that is a compressed file, the data decompression unit 13 decompresses the compressed data, and then the decoding unit 5 expands the data into display data of a character graphic for display. And is displayed on the TV monitor 11.
【0056】以上のように、番組ファイルを圧縮アルゴ
リズムを用いて圧縮して蓄積し、必要なファイルだけ伸
長することにより、文字放送データを蓄積する場合、メ
モリの使用効率を約40%上げることができる。As described above, when the teletext data is stored by compressing and storing the program file using the compression algorithm and expanding only the required file, the memory usage efficiency can be increased by about 40%. it can.
【0057】文字データ用の圧縮方式としては、ハフマ
ン符号化や”Lempel―Ziv(LZ)符号化”な
どがある。データ圧縮方式に関しては、「データ圧縮技
術がパソコンと大型機に定着へ(日経エレクトロニクス
/1993.5.10)」などに記述されている。本実
施例では、圧縮方式としてLZ符号化を使用している。
LZ符号化は、最近では圧縮率の高い圧縮方式として利
用されることが多い。アルゴリズムとしては、過去の文
字列を辞書として登録し、この辞書内の文字列と現在の
文字列とを比較して、一致する文字列を見つけることに
より、圧縮を実現する。この方式は、辞書サイズが少な
くとも1Kバイト程度必要となる。Huffman coding and "Lempel-Ziv (LZ) coding" are examples of compression methods for character data. The data compression method is described in "Data compression technology has become established in personal computers and large machines (Nikkei Electronics / 1993.5.10)". In this embodiment, LZ encoding is used as the compression method.
Recently, LZ encoding is often used as a compression method with a high compression rate. As an algorithm, compression is realized by registering a past character string as a dictionary, comparing the character string in this dictionary with the current character string, and finding a matching character string. This method requires a dictionary size of at least about 1 Kbyte.
【0058】文字放送番組の各「ページ」は、平均長が
1Kバイト程度なので、「ページ」単位で圧縮しても圧
縮率が良くない。番組単位の場合は平均10Kバイト程
度なので圧縮率が向上する。Since each "page" of the teletext program has an average length of about 1 Kbyte, the compression rate is not good even if compressed in "page" units. In the case of a program unit, the compression rate is improved because the average is about 10 Kbytes.
【0059】(実施例6)以下、図10、図11を用い
て、本発明の実施例6について説明する。図10は本実
施例6における全体のシステム構成図で、1〜13は図
9の構成と同様のものである。図9と異なるのは、ファ
イル管理部8で管理しているファイルをまとめるファイ
ルアーカイブ部14が付加された点である。以下その動
作について説明する。(Sixth Embodiment) A sixth embodiment of the present invention will be described below with reference to FIGS. FIG. 10 is an overall system configuration diagram in the sixth embodiment, and 1 to 13 are similar to the configuration in FIG. 9 is different from FIG. 9 in that a file archive unit 14 that collects files managed by the file management unit 8 is added. The operation will be described below.
【0060】図11は本実施例における複数のファイル
をまとめて圧縮してアーカイブ圧縮ファイルとし、また
アーカイブ圧縮ファイルから所定のファイルを伸長する
動作を説明するための図である。FIG. 11 is a diagram for explaining an operation of collectively compressing a plurality of files into an archive compressed file and decompressing a predetermined file from the archive compressed file in this embodiment.
【0061】受信した文字放送データが予め定めるペー
ジファイルの蓄積が完了すると、ファイルアーカイブ部
14はページファイルをまとめる。When the storage of the predetermined page files of the received teletext data is completed, the file archive section 14 puts the page files together.
【0062】この時のアーカイブ方法は、ページ番号の
小さいページファイルから順に5ファイル揃った時点で
まとめる。まとめるファイル数は、文字放送番組の平均
ページ数(約10ページ)、圧縮時の処理時間等から考
慮して5ファイルとする。なお、このファイル数は文字
放送番組毎に設定可能としてもよい。The archiving method at this time is summarized when five files are arranged in order from the page file having the smallest page number. The number of files to be collected is 5 files in consideration of the average number of pages of teletext programs (about 10 pages), the processing time at the time of compression, and the like. The number of files may be set for each teletext program.
【0063】例えば、文字放送番組が8ページからなる
場合は、ファイルアーカイブ部14は1〜5ページと6
〜8ページをそれぞれまとめて、一つのファイルとす
る。For example, when the teletext program consists of 8 pages, the file archive section 14 has 1 to 5 pages and 6 pages.
~ 8 pages are combined into one file.
【0064】アーカイブファイルを圧縮する場合を、図
11(a)、(b)を用いて説明する。The case of compressing an archive file will be described with reference to FIGS. 11 (a) and 11 (b).
【0065】図11(a)は文字放送番組が3ページか
らなる場合、ファイルアーカイブ部14は、1〜3ペー
ジをまとめる。この時、ファイルアーカイブ部14は、
まとめたファイル数とファイル名(例えば、ページ番号
名をページファイル名とする)と、それぞれの伸長時の
ファイルの大きさを、圧縮ファイル/ファイル変換テー
ブル14aに書き込む。そしてアーカイブファイルは、
データ圧縮部12によってアーカイブ圧縮ファイルとし
て格納される。In FIG. 11A, when the teletext program is composed of 3 pages, the file archive section 14 collects 1 to 3 pages. At this time, the file archive unit 14
The total number of files and file names (for example, the page number name is the page file name) and the size of each expanded file are written in the compressed file / file conversion table 14a. And the archive file is
It is stored as an archive compression file by the data compression unit 12.
【0066】図11(b)は圧縮ファイル/ファイル変
換テーブル14aをファイル毎にアーカイブ圧縮ファイ
ル内に持つ場合である。この場合、データ圧縮部12が
アーカイブファイルの圧縮開始時に、圧縮ファイル/フ
ァイル変換テーブル14bをアーカイブ圧縮ファイル内
に書き込む。FIG. 11B shows a case where each file has a compressed file / file conversion table 14a in the archive compressed file. In this case, the data compression unit 12 writes the compressed file / file conversion table 14b into the archive compressed file when the compression of the archive file is started.
【0067】ファイルをまとめて圧縮するのは、実施例
5で述べたように、LZ圧縮アルゴリズムの性質によ
る。すなわち文字放送番組の各「ページ」は、平均長が
1Kバイト程度なので、ファイル単位が「ページ」の場
合、一つのファイルだけを圧縮しても圧縮率が良くな
い。まとめて圧縮することにより、LZ法での圧縮率が
「ページ」単位の場合より向上する。The compression of files collectively is due to the nature of the LZ compression algorithm, as described in the fifth embodiment. That is, since the average length of each "page" of the teletext program is about 1 Kbyte, if the file unit is "page", the compression rate is not good even if only one file is compressed. By compressing collectively, the compression rate in the LZ method is improved as compared with the case of "page" unit.
【0068】次にアーカイブ圧縮ファイルから、所定の
ファイルを伸長する場合を、図11(c)を用いて説明
する。図11(c)は図11(b)で説明したアーカイ
ブ圧縮ファイルから、3ページ目のファイルのみを伸長
した時の図である。Next, the case of decompressing a predetermined file from the archive compressed file will be described with reference to FIG. FIG. 11C is a diagram when only the third page file is decompressed from the archive compressed file described in FIG. 11B.
【0069】圧縮ファイル/ファイル変換テーブル14
bは、アーカイブ圧縮ファイル中の特定の圧縮ファイル
だけを伸長するために使用する。データ伸長部13は、
LZ圧縮アルゴリズムの性質上、伸長時はファイルの先
頭からしか伸長処理できない。Compressed file / file conversion table 14
b is used to decompress only a specific compressed file in the archive compressed file. The data decompression unit 13
Due to the nature of the LZ compression algorithm, decompression can be performed only from the beginning of the file.
【0070】よって特定のファイルを伸長する場合、逐
次伸長したデータサイズとの圧縮ファイル/ファイル変
換テーブル14b中の各ファイルサイズを比較しながら
伸長を行ない、特定ファイルのみの伸長データを保持
し、それ以外の伸長データは捨てる。Therefore, when decompressing a specific file, decompression is performed while comparing the data size of the decompressed file / file conversion table 14b with the sequentially decompressed data size, and the decompressed data of only the specific file is retained. The decompressed data other than is discarded.
【0071】まとめ中のある特定ファイルのみが必要に
なった場合は、他のファイルまでメモリ上に伸長する必
要がない。When only a certain specific file being compiled is needed, it is not necessary to decompress other files on the memory.
【0072】以上により、「ページ」単位のファイルを
まとめて圧縮/伸長を行なうことにより、圧縮率が高く
なる。また、文字放送の更新に伴う「ページ」毎のペー
ジデータの変更が番組単位のファイルと比較して容易に
なる。As described above, the compression rate is increased by collectively compressing / expanding the files in "page" units. Further, it becomes easier to change the page data for each "page" in accordance with the update of the teletext as compared with the file for each program.
【0073】なお、圧縮ファイル名を工夫することによ
り、アーカイブ圧縮ファイル中のファイル名を圧縮ファ
イル/ファイル変換テーブルに記憶しなくても済む。By devising the compressed file name, the file name in the archive compressed file need not be stored in the compressed file / file conversion table.
【0074】例えば、文字放送の番組を小さいページ番
号のファイルから順にまとめる場合、図11(d)のよ
うにページ1から5までをアーカイブ圧縮したファイル
を「05.Z」、ページ6〜8までをアーカイブ圧縮したフ
ァイルを「08.Z」とする。この時まとめるファイル数は
最大5ファイルとする。それぞれのアーカイブ圧縮ファ
イル中の圧縮ファイル/ファイル変換テーブル14c、
dは、はじめにまとめたファイル数、そして小さいペー
ジからのファイルサイズを格納することにより、ファイ
ル名を格納しなくてもどのページのファイルサイズかが
分かる。「08.Z」の場合、ファイル名からこのまとめに
はページ6からページ8までが格納されていることが分
かる。そして「05.Z」と同様にページに対応したページ
ファイルのサイズが分かる。For example, when the teletext programs are grouped in order from the file with the smallest page number, the files archive-compressed from pages 1 to 5 as shown in FIG. 11 (d) are "05.Z" and pages 6-8. The file that is archive compressed is "08.Z". At this time, the maximum number of files to be collected is 5. A compressed file / file conversion table 14c in each archive compressed file,
By storing the number of files initially collected and the file size from a small page, it is possible to know which page has the file size without storing the file name. In the case of "08.Z", it can be understood from the file name that pages 6 to 8 are stored in this summary. And like "05.Z", you can see the size of the page file corresponding to the page.
【0075】(実施例7)以下、図12、図13を用い
て、本発明の実施例7について説明する。本実施例では
実施例1〜6のファイル管理部8がディレクトリ構造を
持つ場合のファイル管理について述べる。この場合、フ
ァイル単位は文字放送番組の「ページ」とした。(Seventh Embodiment) A seventh embodiment of the present invention will be described below with reference to FIGS. 12 and 13. In the present embodiment, file management when the file management unit 8 of the first to sixth embodiments has a directory structure will be described. In this case, the file unit is "page" of the teletext program.
【0076】図12(b)はファイル管理部がディレク
トリ構造を持った場合の説明図である。ルートディレク
トリには、チャンネルディレクトリ層を設ける。チャン
ネル数が6個の場合、チャンネルディレクトリが6個存
在する。各チャンネルディレクトリには番組ディレクト
リ層を設ける。番組数が50番組の場合、番組ディレク
トリが50個存在する。さらに各番組ディレクトリには
ページファイルを作成する。FIG. 12B is an explanatory diagram when the file management unit has a directory structure. A channel directory layer is provided in the root directory. When the number of channels is 6, there are 6 channel directories. A program directory layer is provided in each channel directory. When the number of programs is 50, there are 50 program directories. Further, a page file is created in each program directory.
【0077】また、番組ディレクトリ中には、ページフ
ァイルを図10のファイルアーカイブ部14でまとめて
データ圧縮部12で圧縮した、アーカイブ圧縮ファイル
も入れる。Also, in the program directory, an archive compression file in which page files are collected by the file archive section 14 of FIG. 10 and compressed by the data compression section 12 is also placed.
【0078】図12(a)はディレクトリ構造を持たな
い場合のファイル管理を示す。ディレクトリ構造を持た
ない場合、ルートディレクトリにすべてのファイルが存
在することになる。例えば、文字放送のチャンネル数が
6個、それぞれのチャンネルが番組数が50番組持ち、
それぞれの番組が10ページから構成されている場合、
6×50×10=3000個のファイルが存在する。こ
れらのファイルから一つのファイルを検索するにはかな
りの時間を要し、またファイル管理も複雑になる。FIG. 12A shows file management when the directory structure is not included. If you do not have a directory structure, all files will exist in the root directory. For example, the number of teletext channels is 6, each channel has 50 programs,
If each program consists of 10 pages,
There are 6 × 50 × 10 = 3000 files. Searching for a single file from these files takes a considerable amount of time, and file management becomes complicated.
【0079】以上により、各ページファイルは、ルート
ディレクトリ、チャンネルディレクトリ、番組ディレク
トリの3層ディレクトリ構造を設けることで、ページフ
ァイルの検索、すなわちチャンネル、番組番号、ページ
番号を指定する検索の高速化が図れ、ファイルの管理が
容易になる。As described above, each page file has a three-layer directory structure including a root directory, a channel directory, and a program directory, so that the page file search, that is, the search for designating the channel, program number, and page number, can be speeded up. This makes it easier to manage files.
【0080】また、ディレクトリ構造を持つことによ
り、メモリが一杯になった時など、ファイル管理部8で
管理しているファイルを削除する場合に、各番組ディレ
クトリ内のファイルを一つ以上残して、他のファイルを
削除することが容易にできる。Further, by having a directory structure, when deleting files managed by the file management unit 8 when the memory is full, etc., one or more files in each program directory are left, You can easily delete other files.
【0081】図12(b)の場合では、チャンネル[1]
の番組[1]のページ[2]、チャンネル[n]の番組[4]のペー
ジ[5]から削除する。In the case of FIG. 12B, channel [1]
Delete from program [1] page [2], channel [n] program [4] page [5].
【0082】これにより、各番組ディレクトリが1ペー
ジファイル以上は存在する可能性が高くなり、ユーザが
見たい番組は待ち時間なしに少なくとも1ページ分は検
索して表示することができる。As a result, there is a high possibility that each program directory will have one or more page files, and the program desired by the user can be searched and displayed for at least one page without waiting time.
【0083】(実施例8)以下、図10、図13を用い
て、本発明の実施例8について説明する。本実施例で
は、図10のシステムにおいて、マルチタスクOS上で
ファイルの読み書きを行なう時のファイル管理部8、ア
ーカイブファイル管理部14におけるファイルアクセス
に関して説明する。(Embodiment 8) Hereinafter, Embodiment 8 of the present invention will be described with reference to FIGS. In the present embodiment, file access in the file management unit 8 and the archive file management unit 14 when reading and writing a file on the multitask OS in the system of FIG. 10 will be described.
【0084】図13において、131は文字放送番組選
別部4を介して得た文字放送データを、ファイル管理部
8によりページファイルを作成してデータを蓄積、およ
びデータの更新を行なうための蓄積タスク、132はフ
ァイルをファイルアーカイブ部14でアーカイブした後
圧縮し、アーカイブ圧縮ファイルを作成する圧縮タス
ク、133はアーカイブ圧縮ファイルから一つ以上のフ
ァイルを伸長する伸長タスク、134はファイル管理部
8で管理しているファイルから、所定のファイルを検索
してデコード部5を介して表示メモリ9に展開するため
の検索タスクである。In FIG. 13, reference numeral 131 denotes a storage task for storing the teletext data obtained through the teletext program selection unit 4 into a page file by the file management unit 8 to store the data and update the data. Reference numeral 132 denotes a compression task that archives the file in the file archive unit 14 and then compresses the file to create an archive compression file. 133 is a decompression task that decompresses one or more files from the archive compression file. Reference numeral 134 is a file management unit 8. This is a retrieval task for retrieving a predetermined file from the stored files and expanding it in the display memory 9 via the decoding unit 5.
【0085】実施例6のデータ圧縮部12と同様、蓄積
タスクはページファイル1〜5の蓄積が完了すると圧縮
タスク132にページファイル1〜5をまとめて圧縮す
るように依頼する。Similar to the data compressing unit 12 of the sixth embodiment, the storage task requests the compression task 132 to collectively compress the page files 1 to 5 when the storage of the page files 1 to 5 is completed.
【0086】蓄積タスク131が依頼した圧縮タスク1
32は、ページファイル1〜5をまとめて圧縮し、アー
カイブ圧縮ファイルを作成する。この時、ファイルアー
カイブ部14を用いてまとめるのは、蓄積タスクでも圧
縮タスクのどちらでもよい。圧縮タスクは、圧縮完了と
同時にページファイル1〜5は削除する。圧縮に要する
時間は約0.5秒(4MIPSのCPUでの実測による)である。Compression task 1 requested by the storage task 131
32 collectively compresses the page files 1 to 5 to create an archive compression file. At this time, either the accumulation task or the compression task may be put together using the file archive unit 14. The compression task deletes the page files 1 to 5 upon completion of the compression. The time required for compression is about 0.5 seconds (measured with a 4MIPS CPU).
【0087】文字放送は、同一番組のページデータは約
20秒に1ページづつ伝送している。In the teletext, page data of the same program is transmitted page by page in about 20 seconds.
【0088】この性質から、圧縮タスクがページファイ
ルをリードして圧縮ファイルを作成中に、蓄積タスクが
そのページファイルに対しての書き込み処理が不要とな
り、ファイル制御が容易になる。Due to this property, the storing task does not need to write the page file while the compressing task reads the page file and creates the compressed file, and the file control becomes easy.
【0089】テレビモニタに文字放送を表示する場合、
検索タスク134ファイルは管理部8で管理している伸
長ファイルを検索する。伸長ファイルが存在しない場合
は、アーカイブ圧縮ファイルを検索する。アーカイブ圧
縮ファイルとして存在する場合は、そのファイルを伸長
タスク133により伸長してページファイルとして読み
出す。そしてデコード部5を介して表示メモリに書き込
む。When displaying a teletext on a television monitor,
The search task 134 file searches the decompressed file managed by the management unit 8. If the decompressed file does not exist, the archive compressed file is searched. If it exists as an archive compressed file, the file is decompressed by the decompression task 133 and read as a page file. Then, the data is written in the display memory via the decoding unit 5.
【0090】次に、ページ更新が発生した場合、まず、
蓄積タスクは伸長ページファイルを検索する。ファイル
が存在しない場合は、新しくページファイルを作成して
ページデータを蓄積する。この時、アーカイブ圧縮ファ
イル中にそのファイルが存在しても新たにページファイ
ルを作成する。また、伸長ページファイルが存在する場
合は、上書きして書く。Next, when a page update occurs, first,
The storage task retrieves the decompressed page file. If the file does not exist, a new page file is created and page data is stored. At this time, a new page file is created even if the archive compressed file exists. If the decompressed page file exists, overwrite it.
【0091】テレビモニタに文字放送を表示する場合、
検索タスクが伸長タスクにデータ伸長を依頼して、アー
カイブ圧縮ファイルからページファイルを伸長するとい
うことは先にも述べたが、ページファイルを伸長中に同
一ページファイルの更新が発生した場合について説明す
る。When displaying a teletext on a television monitor,
As mentioned above, the search task requests the decompression task to decompress data and decompresses the page file from the archive compression file, but I will explain the case where the same page file is updated while decompressing the page file. .
【0092】この場合、蓄積タスクは強制的にデータ伸
長中のページファイルを削除して、新しく更新ページフ
ァイルを作成する。伸長タスクはファイルにデータが書
けなくなるので、依頼元の検索タスクに伸長エラーを通
知する。検索タスクは、伸長タスクからエラーを通知さ
れると、更新データファイルの蓄積完了を待って、ファ
イルからデータを取り出す。In this case, the accumulation task forcibly deletes the page file whose data is being expanded and newly creates an updated page file. Since the decompression task cannot write data to the file, it notifies the requesting search task of the decompression error. When the search task is notified of the error by the decompression task, it waits for the completion of the accumulation of the update data file and then extracts the data from the file.
【0093】以上により、上記のファイルアクセス制御
を用いることで、マルチタスクOS上で一つファイルに
対して、複数のタスクからの同時書き込みまたは、読み
出し中のファイルへの書き込みが発生した場合の処理を
行なうことができる。As described above, by using the above-mentioned file access control, the processing in the case where simultaneous writing from a plurality of tasks to a single file or writing to a file being read occurs on the multitasking OS Can be done.
【0094】これより、ファイルアクセス制御のために
ファイル編集用の一時ファイルを作成する必要がなくな
るので、文字放送データの蓄積のためのメモリ容量を減
少させることがなくなる。As a result, since it is not necessary to create a temporary file for file editing for file access control, the memory capacity for accumulating teletext data is not reduced.
【0095】[0095]
【発明の効果】以上説明したように本発明では、小さな
メモリブロックに分割されたデータ記憶手段とメモリブ
ロックを管理するメモリ管理手段と、文字放送番組の複
数の「ページ」を一つのファイルとして管理するファイ
ル管理手段とデータ圧縮部、データ伸長部を設けること
により、ファイルアクセスに柔軟性ができ、自由に圧縮
ファイルを作成、および伸長ファイルの削除ができる。
またメモリの使用効率が大幅に向上するので、従来の約
70%のメモリで廉価な文字放送受信装置及びその方法
を供給することができる。As described above, according to the present invention, the data storage means divided into small memory blocks, the memory management means for managing the memory blocks, and the plurality of "pages" of the teletext program are managed as one file. By providing the file management means, the data compression unit, and the data decompression unit, the file access can be made flexible, and the compressed file can be freely created and the decompressed file can be deleted.
Moreover, since the efficiency of use of the memory is significantly improved, it is possible to provide an inexpensive teletext receiver and its method with about 70% of the conventional memory.
【図面の簡単な説明】[Brief description of drawings]
【図1】本発明の第一の実施例における文字放送受信装
置の全体構成を示すブロック図FIG. 1 is a block diagram showing an overall configuration of a teletext receiver according to a first embodiment of the present invention.
【図2】同実施例のデータ記憶部のデータ格納状態を示
すメモリ構成図FIG. 2 is a memory configuration diagram showing a data storage state of a data storage unit of the embodiment.
【図3】同実施例のデータ記憶部へのデータ格納手順を
示すメモリ構成図FIG. 3 is a memory configuration diagram showing a data storage procedure in a data storage unit of the embodiment.
【図4】本発明の第2の実施例における文字放送受信装
置の全体構成を示すブロック図FIG. 4 is a block diagram showing an overall configuration of a teletext receiving device according to a second embodiment of the present invention.
【図5】同実施例のデータ記憶部のデータ格納状態を示
すメモリ構成図FIG. 5 is a memory configuration diagram showing a data storage state of a data storage unit of the embodiment.
【図6】同実施例のデータ記憶部のデータ格納状態を示
すメモリ構成図FIG. 6 is a memory configuration diagram showing a data storage state of a data storage unit of the embodiment.
【図7】本発明の第3の実施例のデータ記憶部へのデー
タ格納手順を示すメモリ構成図FIG. 7 is a memory configuration diagram showing a data storage procedure in a data storage unit according to a third embodiment of the present invention.
【図8】本発明の第4の実施例のデータ記憶部へのデー
タ格納手順を示すメモリ構成図FIG. 8 is a memory configuration diagram showing a data storage procedure in a data storage unit according to a fourth embodiment of the present invention.
【図9】本発明の第5の実施例における文字放送受信装
置の全体構成を示すブロック図FIG. 9 is a block diagram showing an overall configuration of a teletext receiving device according to a fifth embodiment of the present invention.
【図10】本発明の第6、7、8の実施例における文字
放送受信装置の全体構成を示すブロック図FIG. 10 is a block diagram showing an overall configuration of a teletext receiving device in sixth, seventh and eighth embodiments of the present invention.
【図11】本発明の第6の実施例におけるアーカイブフ
ァイル管理を示すブロック図FIG. 11 is a block diagram showing archive file management in the sixth embodiment of the present invention.
【図12】本発明の第7の実施例におけるファイル管理
におけるディレクトリ層を示すブロック図FIG. 12 is a block diagram showing a directory layer in file management according to a seventh embodiment of the present invention.
【図13】本発明の第8の実施例における文字放送受信
装置のソフトウェア構成を示すブロック図FIG. 13 is a block diagram showing a software configuration of a teletext receiving device according to an eighth embodiment of the present invention.
【図14】従来の文字放送受信装置の一例の全体構成図FIG. 14 is an overall configuration diagram of an example of a conventional teletext receiver.
【図15】従来の文字放送受信装置のデータ記憶部の構
成図FIG. 15 is a configuration diagram of a data storage unit of a conventional teletext receiver.
【図16】従来の文字放送受信装置のデータフォーマッ
ト図FIG. 16 is a data format diagram of a conventional teletext receiver.
【図17】従来の文字放送受信装置のデータ記憶部の構
成図FIG. 17 is a configuration diagram of a data storage unit of a conventional teletext receiver.
1 CPU 2 記憶部 3 文字信号抜き取り部 4 文字放送番組選別部 5 デコード部 6 データ記憶部 7 メモリ管理部 8 ファイル管理部 9 表示メモリ 10 表示制御部 11 テレビモニタ 1 CPU 2 memory 3 character signal extraction part 4 Teletext program selection section 5 Decoding section 6 Data storage 7 Memory management unit 8 File management department 9 Display memory 10 Display control unit 11 TV monitor
───────────────────────────────────────────────────── フロントページの続き (72)発明者 三好 圭哉 大阪府門真市大字門真1006番地 松下電 器産業株式会社内 (56)参考文献 特開 平1−316080(JP,A) 特開 平4−354284(JP,A) 特開 平3−289889(JP,A) 特開 平1−129679(JP,A) 特開 昭63−189080(JP,A) 三木 和彦,ファイル管理ソフトLA RC,The BASIC,日本,技術 評論社,1989年 2月18日,1989年3月 号,p.17,22 (58)調査した分野(Int.Cl.7,DB名) H04N 7/00 - 7/088 H04N 5/38 - 5/46 G06F 12/00 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Keiya Miyoshi 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. (56) Reference JP-A-1-316080 (JP, A) JP-A-4 -354284 (JP, A) JP-A-3-289889 (JP, A) JP-A-1-129679 (JP, A) JP-A-63-189080 (JP, A) Miki Kazuhiko, file management software LA RC, The BASIC, Japan, Technical Review Company, February 18, 1989, March 1989, p. 17, 22 (58) Fields surveyed (Int.Cl. 7 , DB name) H04N 7/ 00-7/088 H04N 5/38-5/46 G06F 12/00
Claims (2)
出する信号抽出手段と、 前記抽出された文字放送データのうち、少なくとも一つ
の文字放送番組の文字放送データを選別する文字放送番
組選別手段と、 前記選別された文字放送データを蓄積するためのデータ
記憶手段と、 前記文字放送データのページを一つのファイルとして管
理するファイル管理手段とを備え、 前記ファイル管理手段は前記データ記憶手段に階層ディ
レクトリ構造を持たせ、ルートディレクトリにはチャン
ネルディレクトリ、前記チャンネルディレクトリには番
組ディレクトリ、前記番組ディレクトリにはページファ
イルを持たせることにより、チャンネル毎に文字放送の
番組を前記データ記憶手段に蓄積させ、ファイル削除す
る場合、複数のページファイルを持つ番組ディレクトリ
から優先してページファイルを削除し、前記番組ディレ
クトリ中の少なくとも一つのページファイルは残すファ
イル削除手段を持つことを特徴とする放送受信装置。1. A signal extraction means for receiving broadcast radio waves and extracting teletext data, and a teletext program selection means for selecting teletext data of at least one teletext program from the extracted teletext data. A data storage unit for storing the selected teletext data, and a file management unit for managing a page of the teletext data as a single file, wherein the file management unit is hierarchical in the data storage unit. Di
To have a directory structure, the channel directory is the root directory, the channel directory Broadcasting directory, the program directory by providing the page file, to accumulate the teletext program in the data storage device for each channel, A broadcast receiving apparatus comprising a file deleting unit that deletes a page file preferentially from a program directory having a plurality of page files and leaves at least one page file in the program directory when deleting files.
出し、前記抽出された前記文字放送データのうち、少な
くとも一つの文字放送番組の文字放送データを選別し、
前記選別された文字放送データを少なくとも1つ以上の
ブロックに蓄積し、前記蓄積された文字放送データのペ
ージを一つのファイルとして管理し、 ファイルを管理する際に階層ディレクトリ構造を持た
せ、ルートディレクトリにはチャンネルディレクトリ、
前記チャンネルディレクトリには番組ディレクトリ、前
記番組ディレクトリにはページファイルを持たせること
により、チャンネル毎に文字放送の番組を蓄積し、 ファイル削除する場合、複数のページファイルを持つ番
組ディレクトリから優先してページファイルを削除し、
前記番組ディレクトリ中の少なくとも一つのページファ
イルを残すことを特徴とする放送受信方法。2. Received broadcast radio waves, extract teletext data, and select teletext data of at least one teletext program from the extracted teletext data,
The selected teletext data is stored in at least one block, pages of the stored teletext data are managed as one file, and a hierarchical directory structure is provided when the files are managed, and a root directory is provided. In the channel directory,
By storing a program directory in the channel directory and a page file in the program directory, a program of teletext is stored for each channel, and when files are deleted, the program directory having a plurality of page files is given priority to page Delete the file,
A broadcast receiving method, characterized in that at least one page file in the program directory is left.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP03377095A JP3473151B2 (en) | 1994-03-17 | 1995-02-22 | Broadcast receiving apparatus and method |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4733994 | 1994-03-17 | ||
| JP6-47339 | 1994-03-17 | ||
| JP03377095A JP3473151B2 (en) | 1994-03-17 | 1995-02-22 | Broadcast receiving apparatus and method |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2003128754A Division JP3661690B2 (en) | 1994-03-17 | 2003-05-07 | Broadcast receiver |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH07307928A JPH07307928A (en) | 1995-11-21 |
| JP3473151B2 true JP3473151B2 (en) | 2003-12-02 |
Family
ID=26372526
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP03377095A Expired - Fee Related JP3473151B2 (en) | 1994-03-17 | 1995-02-22 | Broadcast receiving apparatus and method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3473151B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3677018B2 (en) * | 1996-05-30 | 2005-07-27 | 松下電器産業株式会社 | TRANSMITTING DEVICE, RECEIVING DEVICE, RECEIVING METHOD, MEDIUM CONTAINING THE RECEIVING PROGRAM, COMMUNICATION SYSTEM |
| JPH10108146A (en) * | 1996-10-01 | 1998-04-24 | Matsushita Electric Ind Co Ltd | Digital information receiver |
| JP2002504787A (en) * | 1998-02-20 | 2002-02-12 | トムソン ライセンシング ソシエテ アノニム | System for forming, segmenting and processing program guides |
| US6502243B1 (en) * | 1998-11-10 | 2002-12-31 | Lgerca, Inc. | Method and system for locating a resource within a broadcasting environment |
-
1995
- 1995-02-22 JP JP03377095A patent/JP3473151B2/en not_active Expired - Fee Related
Non-Patent Citations (1)
| Title |
|---|
| 三木 和彦,ファイル管理ソフトLARC,The BASIC,日本,技術評論社,1989年 2月18日,1989年3月号,p.17,22 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH07307928A (en) | 1995-11-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100531675B1 (en) | Data file conversion method, data file browsing method and system | |
| US6335746B1 (en) | Information processing method and apparatus for displaying a list of a plurality of image data files and a list of search results | |
| US8830247B2 (en) | Image displaying device having image cache memory | |
| KR101884725B1 (en) | Apparatus and method for transmitting live media content | |
| US6532517B1 (en) | System and method for reducing disk chatter from disk-based data storage systems | |
| JPS6115243A (en) | Self-diffusion memory file | |
| AU5458486A (en) | Computer based drawing management system | |
| US5845226A (en) | Navigation system for leading to a destination and recording medium used for the navigation system | |
| JP3473151B2 (en) | Broadcast receiving apparatus and method | |
| EP0166936A2 (en) | Compression of binary numbers for storage in a memory | |
| KR20030000553A (en) | Method for recording and searching A/V signal and apparatus thereof | |
| JP3661690B2 (en) | Broadcast receiver | |
| JP3704483B2 (en) | File compression processing device | |
| JPH07264558A (en) | Teletext receiver | |
| US20030031186A1 (en) | Receiving/storing device, transmission device, broadcasting system, receiving/storing method, transmission method, broadcasting method, programme and medium | |
| US7788298B2 (en) | Method and mobile terminal for efficient file list creation | |
| JP2004021786A (en) | Information processing system and information processing method | |
| JPH05250448A (en) | Image editing device | |
| JPH08335387A (en) | Picture processing device | |
| JPH05173964A (en) | History acquisition system for input/output data | |
| CN100377586C (en) | video device | |
| KR100283588B1 (en) | Memory control method of digital data processing system | |
| US20080030616A1 (en) | Display system, teletext storage device, and method thereof | |
| KR101029800B1 (en) | How to compress and retrieve satellite antenna setting information | |
| CN121070881A (en) | Log query method, device and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |