JP2002252836A - Signal processor and method for rewriting program thereof - Google Patents

Signal processor and method for rewriting program thereof

Info

Publication number
JP2002252836A
JP2002252836A JP2001046966A JP2001046966A JP2002252836A JP 2002252836 A JP2002252836 A JP 2002252836A JP 2001046966 A JP2001046966 A JP 2001046966A JP 2001046966 A JP2001046966 A JP 2001046966A JP 2002252836 A JP2002252836 A JP 2002252836A
Authority
JP
Japan
Prior art keywords
program
information
rewriting
data
program area
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.)
Pending
Application number
JP2001046966A
Other languages
Japanese (ja)
Inventor
Takashi Okada
岡田  隆
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP2001046966A priority Critical patent/JP2002252836A/en
Publication of JP2002252836A publication Critical patent/JP2002252836A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a signal processor and a program rewriting method, capable of easily rewriting a program without installing a special interfaces. SOLUTION: The data of the vertical blanking period of an input image signal are extracted by a data slicer 3, and when the extracted data are data for control program rewriting having a prescribed header code, a program are (PROM 6 or PROM 7) which is not used at the present or designated by program area designation information stored in a PROM 8 is selected, and a program for rewriting is stored in the selected program area. Also, the program area designation information is changed to the information for designating the selected program area, and stored in the PROM 8, and the system is restarted. After the system is restarted, the program of the program area designated by the program area designation information of the PROM 8 is started, and the input image signal is processed according to this.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、入力信号を与えら
れたプログラムに応じて処理するとともに、当該プログ
ラムが書き換え可能な信号処理装置およびそのプログラ
ム書き換え方法に係り、特に、入力される画像信号を与
えられたプログラムに応じて処理するとともに、当該プ
ログラムが書き換え可能な画像信号処理装置およびその
プログラム書き換え方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a signal processing apparatus capable of processing an input signal in accordance with a given program and rewriting the program, and a method of rewriting the program. The present invention relates to an image signal processing device that processes according to a given program and that can rewrite the program, and a method of rewriting the program.

【0002】[0002]

【従来の技術】マイクロコンピュータ等を組み込んだ機
器の製造工程には、一般的にマイクロコンピュータの制
御プログラムを不揮発性のROMに書き込む作業工程が
ある。制御プログラムが比較的簡単でプログラムの書き
換えが不要な機器では、あらかじめ制御プログラムが書
き込まれた紫外線消去型などのROMが、組み立て時に
部品として取り付けられる。したがってこれらの機器に
おいて制御プログラムを変更する場合には、機器のカバ
ーを開けてROMを交換する必要がある。
2. Description of the Related Art In a process of manufacturing a device incorporating a microcomputer or the like, there is generally a process of writing a control program of the microcomputer in a nonvolatile ROM. In a device in which the control program is relatively simple and the program does not need to be rewritten, a UV erasing ROM or the like in which the control program is written in advance is attached as a component during assembly. Therefore, when changing the control program in these devices, it is necessary to open the cover of the device and replace the ROM.

