JP3169980B2 - Semi-fixed data rewriting device - Google Patents
Semi-fixed data rewriting deviceInfo
- Publication number
- JP3169980B2 JP3169980B2 JP12709791A JP12709791A JP3169980B2 JP 3169980 B2 JP3169980 B2 JP 3169980B2 JP 12709791 A JP12709791 A JP 12709791A JP 12709791 A JP12709791 A JP 12709791A JP 3169980 B2 JP3169980 B2 JP 3169980B2
- Authority
- JP
- Japan
- Prior art keywords
- power supply
- semi
- fixed data
- data
- fixed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Read Only Memory (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Description
【0001】[発明の目的][Object of the Invention]
【0002】[0002]
【産業上の利用分野】本発明は、逐次変化する半固定デ
ータを半固定メモリに書き換えて記憶する半固定データ
書換装置に関し、更に詳しくは、例えば有料衛星放送に
おいて時間とともに逐次変化する視聴料金に関するデー
タ等のような半固定データを例えばEEPROM等のよ
うな半固定メモリに書き換えて記憶する半固定データ書
換装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a semi-fixed data rewriting device for rewriting and changing semi-fixed data which changes sequentially in a semi-fixed memory, and more particularly to a viewing fee which changes with time in pay satellite broadcasting, for example. The present invention relates to a semi-fixed data rewriting device that rewrites semi-fixed data such as data into a semi-fixed memory such as an EEPROM and stores the rewritten data.
【0003】[0003]
【従来の技術】半固定データの記憶方法としては、例え
ばRAMのような一時メモリに記憶するとともに停電や
電源オフ時のデータの保護のために該RAMを電池でバ
ックアップする方法が1つの方法としてあるが、この方
法は電池のバックアップを必要とするため、この方法に
代わって電子的に書換え可能なEEPROM等のような
半固定メモリを使用する方法が多く使用されている。2. Description of the Related Art As a method of storing semi-fixed data, one method is to store the data in a temporary memory such as a RAM and back up the RAM with a battery in order to protect data during a power failure or power off. However, since this method requires a backup of the battery, a method using a semi-fixed memory such as an electrically rewritable EEPROM or the like is often used instead of this method.
【0004】ところで、このような半固定データには、
上述したように有料衛星放送の視聴料金に関するデータ
のように所定の時間毎に逐次変化するようなデータがあ
る。By the way, such semi-fixed data includes:
As described above, there is data that changes successively at predetermined time intervals, such as data on the viewing fee of pay satellite broadcasting.
【0005】更に詳しくは、有料衛星放送の視聴方法に
は、(1)フラットフィー方法、(2)ペイパービュー
(プログラム)方法、および(3)ペイパービュー(タ
イム)方法がある。フラットフィー方法は、例えば月極
の一定の視聴料を支払い、そのチャンネルの番組をすべ
て見ることができるという視聴方法である。ペイパービ
ュー(プログラム)方法は、ある番組に対する所定の視
聴料を支払い、その番組のみを見るというものであり、
視聴したい番組に対してのみ視聴料を支払えばよい視聴
方法である。ペイパービュー(タイム)方式は、ある時
間に対して所定の視聴料が決められており、視聴した時
間に対して視聴料を支払うというものであり、視聴した
い番組の視聴したい部分に対してのみ視聴料を支払えば
よい視聴方法である。[0005] More specifically, pay satellite broadcast viewing methods include (1) a flat fee method, (2) a pay-per-view (program) method, and (3) a pay-per-view (time) method. The flat fee method is a viewing method in which, for example, a fixed monthly viewing fee is paid, and all programs on the channel can be viewed. Pay Perbi
The view (program) method is to pay a predetermined viewing fee for a certain program and watch only that program,
This is a viewing method in which a viewing fee only needs to be paid for a program desired to be viewed. In the pay-per-view (time) method, a predetermined viewing fee is set for a certain time, and a viewing fee is paid for the viewing time. This is a viewing method that can be paid.
【0006】上述した視聴方法のうちペイパービュー方
法における視聴料の支払い方法には、例えば前払い方法
がある。この前払い方法は、視聴者がペイパービューで
支払う視聴料をまとめて放送局側に前払うと、この前払
い金データが放送局側から個別情報の一部として視聴者
の有料放送デコーダに与えられる。この有料放送デコー
ダには例えばCPU,ROM,RAM,EEPROM,
入出力ポート等からなるマイクロコンピュータシステム
が接続されており、有料放送デコーダに供給された前払
い金データは該マイクロコンピュータシステムのEEP
ROMに記憶されるようになっている。As a method of paying a viewing fee in the pay-per-view method among the above-mentioned viewing methods, there is, for example, a prepayment method. In this prepayment method, when a viewer collectively pays a viewing fee paid in pay-per-view to a broadcast station, the prepayment data is provided from the broadcast station to the pay broadcast decoder of the viewer as a part of individual information. The pay broadcast decoder includes, for example, a CPU, a ROM, a RAM, an EEPROM,
A microcomputer system including an input / output port and the like is connected, and the prepayment data supplied to the pay broadcasting decoder is stored in the EEPROM of the microcomputer system.
It is stored in the ROM.
【0007】そして、このようにEEPROMに記憶さ
れた前払い金データは、視聴者がペイパービュー方法で
視聴を行う毎に逐次引き去られ、この引き去られた残り
の金額データが再度EEPROMに書き換えられて記憶
されるようになっている。この場合、ペイパービュー方
法がペイパービュー(プログラム)の場合には、前払い
金は視聴した番組毎に引き去られるが、ペイパービュー
(タイム)の場合には、前払い金は例えば分単位のよう
な所定時間毎に逐次引き去られるので、EEPROMも
所定時間毎に書き換えられるようになっている。[0007] The prepaid money data stored in the EEPROM is sequentially withdrawn every time the viewer views the content by the pay-per-view method, and the withdrawn money data is rewritten into the EEPROM again. It is to be remembered. In this case, when the pay-per-view method is the pay-per-view (program), the advance payment is withdrawn for each program viewed, but when the pay-per-view (time) is used, the advance payment is removed at predetermined time intervals such as minutes. Since the EEPROM is sequentially removed, the EEPROM is also rewritten at predetermined time intervals.
【0008】[0008]
【発明が解決しようとする課題】上述したように、例え
ば有料衛星放送の視聴料の前払い金データを記憶するE
EPROMは、前払い金データを比較的頻繁に逐次書き
換えることが必要であるが、EEPROMの書換え可能
回数には制限があるため、該EEPROMを使用した装
置の寿命がEEPROMの書換え回数によって決ってし
まい、装置の寿命を比較的短くしてしまうという問題が
ある。As described above, for example, E which stores the advance payment data of the viewing fee of pay satellite broadcasting is stored.
The EPROM requires that the prepaid data be rewritten relatively frequently one after another, but the number of times the EEPROM can be rewritten is limited. There is a problem that the life of the device is relatively shortened.
【0009】本発明は、上記に鑑みてなされたもので、
その目的とするところは、装置の寿命を長くし得るよう
にEEPROMのような半固定メモリの書換え回数を低
減した半固定データ書換装置を提供することにある。[0009] The present invention has been made in view of the above,
An object of the present invention is to provide a semi-fixed data rewriting device in which the number of times of rewriting of a semi-fixed memory such as an EEPROM is reduced so as to extend the life of the device.
【0010】[発明の構成][Structure of the Invention]
【0011】[0011]
【課題を解決するための手段】上記目的を達成するた
め、本発明の半固定データ書換装置は、被制御装置を介
して供給され、逐次変化する半固定データを半固定メモ
リに書き換えて記憶するとともに、前記被制御装置の第
1の電源とは別の第2の電源で動作する半固定データ書
換装置であって、前記半固定データの逐次変化に応じて
該半固定データを一時的に逐次記憶する一時メモリと、
前記第1の電源を監視する第1の電源監視手段と、前記
第2の電源を監視する第2の電源監視手段と、前記第2
の電源がオフになった場合前記一時メモリに記憶された
半固定データを前記半固定メモリに書き換えて記憶する
ように制御する書換制御手段と、前記第1および第2の
電源監視手段からの信号に基づいて前記第1の電源がオ
フで前記第2の電源がオンであるとき、前記被制御装置
との信号の授受を遮断する信号遮断手段と、を有するこ
とを要旨とする。In order to achieve the above object, a semi-fixed data rewriting device according to the present invention stores semi-fixed data which is supplied via a controlled device and changes sequentially, in a semi -fixed memo.
A semi-fixed data rewriting device which is rewritten and stored and operates on a second power supply different from the first power supply of the controlled device, wherein the semi-fixed data rewriting device changes the semi-fixed data in accordance with a sequential change of the semi-fixed data. A temporary memory for temporarily and sequentially storing data;
A first power supply monitoring unit that monitors the first power supply, a second power supply monitoring unit that monitors the second power supply,
Rewriting control means for controlling the semi-fixed data stored in the temporary memory to be rewritten and stored in the semi-fixed memory when the power supply of the first and second memories is turned off ;
The first power supply is turned off based on a signal from the power supply monitoring means.
And when the second power supply is on, the controlled device
And a signal cut-off means for cutting off the transmission and reception of the signal .
【0012】また、本発明の半固定データ書換装置は、
被制御装置を介して供給され、逐次変化する半固定デー
タを半固定メモリに書き換えて記憶するとともに、前記
被制御装置の第1の電源とは別の第2の電源で動作する
半固定データ書換装置であって、前記半固定データの逐
次変化に応じて該半固定データを一時的に逐次記憶する
一時メモリと、前記第1の電源を監視する第1の電源監
視手段と、前記第2の電源を監視する第2の電源監視手
段と、所定の時間毎に前記一時メモリに記憶された半固
定データを前記半固定メモリに書き換えて記憶するよう
に制御する書換制御手段と、前記第1および第2の電源
監視手段からの信号に基づいて前記第1の電源がオフで
前記第2の電源がオンであるとき、前記被制御装置との
信号の授受を遮断する信号遮断手段と、を有することを
要旨とする。Further, the semi-fixed data rewriting device of the present invention
The semi-fixed data supplied via the controlled device and changing sequentially is rewritten and stored in a semi-fixed memory, and the semi-fixed data rewriting which operates on a second power supply different from the first power supply of the controlled device. A temporary memory for temporarily storing the semi-fixed data sequentially according to the sequential change of the semi-fixed data, a first power supply monitoring means for monitoring the first power supply, a second power supply monitoring means for monitoring the power, and rewrite control means for controlling the semi-fixed data the temporary memory in the memory for each Jo Tokoro time to store rewritten to the semi-permanent memory, the first And the second power supply
The first power supply is turned off based on a signal from the monitoring means.
When the second power supply is on, the communication with the controlled device
And a signal blocking unit for blocking transmission and reception of a signal .
【0013】[0013]
【作用】本発明の半固定データ書換装置では、逐次変化
する半固定データを一時メモリに一時的に逐次記憶し、
この一時的に記憶された半固定データを所定の条件に応
じて半固定メモリに書き換えて記憶している。According to the semi-fixed data rewriting device of the present invention, the semi-fixed data that changes sequentially is temporarily stored in the temporary memory.
The temporarily stored semi-fixed data is rewritten and stored in a semi-fixed memory according to predetermined conditions.
【0014】また、本発明の半固定データ書換装置で
は、逐次変化する半固定データを一時メモリに一時的に
逐次記憶し、第2の電源がオフになった場合または所定
の時間毎に一時メモリに一時的に記憶された半固定デー
タを半固定メモリに書き換えて記憶している。Further, in the semi-fixed data rewriting device of the present invention, the semi-fixed data that changes sequentially is temporarily stored in the temporary memory temporarily, and the temporary memory is temporarily stored when the second power supply is turned off or every predetermined time. The semi-fixed data temporarily stored in the memory is rewritten and stored in a semi-fixed memory.
【0015】[0015]
【実施例】以下、図面を用いて本発明の実施例を説明す
る。Embodiments of the present invention will be described below with reference to the drawings.
【0016】図1は、本発明の一実施例に係わる半固定
データ書換装置の回路構成を示すブロック図である。同
図に示す半固定データ書換装置は、上述したように有料
衛星放送の視聴料の前払い金データを半固定データとし
て半固定メモリであるEEPROMに書き換えて記憶す
るように有料衛星放送の有料放送デコーダに適用したも
のであり、有料衛星放送の映像および音声をデスクラン
ブルするデスクランブラ11と、前払い金データを記憶
制御する1チップIC等からなるマイクロコンピュータ
10とから構成されている。FIG. 1 is a block diagram showing a circuit configuration of a semi-fixed data rewriting device according to one embodiment of the present invention. The semi-fixed data rewriting device shown in FIG. 1 is a pay-broadcast decoder for pay-satellite broadcasting which rewrites and stores the prepaid data of the viewing fee of pay-satellite broadcasting as semi-fixed data as EEPROM as a semi-fixed memory as described above. The system comprises a descrambler 11 for descrambling video and audio of pay satellite broadcasting, and a microcomputer 10 including a one-chip IC for storing and controlling the advance payment data.
【0017】前記デスクランブラ11は、有料衛星放送
局から送信されてくる映像信号および音声信号に重畳さ
れてくる番組に関するデータである番組情報と契約内容
を示す個別情報を検出し、両情報を比較して視聴できる
か否かを判定し、視聴できる場合には映像信号および音
声信号をデスクランブルするとともに、マイクロコンピ
ュータ10に予め記憶されている前払い金データの減算
を行うように視聴の方法、視聴料、開始終了等の情報を
含む視聴情報をマイクロコンピュータ10に供給するよ
うになっている。The descrambler 11 detects program information, which is data relating to a program superimposed on a video signal and an audio signal transmitted from a pay satellite broadcasting station, and individual information indicating a contract, and compares the two information. It is determined whether or not viewing is possible. If viewing is possible, the video signal and the audio signal are descrambled, and the viewing method and the viewing are performed so that the advance payment data stored in advance in the microcomputer 10 is subtracted. Viewing information including information such as fee, start / end, and the like is supplied to the microcomputer 10.
【0018】前記マイクロコンピュータ10は、プログ
ラムや固定データ等を記憶したROM15と、一時デー
タを一時的に記憶する一時メモリであるRAM16と、
前記前払い金データを半固定的に、すなわち書換え可能
に記憶する半固定メモリであるEEPROM17と、前
記デスクランブラ11と情報のやり取りを行う入出力ポ
ート18と、ROM15に記憶されたプログラムに従っ
て全体の動作を制御するCPU14と、各部分間に共通
に接続されたアドレスバス11、データバス12および
コントロールライン13とから構成されている。The microcomputer 10 includes a ROM 15 storing programs, fixed data, and the like; a RAM 16 serving as a temporary memory for temporarily storing temporary data;
An EEPROM 17 which is a semi-fixed memory for semi-fixedly storing the prepayment data, that is, in a rewritable manner, an input / output port 18 for exchanging information with the descrambler 11, and an overall operation according to a program stored in the ROM 15. , And an address bus 11, a data bus 12, and a control line 13 which are commonly connected between the components.
【0019】このように構成された半固定データ書換装
置において、例えばペイパービュー(タイム)方法で有
料衛星放送の視聴が開始すると、マイクロコンピュータ
10はデスクランブラ11から入出力ポート18を介し
て供給される視聴情報に基づいてEEPROM17に記
憶されている前払い金データの減算を所定の視聴時間毎
に行うが、この場合、所定の視聴時間毎にEEPROM
17の書換えを行うと、EEPROM17の書換え回数
が増加するので、EEPROM17に記憶されていた前
払い金データを予めRAM16に移し替えて記憶してお
き、このRAM16に記憶されている前払い金データに
対して減算処理を所定の視聴時間毎に行う。In the semi-fixed data rewriting device configured as described above, when the viewing of pay satellite broadcasting is started by, for example, the pay-per-view (time) method, the microcomputer 10 is supplied from the descrambler 11 via the input / output port 18. The prepaid money data stored in the EEPROM 17 is subtracted every predetermined viewing time based on the viewing information. In this case, the EEPROM is subtracted every predetermined viewing time.
When the rewriting of 17 is performed, the number of times of rewriting of the EEPROM 17 increases . Therefore, the advance payment data stored in the EEPROM 17 is transferred to the RAM 16 in advance and stored, and the advance payment data stored in the RAM 16 is A subtraction process is performed for each predetermined viewing time.
【0020】なお、ペイパービュー(タイム)方法で
は、例えば1分間当り1円というようにある視聴時間に
対する視聴料が決められており、この情報は番組情報の
一部として送信されてくる。そして、視聴者がこの番組
を視聴するために有料放送デコーダを例えばボタン操作
等により操作した場合、マイクロコンピュータ10は番
組情報のデータに従い、1分間毎に1円を前払い金デー
タから減算することになるが、この1分間毎の減算は前
述したようにRAM16に対して行う。In the pay-per-view (time) method, a viewing fee for a certain viewing time is determined, for example, 1 yen per minute, and this information is transmitted as a part of the program information. When the viewer operates the pay broadcast decoder by, for example, button operation in order to view the program, the microcomputer 10 subtracts 1 yen per minute from the advance payment data according to the data of the program information. However, this one-minute subtraction is performed on the RAM 16 as described above.
【0021】また、RAM16が上述したように1分間
毎の減算を行い、この処理を所定時間、例えば10分間
行うと、RAM16からEEPROM17に書き換えて
EEPROM17に記憶されている前払い金データを更
新するようにしている。このように所定時間を10分間
と決めた場合には、番組情報で指定された時間が10分
以下の場合には、10分間に視聴した金額データ(例え
ば1分間毎に1円の番組の場合には10分間で10円に
なる)をRAM16に記憶しておき、10分毎のまとめ
て視聴した金額データをEEPROM17に記憶された
前払い金データから減算して書き換えるようにしてい
る。更に、番組情報で指定された時間が10分以上の場
合には、番組情報で指定された時間毎にEEPROM1
7に記憶された前払い金データを減算して書き換えるよ
うにし、これによりEEPROM17に対する書換え処
理の最低間隔が所定の10分以上に制限することができ
る。When the RAM 16 performs the subtraction every one minute as described above and performs this processing for a predetermined time, for example, 10 minutes, the RAM 16 is rewritten into the EEPROM 17 and the prepaid money data stored in the EEPROM 17 is updated. I have to. If the predetermined time is determined to be 10 minutes in this way, if the time specified in the program information is 10 minutes or less, the amount of money watched in 10 minutes (for example, in the case of a program of 1 yen per minute, Is stored in the RAM 16, and the monetary amount data viewed and viewed every 10 minutes is subtracted from the prepaid money data stored in the EEPROM 17 for rewriting. Further, when the time specified by the program information is 10 minutes or more, the EEPROM 1 is used every time specified by the program information.
7 is rewritten by subtracting the prepaid money data stored therein, whereby the minimum interval of the rewriting process for the EEPROM 17 can be limited to a predetermined 10 minutes or more.
【0022】更に、指定時間の所定倍毎に書き換える方
法も可能である。この場合には、例えば番組情報で指定
された時間が1分で所定倍が5倍である場合には、視聴
した金額データはRAM16に記憶しておき、5分毎に
EEPROM17内の前払い金データを減算して書き換
えることになる。このようにすることによりEEPRO
Mの書換え回数を所定分の1に制限することができる。Further, a method of rewriting at predetermined times of the designated time is also possible. In this case, for example, if the time specified in the program information is 1 minute and the predetermined magnification is 5 times, the viewed amount data is stored in the RAM 16 and the prepaid money data in the EEPROM 17 is stored every 5 minutes. Is subtracted and rewritten. By doing so, EEPRO
The number of rewrites of M can be limited to a predetermined fraction.
【0023】また、番組終了時または視聴取り消し時に
書換えを行う方法も可能である。これは、番組には番組
を識別するコードが付加されているが、このコードが変
化するまで、すなわち番組が終了するまでの視聴料金を
RAM16に記憶しておき、番組終了時にまとめてEE
PROM17内の前払い金データから減算して書換えを
行うものである。また、視聴者が番組の視聴申し込みを
取り消した時点でRAM16に記憶してあった申し込み
から取り消し時点までの視聴料金をまとめてEEPRO
M17内の前払い金データから減算して書換えを行うも
のである。It is also possible to rewrite the program when the program ends or when the viewing is canceled. This is because a program identification code is added to a program, but the viewing fee until the code changes, that is, until the program ends, is stored in the RAM 16 and the EE is collected at the end of the program.
Rewriting is performed by subtracting from the prepaid money data in the PROM 17. Also, at the time when the viewer cancels the application to view the program, the viewing fee from the application stored in the RAM 16 to the time of cancellation is summarized and EEPRO is collected.
Rewriting is performed by subtracting from the advance payment data in M17.
【0024】以上のようにRAM16で視聴料金を管理
し、まとめてEEPROM17への書換えを行うことに
よりEEPROM17の書換え回数を低減することがで
きる。なお、上記処理はすべてROM15に記憶された
プログラムにしたがってCPU14でソフト的に行って
いるものである。As described above, the viewing fee is managed in the RAM 16 and the rewriting to the EEPROM 17 is collectively performed, whereby the number of rewriting of the EEPROM 17 can be reduced. Note that all of the above processing is performed by the CPU 14 in software according to the program stored in the ROM 15.
【0025】図2は、本発明の他の実施例に係わる半固
定データ書換装置の回路構成を示すブロック図である。
同図に示す半固定データ書換装置は、図1に示した実施
例においてRAM16に記憶されている視聴時間または
視聴料に関するデータが電源のオフによって消失しない
ように電源監視回路21、電源バックアップコンデンサ
23、および逆流防止用ダイオード25を設けたもので
あり、その他の構成および作用は図1のものと同じであ
る。FIG. 2 is a block diagram showing a circuit configuration of a semi-fixed data rewriting device according to another embodiment of the present invention.
The semi-fixed data rewriting device shown in FIG. 3 includes a power supply monitoring circuit 21 and a power supply backup capacitor 23 so that data relating to the viewing time or the viewing fee stored in the RAM 16 in the embodiment shown in FIG. , And a backflow prevention diode 25, and the other configuration and operation are the same as those in FIG.
【0026】前記電源監視回路21は、電源を監視し、
該電源がオン状態からオフ状態になると、電源オフ信号
をマイクロコンピュータ10の入出力ポート18に供給
する。この結果、マイクロコンピュータ10のCPU1
4は該電源オフ信号に応答して今までRAMに記憶した
データのうち視聴時間または視聴料に関するデータのみ
をEEPROM17に退避し、電源がオフになってもよ
いように対処している。また、この場合、電源から逆流
防止用ダイオード25を介して電源バックアップコンデ
ンサ23に電源電圧を充電しておき、RAMからEEP
ROMへのデータの退避中における電源電圧の低下に対
処している。The power supply monitoring circuit 21 monitors the power supply,
When the power is turned off from the on state, a power off signal is supplied to the input / output port 18 of the microcomputer 10. As a result, the CPU 1 of the microcomputer 10
Reference numeral 4 responds to the power-off signal to save only data relating to the viewing time or the viewing fee among the data stored in the RAM so far to the EEPROM 17 so that the power may be turned off. In this case, the power supply voltage is charged from the power supply to the power supply backup capacitor 23 via the backflow preventing diode 25, and the EEP is stored in the RAM.
The power supply voltage is reduced while the data is being saved to the ROM.
【0027】なお、ペイパービュー(プログラム)には
一定の無料視聴時間が設定されているが、この無料視聴
時間は視聴者が視聴の申し込みを行ってから所定時間
(例えば、5分間)ということになっており、これはマ
イクロコンピュータ10がタイマ等で管理するようにな
っている。視聴者は一旦視聴の申し込みを行っても、こ
の無料視聴時間内に取り消しを行えば視聴料を支払う必
要がない。従って、この無料視聴時間を示すデータは視
聴の申し込みからの時間を計数するタイマの値を例えば
1秒毎にEEPROM17に書き込んでいれば、電源が
オフしても残りの無料視聴時間が何分であるかわからな
くなることがないが、このようにするとEEPROM1
7の書換え回数を増やすことになるので、この書換えを
10秒に1回とか、またはEEPROM17に書き込ま
ずにRAM16でのみ管理することによりEEPROM
の書換え回数の低減を防止することができる。Although a fixed free viewing time is set in the pay-per-view (program), the free viewing time is a predetermined time (for example, 5 minutes) after the viewer has applied for viewing. This is managed by the microcomputer 10 using a timer or the like. Even if the viewer has applied for viewing once, if he cancels within this free viewing time, he does not need to pay the viewing fee. Therefore, if the value of the timer for counting the time from the application for viewing is written in the EEPROM 17 every second, for example, the data indicating the free viewing time is the number of minutes remaining after the power is turned off. You can't tell if it's there, but this way,
7, the number of rewrites is increased, so that this rewrite is performed once every 10 seconds, or is managed only in the RAM 16 without writing to the EEPROM 17, thereby making the EEPROM 16
Can be prevented from being reduced.
【0028】しかしながら、上述した場合には、電源が
オフになると、この無料視聴時間が何分使用されたかを
示すデータも消失されることになり、再び無料視聴時間
を始めから設定することは有料衛星放送局側にとって不
利益になるので、前記電源監視回路21からの電源オフ
信号でRAM16内の無料視聴時間に関するデータもE
EPROM17に退避するようにしている。However, in the case described above, when the power is turned off, data indicating how many minutes the free viewing time has been used is also lost, and it is charged to set the free viewing time again from the beginning. Since it is disadvantageous for the satellite broadcasting station, the power off signal from the power supply monitoring circuit 21 also causes the data relating to the free viewing time in the RAM 16 to be E.
The data is saved in the EPROM 17.
【0029】更に、電源監視回路21を追加することに
加えて、EEPROM17と同じ記憶容量のRAMを追
加し、電源がオンした場合に、EEPROM17内のデ
ータをすべてRAMに移し変えし、このRAM内のデー
タでのみ動作するようにすれば、電源オフ時にRAM内
のデータをEEPROMに転送することによりEEPR
OMへの書換えを電源オフ時のみに低減することができ
る。Further, in addition to the addition of the power supply monitoring circuit 21, a RAM having the same storage capacity as that of the EEPROM 17 is added. When the power is turned on, all the data in the EEPROM 17 is transferred to the RAM. By operating only with the data of the EEPROM, the data in the RAM is transferred to the EEPROM when the power is turned off.
Rewriting to OM can be reduced only when the power is off.
【0030】図3は、本発明の更に他の実施例に係わる
半固定データ書換装置の回路構成を示すブロック図であ
る。同図に示す半固定データ書換装置は、図2に示す実
施例が1つの電源から共通に電力を供給されていたもの
に対して、2つの電源1,2を設け、電源1はデスクラ
ンブラ11に対してのみ動作電力を供給し、電源2はそ
の他の回路である電源監視回路21、逆流防止用ダイオ
ード25を介して電源バックアップコンデンサ23、お
よび該電源バックアップコンデンサ23を介してマイク
ロコンピュータ10に対してのみ動作電力を供給し、こ
れにより視聴時間または視聴料に関するデータを管理す
る回路部分の電源2をデスクランブラ11に対する電源
1と分離し、デスクランブラ11に対する電源1のオフ
時の影響を防止したものである。FIG. 3 is a block diagram showing a circuit configuration of a semi-fixed data rewriting device according to still another embodiment of the present invention. The semi-fixed data rewriting device shown in FIG. 2 is provided with two power sources 1 and 2 in contrast to the embodiment shown in FIG. The power supply 2 supplies power to the power supply monitoring circuit 21 , a power supply backup capacitor 23 via a backflow prevention diode 25, and the microcomputer 10 via the power supply backup capacitor 23. Only the operating power is supplied, the power supply 2 of the circuit part for managing the data relating to the viewing time or the viewing fee is separated from the power supply 1 for the descrambler 11, and the influence of the power supply 1 to the descrambler 11 when the power supply 1 is turned off is prevented. Things.
【0031】このように構成したものでは、デスクラン
ブラ11に対する電源1を例えば電源スイッチにより自
由にオン/オフすることができるのに対して、電源2は
デスクランブラ11の電源スイッチと無関係な電源とな
り、例えば停電等で電源供給不可能な場合以外は常時オ
ン状態にある電源である。従って、デスクランブラ11
に対する電源スイッチのオフ時にもRAM16に記憶さ
れたデータをEEPROM17に退避させる必要もな
く、EEPROMの書換え回数を低減することができ
る。In the above configuration, the power supply 1 for the descrambler 11 can be freely turned on / off by, for example, a power switch, whereas the power supply 2 is a power supply independent of the power switch of the descrambler 11. For example, the power supply is always on except when power cannot be supplied due to a power failure or the like. Therefore, the descrambler 11
It is not necessary to save the data stored in the RAM 16 to the EEPROM 17 even when the power switch is turned off, and the number of times of rewriting of the EEPROM can be reduced.
【0032】図4は本発明の別の実施例に係わる半固定
データ書換装置の回路構成を示すブロック図である。同
図に示す半固定データ書換装置は、図3に示した実施例
において電源1を監視する電源監視回路31を設けて、
該電源監視回路31からの付勢時低レベル(負論理)の
電源オフ信号をマイクロコンピュータ10に供給すると
ともに、この電源オフ信号によってゲートされるアンド
回路33および35をマイクロコンピュータ10内に設
け、これにより電源1のオフ時のデスクランブラ11か
らの信号がマイクロコンピュータ10の入出力ポート1
8に供給されたり、逆にマイクロコンピュータ10の入
出力ポート18からの信号がデスクランブラ11に供給
されることを遮断し、すなわち防止し、これにより異常
な信号がマイクロコンピュータ10およびデスクランブ
ラ11に入力されたり、異常な割り込みが発生しないよ
うにしているものである。FIG. 4 is a block diagram showing a circuit configuration of a semi-fixed data rewriting device according to another embodiment of the present invention. The semi-fixed data rewriting device shown in the figure has a power supply monitoring circuit 31 for monitoring the power supply 1 in the embodiment shown in FIG.
A power-off signal of a low level (negative logic) when energized from the power supply monitoring circuit 31 is supplied to the microcomputer 10, and AND circuits 33 and 35 gated by the power-off signal are provided in the microcomputer 10. As a result, the signal from the descrambler 11 when the power supply 1 is turned off is transmitted to the input / output port 1 of the microcomputer 10.
8 or, conversely, a signal from the input / output port 18 of the microcomputer 10 is blocked from being supplied to the descrambler 11, that is, an abnormal signal is prevented from being supplied to the microcomputer 10 and the descrambler 11. It prevents input and abnormal interrupts.
【0033】[0033]
【発明の効果】以上説明したように、本発明によれば、
逐次変化する半固定データを一時メモリに一時的に逐次
記憶し、この一時的に記憶された半固定データを所定の
条件に応じて、具体的には第2の電源がオフになった場
合または所定の時間毎に半固定メモリに書き換えて記憶
しているので、半固定メモリである例えばEEPROM
に対する書換え回数を低減することができ、装置の寿命
を長くすることができる。As described above, according to the present invention,
The semi-fixed data that changes sequentially is temporarily stored in a temporary memory, and the temporarily stored semi-fixed data is stored in accordance with a predetermined condition, specifically, when the second power supply is turned off, or Since the semi-fixed memory is rewritten and stored every predetermined time, the semi-fixed memory is, for example, an EEPROM.
Can be reduced, and the life of the device can be prolonged.
【図1】本発明の一実施例に係わる半固定データ書換装
置の回路構成を示すブロック図である。FIG. 1 is a block diagram showing a circuit configuration of a semi-fixed data rewriting device according to an embodiment of the present invention.
【図2】本発明の他の実施例に係わる半固定データ書換
装置の回路構成を示すブロック図である。FIG. 2 is a block diagram showing a circuit configuration of a semi-fixed data rewriting device according to another embodiment of the present invention.
【図3】本発明の更に他の実施例に係わる半固定データ
書換装置の回路構成を示すブロック図である。FIG. 3 is a block diagram showing a circuit configuration of a semi-fixed data rewriting device according to still another embodiment of the present invention.
【図4】本発明の別の実施例に係わる半固定データ書換
装置の回路構成を示すブロック図である。FIG. 4 is a block diagram showing a circuit configuration of a semi-fixed data rewriting device according to another embodiment of the present invention.
1 電源 2 電源 10 マイクロコンピュータ 11 デスクランブラ 14 CPU 16 RAM 17 EEPROM 21 電源監視回路 23 電源バックアップコンデンサ 31 電源監視回路 Reference Signs List 1 power supply 2 power supply 10 microcomputer 11 descrambler 14 CPU 16 RAM 17 EEPROM 21 power supply monitoring circuit 23 power supply backup capacitor 31 power supply monitoring circuit
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G11C 16/00 - 16/34 G11C 11/34 G06F 12/16 G06F 1/00 ──────────────────────────────────────────────────続 き Continued on the front page (58) Fields investigated (Int. Cl. 7 , DB name) G11C 16/00-16/34 G11C 11/34 G06F 12/16 G06F 1/00
Claims (2)
する半固定データを半固定メモリに書き換えて記憶する
とともに、前記被制御装置の第1の電源とは別の第2の
電源で動作する半固定データ書換装置であって、 前記半固定データの逐次変化に応じて該半固定データを
一時的に逐次記憶する一時メモリと、前記第1の電源を監視する第1の電源監視手段と、 前記第2の電源を監視する第2の電源監視手段と、 前記第2の電源がオフになった場合前記一時メモリに記
憶された半固定データを前記半固定メモリに書き換えて
記憶するように制御する書換制御手段と、 前記第1および第2の電源監視手段からの信号に基づい
て前記第1の電源がオフで前記第2の電源がオンである
とき、前記被制御装置との信号の授受を遮断する信号遮
断手段と、 を有することを特徴とする半固定データ書換装置。1. A semi-fixed memory, which is supplied via a controlled device and changes sequentially , is rewritten and stored in a semi-fixed memory, and operates on a second power supply different from a first power supply of the controlled device. A semi-fixed data rewriting device, comprising: a temporary memory for temporarily storing the semi-fixed data according to a sequential change of the semi-fixed data; and a first power supply monitoring means for monitoring the first power supply. A second power supply monitoring means for monitoring the second power supply, wherein when the second power supply is turned off, the semi-fixed data stored in the temporary memory is rewritten and stored in the semi-fixed memory. and rewrite control means for controlling, based on a signal from said first and second power supply monitoring means
The first power supply is off and the second power supply is on
A signal interruption for interrupting transmission / reception of a signal with the controlled device.
And a disconnecting means .
する半固定データを半固定メモリに書き換えて記憶する
とともに、前記被制御装置の第1の電源とは別の第2の
電源で動作する半固定データ書換装置であって、 前記半固定データの逐次変化に応じて該半固定データを
一時的に逐次記憶する一時メモリと、前記第1の電源を監視する第1の電源監視手段と、 前記第2の電源を監視する第2の電源監視手段と、 所定の時間毎に前記一時メモリに記憶された半固定デー
タを前記半固定メモリに書き換えて記憶するように制御
する書換制御手段と、 前記第1および第2の電源監視手段からの信号に基づい
て前記第1の電源がオフで前記第2の電源がオンである
とき、前記被制御装置との信号の授受を遮断する信号遮
断手段と、 を有することを特徴とする半固定データ書換装置。2. The method according to claim 1, wherein the semi-fixed data supplied through the controlled device and sequentially changing is rewritten and stored in a semi-fixed memory, and operates on a second power supply different from the first power supply of the controlled device. A semi-fixed data rewriting device, comprising: a temporary memory for temporarily storing the semi-fixed data according to a sequential change of the semi-fixed data; and a first power supply monitoring means for monitoring the first power supply. a second power supply monitoring means for monitoring said second power supply, and rewrite control means for controlling to store rewritten to the semi-permanent memory the semi-fixed data the temporary memory in the memory at predetermined time intervals , Based on signals from the first and second power supply monitoring means
The first power supply is off and the second power supply is on
A signal interruption for interrupting transmission / reception of a signal with the controlled device.
And a disconnecting means .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12709791A JP3169980B2 (en) | 1991-05-30 | 1991-05-30 | Semi-fixed data rewriting device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12709791A JP3169980B2 (en) | 1991-05-30 | 1991-05-30 | Semi-fixed data rewriting device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH04351795A JPH04351795A (en) | 1992-12-07 |
| JP3169980B2 true JP3169980B2 (en) | 2001-05-28 |
Family
ID=14951514
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP12709791A Expired - Lifetime JP3169980B2 (en) | 1991-05-30 | 1991-05-30 | Semi-fixed data rewriting device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3169980B2 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07219720A (en) * | 1993-10-01 | 1995-08-18 | Hitachi Maxell Ltd | Semiconductor memory device and control method thereof |
| JP2006127245A (en) * | 2004-10-29 | 2006-05-18 | Ricoh Co Ltd | Electronic equipment system |
| JP5224846B2 (en) * | 2008-02-20 | 2013-07-03 | アズビル株式会社 | PID control device and nonvolatile memory protection method |
| JP4783417B2 (en) * | 2008-11-25 | 2011-09-28 | 株式会社東芝 | Digital broadcast receiving apparatus and control method thereof |
| JP5091940B2 (en) * | 2009-12-28 | 2012-12-05 | 京セラドキュメントソリューションズ株式会社 | Image forming apparatus and nonvolatile memory writing method |
-
1991
- 1991-05-30 JP JP12709791A patent/JP3169980B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH04351795A (en) | 1992-12-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4797918A (en) | Subscription control for television programming | |
| US5070400A (en) | Pay-tv time purchase scheme | |
| US6402026B1 (en) | Smart card and method for bidirectional data transfer between a terminal and a smart card | |
| DE60101275T2 (en) | CRYPTOGRAPHIC PROCESS AND MICROCIRCUIT FOR CHIP CARD | |
| CA1239024A (en) | Programmable service reminder apparatus and method | |
| JPH0591509A (en) | Pay broadcasting viewing fee collection system | |
| JP3169980B2 (en) | Semi-fixed data rewriting device | |
| EP0427600A1 (en) | Contact chip card reader | |
| CA1256197A (en) | Subscription control for television programming | |
| CN1666507B (en) | Method for storing television parameters before power failure in non-volatile memory | |
| JPH05143468A (en) | Restoring device for power source turn-off | |
| JP2578793B2 (en) | Terminal control device | |
| JP2845896B2 (en) | Subscriber television system | |
| JP3091513B2 (en) | Paid broadcast viewing device | |
| JP3558752B2 (en) | Electronics | |
| JPH04315286A (en) | Snooper device for parking-time computing system | |
| US6085082A (en) | Digital signal receiver with charge metering equipment | |
| JPH0594234A (en) | Resetting controller | |
| JP2649154B1 (en) | A rental television management method using a prepaid card, a rental television and a payment machine used for the management method | |
| JPH11110634A (en) | Method for managing rental television by using number-of-use times card | |
| JP3915102B2 (en) | Broadcast receiver | |
| JP2692093B2 (en) | Television receiver | |
| JPH05284122A (en) | Pay broadcast device | |
| JPH0465791A (en) | Method for managing parking area | |
| JP2000261779A (en) | Paid broadcasting center and paid broadcasting system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080316 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090316 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100316 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100316 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110316 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120316 Year of fee payment: 11 |
|
| EXPY | Cancellation because of completion of term | ||
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120316 Year of fee payment: 11 |