【0003】一方、不具合対策や機能追加のために制御
プログラムを書き換える必要がある機器では、フラッシ
ュROMやEEPROM(Electrically Erasable Prog
rammable ROM)のようにデータの消去と再書き込みが可
能なROMに対して、組み立ての完成後に機器の外部か
ら制御プログラムが書き込まれる。すなわちこれらの機
器には、外部の装置から機器内部のROMに対して制御
プログラムを書き込むための仕組みが設けられている。
[0003] On the other hand, in a device that requires a control program to be rewritten in order to take measures against a malfunction or add a function, a flash ROM or an EEPROM (Electrically Erasable Prog.
A control program is written from the outside of the device to a ROM capable of erasing and rewriting data, such as a rammable ROM, after assembly is completed. That is, these devices are provided with a mechanism for writing a control program from an external device to a ROM inside the device.

【0004】特に近年では、LSIの集積度の向上と高
速化により従来ハードウェアで実現されていたシステム
の機能がソフトウェアに置き換えられることが多くなっ
ているので、既に出荷された製品に対する機能追加など
の要求にプログラムの変更だけで対応できる範囲が広く
なっている。この場合には、ユーザ側で制御プログラム
の更新が行われるので、できるだけ簡単に機器の制御プ
ログラムを更新できる仕組みが必要である。
In particular, in recent years, the functions of a system that has been conventionally realized by hardware are often replaced by software due to the increase in the degree of integration and the speed of an LSI, so that functions have been added to already shipped products. The range that can be met by simply changing the program has become wider. In this case, since the control program is updated on the user side, a mechanism that can update the control program of the device as simply as possible is required.

【0005】また、マイクロコンピュータ等を組み込ん
だ機器のソフトウェア開発においてはハードウェアの完
成後も動作の検証作業とプログラムの修正作業(デバッ
グ作業)があり、このデバッグ作業の遅滞が全体の開発
工程を長期化させる原因となるので、デバッグ作業を簡
易化させるためにも、効率的にプログラムの書き換えが
行える仕組みが要求される。
In software development of a device incorporating a microcomputer or the like, even after completion of the hardware, there are operations for verifying the operation and operations for modifying the program (debugging work). A mechanism that can efficiently rewrite the program is required to simplify the debugging work because it causes a longer time.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、例えば
VTRなどの民生機器では、機器サイズの小型化やコス
ト削減に対する要求が厳しく、制御プログラム書き込み
専用のインターフェースを機器の操作パネルに設けるこ
とができない場合が多い。このため、ROMの書き込み
を行うためには機器のカバーを開けた状態で専用の冶具
を接続するなどの作業が必要となり、容易にROMの書
き込みが行えない問題があった。したがって、このよう
な機器では一般のユーザに制御プログラムを更新させる
ことは更に困難であり、そのため、プログラムの更新だ
けで対処できるような機能追加や修正の要求に対しても
容易に対応することができない問題があった。
However, in the case of consumer equipment such as VTRs, for example, there is a severe demand for downsizing of equipment size and cost reduction, and an interface dedicated to writing a control program cannot be provided on an operation panel of the equipment. Many. For this reason, in order to write data into the ROM, an operation such as connecting a dedicated jig with the cover of the device opened is required, and there has been a problem that writing into the ROM cannot be performed easily. Therefore, it is more difficult for such a device to allow a general user to update the control program, and therefore, it is possible to easily respond to a request for adding or modifying a function that can be dealt with only by updating the program. There was a problem that could not be done.

【0007】本発明はかかる事情に鑑みてなされたもの
であり、その目的は、特別なインターフェースを備える
ことなく容易にプログラムの書き換えが可能な信号処理
装置を提供することにある。また、本発明の他の目的
は、入力信号を与えられたプログラムに応じて処理する
信号処理装置において、特別なインターフェースを備え
ることなく容易にプログラムの書き換えが可能となるプ
ログラム書き換え方法を提供することにある。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a signal processing apparatus capable of easily rewriting a program without having a special interface. Another object of the present invention is to provide a program rewriting method in which a program can be easily rewritten without a special interface in a signal processing device which processes an input signal according to a given program. It is in.

【0008】[0008]

【課題を解決するための手段】上記の目的を達成するた
め、本発明の信号処理装置は、入力される信号を、与え
られたプログラムに応じて処理する信号処理装置であっ
て、上記プログラムを記憶可能な複数のプログラム領域
を有する第1の記憶手段と、実行されるプログラムが記
憶された上記プログラム領域を指定する情報を記憶する
第2の記憶手段と、上記入力信号から所定の書き換え開
始情報を含むプログラム書き換え情報を抽出する抽出手
段と、初期状態において上記第2の記憶手段の上記プロ
グラム領域指定情報を入力し、入力したプログラム領域
指定情報において指定される上記プログラム領域のプロ
グラムを起動し、起動したプログラムに応じて上記入力
信号を処理し、上記抽出手段において上記プログラム書
き換え情報が抽出された場合、上記プログラム領域指定
情報において指定されない少なくとも1つのプログラム
領域を選択し、上記プログラム書き換え情報に含まれる
書き換えプログラムを上記選択したプログラム領域に記
憶させ、上記プログラム領域指定情報を、上記選択した
プログラム領域を指定する情報に変更し、上記初期状態
に移行する処理手段とを有する。好適には、上記抽出手
段は、入力される画像信号の垂直帰線期間に含まれる上
記プログラム書き換え情報を抽出し、上記処理手段は、
上記起動したプログラムに応じて上記画像信号を処理す
る。
In order to achieve the above object, a signal processing apparatus of the present invention is a signal processing apparatus for processing an input signal according to a given program. First storage means having a plurality of storable program areas, second storage means for storing information specifying the program area in which a program to be executed is stored, and predetermined rewriting start information from the input signal Extracting means for extracting program rewriting information including, in an initial state, inputting the program area designation information of the second storage means, activating a program of the program area designated by the inputted program area designation information, The input signal is processed according to the started program, and the program rewriting information is extracted by the extracting means. Is selected, at least one program area not specified in the program area specification information is selected, a rewrite program included in the program rewrite information is stored in the selected program area, and the program area specification information is stored in the selected program area. Processing means for changing to information for designating a program area and shifting to the initial state. Preferably, the extracting means extracts the program rewriting information included in a vertical blanking period of an input image signal, and the processing means
The image signal is processed according to the activated program.

【0009】本発明の信号処理装置によれば、上記第1
の記憶手段の複数のプログラム領域には、上記プログラ
ムが記憶可能であり、上記第2の記憶手段には、実行さ
れるプログラムが記憶された上記プログラム領域を指定
する情報が記憶される。上記抽出手段においては、上記
入力信号から所定の書き換え開始情報を含むプログラム
書き換え情報が抽出される。抽出手段において上記プロ
グラム書き換え情報が抽出された場合、上記プログラム
領域指定情報において指定されない少なくとも1つのプ
ログラム領域が上記処理手段に選択され、上記プログラ
ム書き換え情報に含まれる書き換えプログラムが上記選
択されたプログラム領域に記憶される。また上記処理手
段によって、上記プログラム領域指定情報が上記選択さ
れたプログラム領域を指定する情報に変更され、上記初
期状態に移行される。上記初期状態において、上記第2
の記憶手段の上記プログラム領域指定情報が上記処理手
段に入力され、この入力されたプログラム領域指定情報
において指定される上記プログラム領域のプログラム
が、上記処理手段に起動される。この起動されたプログ
ラムに応じて、上記入力信号が上記処理手段に処理され
る。好適には、上記抽出手段において、入力される画像
信号の垂直帰線期間に含まれる上記プログラム書き換え
情報が抽出され、上記処理手段においては、上記起動さ
れたプログラムに応じて上記画像信号が処理される。
According to the signal processing device of the present invention, the first
The program can be stored in a plurality of program areas of the storage means, and information specifying the program area in which the program to be executed is stored is stored in the second storage means. The extracting means extracts program rewrite information including predetermined rewrite start information from the input signal. When the program rewriting information is extracted by the extracting means, at least one program area not specified in the program area specifying information is selected by the processing means, and the rewriting program included in the program rewriting information is selected by the selected program area. Is stored. Further, the processing unit changes the program area designation information to information designating the selected program area, and shifts to the initial state. In the initial state, the second
Is input to the processing means, and the program of the program area specified by the input program area specification information is started by the processing means. The input signal is processed by the processing means according to the started program. Preferably, the extracting means extracts the program rewriting information included in a vertical blanking period of an input image signal, and the processing means processes the image signal according to the activated program. You.

【0010】また、上記処理手段は、上記プログラム書
き換え情報に含まれる装置情報が所定の装置情報と一致
しない場合、上記プログラム書き換え情報に応じたプロ
グラムの書き換え処理を中止し、上記起動したプログラ
ムに応じた処理を続行する。
If the device information included in the program rewriting information does not match the predetermined device information, the processing means stops the rewriting process of the program corresponding to the program rewriting information, and responds to the activated program. Continues processing.

【0011】また、上記処理手段は、上記書き換えプロ
グラムの一連のデータを所定のデータ長ずつ入力し、当
該入力データを上記選択したプログラム領域に順次記憶
させ、当該入力データを順次加算し、当該入力データの
数を計数し、当該計数値が上記プログラム書き換え情報
に含まれるデータ数情報に応じたデータ数に達するとき
の上記加算結果が、上記プログラム書き換え情報に含ま
れる合計情報と一致しない場合、上記プログラム領域指
定情報の変更を中止する。
Further, the processing means inputs a series of data of the rewriting program by a predetermined data length, sequentially stores the input data in the selected program area, sequentially adds the input data, and When the number of data is counted, and the addition result when the counted value reaches the number of data according to the data number information included in the program rewriting information does not match the total information included in the program rewriting information, Stop changing the program area specification information.

【0012】また、上記処理手段は、上記計数値が上記
データ数情報に応じたデータ数に達するときの入力デー
タが、上記プログラム書き換え情報に含まれる書き換え
終了情報で指定される終了データと一致しない場合、上
記プログラム領域指定情報の変更を中止する。
The processing means may be configured such that the input data when the count value reaches a data number corresponding to the data number information does not match end data specified by rewrite end information included in the program rewrite information. In this case, the change of the program area designation information is stopped.

【0013】本発明のプログラム書き換え方法は、プロ
グラムを記憶可能な複数のプログラム領域を有する記憶
手段を有し、入力される信号を、上記プログラム領域に
記憶されたプログラムに応じて処理する信号処理装置に
おいて、上記記憶されたプログラムを書き換える方法で
あって、上記プログラム領域のうち、あらかじめ指定さ
れたプログラム領域のプログラムを起動する初期ステッ
プと、上記入力信号から所定の書き換え開始情報を含む
プログラム書き換え情報を抽出する抽出ステップと、上
記抽出ステップにおいて上記プログラム書き換え情報が
抽出された場合、上記複数のプログラム領域のうち、上
記初期ステップにおいて指定されていない少なくとも1
つのプログラム領域を選択し、当該選択されたプログラ
ム領域に、上記プログラム書き換え情報に含まれる書き
換えプログラムを記憶し、上記初期ステップにおける起
動プログラム領域の指定を当該選択されたプログラム領
域に変更し、上記初期ステップに移行する書き換えステ
ップとを有する。好適には、上記プログラム書き換え情
報を抽出するステップは、入力される画像信号の垂直帰
線期間に含まれる上記プログラム書き換え情報を抽出す
る。
A program rewriting method according to the present invention has a storage means having a plurality of program areas capable of storing a program, and a signal processing apparatus for processing an input signal in accordance with the program stored in the program area. In the method for rewriting the stored program, an initial step of activating a program in a program area designated in advance in the program area, and program rewriting information including predetermined rewriting start information from the input signal. An extracting step of extracting, and when the program rewriting information is extracted in the extracting step, at least one of the plurality of program areas not specified in the initial step is selected.
One program area is selected, the rewriting program included in the program rewriting information is stored in the selected program area, the designation of the start-up program area in the initial step is changed to the selected program area, And a rewriting step for shifting to a step. Preferably, in the step of extracting the program rewriting information, the program rewriting information included in a vertical blanking period of an input image signal is extracted.

【0014】本発明のプログラム書き換え方法によれ
ば、上記初期ステップにおいて、上記プログラム領域の
うち、あらかじめ指定されたプログラム領域のプログラ
ムが起動される。上記抽出ステップにおいては、上記入
力信号から所定の書き換え開始情報を含むプログラム書
き換え情報が抽出される。上記抽出ステップにおいて上
記プログラム書き換え情報が抽出された場合、上記書き
換えステップにおいて、上記複数のプログラム領域のう
ち、上記初期ステップにおいて指定されていない少なく
とも1つのプログラム領域が選択され、この選択された
プログラム領域に、上記プログラム書き換え情報に含ま
れる書き換えプログラムが記憶される。また、上記初期
ステップにおける起動プログラム領域の指定が当該選択
されたプログラム領域に変更される。そして、上記初期
ステップに処理が移行される。好適には、上記抽出ステ
ップにおいて、入力される画像信号の垂直帰線期間に含
まれる上記プログラム書き換え情報が抽出される。
According to the program rewriting method of the present invention, in the initial step, a program in a program area designated in advance among the program areas is started. In the extracting step, program rewriting information including predetermined rewriting start information is extracted from the input signal. When the program rewriting information is extracted in the extracting step, at least one program area not specified in the initial step is selected from the plurality of program areas in the rewriting step, and the selected program area is selected. Then, a rewrite program included in the program rewrite information is stored. Further, the designation of the startup program area in the initial step is changed to the selected program area. Then, the process proceeds to the initial step. Preferably, in the extracting step, the program rewriting information included in a vertical blanking period of an input image signal is extracted.

【0015】また、上記書き換えステップは、上記プロ
グラム書き換え情報に含まれる装置情報が所定の装置情
報と一致しない場合、上記プログラム書き換え情報に応
じたプログラムの書き換え処理を中止する。
In the rewriting step, when the device information included in the program rewriting information does not match the predetermined device information, the rewriting process of the program according to the program rewriting information is stopped.

【0016】また、上記書き換えステップは、上記書き
換えプログラムの一連のデータを所定のデータ長ずつ入
力し、 当該入力データを上記選択したプログラム領域
に順次記憶させ、当該入力データを順次加算し、当該入
力データの数を計数し、当該計数値が上記プログラム書
き換え情報に含まれるデータ数情報に応じたデータ数に
達するときの上記加算結果が、上記プログラム書き換え
情報に含まれる合計情報と一致しない場合、上記初期ス
テップにおける起動プログラム領域の指定の変更を中止
する。
In the rewriting step, a series of data of the rewriting program is inputted by a predetermined data length, the input data is sequentially stored in the selected program area, and the input data is sequentially added. When the number of data is counted, and the addition result when the counted value reaches the number of data according to the data number information included in the program rewriting information does not match the total information included in the program rewriting information, Stop changing the specification of the startup program area in the initial step.

【0017】また上記書き換えステップは、上記計数値
が上記データ数情報に応じたデータ数に達するときの入
力データが、上記プログラム書き換え情報に含まれる書
き換え終了情報で指定される終了データと一致しない場
合、上記初期ステップにおける起動プログラム領域の指
定の変更を中止する。
[0017] The rewriting step may include the step of: when the input data when the count value reaches a data number corresponding to the data number information does not match end data specified by rewriting end information included in the program rewriting information. Then, the change of the designation of the start program area in the initial step is stopped.

【0018】[0018]

【発明の実施の形態】図1は、本発明に係る画像信号処
理装置の概略的な構成を説明するための図である。図1
に示す画像信号処理装置は、画像信号入力部1、モニタ
10、および信号処理部11を有する。また画像信号処
理部11には、画像信号処理回路2、データスライサ
3、CPU4、RAM5、PROM6〜PROM8、お
よび画面表示回路9が含まれる。
FIG. 1 is a diagram for explaining a schematic configuration of an image signal processing apparatus according to the present invention. Figure 1
Has an image signal input unit 1, a monitor 10, and a signal processing unit 11. Further, the image signal processing unit 11 includes an image signal processing circuit 2, a data slicer 3, a CPU 4, a RAM 5, PROMs 6 to 8 and a screen display circuit 9.

【0019】まず、図1に示す画像信号処理装置の各構
成について説明する。画像信号入力部1は、画像信号を
入力するブロックであり、例えばビデオテープなどに記
録された画像信号を読み出して再生したテレビジョン信
号S1を信号処理部11に出力する。モニタ10は、信
号処理部11において処理された画像信号S10を入力
し、これに応じた画像を表示する。
First, each configuration of the image signal processing apparatus shown in FIG. 1 will be described. The image signal input unit 1 is a block for inputting an image signal. The image signal input unit 1 reads out an image signal recorded on, for example, a video tape and outputs the reproduced television signal S1 to the signal processing unit 11. The monitor 10 receives the image signal S10 processed by the signal processing unit 11, and displays an image corresponding to the image signal S10.

【0020】信号処理部11は、画像信号入力部1から
入力される画像信号を、内部のROMに記憶された制御
プログラムに応じて処理し、処理結果の画像信号または
生成された画像信号をモニタ10に出力する。
The signal processing section 11 processes an image signal input from the image signal input section 1 according to a control program stored in an internal ROM, and monitors an image signal as a processing result or a generated image signal. Output to 10

【0021】この信号処理部11において、画像信号処
理回路2は、CPU4からの図示しない制御信号に応じ
て入力画像信号S1を処理し、処理結果の画像信号をモ
ニタ10に出力する。また、入力の画像信号S1に含ま
れる所定のデータパケット、例えば文字放送用のデータ
パケットを抽出し、これをデータスライサ3に出力す
る。また、画像表示回路9において生成されるOSD
(On -Screen Display)用の制御信号を入力し、これに
応じた文字や図形の画像を入力の画像に重畳させた画像
信号を生成して、モニタ10に出力する。
In the signal processing section 11, the image signal processing circuit 2 processes the input image signal S1 according to a control signal (not shown) from the CPU 4, and outputs a processed image signal to the monitor 10. Further, it extracts a predetermined data packet included in the input image signal S1, for example, a data packet for teletext, and outputs this to the data slicer 3. The OSD generated in the image display circuit 9
A control signal for (On-Screen Display) is input, and an image signal in which a character or graphic image corresponding to the control signal is superimposed on the input image is generated and output to the monitor 10.

【0022】データスライサ3は、画像信号処理回路2
において抽出されたデータパケットから、さらに入力の
画像信号の所定の期間、例えば垂直帰線期間の所定の未
使用期間に重畳される制御プログラム書き換え用のデー
タパケットを抽出し、これをCPU4に出力する。
The data slicer 3 includes an image signal processing circuit 2
From the extracted data packet, further extract a control program rewriting data packet superimposed on a predetermined period of the input image signal, for example, a predetermined unused period of a vertical blanking period, and output this to the CPU 4. .

【0023】RAM5は、CPU4における処理で生成
されるデータを一時的に保持する記憶装置である。
The RAM 5 is a storage device for temporarily storing data generated by the processing in the CPU 4.

【0024】PROM6〜PROM8は、CPU4から
の制御に応じて記憶内容の消去と再書き込みが可能な記
憶装置であり、このうちPROM6およびPROM7の
何れか一方には、画像処理装置全体の制御プログラムが
記憶される。PROM8には、PROM6またはPRO
M7のどちらを制御プログラムの記憶領域として選択し
ているか否かを示すためのプログラム領域指定情報や、
プログラム起動時に初期化されるPROMを指定するた
めのプログラム領域初期化情報など、プログラムの書き
換え処理において参照されるデータが記憶されるととも
に、制御プログラムの書き換えを実行するためのプログ
ラムが記憶されている。
Each of the PROMs 6 to 8 is a storage device capable of erasing and rewriting the stored contents under the control of the CPU 4, and one of the PROM 6 and the PROM 7 stores a control program for the entire image processing apparatus. It is memorized. The PROM 8 has PROM 6 or PRO
Program area designation information for indicating which of M7 is selected as the storage area of the control program,
Data to be referred to in the program rewriting process, such as program area initialization information for designating a PROM to be initialized when the program is started, is stored, and a program for executing the control program rewriting is stored. .

【0025】CPU4は、初期状態においてPROM8
に記憶されたプログラム指定情報を読み込み、これに応
じて選択したPROM6またはPROM7に記憶される
制御プログラムを起動する。そして、この起動したプロ
グラムに応じて画像信号処理回路2を制御し、入力の画
像信号S1を処理する。
The CPU 4 has a PROM 8 in the initial state.
, The control program stored in the selected PROM 6 or PROM 7 is started. Then, the image signal processing circuit 2 is controlled according to the activated program to process the input image signal S1.

【0026】またCPU4は、データスライサ3におい
て抽出されるデータパケットを入力して、これに制御プ
ログラム書き換え用のデータの伝送開始を知らせる所定
のヘッダコードが含まれているか否かを監視する。この
ヘッダ情報が検出された場合には、後述するプログラム
の書き換え処理を実行して、PROM6またはPROM
7に新規の制御プログラムを書き込むとともに、PRO
M8に記憶されたプログラム領域指定情報やプログラム
領域初期化情報を更新して、装置の再起動を実行する。
The CPU 4 inputs a data packet extracted by the data slicer 3 and monitors whether or not the data packet includes a predetermined header code indicating the start of transmission of data for rewriting the control program. When this header information is detected, the program rewriting process described later is executed, and the PROM 6 or the PROM
7 and write a new control program
The program area designation information and the program area initialization information stored in M8 are updated, and the apparatus is restarted.

【0027】画面表示回路9は、CPU4からの制御に
応じてOSD用の制御信号を生成し、これを画像信号処
理回路2に出力して、入力の画像に文字や図形を重畳し
て表示させる。
The screen display circuit 9 generates an OSD control signal under the control of the CPU 4, outputs the control signal to the image signal processing circuit 2, and superimposes and displays characters and graphics on the input image. .

【0028】次に、上述した構成を有する画像信号処理
装置においてPROM7またはPROM8に記憶された
制御プログラムが書き換えられる処理ついて、図2〜図
4のフローチャートを参照しながら説明する。
Next, the process of rewriting the control program stored in the PROM 7 or PROM 8 in the image signal processing device having the above-described configuration will be described with reference to the flowcharts of FIGS.

【0029】制御プログラムのメイン処理においては、
入力画像信号S1の処理など通常の処理(ステップST
2)が実行されるとともに、データスライサ3において
抽出されるデータパケットが制御プログラム書き換え用
データの伝送開始を知らせる所定のヘッダコードである
か否かが監視される(ステップST1)。
In the main processing of the control program,
Normal processing such as processing of the input image signal S1 (step ST
2) is executed, and it is monitored whether or not the data packet extracted in the data slicer 3 is a predetermined header code indicating the start of transmission of control program rewrite data (step ST1).

【0030】メイン処理のステップST1においてこの
ヘッダコードが検出されると、ステップST3におい
て、このヘッダコードに続いて伝送される機種コードが
データスライサ3からCPU4に入力され、RAM5に
保持される。そしてステップST4において、このRA
M5に保持された機種コードが所定の機種コードである
か否かがCPU4に判断される。この場合、例えばPR
OM8にこの所定の機種コードをあらかじめ記憶させて
おき、このデータとRAM5に保持された機種コードと
の一致をCPU4に判断させても良い。この保持された
機種コードが所定の機種コードでないことが判断された
場合には、ステップST2の通常処理に処理が戻され
て、入力された制御プログラム書き換えデータによる制
御プログラムの書き換え処理は行われない。
When the header code is detected in step ST1 of the main process, the model code transmitted following the header code is input from the data slicer 3 to the CPU 4 in step ST3, and is held in the RAM 5. Then, in step ST4, this RA
The CPU 4 determines whether the model code held in M5 is a predetermined model code. In this case, for example, PR
The predetermined model code may be stored in the OM 8 in advance, and the CPU 4 may determine whether the data matches the model code stored in the RAM 5. When it is determined that the held model code is not the predetermined model code, the process returns to the normal process of step ST2, and the control program rewriting process based on the input control program rewriting data is not performed. .

【0031】RAM5に保持された機種コードが所定の
機種コードと一致する場合には、ステップST5におい
て、機種コードの次に伝送されるデータ数情報がRAM
5に記憶され、ステップST6では、このデータ数情報
の次に伝送されるチェックサム情報がRAM5に保持さ
れる。
If the model code held in the RAM 5 matches the predetermined model code, in step ST5, information on the number of data to be transmitted next to the model code is stored in the RAM.
5 and the checksum information transmitted next to the data number information is stored in the RAM 5 in step ST6.

【0032】データ数情報は、制御プログラムとして伝
送されるデータのデータ数に関する情報であり、例えば
データがバイト単位でPROMに書き込まれる場合に
は、この書き込まれるプログラムのバイト数がデータ数
情報としてRAM5に保持される。
The data number information is information relating to the number of data pieces of data transmitted as a control program. For example, when data is written to the PROM in byte units, the number of bytes of the written program is used as the data number information in the RAM 5. Is held.

【0033】またチェックサム情報は、書き換えプログ
ラムとして入力される一連のプログラムデータを所定の
データ長ずつ抽出して加算した結果のデータであり、例
えばPROMに対してプログラムデータが1バイトずつ
記憶される場合には、このプログラムデータを1バイト
ずつ加算した結果のデータがチェックサム情報としてR
AM5に保持される。
The checksum information is data obtained by extracting and adding a series of program data input as a rewrite program at a predetermined data length, and stores the program data, for example, one byte at a time in a PROM. In this case, the data resulting from adding the program data one byte at a time is R as checksum information.
AM5.

【0034】次いでステップST7において、伝送され
た制御プログラムの書き込み先のPROMが選択され
る。図11の例ではPROM6またはPROM7のいず
れか一方が書き込み先のPROMに選択されるが、この
場合には、PROM8のプログラム領域指定情報におい
て指定されるPROMとは異なる他方のPROMが、書
き込み先のPROMとして選択される。例えばプログラ
ム領域指定情報においてPROM7が指定されている場
合、PROM7に記憶されている制御プログラムが起動
中であるので、現在未使用であるPROM6が書き込み
先のPROMとして選択される。すなわち、起動中のプ
ログラムの記憶領域として使用されていないPROM
が、書き込み先のPROMとして選択される。
Next, in step ST7, a PROM to which the transmitted control program is to be written is selected. In the example of FIG. 11, one of the PROM 6 and the PROM 7 is selected as the write destination PROM. In this case, the other PROM different from the PROM specified in the program area specification information of the PROM 8 is used as the write destination PROM. Selected as PROM. For example, when the PROM 7 is designated in the program area designation information, the control program stored in the PROM 7 is being activated, and the currently unused PROM 6 is selected as the write destination PROM. That is, a PROM not used as a storage area for a running program
Is selected as the write destination PROM.

【0035】また、例えば書き込み先のPROMとして
2つ以上のプログラム領域(例えばPROM)が使用可
能である場合には、これらのプログラム領域のうち、起
動中のプログラムが記憶されたプログラム領域とは異な
る、他の未使用のプログラム領域が1つ以上選択され
る。さらにこの場合、書き込み先として選択されたプロ
グラム領域の全体の記憶容量が、少なくともデータ数情
報に対応するデータ量を超えるように、プログラム領域
を選択させても良い。これにより、制御プログラムの大
きさに応じた記憶容量の設定が可能になるので、未使用
のプログラム領域を少なくすることができる。
When two or more program areas (for example, PROMs) can be used as the write destination PROM, of these program areas, the program area different from the program area in which the running program is stored is different. , One or more other unused program areas are selected. Further, in this case, the program area may be selected such that the entire storage capacity of the program area selected as the write destination exceeds at least the data amount corresponding to the data number information. This makes it possible to set the storage capacity according to the size of the control program, so that the unused program area can be reduced.

【0036】またステップST7においては、制御プロ
グラムの書き込み開始を表示させるためのOSD用の制
御信号がCPU4の指示に応じて画面表示回路9により
生成され、この信号に応じてOSD用の画像が重畳され
た画像信号S10が画像信号処理回路2よりモニタ10
に供給されて、モニタ10の画面上に書き込み開始を通
知する所定の文字や図形などが表示される。
In step ST7, an OSD control signal for displaying the start of writing of the control program is generated by the screen display circuit 9 in accordance with an instruction from the CPU 4, and an OSD image is superimposed in accordance with this signal. The obtained image signal S10 is sent from the image signal processing circuit 2 to the monitor
Are displayed on the screen of the monitor 10 to display predetermined characters, graphics, and the like for notifying the start of writing.

【0037】次にステップST8において、ステップS
T7で選択されたPROMに、伝送された制御プログラ
ムが所定データ長ずつ、例えば1バイトずつ順次書き込
まれる。ステップST9では、この書き込まれたデータ
が順次加算され、この積算結果がRAM5に保持され
る。またステップST10では、PROMに所定データ
長ずつ書き込まれるデータ数が順次計数され、この計数
値もRAM5に保持される。
Next, in step ST8, step S
The transmitted control program is sequentially written to the PROM selected at T7 by a predetermined data length, for example, one byte at a time. In step ST9, the written data is sequentially added, and the result of the integration is stored in the RAM 5. In step ST10, the number of data to be written into the PROM by a predetermined data length is sequentially counted, and the counted value is also stored in the RAM 5.

【0038】そしてステップST11において、RAM
5に保持されたデータ数の計数値が上述のデータ数情報
に対応するデータ数に到達しているか否かに応じて、デ
ータ書き込みの完了が判断される。到達していない場合
にはデータ書き込みが未了であると判断され、再びステ
ップST8に処理が戻されて、データの書き込みステッ
プST8、データの積算ステップST9、およびデータ
数の計数ステップST10が反復される。また到達して
いる場合にはデータ書き込みが完了したと判断され、次
のステップST12に処理が移行される。なお、例えば
ステップST10においてデータ数情報に対応するデー
タ数を1ずつ減数させ、この減数された値がゼロである
か否かに応じてデータ書き込みの完了を判断させても良
い。
Then, in step ST11, the RAM
Completion of data writing is determined depending on whether the count value of the number of data held in No. 5 has reached the number of data corresponding to the above-mentioned data number information. If not reached, it is determined that the data writing has not been completed, and the process returns to step ST8 again to repeat the data writing step ST8, the data integration step ST9, and the data number counting step ST10. You. If it has reached, it is determined that the data writing has been completed, and the process proceeds to the next step ST12. In step ST10, for example, the data number corresponding to the data number information may be reduced by one, and the completion of the data writing may be determined based on whether or not the reduced value is zero.

【0039】ステップST12では、RAM5に保持さ
れたステップST9のデータ積算値と、同じくRAM5
に保持されたチェックサム情報とが一致しているか否か
が判断され、一致している場合にはステップST13に
処理が移行される。また一致していない場合にはステッ
プST16に処理が移行されて、異常な書き込みに対す
る処理が行われる。
In step ST12, the data integrated value in step ST9 held in the RAM 5 and the RAM 5
It is determined whether or not the checksum information stored in step ST13 matches the checksum information. If the checksum information matches, the process proceeds to step ST13. If they do not match, the process proceeds to step ST16, and a process for abnormal writing is performed.

【0040】ステップST13では、書き込み用の制御
プログラムのデータに続いて伝送される終了コードがデ
ータスライサ3からCPU4に入力され、この終了コー
ドが所定の終了コードと一致するか否かが判断される。
一致する場合にはステップST14に処理が移行され
て、正常な書き込みに対する処理が行われる。また一致
しない場合には、ステップST16に処理が移行され
て、異常な書き込みに対する処理が行われる。
In step ST13, an end code transmitted following the data of the control program for writing is input from the data slicer 3 to the CPU 4, and it is determined whether or not the end code matches a predetermined end code. .
If they match, the process proceeds to step ST14, and the process for normal writing is performed. If they do not match, the process proceeds to step ST16, and a process for abnormal writing is performed.

【0041】ステップST14においては、PROM8
のプログラム領域指定情報で指定された現在起動中のプ
ログラムの記憶領域を初期化させるプログラム領域初期
化情報が生成されて、PROM8に記憶される。また、
ステップST7において選択されたプログラム領域が起
動プログラムの記憶領域として指定されるようにプログ
ラム領域指定情報が変更されて、これがPROM8に記
憶される。この後、ステップST15において書き込み
の正常終了を通知するためのOSD用制御信号が画面表
示回路9により生成され、モニタ10画面上にこの通知
が表示される。モニタ10に表示されるこの通知は、一
定時間後に消去される。
In step ST14, PROM 8
The program area initialization information for initializing the storage area of the currently running program designated by the program area designation information is generated and stored in the PROM 8. Also,
The program area designation information is changed so that the program area selected in step ST7 is designated as the storage area of the startup program, and this is stored in the PROM 8. Thereafter, in step ST15, an OSD control signal for notifying the normal end of the writing is generated by the screen display circuit 9, and this notification is displayed on the monitor 10 screen. This notification displayed on the monitor 10 is deleted after a certain period of time.

【0042】またステップST16においては、ステッ
プST14と異なり、プログラム領域指定情報の変更は
行われず、プログラム領域初期化情報のみが生成され
て、PROM8に記憶される。ただし、このプログラム
領域初期化情報は、ステップST7において選択され、
ステップST8においてプログラムが書き込まれた記憶
領域を初期化させるためのものである。この後、ステッ
プST17において書き込みの異常終了を通知するため
のOSD用制御信号が画面表示回路9により生成され、
モニタ10画面上にこの通知が表示される。モニタ10
に表示されるこの通知は、一定時間後に消去される。
In step ST16, unlike step ST14, the program area designation information is not changed, and only the program area initialization information is generated and stored in PROM 8. However, this program area initialization information is selected in step ST7,
This is for initializing the storage area in which the program has been written in step ST8. Thereafter, in step ST17, an OSD control signal for notifying the abnormal end of the writing is generated by the screen display circuit 9,
This notification is displayed on the monitor 10 screen. Monitor 10
Is deleted after a certain period of time.

【0043】ステップST14およびステップST15
における正常な書き込みに対する処理、またはステップ
ST16およびステップST17における異常な書き込
みに対する処理が行われた後、ステップST18におい
てシステムの初期化と再起動が実行される。この再起動
後のステップST19においては、まずPROM8に記
憶されたプログラム書き換え処理用のプログラムが起動
され、このプログラム上でPROM8のプログラム領域
指定情報が参照され、この情報により指定されるプログ
ラム領域の制御プログラムが起動される。
Step ST14 and step ST15
After the processing for normal writing in step ST16 or the processing for abnormal writing in steps ST16 and ST17 is performed, the system is initialized and restarted in step ST18. In step ST19 after the restart, first, a program for rewriting the program stored in the PROM 8 is started, the program area designation information of the PROM 8 is referred to on this program, and the control of the program area designated by this information is performed. The program starts.

【0044】またステップST20において、PROM
8のプログラム領域初期化情報において初期化が要求さ
れているプログラム領域があるか否かが判断され、ある
場合にはそのプログラム領域(図1の例ではPROM6
またはPROM7)が初期化される。初期化を要求され
たプログラム領域がない場合には、そのままメイン処理
が実行され、上述したステップST1およびステップS
T2が反復される。
In step ST20, the PROM
It is determined whether or not there is a program area for which initialization is requested in the program area initialization information 8 and, if so, the program area (PROM 6 in the example of FIG. 1).
Alternatively, the PROM 7) is initialized. If there is no program area requested to be initialized, the main process is executed as it is, and the above-described steps ST1 and S2 are executed.
T2 is repeated.

【0045】次に、上述した図1の画像信号処理装置に
入力される画像信号に対して、制御プログラム書き換え
用のデータを重畳させる具体例について説明する。図5
は、標準的なテレビジョン信号の垂直帰線期間における
波形を示す図であり、図の上段は奇数フィールドの垂直
帰線期間における波形を、下段は偶数フィールドの垂直
帰線期間における波形をそれぞれ示している。
Next, a specific example will be described in which data for rewriting a control program is superimposed on an image signal input to the image signal processing apparatus shown in FIG. FIG.
Is a diagram showing a waveform of a standard television signal in the vertical retrace period, the upper part of the figure shows the waveform in the vertical retrace period of the odd field, and the lower part shows the waveform in the vertical retrace period of the even field. ing.

【0046】日本における標準的なテレビジョン方式で
は1フレームが525本の水平走査線により構成されて
いるが、このうちインターレース走査における偶数フィ
ールドの1番目〜21番目の水平走査線と、奇数フィー
ルドの264番目〜284番目の水平走査線は垂直帰線
期間に含まれるため、再生される映像に使用されていな
い。また、この垂直帰線期間において偶数フィールドの
1番目〜9番目の水平走査期間と、奇数フィールドの2
64番目〜272番目の水平走査期間は垂直同期信号の
ために用いられるため、この残りの水平走査期間(10
〜21番目および273番目〜284番目)が再生映像
以外の情報を重畳させるために使用可能である。このた
め、これら水平走査期間は、例えば文字放送用の情報や
データ放送用の情報を重畳させるために用いられる場合
がある。
In a standard television system in Japan, one frame is composed of 525 horizontal scanning lines. Among them, the first to 21st horizontal scanning lines of the even field and the odd field of the odd field in the interlaced scanning are included. Since the 264th to 284th horizontal scanning lines are included in the vertical blanking period, they are not used for the reproduced video. In this vertical blanking period, the first to ninth horizontal scanning periods of the even field and the second horizontal scanning period of the odd field are also used.
Since the 64th to 272th horizontal scanning periods are used for vertical synchronization signals, the remaining horizontal scanning periods (10
21st and 273rd to 284th) can be used to superimpose information other than the reproduced video. Therefore, these horizontal scanning periods may be used, for example, to superimpose text broadcast information or data broadcast information.

【0047】したがって、本発明における制御プログラ
ム書き換え用データの伝送にこれらの未使用の水平走査
期間を利用することは可能である。ただし、こうしたデ
ータを重畳させることによる再生映像への影響を小さく
するために、上述した未使用の水平走査線のうち、例え
ばその半分である16番目〜21番目および279番目
〜284番目の水平走査線だけを制御プログラム書き換
え用データの伝送に用いても良い。図5において、期間
T1はこの16番目〜21番目の水平走査線期間を示し
ており、期間T2は279番目〜284番目の水平走査
期間を示している。
Therefore, it is possible to use these unused horizontal scanning periods for transmitting the control program rewriting data in the present invention. However, in order to reduce the influence on the reproduced video by superimposing such data, among the unused horizontal scanning lines described above, for example, the 16th to 21st and 279th to 284th horizontal scanning lines, which are half of the unused horizontal scanning lines, are used. Only the line may be used for transmitting the control program rewriting data. In FIG. 5, a period T1 indicates the 16th to 21st horizontal scanning line periods, and a period T2 indicates the 279th to 284th horizontal scanning periods.

【0048】図6は、1つの水平走査期間において伝送
可能なデータパケットの例を示す図である。例えば文字
放送用の情報として1つの水平走査期間に伝送可能なデ
ータパケットは、図6aに示すように296ビットであ
り、このうち48ビットはヘッダに用いられ、残りの2
48ビットは伝送される情報データに用いられる。すな
わち1つの水平走査期間において伝送可能なデータパケ
ットは、図6bに示すように6バイトのヘッダ部分と3
1バイトの情報データ部により構成されている。したが
って、本発明における制御プログラム書き換え用データ
をこの31バイトの情報データ部分を使って伝送させる
ことが可能である。
FIG. 6 is a diagram showing an example of a data packet that can be transmitted in one horizontal scanning period. For example, a data packet that can be transmitted as text broadcast information in one horizontal scanning period is 296 bits as shown in FIG. 6A, of which 48 bits are used for a header and the remaining 2 bits are used.
48 bits are used for information data to be transmitted. That is, a data packet that can be transmitted in one horizontal scanning period includes a header portion of 6 bytes and 3 bytes as shown in FIG.
It is composed of a 1-byte information data section. Therefore, the control program rewriting data in the present invention can be transmitted using the 31-byte information data portion.

【0049】図7は、伝送される制御プログラム書き換
え用データの例を示す図である。図7の例において、制
御プログラム書き換え用データは4バイトのヘッダコー
ドD1、2バイトの機種コードD2、4バイトのデータ
数情報D3、2バイトのチェックサム情報D4、書き換
え用のプログラムデータD5、および終了コードD6の
順番で並んだデータにより構成されている。また、図7
の例において書き換え用のプログラムデータD5以外の
他のデータ値は以下のようになっている。 ヘッダコードD1・・・・FF00FF00h 機種コードD2・・・・・7733h データ数情報D3・・・・0000F000h(60k
バイト) チェックサム情報D4・・A893h 終了コードD5・・・・・00FF00FFh
FIG. 7 is a diagram showing an example of transmitted control program rewriting data. In the example of FIG. 7, the control program rewriting data includes a 4-byte header code D1, a 2-byte model code D2, a 4-byte data number information D3, a 2-byte checksum information D4, a rewriting program data D5, and It is composed of data arranged in the order of the end code D6. FIG.
In the example, the data values other than the program data D5 for rewriting are as follows. Header code D1 FF00FF00h Model code D2 7733h Data number information D3 0000F000h (60k
Byte) Checksum information D4 ... A893h End code D5 ... 00FF00FFh

【0050】以上説明したように、図1に示す画像信号
処理装置によれば、PROM6またはPROM7におい
て制御プログラムが記憶可能であり、PROM8におい
ては制御プログラムが記憶されたプログラム領域を指定
するプログラム領域指定情報が記憶されている。また、
データスライサ3において入力画像信号の所定期間のデ
ータが抽出されており、この抽出されたデータがCPU
4において監視されている。そして、所定のヘッダコー
ドを有する制御プログラム書き換え用データがデータス
ライサ3で抽出された場合、PROM8のプログラム領
域指定情報において指定されない少なくとも1つのプロ
グラム領域がCPU4において選択され、制御プログラ
ム書き換え用データに含まれる書き換えプログラムが当
該選択されたプログラム領域に記憶される。また、プロ
グラム領域指定情報は当該選択されたプログラム領域を
指定する情報に変更されてPROM8に記憶され、シス
テムが初期状態となるように再起動される。起動後の初
期状態において、PROM8のプログラム領域指定情報
がCPU4に入力され、この入力されたプログラム領域
指定情報において指定されるプログラム領域に記憶され
たプログラムが起動される。そして、この起動されたプ
ログラムに応じて入力の画像信号が処理される。したが
って、装置に制御プログラム書き換え用の特別なインタ
ーフェースを設けることなく、制御プログラム書き換え
用データを垂直帰線期間などの所定の期間に重畳させた
画像信号を供給するだけで、容易に制御プログラムの書
き換えを行うことができる。これにより、例えば装置の
組み立て作業が簡略化され、生産効率を向上できる。ま
た、一般のユーザに販売された装置の制御プログラム
を、ユーザに負担をかけることなく容易に更新させるこ
とができるので、制御プログラムの更新による不具合対
策や機能向上などの優れたサービスをユーザに提供する
ことができ、製品の品質を向上できる。また、開発途上
の装置にこうした制御プログラムの書き換え機能を設け
ることで、デバッグ作業が効率化され、開発期間の短縮
を図ることができる。
As described above, according to the image signal processing apparatus shown in FIG. 1, the control program can be stored in the PROM 6 or the PROM 7, and the program area designation for designating the program area in which the control program is stored in the PROM 8 Information is stored. Also,
The data of the input image signal for a predetermined period is extracted in the data slicer 3, and the extracted data is
4 is monitored. When the control program rewriting data having a predetermined header code is extracted by the data slicer 3, at least one program area not specified in the program area specification information of the PROM 8 is selected by the CPU 4 and included in the control program rewriting data. The rewrite program to be written is stored in the selected program area. Further, the program area designation information is changed to information for designating the selected program area, stored in the PROM 8, and the system is restarted so as to be in the initial state. In an initial state after activation, the program area designation information of the PROM 8 is input to the CPU 4, and the program stored in the program area designated by the inputted program area designation information is activated. Then, the input image signal is processed according to the activated program. Therefore, the control program can be easily rewritten only by supplying an image signal in which the control program rewrite data is superimposed in a predetermined period such as a vertical blanking period without providing a special interface for rewriting the control program in the device. It can be performed. Thereby, for example, the assembling work of the device is simplified, and the production efficiency can be improved. In addition, since the control program of the device sold to the general user can be easily updated without burdening the user, the user is provided with excellent services such as trouble shooting and function improvement by updating the control program. Can improve product quality. Further, by providing such a control program rewriting function in a device under development, the debugging work can be made more efficient, and the development period can be shortened.

【0051】また、制御プログラム書き換え用データに
含まれる機器コードが所定の機器コードと一致しない場
合、この制御プログラム書き換え用データに応じたプロ
グラムの書き換え処理が中止され、起動中のプログラム
に応じた通常処理が続行されるので、例えばタイプが異
なる複数の装置に対して、制御プログラム書き換え用デ
ータが含まれた共通の画像信号が供給されても、制御プ
ログラムが自らのタイプに合致しないものに書き換えら
れてしまう不具合を防ぐことができる。これにより、例
えば複数のタイプの異なる装置に共通の配線で画像信号
を供給しながら、それぞれの装置に対して適切な制御プ
ログラムを書き込むことができるので、装置のタイプご
とに配線を分ける必要がなくなり、制御プログラム書き
込み作業を簡略化できる。また、ユーザに販売された装
置の制御プログラムを更新させる場合にも、誤った制御
プログラムに書き換えられてしまう不具合を防止でき
る。
When the device code included in the control program rewriting data does not match the predetermined device code, the rewriting process of the program corresponding to the control program rewriting data is stopped, and the normal process corresponding to the program being started is stopped. Since the processing is continued, for example, even if a common image signal including the control program rewriting data is supplied to a plurality of devices of different types, the control program is rewritten to a device that does not match its own type. Can be prevented. Thus, for example, an appropriate control program can be written to each device while supplying image signals to a plurality of different types of devices using common wiring, so that there is no need to divide wiring for each type of device. Thus, the operation of writing the control program can be simplified. Further, even when the control program of the sold device is updated by the user, it is possible to prevent a problem that the control program is rewritten by an incorrect control program.

【0052】また、書き換えプログラムの一連のデータ
が所定のデータ長ずつ順次入力され、この入力データが
CPU4に選択されたプログラム領域に順次記憶され
る。さらに、この入力データは順次加算され、入力デー
タの数が計数される。この計数値が、制御プログラム書
き換え用データに含まれるデータ数情報に応じたデータ
数に達するときの加算結果が、制御プログラム書き換え
用データに含まれるチェックサム情報と一致しない場
合、プログラム領域指定情報の変更が中止される。した
がって、データ伝送時に発生するエラーを含んだ異常な
プログラムに制御プログラムが書き換えられてしまうこ
とを防止できるので、装置の信頼性を向上できる。
Further, a series of data of the rewriting program is sequentially input by a predetermined data length, and the input data is sequentially stored in the program area selected by the CPU 4. Further, the input data is sequentially added, and the number of input data is counted. If the result of the addition when the counted value reaches the number of data according to the data number information included in the control program rewrite data does not match the checksum information included in the control program rewrite data, the program area designation information Changes are aborted. Therefore, it is possible to prevent the control program from being rewritten to an abnormal program including an error that occurs during data transmission, thereby improving the reliability of the device.

【0053】また、入力データの計数値がデータ数情報
に応じたデータ数に達するときの入力データが、プログ
ラム書き換え用データに含まれる所定の終了コード一致
しない場合、プログラム領域指定情報の変更が中止され
るので、データ伝送時に発生するエラーを含んだ異常な
プログラムに制御プログラムが書き換えられてしまうこ
とを防止できるので、装置の信頼性を向上できる。
When the input data when the count value of the input data reaches the data number corresponding to the data number information does not match the predetermined end code included in the program rewriting data, the change of the program area designation information is stopped. Therefore, it is possible to prevent the control program from being rewritten to an abnormal program including an error generated at the time of data transmission, thereby improving the reliability of the device.

【0054】また、画像信号入力部1において、所定の
記録媒体、例えばフロッピー(登録商標)ディスクやC
D−ROM、DVDなどに記録された画像信号を再生さ
せ、これを信号処理部11に供給させることもできる。
例えばユーザ側で制御プログラムを書き換えさせる場
合、制御プログラム書き換え用データが含まれた記録媒
体をユーザ側で再生させるだけで良いので、ユーザに負
担をかけることなく簡単に制御プログラムを書き換える
ことができる。
In the image signal input unit 1, a predetermined recording medium such as a floppy (registered trademark) disk or
It is also possible to reproduce an image signal recorded on a D-ROM, DVD, or the like, and supply the reproduced signal to the signal processing unit 11.
For example, when the user rewrites the control program, the recording medium containing the control program rewriting data only needs to be reproduced by the user, so that the control program can be easily rewritten without imposing a burden on the user.

【0055】なお、本発明は上述した実施形態に限定さ
れない。例えば、本発明は画像信号処理装置に限定され
るものではなく、一般の信号処理装置に適用させること
もできる。この場合においても、処理される信号に制御
プログラム書き換え用データを重畳させるので、本来の
信号処理に必要なインターフェースに加えて制御プログ
ラム書き換え用に特別なインターフェースを付加する必
要がなく、また制御プログラム書き換えのための特別な
操作が必要ないので、制御プログラムの書き換え作業を
簡略化できる。
The present invention is not limited to the above embodiment. For example, the present invention is not limited to an image signal processing device, but can be applied to a general signal processing device. Also in this case, since the data for rewriting the control program is superimposed on the signal to be processed, there is no need to add a special interface for rewriting the control program in addition to the interface necessary for the original signal processing. Since no special operation is necessary, the task of rewriting the control program can be simplified.

【0056】[0056]

【発明の効果】本発明によれば、入力信号をプログラム
に応じて処理する信号処理装置において、特別なインタ
ーフェースを備えることなく容易にプログラムを書き換
えることができる。
According to the present invention, in a signal processing device for processing an input signal according to a program, the program can be easily rewritten without having a special interface.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明に係る画像信号処理装置の概略的な構成
を説明するための図である。
FIG. 1 is a diagram for explaining a schematic configuration of an image signal processing device according to the present invention.

【図2】図1に示す画像信号処理装置において、制御プ
ログラムを書き換える手順を説明するための第1のフロ
ーチャートである。
FIG. 2 is a first flowchart for explaining a procedure for rewriting a control program in the image signal processing device shown in FIG. 1;

【図3】図1に示す画像信号処理装置において、制御プ
ログラムを書き換える手順を説明するための第2のフロ
ーチャートである。
FIG. 3 is a second flowchart for describing a procedure for rewriting a control program in the image signal processing device shown in FIG. 1;

【図4】図1に示す画像信号処理装置において、制御プ
ログラムを書き換える手順を説明するための第3のフロ
ーチャートである。
FIG. 4 is a third flowchart for describing a procedure for rewriting a control program in the image signal processing device shown in FIG. 1;

【図5】標準的なテレビジョン信号の垂直帰線期間にお
ける波形を示す図である。
FIG. 5 is a diagram showing a waveform of a standard television signal in a vertical blanking period.

【図6】1つの水平走査期間において伝送可能なデータ
パケットの例を示す図である。
FIG. 6 is a diagram illustrating an example of a data packet that can be transmitted in one horizontal scanning period.

【図7】伝送される制御プログラム書き換え用データの
例を示す図である。
FIG. 7 is a diagram showing an example of transmitted control program rewriting data.

【符号の説明】[Explanation of symbols]

1…画像信号入力部、2…画像信号処理回路、3…デー
タスライサ、4…CPU、5…RAM、6〜8…PRO
M、9…画面表示回路、10…モニタ、11…信号処理
DESCRIPTION OF SYMBOLS 1 ... Image signal input part, 2 ... Image signal processing circuit, 3 ... Data slicer, 4 ... CPU, 5 ... RAM, 6-8 ... PRO
M, 9: screen display circuit, 10: monitor, 11: signal processing unit

Claims (18)

【特許請求の範囲】[Claims] 【請求項1】 入力される信号を、与えられたプログラ
ムに応じて処理する信号処理装置であって、 上記プログラムを記憶可能な複数のプログラム領域を有
する第1の記憶手段と、 実行されるプログラムが記憶された上記プログラム領域
を指定する情報を記憶する第2の記憶手段と、 上記入力信号から所定の書き換え開始情報を含むプログ
ラム書き換え情報を抽出する抽出手段と、 初期状態において上記第2の記憶手段の上記プログラム
領域指定情報を入力し、入力したプログラム領域指定情
報において指定される上記プログラム領域のプログラム
を起動し、起動したプログラムに応じて上記入力信号を
処理し、上記抽出手段において上記プログラム書き換え
情報が抽出された場合、上記プログラム領域指定情報に
おいて指定されない少なくとも1つのプログラム領域を
選択し、上記プログラム書き換え情報に含まれる書き換
えプログラムを上記選択したプログラム領域に記憶さ
せ、上記プログラム領域指定情報を、上記選択したプロ
グラム領域を指定する情報に変更し、上記初期状態に移
行する処理手段とを有する信号処理装置。
1. A signal processing apparatus for processing an input signal according to a given program, comprising: a first storage unit having a plurality of program areas capable of storing the program; and a program to be executed. Second storage means for storing information designating the program area in which is stored; extracting means for extracting program rewrite information including predetermined rewrite start information from the input signal; and the second storage in an initial state. Means for inputting the program area designation information, activating a program in the program area designated by the inputted program area designation information, processing the input signal according to the activated program, and rewriting the program in the extraction means If information is extracted, a small number of items not specified in the program area And selecting one program area, storing the rewrite program included in the program rewrite information in the selected program area, changing the program area designation information to information designating the selected program area, A signal processing device having processing means for shifting to a state.
【請求項2】 上記抽出手段は、入力される画像信号の
垂直帰線期間に含まれる上記プログラム書き換え情報を
抽出し、 上記処理手段は、上記起動したプログラムに応じて上記
画像信号を処理する、 請求項1に記載の信号処理装置。
2. The extracting means extracts the program rewriting information included in a vertical blanking period of an input image signal, and the processing means processes the image signal according to the activated program. The signal processing device according to claim 1.
【請求項3】 上記処理手段は、上記プログラム書き換
え情報に含まれる装置情報が所定の装置情報と一致しな
い場合、上記プログラム書き換え情報に応じたプログラ
ムの書き換え処理を中止し、上記起動したプログラムに
応じた処理を続行する、 請求項1に記載の信号処理装置。
3. When the device information included in the program rewriting information does not match the predetermined device information, the processing means stops the rewriting process of the program corresponding to the program rewriting information, and responds to the activated program. The signal processing device according to claim 1, wherein the processing is continued.
【請求項4】 上記処理手段は、上記書き換えプログラ
ムの一連のデータを所定のデータ長ずつ入力し、当該入
力データを上記選択したプログラム領域に順次記憶さ
せ、当該入力データを順次加算し、当該入力データの数
を計数し、当該計数値が上記プログラム書き換え情報に
含まれるデータ数情報に応じたデータ数に達するときの
上記加算結果が、上記プログラム書き換え情報に含まれ
る合計情報と一致しない場合、上記プログラム領域指定
情報の変更を中止する、 請求項1に記載の信号処理装置。
4. The processing means inputs a series of data of the rewriting program by a predetermined data length, sequentially stores the input data in the selected program area, sequentially adds the input data, and When the number of data is counted, and the addition result when the counted value reaches the number of data according to the data number information included in the program rewriting information does not match the total information included in the program rewriting information, The signal processing device according to claim 1, wherein the change of the program area designation information is stopped.
【請求項5】 上記処理手段は、上記計数値が上記デー
タ数情報に応じたデータ数に達するときの入力データ
が、上記プログラム書き換え情報に含まれる書き換え終
了情報で指定される終了データと一致しない場合、上記
プログラム領域指定情報の変更を中止する、 請求項4に記載の信号処理装置。
5. The processing means, wherein the input data when the count value reaches a data number corresponding to the data number information does not match end data specified by rewrite end information included in the program rewrite information. The signal processing device according to claim 4, wherein in the case, the change of the program area designation information is stopped.
【請求項6】 上記処理手段は、上記プログラム領域指
定情報を変更する場合、変更前のプログラム領域指定情
報で指定されたプログラム領域の初期化を指示する初期
化情報を上記第2の記憶手段に記憶させ、上記初期状態
において、上記初期化情報で指示されたプログラム領域
を初期化する、 請求項1に記載の信号処理装置。
6. When changing the program area designation information, the processing means stores, in the second storage means, initialization information for instructing initialization of a program area designated by the program area designation information before the change. The signal processing device according to claim 1, wherein the program area is stored, and the program area specified by the initialization information is initialized in the initial state.
【請求項7】 上記処理手段は、上記プログラム領域指
定情報の変更を中止する場合、上記選択したプログラム
領域の初期化を指示する初期化情報を上記第2の記憶手
段に記憶させ、上記初期状態において、上記初期化情報
で指示されたプログラム領域を初期化する、 請求項5に記載の信号処理装置。
7. When the change of the program area designation information is stopped, the processing means stores initialization information for instructing initialization of the selected program area in the second storage means, 6. The signal processing device according to claim 5, wherein a program area specified by the initialization information is initialized.
【請求項8】 上記処理手段は、上記プログラム領域指
定情報において指定されない少なくとも1つのプログラ
ム領域を選択する場合、上記プログラム書き換え情報に
含まれる書き換えプログラムのデータ量情報に応じて、
少なくとも当該データ量情報に対応するデータ量を有し
たデータの記憶が可能となるようにプログラム領域を選
択する、 請求項1に記載の信号処理装置。
8. When at least one program area not specified in the program area specifying information is selected, the processing means selects a program area according to data amount information of a rewriting program included in the program rewriting information.
The signal processing device according to claim 1, wherein the program area is selected so that data having a data amount corresponding to at least the data amount information can be stored.
【請求項9】 上記処理手段は、少なくとも、上記選択
したプログラム領域に上記書き換えプログラムを記憶さ
せる処理、または上記初期状態へ移行する処理の開始に
応じた画像信号を生成し、 上記処理手段において生成された画像信号に応じた画像
を表示する表示手段を有する、 請求項2に記載の信号処理装置。
9. The processing means generates an image signal at least in response to the start of processing for storing the rewriting program in the selected program area or processing for shifting to the initial state. The signal processing device according to claim 2, further comprising: a display unit configured to display an image corresponding to the generated image signal.
【請求項10】 供給される記録媒体に記録された上記
画像信号を再生する記録媒体再生装置を有する、 請求項2に記載の信号処理装置。
10. The signal processing device according to claim 2, further comprising a recording medium reproducing device for reproducing the image signal recorded on the supplied recording medium.
【請求項11】 プログラムを記憶可能な複数のプログ
ラム領域を有する記憶手段を有し、入力される信号を、
上記プログラム領域に記憶されたプログラムに応じて処
理する信号処理装置において、上記記憶されたプログラ
ムを書き換える方法であって、 上記プログラム領域のうち、あらかじめ指定されたプロ
グラム領域のプログラムを起動する初期ステップと、 上記入力信号から所定の書き換え開始情報を含むプログ
ラム書き換え情報を抽出する抽出ステップと、 上記抽出ステップにおいて上記プログラム書き換え情報
が抽出された場合、 上記複数のプログラム領域のうち、上記初期ステップに
おいて指定されていない少なくとも1つのプログラム領
域を選択し、 当該選択されたプログラム領域に、上記プログラム書き
換え情報に含まれる書き換えプログラムを記憶し、 上記初期ステップにおける起動プログラム領域の指定を
当該選択されたプログラム領域に変更し、 上記初期ステップに移行する書き換えステップと、 を有するプログラム書き換え方法。
11. A storage unit having a plurality of program areas capable of storing a program, wherein an input signal is
In a signal processing device that processes according to a program stored in the program area, a method for rewriting the stored program, wherein an initial step of starting a program in a program area designated in advance in the program area. An extracting step of extracting program rewriting information including predetermined rewriting start information from the input signal; and when the program rewriting information is extracted in the extracting step, of the plurality of program areas, Select at least one program area which is not included in the program area, store the rewrite program included in the program rewrite information in the selected program area, and specify the start program area in the initial step by the selected program area. Change the ram region, the program writing method with a rewriting step shifts to the initial step.
【請求項12】 上記抽出ステップは、入力される画像
信号の垂直帰線期間に含まれる上記プログラム書き換え
情報を抽出する、 請求項11に記載のプログラム書き換え方法。
12. The program rewriting method according to claim 11, wherein the extracting step extracts the program rewriting information included in a vertical blanking period of an input image signal.
【請求項13】 上記書き換えステップは、上記プログ
ラム書き換え情報に含まれる装置情報が所定の装置情報
と一致しない場合、上記プログラム書き換え情報に応じ
たプログラムの書き換え処理を中止する、 請求項11に記載のプログラム書き換え方法。
13. The rewriting step according to claim 11, wherein, if the device information included in the program rewriting information does not match the predetermined device information, the rewriting process of the program according to the program rewriting information is stopped. Program rewriting method.
【請求項14】 上記書き換えステップは、 上記書き換えプログラムの一連のデータを所定のデータ
長ずつ入力し、 当該入力データを上記選択したプログラム領域に順次記
憶させ、当該入力データを順次加算し、当該入力データ
の数を計数し、 当該計数値が上記プログラム書き換え情報に含まれるデ
ータ数情報に応じたデータ数に達するときの上記加算結
果が、上記プログラム書き換え情報に含まれる合計情報
と一致しない場合、上記初期ステップにおける起動プロ
グラム領域の指定の変更を中止する、 請求項11に記載のプログラム書き換え方法。
14. The rewriting step includes inputting a series of data of the rewriting program by a predetermined data length, sequentially storing the input data in the selected program area, sequentially adding the input data, and Counting the number of data, if the addition result when the counted value reaches the number of data corresponding to the data number information included in the program rewriting information does not match the total information included in the program rewriting information, 12. The program rewriting method according to claim 11, wherein changing the designation of the startup program area in the initial step is stopped.
【請求項15】 上記書き換えステップは、上記計数値
が上記データ数情報に応じたデータ数に達するときの入
力データが、上記プログラム書き換え情報に含まれる書
き換え終了情報で指定される終了データと一致しない場
合、上記初期ステップにおける起動プログラム領域の指
定の変更を中止する、 請求項14に記載のプログラム書き換え方法。
15. In the rewriting step, input data when the count value reaches a data number corresponding to the data number information does not match end data specified by rewriting end information included in the program rewriting information. 15. The program rewriting method according to claim 14, wherein, in the case, the change of the designation of the startup program area in the initial step is stopped.
【請求項16】 上記書き換えステップは、上記初期ス
テップにおける起動プログラム領域の指定を変更する場
合、変更前において指定されたプログラム領域の初期化
を指示する初期化情報を生成し、 上記初期ステップは、上記書き換えステップにおいて生
成された上記初期化情報で指示されるプログラム領域を
初期化する、 請求項11に記載のプログラム書き換え方法。
16. The rewriting step, in the case where the designation of the startup program area in the initial step is changed, generates initialization information for instructing initialization of the program area specified before the change. The program rewriting method according to claim 11, wherein a program area indicated by the initialization information generated in the rewriting step is initialized.
【請求項17】 上記書き換えステップは、上記初期ス
テップにおける起動プログラム領域の指定の変更を中止
する場合、上記選択したプログラム領域の初期化を指示
する初期化情報を生成し、 上記初期ステップは、上記書き換えステップにおいて生
成された上記初期化情報で指示されるプログラム領域を
初期化する、 請求項15に記載のプログラム書き換え方法。
17. The rewriting step generates initialization information for instructing initialization of the selected program area when changing the designation of the startup program area in the initial step is stopped. The program rewriting method according to claim 15, wherein a program area specified by the initialization information generated in the rewriting step is initialized.
【請求項18】 上記書き換えステップは、上記初期ス
テップにおいて指定されない少なくとも1つのプログラ
ム領域を選択する場合、上記プログラム書き換え情報に
含まれる書き換えプログラムのデータ量情報に応じて、
少なくとも当該データ量情報に対応するデータ量を有し
たデータの記憶が可能となるようにプログラム領域を選
択する、 請求項11に記載のプログラム書き換え方法。
18. The rewriting step, when selecting at least one program area not specified in the initial step, according to data amount information of a rewriting program included in the program rewriting information.
The program rewriting method according to claim 11, wherein the program area is selected so that data having a data amount corresponding to at least the data amount information can be stored.
JP2001046966A 2001-02-22 2001-02-22 Signal processor and method for rewriting program thereof Pending JP2002252836A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001046966A JP2002252836A (en) 2001-02-22 2001-02-22 Signal processor and method for rewriting program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001046966A JP2002252836A (en) 2001-02-22 2001-02-22 Signal processor and method for rewriting program thereof

Publications (1)

Publication Number Publication Date
JP2002252836A true JP2002252836A (en) 2002-09-06

Family

ID=18908487

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001046966A Pending JP2002252836A (en) 2001-02-22 2001-02-22 Signal processor and method for rewriting program thereof

Country Status (1)

Country Link
JP (1) JP2002252836A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003069856A (en) * 2001-08-24 2003-03-07 Matsushita Electric Ind Co Ltd Signal processor
JP2005100362A (en) * 2003-08-29 2005-04-14 Canon Inc Program-rewritable electronic apparatus and program rewriting method
JP2008192048A (en) * 2007-02-07 2008-08-21 Canon Inc Information processing system, information processing method, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003069856A (en) * 2001-08-24 2003-03-07 Matsushita Electric Ind Co Ltd Signal processor
JP2005100362A (en) * 2003-08-29 2005-04-14 Canon Inc Program-rewritable electronic apparatus and program rewriting method
JP2008192048A (en) * 2007-02-07 2008-08-21 Canon Inc Information processing system, information processing method, and program

Similar Documents

Publication Publication Date Title
US5459522A (en) Method for acquisition and display of an on-screen program guide
EP2031577B1 (en) Method of and apparatus for communicating data between image processing devices using an interface standard
US7425992B2 (en) Method and apparatus for upgrading a television system
US8850510B2 (en) Digital broadcast receiver and upgrading method thereof
WO2007126295A1 (en) The display device for having the function of editing the recorded data partially and method for controllong the same
US20140181497A1 (en) User interface with splash screen
US20060034590A1 (en) Disc reproducing apparatus
KR20080109132A (en) (an) image display device for having a management function with firmware download history
EP2101329A1 (en) Video and audio reproducing device
US20020168172A1 (en) Combination system using set-up value commonly, and method for setting up value of the same
US5917468A (en) Apparatus for controlling an operation of a display data channel in a monitor and a method thereof
JP2002252836A (en) Signal processor and method for rewriting program thereof
EP1613067A2 (en) Set-top box allowing key command input while displaying OSD animation sequence
US20030051077A1 (en) System and method for providing instruction to a peripheral device user
US7072882B2 (en) Apparatus for reproducing video, still images, audio and text from data based upon a processing order
JPH1074072A (en) Display device and its control method
EP1672638A1 (en) Signal output apparatus and signal output method
JP4720140B2 (en) Information processing device
JP2008123010A (en) Reproduction device and method, and program
JPH01312624A (en) System for controlling display of multi-window
JP2001309265A (en) On-screen display device
JP2669143B2 (en) Programmable controller programming device
US20050046636A1 (en) System and method for on screen displays editing and display
KR100465752B1 (en) Device and method for repeatedly updating the function of a monitor
JPH05173964A (en) History acquisition system for input/output data