JP2002229744A - Data writing device and data writing method - Google Patents

Data writing device and data writing method

Info

Publication number
JP2002229744A
JP2002229744A JP2001024623A JP2001024623A JP2002229744A JP 2002229744 A JP2002229744 A JP 2002229744A JP 2001024623 A JP2001024623 A JP 2001024623A JP 2001024623 A JP2001024623 A JP 2001024623A JP 2002229744 A JP2002229744 A JP 2002229744A
Authority
JP
Japan
Prior art keywords
data
writing
recording medium
card
write
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
JP2001024623A
Other languages
Japanese (ja)
Inventor
Atsuya Yabuki
淳哉 矢吹
Atsushi Haratani
淳 原谷
Yoshihiro Machida
芳広 町田
Yuko Okayama
祐孝 岡山
Tokai Morino
東海 森野
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.)
Hitachi Ltd
Mitsubishi Electric Corp
Original Assignee
Hitachi Ltd
Mitsubishi Electric 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 Hitachi Ltd, Mitsubishi Electric Corp filed Critical Hitachi Ltd
Priority to JP2001024623A priority Critical patent/JP2002229744A/en
Publication of JP2002229744A publication Critical patent/JP2002229744A/en
Pending legal-status Critical Current

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve the problem of a possibility that data different from primary data are written and abnormal data are left in an IC card when a data writing action is resumed after recovery from a reset. SOLUTION: When a data writing action sequence to a storage medium is interrupted, a writing state identification flag setting a value corresponding to the data writing state to the storage medium is referred to. When the interrupt time is judged as a data writing period, data stored in a backup memory means are read and written on the storage medium.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は記録媒体に対して
所望のデータを書き込むデータ書き込み装置に係り、特
に記録媒体に新たなデータ内容を書き込む際に、この書
き込みに係る動作シーケンスが中断されても記録媒体に
所望の内容のデータを書き込むことができるデータ書き
込み装置及びそのデータ書き込み方法に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data writing device for writing desired data to a recording medium, and more particularly, to writing new data contents to a recording medium, even if the operation sequence related to the writing is interrupted. The present invention relates to a data writing device and a data writing method capable of writing data having desired contents to a recording medium.

【0002】[0002]

【従来の技術】近年のディジタル放送受信装置では、契
約済みのディジタル放送信号のみを視聴できるようにす
るため、上記契約済みの視聴を許可されたディジタル放
送に係る情報を記憶するICカードを受信の際に参照す
るシステムが構築されている。このICカードのインタ
フェースとしては、ISO(Internationa
l Organization for Standa
rdization:国際標準化機構)で定められた規
格があり、専用のインタフェースICが用いられてい
る。このようなICカードインタフェースを用いること
で上記のようなディジタル放送受信装置を実現すること
ができる。
2. Description of the Related Art In recent years, digital broadcast receiving apparatuses have received an IC card for storing information relating to a digital broadcast signal for which the contracted viewing has been permitted, so that only the digital broadcasting signal for which the contract has been received can be viewed. A system to be referred to at the time is constructed. The interface of this IC card is ISO (Internationa
l Organization for Standa
rdization: International Organization for Standardization), and a dedicated interface IC is used. By using such an IC card interface, the digital broadcast receiving apparatus as described above can be realized.

【0003】また、上述のようなディジタル放送受信の
制御に使用されるICカードシステムは、利用者の契約
の変更などによってICカードに記憶したデータ内容を
適宜書き替えることができるデータ書き込み装置として
の機能を有している。これによって、利用者に応じたデ
ィジタル放送受信サービスを提供することができる。
[0003] Further, the IC card system used for the control of digital broadcast reception as described above is a data writer capable of appropriately rewriting data stored in the IC card due to a change in a contract of a user or the like. Has a function. As a result, a digital broadcast receiving service suitable for the user can be provided.

【0004】図3は、例えば特開平11−353063
号公報に開示されたディジタル放送受信装置に適用され
る従来のデータ書き込み装置としての機能を有するIC
カードシステムの構成を示すブロック図である。図にお
いて、101はディジタル放送信号を受信するアンテ
ナ、102は放送受信/復号部115の動作を制御する
コントローラで、マイクロコンピュータを有して構成さ
れる。103は利用者が選局するために使用する操作キ
ー、104はチューナであって、アンテナ101を介し
て受信される複数のRFチャネルのディジタル放送信号
のうち所定のRFチャネルの放送信号を選択し、その所
定のRFチャネルのディジタル放送信号に対応したディ
ジタル変調データを出力する。105はチューナ104
からのディジタル変調データを復調する復調器、106
は復調器105からの出力データの誤り訂正を行い、上
記所定のRFチャネルの放送信号に対応したMPEG2
(Moving Picture Experts G
roup 2)トランスポートストリームTSを生成す
るエラー訂正部、107は上記トランスポートストリー
ムTSにスクランブルされているビデオデータやオーデ
ィオデータのパケットに対してスクランブルの解除処理
を行うデスクランブラである。
FIG. 3 shows, for example, Japanese Unexamined Patent Application Publication No. 11-353063.
Having a function as a conventional data writer applied to a digital broadcast receiver disclosed in Japanese Patent Application Publication
FIG. 2 is a block diagram illustrating a configuration of a card system. In the figure, 101 is an antenna for receiving a digital broadcast signal, and 102 is a controller for controlling the operation of the broadcast receiving / decoding unit 115, which has a microcomputer. 103 is an operation key used by the user to select a channel, 104 is a tuner, and selects a broadcast signal of a predetermined RF channel from digital broadcast signals of a plurality of RF channels received via the antenna 101. And outputs digital modulation data corresponding to the digital broadcast signal of the predetermined RF channel. 105 is a tuner 104
Demodulator 106 for demodulating digitally modulated data from
Performs error correction of output data from the demodulator 105 and outputs an MPEG2 signal corresponding to the broadcast signal of the predetermined RF channel.
(Moving Picture Experts G
loop 2) An error correction unit 107 for generating the transport stream TS. A descrambler 107 performs descrambling processing on video data and audio data packets scrambled in the transport stream TS.

【0005】108は上記トランスポートストリーパケ
ットTSを分離し、それらのパケットからなるビデオデ
ータストリームVDSやオーディオデータストリームA
DSを出力するパケット分離部、109はビデオデータ
ストリームVDSに対してデータ伸長処理などをしてビ
デオ信号SVを生成する映像復号部、110はビデオ信
号SVを出力する映像出力コネクタ、111はオーディ
オデータストリームADSに対してデータ伸長処理など
をしてオーディオ信号SAを生成する音声復号部、11
2はオーディオ信号SAを出力する音声出力コネクタで
ある。113は契約済みの視聴を許可されたディジタル
放送に係る情報を記憶するICカードであって、契約済
みの視聴を許可されたディジタル放送に係る情報として
デスクランブラ107によるスクランブル解除処理の際
に使用するスクランブル鍵情報などを記憶するととも
に、コントローラ102からICカードインタフェース
114を介して送られてくる限定受信情報に基づいて視
聴の可/不可を判断するマイクロコンピュータを有して
いる。114はコントローラ102とICカード113
とを接続するICカードインタフェースで、コントロー
ラ102とICカード113との間で送受されるデータ
を中継する。115はチューナ104、復調器105、
エラー訂正部106、デスクランブラ107、パケット
分離部108、映像復調部109、及び音声復号部11
1から構成される放送受信/復号部である。
[0005] 108 separates the above-mentioned transport stream packets TS, and comprises a video data stream VDS and an audio data stream A composed of those packets.
DS: a packet separation unit that outputs a video signal SV by performing data decompression processing or the like on a video data stream VDS, 110: a video output connector that outputs a video signal SV, 111: audio data An audio decoding unit that generates an audio signal SA by performing data expansion processing or the like on the stream ADS;
Reference numeral 2 denotes an audio output connector for outputting an audio signal SA. Reference numeral 113 denotes an IC card for storing information related to a digital broadcast permitted to be viewed in a contracted manner, which is used in descrambling by the descrambler 107 as information related to a digital broadcast permitted to be viewed in a contracted manner. It has a microcomputer that stores scramble key information and the like, and that determines whether viewing is possible or not based on limited reception information sent from the controller 102 via the IC card interface 114. 114 is a controller 102 and an IC card 113
And relays data transmitted and received between the controller 102 and the IC card 113. 115 is a tuner 104, a demodulator 105,
Error correction unit 106, descrambler 107, packet separation unit 108, video demodulation unit 109, and audio decoding unit 11
1 is a broadcast receiving / decoding unit.

【0006】次に動作について説明する。先ず、操作キ
ー103を用いて利用者が選局を行う。この選局情報は
コントローラ102に出力され、上記利用者が選局した
局にチューナ104が制御される。これによって、チュ
ーナ104がアンテナ101で受信される複数の放送信
号のうちから上記利用者が選局した局に対応した所定の
RFチャネルの放送信号を選択し、その所定のRFチャ
ネルのディジタル放送信号に対応したディジタル変調デ
ータを出力する。
Next, the operation will be described. First, the user selects a channel using the operation keys 103. This tuning information is output to the controller 102, and the tuner 104 is controlled by the station selected by the user. As a result, the tuner 104 selects a broadcast signal of a predetermined RF channel corresponding to a station selected by the user from among a plurality of broadcast signals received by the antenna 101, and selects a digital broadcast signal of the predetermined RF channel. And outputs digital modulation data corresponding to.

【0007】チューナ104からのディジタル変調デー
タは、復調器105で復調処理されてエラー訂正部10
6に出力される。エラー訂正部106では、この出力デ
ータに対して誤り訂正処理を行って、MPEG2トラン
スポート・ストリームTSを生成しデスクランブラ10
7に出力する。デスクランブラ107は入力したトラン
スポート・ストリームTSでスクランブルされているビ
デオデータやオーディオデータのパケットに対してスク
ランブルの解除処理を行う。
[0007] The digitally modulated data from the tuner 104 is demodulated by a demodulator 105 to be processed by an error correction unit 10.
6 is output. The error correction unit 106 performs an error correction process on the output data to generate an MPEG2 transport stream TS,
7 is output. The descrambler 107 performs descrambling processing on video data and audio data packets scrambled by the input transport stream TS.

【0008】このとき、ICカード113がスクランブ
ルの解除処理に必要なスクランブル鍵情報をICカード
インタフェース114を介してコントローラ102に提
供する。コントローラ102はICカード113からの
スクランブル鍵情報をデスクランブラ107に出力し、
スクランブルの解除処理を行わせる。また、ICカード
113は、上記スクランブル鍵情報を記憶しているとと
もに、コントローラ102からICカードインタフェー
ス114を介して送られてくる限定受信情報(例えば、
限定された期間中は視聴許可される放送など)に基づい
て受信した放送の視聴の可/不可を判断し、可の場合に
はスクランブルの鍵情報をICカードインタフェース1
14を介してコントローラ102に出力する。
At this time, the IC card 113 provides the scramble key information necessary for the descrambling process to the controller 102 via the IC card interface 114. The controller 102 outputs the scramble key information from the IC card 113 to the descrambler 107,
Causes descrambling to be performed. Further, the IC card 113 stores the scramble key information and also receives the limited reception information (for example, limited reception information transmitted from the controller 102 via the IC card interface 114).
It is determined whether the received broadcast can be viewed or not based on the broadcast permitted to be viewed during the limited period, and if so, the scramble key information is transmitted to the IC card interface 1.
14 to the controller 102.

【0009】次に、パケット分離部108がデスクラン
ブラ107でスクランブル解除されたトランスポート・
ストリームTSからビデオデータやオーディオデータの
パケットを分離する。これらのパケットはビデオデータ
・ストリームVDSやオーディオデータ・ストリームA
DSを構成し、パケット分離部108から出力される。
パケット分離部108からのビデオデータ・ストリーム
VDS及びオーディオデータ・ストリームADSは、そ
れぞれ映像復号部109及び音声復号部111に入力さ
れてデータ伸長処理が行われる。これによって、ビデオ
信号SV、オーディオ信号SAが得られてそれぞれ映像
出力コネクタ110、音声出力コネクタ112から出力
される。
[0009] Next, the packet demultiplexer 108 de-scrambles the transport / de-scrambled data by the descrambler 107.
Video data and audio data packets are separated from the stream TS. These packets are transmitted in the video data stream VDS or audio data stream A.
A DS is formed and output from the packet separation unit 108.
The video data stream VDS and the audio data stream ADS from the packet separation unit 108 are input to the video decoding unit 109 and the audio decoding unit 111, respectively, and are subjected to data expansion processing. As a result, a video signal SV and an audio signal SA are obtained and output from the video output connector 110 and the audio output connector 112, respectively.

【0010】ここで、特開平11−353063号公報
に開示されたディジタル放送受信装置におけるICカー
ド113へのデータ書き込み動作について説明する。こ
のディジタル放送受信装置では、ICカードインタフェ
ース114に主電源からの電源を供給するための電源ラ
インの途中にバックアップ用のコンデンサが設けられて
いる。このコンデンサはICカードインタフェース11
4に主電源から直流電圧が供給されている間、充電され
るように構成されている。ICカード113へのデータ
書き込み動作としては、ICカードインタフェース11
4を介してコントローラ102から所望のデータがIC
カード113に出力されて書き込まれる。このとき、主
電源からの電源供給が遮断されてICカードインタフェ
ース114が無通電状態となっても上記コンデンサが充
電した電圧が供給される。これによって、上記コンデン
サが充電した充電量に対応する所定の時間だけ電源がバ
ックアップされてICカード113へのデータ書き込み
を行うことができる。
Here, an operation of writing data to the IC card 113 in the digital broadcast receiving apparatus disclosed in Japanese Patent Application Laid-Open No. 11-353063 will be described. In this digital broadcast receiving apparatus, a backup capacitor is provided in the middle of a power supply line for supplying power from a main power supply to the IC card interface 114. This capacitor is the IC card interface 11
4 is configured to be charged while a DC voltage is supplied from the main power supply. The data writing operation to the IC card 113 includes the IC card interface 11
Desired data from the controller 102 through the IC 4
The data is output to the card 113 and written. At this time, even if the power supply from the main power supply is cut off and the IC card interface 114 is turned off, the voltage charged by the capacitor is supplied. As a result, the power supply is backed up for a predetermined time corresponding to the amount of charge charged by the capacitor, and data can be written to the IC card 113.

【0011】[0011]

【発明が解決しようとする課題】従来のデータ書き込み
装置は以上のように構成されているので、データ書き込
みに係る動作シーケンスを中断させることなく電源をバ
ックアップするには大型で大容量のコンデンサが必要で
あり、コントローラ102の小型化に制限があるという
課題があった。このため、コントローラ102として小
型化の進むパーソナルコンピュータは不向きであった。
Since the conventional data writing apparatus is configured as described above, a large-capacity, large-capacity capacitor is required to back up the power supply without interrupting the operation sequence related to the data writing. However, there is a problem that the miniaturization of the controller 102 is limited. For this reason, a personal computer with a smaller size as the controller 102 is not suitable.

【0012】また、ディジタル放送受信装置をパーソナ
ルコンピュータに内蔵可能なボードで実現する場合、利
用者の意志やOSのハングアップなどによってコントロ
ーラであるパーソナルコンピュータがICカードに対す
るデータ書き込み中にリセットされる場合がある。この
ように、リセットによってデータ書き込みに係る動作シ
ーケンスが中断されると、従来のデータ書き込み装置で
は中断された時点におけるデータ(例えば、中断時に本
来書き込むべきデータやそれを格納する記憶装置のアド
レスなど)が記憶されないと共に、リセット後はデータ
書き込み動作が自動的には再開されないため、ICカー
ド内のデータは破壊されたままとなり、異常なデータが
残る可能性があるという課題があった。このような場
合、正常な受信情報がディジタル放送受信装置に伝送さ
れない。
When the digital broadcast receiving apparatus is realized by a board that can be built in a personal computer, when the personal computer as a controller is reset during data writing to an IC card due to a user's intention or a hang-up of the OS. There is. As described above, when the operation sequence related to the data writing is interrupted by the reset, in the conventional data writing device, the data at the time of the interruption (for example, the data to be written at the time of interruption and the address of the storage device that stores the data). Is not stored, and the data write operation is not automatically restarted after the reset, so that the data in the IC card remains destroyed and abnormal data may remain. In such a case, normal received information is not transmitted to the digital broadcast receiving device.

【0013】この発明は上記のような課題を解決するた
めになされたもので、記録媒体に対するデータ書き込み
に係る動作シーケンスが中断されても、データ書き込み
を再開する際に中断された時点の状態を判定すること
で、誤ったデータが書き込まれることを防止し、さら
に、装置の小型化を図ることができるデータ書き込み装
置及びそのデータ書き込み方法を得ることを目的とす
る。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problem. Even if an operation sequence related to data writing to a recording medium is interrupted, the state at the time of interruption when data writing is resumed is changed. It is an object of the present invention to provide a data writing device and a data writing method thereof that can prevent erroneous data from being written by determining, and can further reduce the size of the device.

【0014】[0014]

【課題を解決するための手段】この発明に係るデータ書
き込み装置は、記録媒体に対するデータ書き込み状態に
応じた値が設定される書き込み状態識別フラグと、記録
媒体に書き込むべきデータ及び書き込み状態識別フラグ
の値が記憶されるバックアップ用記憶手段と、記録媒体
に対するデータ書き込みに係る動作シーケンスが中断さ
れると、バックアップ用記憶手段に記憶した書き込み状
態識別フラグの値を参照して中断された時点におけるデ
ータ書き込み状態を判定する書き込み状態判定手段と、
この書き込み状態判定手段によって中断された時点がデ
ータ書き込み中であると判定されると、バックアップ用
記憶手段に記憶した記録媒体に書き込むべきデータを読
み出して記録媒体に対するデータ書き込みを行うデータ
書き込み手段とを備えるものである。
According to the present invention, there is provided a data writing apparatus comprising: a write state identification flag for setting a value according to a data write state on a recording medium; and data to be written on the recording medium and a write state identification flag. When an operation sequence related to data writing to the backup storage means and the recording medium for which the value is stored is interrupted, the data writing at the time of the interruption is performed by referring to the value of the write state identification flag stored in the backup storage means. Writing state determining means for determining a state;
When it is determined by the write state determining means that the time point at which the writing was interrupted is data writing, data writing means for reading data to be written to the recording medium stored in the backup storage means and writing data to the recording medium is provided. It is provided.

【0015】この発明に係るデータ書き込み装置のデー
タ書き込み方法は、記録媒体に対するデータ書き込み状
態に応じた値が設定される書き込み状態識別フラグと、
記録媒体に書き込むべきデータ及び書き込み状態識別フ
ラグの値が記憶されるバックアップ用記憶手段とを備え
たデータ書き込み装置のデータ書き込み方法において、
記録媒体にデータを書き込む際に、記録媒体に書き込む
べきデータ及び書き込み状態識別フラグの書き込み中を
示す値を、バックアップ用記憶手段に予め記録するバッ
クアップステップと、記録媒体に対してデータ書き込み
処理を行い、データ書き込みが完了するとバックアップ
用記憶手段に記憶させた書き込み状態識別フラグを書き
込み完了を示す値に書き替える書き込みステップと、こ
の書き込みステップにおける記録媒体に対するデータ書
き込みに係る動作シーケンスが中断されると、バックア
ップ用記憶手段に予め記憶した書き込み状態識別フラグ
の値を参照して中断された時点が記録媒体に対するデー
タ書き込み中であったか否かを判定する書き込み状態判
定ステップと、この書き込み状態判定ステップにて中断
された時点がデータ書き込み中であったと判定される
と、バックアップ用記憶手段に予め記憶しておいたデー
タを読み出して、書き込みステップにて記録媒体に対す
るデータ書き込み動作を再開させる書き込み再開ステッ
プとを備えるものである。
[0015] The data writing method of the data writing apparatus according to the present invention includes: a writing state identification flag for setting a value according to a data writing state on a recording medium;
In a data writing method of a data writing device, comprising a backup storage unit in which data to be written to a recording medium and a value of a write state identification flag are stored.
When writing data to the recording medium, the data to be written to the recording medium and the value indicating the writing status of the write state identification flag are recorded in the backup storage means in advance, and a data writing process is performed on the recording medium. When the data writing is completed, the writing step of rewriting the write state identification flag stored in the backup storage means to a value indicating the completion of writing, and when the operation sequence related to data writing to the recording medium in the writing step is interrupted, A write state determining step of determining whether data is being written to the recording medium at the point of interruption with reference to the value of the write state identification flag previously stored in the backup storage means, and interrupting at the write state determining step Is the date If it is determined that a during writing, reading data stored in advance in the backup storage means, in which and a write restart step of restarting the data write operation to the recording medium at writing step.

【0016】[0016]

【発明の実施の形態】以下、この発明の実施の一形態を
説明する。 実施の形態1.図1はこの発明の実施の形態1によるデ
ータ書き込み装置を使用したディジタル放送受信装置の
構成を示すブロック図である。図において、1はパーソ
ナルコンピュータ9に内蔵されてディジタル放送受信機
能を実現させるディジタル放送受信ボードであって、I
Cカードインタフェース2や放送受信/復号部5から構
成され、アンテナ入力コネクタ8を介して不図示のアン
テナと接続し、ローカルバス13を介してパーソナルコ
ンピュータ9と接続する。2はICカード4とパーソナ
ルコンピュータ9及び放送受信/復号部5とをデータ送
受可能に接続するICカードインタフェース(データ書
き込み手段)で、ディジタル放送受信ボード1に設けら
れている。3はICカードインタフェース2とICカー
ド4とを接続するICカードソケット、4はICカード
(記録媒体)であって、図示の例では契約済みの視聴を
許可されたディジタル放送に係る情報として放送受信/
復号部5におけるスクランブル解除処理の際に使用する
スクランブル鍵情報などを記憶するとともに、パーソナ
ルコンピュータ9のコントローラからICカードインタ
フェース2を介して送られてくる限定受信情報に基づい
て視聴の可/不可を判断するマイクロコンピュータを有
している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below. Embodiment 1 FIG. FIG. 1 is a block diagram showing a configuration of a digital broadcast receiving apparatus using a data writing device according to Embodiment 1 of the present invention. In the figure, reference numeral 1 denotes a digital broadcast receiving board which is built in the personal computer 9 and realizes a digital broadcast receiving function.
It comprises a C card interface 2 and a broadcast receiving / decoding unit 5, and is connected to an antenna (not shown) via an antenna input connector 8 and to a personal computer 9 via a local bus 13. Reference numeral 2 denotes an IC card interface (data writing means) for connecting the IC card 4 to the personal computer 9 and the broadcast receiving / decoding unit 5 so that data can be transmitted and received, and is provided on the digital broadcast receiving board 1. Reference numeral 3 denotes an IC card socket for connecting the IC card interface 2 and the IC card 4, and reference numeral 4 denotes an IC card (recording medium). /
In addition to storing the scramble key information and the like used in the descrambling process in the decryption unit 5, the permission / inhibition of viewing is determined based on the limited reception information sent from the controller of the personal computer 9 via the IC card interface 2. It has a microcomputer to determine.

【0017】5はディジタル放送を受信して復号しビデ
オ信号やオーディオ信号を出力する放送受信/復号部で
あって、上述した図3における放送受信/復号部115
と同様の構成で同様に動作する。6は放送受信/復号部
5が復号したビデオ信号を出力する映像出力コネクタ
で、7は放送受信/復号部5が復号したオーディオ信号
を出力する音声出力コネクタである。8はディジタル放
送信号を受信する不図示のアンテナ装置からの信号を放
送受信/復号部5に入力するために使用されるアンテナ
入力コネクタであって、上記アンテナ装置と放送受信/
復号部5との間に介在する。9はディジタル放送受信ボ
ード1の動作を制御するコントローラとして機能するパ
ーソナルコンピュータ(データ書き込み手段、データ書
き込み手段)、10はパーソナルコンピュータ9のCP
U、11はパーソナルコンピュータ9のハードディスク
(バックアップ用記憶手段)で、CPU10が種々のプ
ログラムを実行した結果として得られるデータやオペレ
ーションシステムOS、アプリケーションソフトウェア
などのプログラムが記憶される。また、このハードディ
スク11はICカード4に対するデータ書き込み動作の
際に、書き込むべきデータを予め記憶する記憶領域を有
する。12はパーソナルコンピュータ9のRAMで、D
RAMなどが考えられる。13はディジタル放送受信ボ
ード1とデータ送受可能に接続するローカルバスであ
る。
A broadcast receiving / decoding unit 5 receives and decodes the digital broadcast and outputs a video signal and an audio signal. The broadcast receiving / decoding unit 115 shown in FIG.
The same operation is performed with the same configuration. Reference numeral 6 denotes a video output connector for outputting a video signal decoded by the broadcast receiving / decoding unit 5, and reference numeral 7 denotes an audio output connector for outputting an audio signal decoded by the broadcast receiving / decoding unit 5. Reference numeral 8 denotes an antenna input connector used to input a signal from an antenna device (not shown) for receiving a digital broadcast signal to the broadcast receiving / decoding unit 5.
It is interposed between the decoding unit 5. 9 is a personal computer (data writing means, data writing means) functioning as a controller for controlling the operation of the digital broadcast receiving board 1, and 10 is a CP of the personal computer 9.
U and 11 are hard disks (backup storage means) of the personal computer 9 and store data obtained as a result of execution of various programs by the CPU 10 and programs such as an operation system OS and application software. In addition, the hard disk 11 has a storage area for storing data to be written in advance at the time of data writing operation on the IC card 4. Reference numeral 12 denotes a RAM of the personal computer 9;
A RAM or the like is conceivable. Reference numeral 13 denotes a local bus connected to the digital broadcast receiving board 1 so that data can be transmitted and received.

【0018】次に動作について説明する。先ず、パーソ
ナルコンピュータ9の不図示のキーボードなどの入力手
段を用いて利用者が選局を行う。パーソナルコンピュー
タ9内のCPU10は上記利用者の入力情報に従って、
不図示のアンテナ装置を介して受信される複数のチャネ
ルのディジタル放送信号から選局された局のチャネルに
対応するディジタル放送信号を受信するように放送受信
/復号部5を制御する。受信されたディジタル放送信号
は、放送受信/復号部5によってディジタル変調データ
に変換されたのちに復調処理され、誤り訂正処理がなさ
れてMPEG2トランスポート・ストリームTSとな
る。さらに、このトランスポートストリームTS中にス
クランブルされているビデオデータやオーディオデータ
のパケットに対して放送受信/復号部5がスクランブル
の解除処理を行う。
Next, the operation will be described. First, the user selects a channel using input means such as a keyboard (not shown) of the personal computer 9. The CPU 10 in the personal computer 9 according to the input information of the user,
The broadcast receiving / decoding unit 5 is controlled so as to receive a digital broadcast signal corresponding to a channel of a selected station from digital broadcast signals of a plurality of channels received via an antenna device (not shown). The received digital broadcast signal is converted into digital modulation data by the broadcast receiving / decoding unit 5 and then demodulated, error-corrected, and becomes an MPEG2 transport stream TS. Further, the broadcast receiving / decoding unit 5 performs descrambling processing on the video data and audio data packets scrambled in the transport stream TS.

【0019】このとき、ICカード4がスクランブルの
解除処理に必要なスクランブル鍵情報を、ICカードソ
ケット3を通じて接続するICカードインタフェース2
及びローカルバス13を介してパーソナルコンピュータ
9内のCPU10に提供する。CPU10は放送受信/
復号部5を制御してICカード4からのスクランブル鍵
情報を用いて受信したディジタル放送信号のスクランブ
ル解除処理を行う。また、ICカード4は、上記スクラ
ンブル鍵情報を記憶しているとともに、パーソナルコン
ピュータ9からローカルバス13及びICカードインタ
フェース2を介して送られてくる限定受信情報(例え
ば、限定された期間中は視聴許可される放送など)に基
づいて受信した放送の視聴の可/不可を判断し、可の場
合にはICカードインタフェース2及びローカルバス1
3を介してスクランブルの鍵情報をCPU10に出力す
る。このときも上記動作と同様にCPU10が放送受信
/復号部5を制御して上記スクランブル鍵情報を用いて
対応するディジタル放送信号のスクランブル解除処理を
行う。
At this time, the IC card 4 connects the scramble key information required for the descrambling process to the IC card interface 2 through the IC card socket 3.
And to the CPU 10 in the personal computer 9 via the local bus 13. The CPU 10 receives broadcast /
It controls the decryption unit 5 to perform descrambling processing of the received digital broadcast signal using the scramble key information from the IC card 4. The IC card 4 stores the above-mentioned scramble key information, and also receives limited reception information (for example, watching during a limited period) transmitted from the personal computer 9 via the local bus 13 and the IC card interface 2. Based on the permitted broadcast, etc.), and judges whether the received broadcast can be viewed or not.
3 and outputs the scramble key information to the CPU 10. At this time, similarly to the above operation, the CPU 10 controls the broadcast receiving / decoding unit 5 to perform descrambling processing of the corresponding digital broadcast signal using the scramble key information.

【0020】次に、放送受信/復号部5はスクランブル
解除されたトランスポート・ストリームTSからビデオ
データやオーディオデータのパケットを分離する。これ
らのパケットはビデオデータ・ストリームVDSやオー
ディオデータ・ストリームADSを構成する。これらビ
デオデータ・ストリームVDS及びオーディオデータ・
ストリームADSは、放送受信/復号部5によってそれ
ぞれデータ伸長処理が行われ、ビデオ信号SV、オーデ
ィオ信号SAとなってそれぞれ映像出力コネクタ6、音
声出力コネクタ7から出力する。
Next, the broadcast receiving / decoding unit 5 separates video data and audio data packets from the descrambled transport stream TS. These packets constitute a video data stream VDS and an audio data stream ADS. These video data stream VDS and audio data
The stream ADS is subjected to data decompression processing by the broadcast receiving / decoding unit 5, and is output as a video signal SV and an audio signal SA from the video output connector 6 and the audio output connector 7, respectively.

【0021】図2は実施の形態1によるデータ書き込み
装置の具体的な構成例を示す図である。図において、1
1aはハードディスク11内に設けられたバックアップ
用の記憶領域(バックアップ用記憶手段)で、ICカー
ド4に対してデータを書き込む際に書き込むべきデータ
内容が記憶される。また、以降ではバックアップ用の記
憶領域11aをHDD11aと略す。14はパーソナル
コンピュータ9内のCPU10によってディジタル放送
受信ボード1を制御するコントローラ(データ書き込み
手段)であって、CPU10が実行するディジタル放送
受信ボード1の制御用プログラムに関与するパーソナル
コンピュータ9の構成部からなる。15はCPU10内
のメインメモリやキャッシュメモリとして使用されるR
AM12に格納される書き込みフラグ(書き込み状態識
別フラグ)であって、ICカード4に対するデータ書き
込みの状態に応じた値が設定される。ここでは、データ
書き込み中を示す値として論理値1を、データ書き込み
完了を示す値として論理値0が設定される。
FIG. 2 is a diagram showing a specific configuration example of the data writing device according to the first embodiment. In the figure, 1
Reference numeral 1a denotes a backup storage area (backup storage means) provided in the hard disk 11, which stores data to be written when data is written to the IC card 4. Hereinafter, the backup storage area 11a is abbreviated as the HDD 11a. Reference numeral 14 denotes a controller (data writing means) for controlling the digital broadcast receiving board 1 by the CPU 10 in the personal computer 9. The controller 14 controls the digital broadcast receiving board 1 and executes the control program for the digital broadcast receiving board 1. Become. Reference numeral 15 denotes an R used as a main memory or a cache memory in the CPU 10.
The write flag (write state identification flag) stored in the AM 12 is set to a value according to the state of data writing to the IC card 4. Here, a logical value 1 is set as a value indicating that data writing is being performed, and a logical value 0 is set as a value indicating completion of data writing.

【0022】16はICカードインタフェース2からI
Cカード4に供給されるクロック信号であって、このク
ロック信号16に同期してICカードインタフェース2
とICカード4との間でデータ信号17が送受信され
る。17はICカードインタフェース2とICカード4
との間に設けたデータバス上で伝送されるデータ信号、
18は電源であって、コントローラ14からICカード
インタフェース2を介してICカード4に供給される。
19はリセット信号で、論理値0,1が設定されること
で有効・無効が決定され、有効であるとICカードイン
タフェース2とICカード4との間でのデータアクセス
は行われない。20はカード検出信号であって、ICカ
ード4が挿入されるとICカードソケット3内の不図示
のスイッチが開放されることで生成されてICカードイ
ンタフェース2を介してコントローラ14に出力され
る。21はリード・ライト設定信号であって、ICカー
ドインタフェース2とICカード4との間でデータアク
セスする場合、ICカードインタフェース2から見てリ
ード・ライトを設定する信号である。つまり、リード・
ライト設定信号21がリードに設定されているとICカ
ード4からICカードインタフェース2にデータが転送
され、ライトに設定されているとICカードインタフェ
ース2からICカード4にデータが転送される。以上の
信号がICカードインタフェース2とICカード4との
間でやりとりされる。
Reference numeral 16 denotes an IC card interface 2 to I
A clock signal supplied to the C card 4 and synchronized with the clock signal 16;
A data signal 17 is transmitted and received between and the IC card 4. 17 is an IC card interface 2 and an IC card 4
A data signal transmitted on a data bus provided between
Reference numeral 18 denotes a power supply, which is supplied from the controller 14 to the IC card 4 via the IC card interface 2.
Reference numeral 19 denotes a reset signal, which is determined to be valid / invalid by setting logical values 0 and 1, and when valid, data access between the IC card interface 2 and the IC card 4 is not performed. A card detection signal 20 is generated by opening a switch (not shown) in the IC card socket 3 when the IC card 4 is inserted, and is output to the controller 14 via the IC card interface 2. Reference numeral 21 denotes a read / write setting signal, which is a signal for setting read / write when viewed from the IC card interface 2 when data is accessed between the IC card interface 2 and the IC card 4. In other words, the lead
When the write setting signal 21 is set to read, data is transferred from the IC card 4 to the IC card interface 2, and when set to write, data is transferred from the IC card interface 2 to the IC card 4. The above signals are exchanged between the IC card interface 2 and the IC card 4.

【0023】以下に示す信号は、ICカードインタフェ
ース2とCPU10との間でやりとりされる。先ず、2
2はCPU10からICカードインタフェース2に供給
されるクロック信号であって、このクロック信号22に
同期してCPU10及びICカードインタフェース2は
これらの間を接続するデータバス及びアドレスバスを介
してデータ信号23及びアドレス信号24の送受信を行
う。23はICカードインタフェース2とCPU10と
の間でやりとりされるデータ信号、24はICカードイ
ンタフェース2とCPU10との間でやりとりされるア
ドレス信号、25はリセット信号であって、論理値0,
1が設定されることで有効・無効が決定され、有効であ
るとICカードインタフェース2の動作が停止する。2
6はアクセス要求信号であって、ICカードインタフェ
ース2がICカード4からデータを読み出す際にICカ
ードインタフェース2とCPU10との間のデータバス
及びアドレスバスにアクセスすることをCPU10に要
求する信号である。27はチップセレクト信号で、CP
U10がアクセスを許可すると有効になってICカード
インタフェース2とCPU10との間におけるデータア
クセスを可能とする。28はリード・ライト設定信号で
あって、ICカードインタフェース2とCPU10との
間でデータアクセスする場合、CPU10から見てリー
ド・ライトを設定する信号である。つまり、リード・ラ
イト設定信号28がリードに設定されているとICカー
ドインタフェース2からCPU10にデータが転送さ
れ、ライトに設定されているとCPU10からICカー
ドインタフェース2にデータが転送される。
The following signals are exchanged between the IC card interface 2 and the CPU 10. First, 2
Reference numeral 2 denotes a clock signal supplied from the CPU 10 to the IC card interface 2. In synchronization with the clock signal 22, the CPU 10 and the IC card interface 2 transmit a data signal 23 via a data bus and an address bus connecting them. And the transmission and reception of the address signal 24. 23 is a data signal exchanged between the IC card interface 2 and the CPU 10, 24 is an address signal exchanged between the IC card interface 2 and the CPU 10, and 25 is a reset signal having a logical value of 0,
The validity / invalidity is determined by setting “1”, and when valid, the operation of the IC card interface 2 is stopped. 2
Reference numeral 6 denotes an access request signal which requests the CPU 10 to access a data bus and an address bus between the IC card interface 2 and the CPU 10 when the IC card interface 2 reads data from the IC card 4. . 27 is a chip select signal, CP
When U10 permits access, it becomes valid and enables data access between the IC card interface 2 and the CPU 10. A read / write setting signal 28 is a signal for setting read / write when viewed from the CPU 10 when data is accessed between the IC card interface 2 and the CPU 10. That is, data is transferred from the IC card interface 2 to the CPU 10 when the read / write setting signal 28 is set to read, and data is transferred from the CPU 10 to the IC card interface 2 when the read / write setting signal 28 is set to write.

【0024】次に動作について説明する。本願発明はデ
ータ書き込みに関するので、ここではICカード4に対
するデータ書き込み動作について説明し、他の動作につ
いては説明を省略する。コントローラ14を構成するC
PU10が実行するアプリケーションソフトウェアにお
いてICカード4に対するデータ書き換え命令を実行す
ることで、データ書き込み動作が開始する。先ず、コン
トローラ14は、実際にICカード4にデータを書き込
む前に、ICカード4に書き込むべきデータをパーソナ
ルコンピュータ9に実装されているHDD11aに記録
する。このとき、CPU10が書き込みフラグ15を書
き込み中を示す論理値1に設定し、この値もコントロー
ラ14によってHDD11aに記録される。ここまでが
バックアップステップに相当する。
Next, the operation will be described. Since the present invention relates to data writing, the data writing operation to the IC card 4 will be described here, and the description of other operations will be omitted. C constituting the controller 14
By executing a data rewriting instruction for the IC card 4 in the application software executed by the PU 10, the data writing operation starts. First, before actually writing data to the IC card 4, the controller 14 records data to be written to the IC card 4 in the HDD 11 a mounted on the personal computer 9. At this time, the CPU 10 sets the write flag 15 to a logical value 1 indicating that writing is in progress, and this value is also recorded in the HDD 11a by the controller 14. The steps up to here correspond to the backup step.

【0025】上述したICカード4にデータを書き込む
前の処理が完了すると、コントローラ14内のCPU1
0がICカードインタフェース2に対するリセット信号
25を解除しチップセレクト信号27を有効にする。こ
れによって、ICカードインタフェース2とCPU10
との間でデータアクセスが可能となる。これに続いて、
コントローラ14内のCPU10がリード・ライト設定
信号28をライトに設定して、データバス及びアドレス
バスを通じてICカードインタフェース2にアクセスさ
れてデータ信号23及びアドレス信号24からなるデー
タが書き込まれる。
When the processing before writing data to the IC card 4 is completed, the CPU 1 in the controller 14
0 releases the reset signal 25 for the IC card interface 2 and makes the chip select signal 27 valid. Thereby, the IC card interface 2 and the CPU 10
And data access is possible. Following this,
The CPU 10 in the controller 14 sets the read / write setting signal 28 to write, accesses the IC card interface 2 through the data bus and the address bus, and writes data including the data signal 23 and the address signal 24.

【0026】次にICカードインタフェース2はICカ
ード4に対してリセット信号19を解除しリード・ライ
ト設定信号21をライト設定にする。これによって、I
Cカードインタフェース2がクロック信号16に同期し
てデータバスを通じてICカード4にデータが書き込ま
れる。この書き込み動作が完了すると、コントローラ1
4内のCPU10が先に設定した書き込みフラグ15を
書き込み完了を示す論理値0に変更してHDD11aに
記録する。ここまでが書き込みステップに相当する。
Next, the IC card interface 2 releases the reset signal 19 to the IC card 4 and sets the read / write setting signal 21 to write setting. This allows I
The C card interface 2 writes data to the IC card 4 via the data bus in synchronization with the clock signal 16. When this write operation is completed, the controller 1
The CPU 10 in 4 changes the write flag 15 previously set to a logical value 0 indicating completion of writing and records the logical value on the HDD 11a. These steps correspond to the writing step.

【0027】上記書き込みステップにおいてCPU10
がリセットされた場合(ICカード4に対するデータ書
き込みに係る動作シーケンスが中断された場合)、CP
U10は再起動後にHDD11aから書き込みフラグ1
5の値を読み出す。この書き込みフラグ15の値を参照
して、CPU10がICカード4にデータが書き込まれ
ている途中にリセットされたのか、若しくは書き込み完
了後にリセットされたのかを判定する(書き込み状態判
定ステップ)。
In the writing step, the CPU 10
Is reset (when the operation sequence related to writing data to the IC card 4 is interrupted),
U10 sends the write flag 1 from HDD 11a after reboot.
Read the value of 5. Referring to the value of the write flag 15, the CPU 10 determines whether the reset has been performed while data is being written to the IC card 4 or reset after the write is completed (write state determining step).

【0028】ICカード4に対するデータ書き込み中に
CPU10がリセットされたと判定されると、CPU1
0はHDD11aにバックアップしておいたデータを読
み込み、上記方法でICカード4に対する書き込み動作
を再開する(書き込み再開ステップ)。
If it is determined that the CPU 10 has been reset during data writing to the IC card 4, the CPU 1
0 reads the data backed up in the HDD 11a and restarts the write operation to the IC card 4 by the above method (write restart step).

【0029】なお、上記実施の形態ではICカード4に
書き込みべきデータ内容をHDD11やHDD11aに
バックアップする例を示したが、本願発明はこれに限定
されるものではなく、バックアップ用の記憶手段として
はフラッシュメモリ、MO、フロッピー(登録商標)デ
ィスクなどの記録媒体を用いてもよい。
In the above-described embodiment, an example has been described in which data to be written to the IC card 4 is backed up to the HDD 11 or the HDD 11a. However, the present invention is not limited to this. A recording medium such as a flash memory, an MO, and a floppy (registered trademark) disk may be used.

【0030】また、上記実施の形態では、図2を用いて
CPU10、ICカードインタフェース2、ICカード
4などのICカードシステムの構成部の接続を説明した
が、本願発明はこれに限定されるものではなく、バック
アップ用の記憶手段と書き込み状態を識別する書き込み
フラグ15を有しICカード4にデータを書き込むこと
ができる構成であれば適用可能である。さらに、データ
を書き込む対象としてICカード4を例に挙げて説明し
たが、本願発明はこれに限定されるものではなく、様々
な記録媒体に適用することができる。
In the above embodiment, the connection of the components of the IC card system such as the CPU 10, the IC card interface 2, and the IC card 4 has been described with reference to FIG. 2, but the present invention is not limited to this. Instead, the present invention can be applied to any configuration having a backup storage unit and a write flag 15 for identifying a write state and capable of writing data to the IC card 4. Furthermore, although the IC card 4 has been described as an example in which data is written, the present invention is not limited to this, and can be applied to various recording media.

【0031】以上のように、この実施の形態1によれ
ば、ICカード4に対するデータ書き込み状態に応じた
値を書き込みフラグ15に設定し、HDD11aにIC
カード4に書き込むべきデータ及び書き込みフラグ15
の値を記憶しておき、ICカード4に対するデータ書き
込みに係る動作シーケンスがリセットされると、HDD
11aに記憶しておいた書き込みフラグの値を参照して
リセットされた時点におけるデータ書き込み状態を判定
し、リセット時点がデータ書き込み中であると判定され
ると、HDD11aに記憶しておいたデータを読み出し
てICカード4に対するデータ書き込みを行うので、I
Cカード4に対するデータ書き込み中にCPU10がリ
セットされても、HDD11aからICカード4に書き
込むべきデータ内容を再度書き込むことができることか
ら、ICカード4に異常なデータが書き込まれることを
防ぐことができる。
As described above, according to the first embodiment, the value corresponding to the data write state to the IC card 4 is set in the write flag 15 and the IC 11 is stored in the HDD 11a.
Data to be written to card 4 and write flag 15
Is stored, and when the operation sequence related to writing data to the IC card 4 is reset, the HDD
The data write state at the time of reset is determined with reference to the value of the write flag stored in the HDD 11a. If it is determined that the data is being written at the reset time, the data stored in the HDD 11a is deleted. Since reading and writing of data to the IC card 4 are performed,
Even if the CPU 10 is reset while data is being written to the C card 4, the data contents to be written to the IC card 4 can be written again from the HDD 11a, so that abnormal data can be prevented from being written to the IC card 4.

【0032】[0032]

【発明の効果】以上のように、この発明によれば、記録
媒体に対するデータ書き込み状態に応じた値を書き込み
状態識別フラグに設定し、バックアップ用記憶手段に記
録媒体に書き込むべきデータ及び書き込み状態識別フラ
グの値を記憶しておき、記録媒体に対するデータ書き込
みに係る動作シーケンスが中断されると、バックアップ
用記憶手段に記憶しておいた書き込み状態識別フラグの
値を参照して中断された時点におけるデータ書き込み状
態を判定し、中断された時点がデータ書き込み中である
と判定されると、バックアップ用記憶手段に記憶してお
いたデータを読み出して記録媒体に対するデータ書き込
みを行うので、記録媒体に対するデータ書き込み中にデ
ータ書き込みに係る動作シーケンスが中断されても、バ
ックアップ用記憶手段から記録媒体に書き込むべきデー
タ内容を再度書き込むことができることから、記録媒体
に異常なデータが書き込まれることを防ぐことができる
という効果がある。また、従来のようにコンデンサなど
を使用することがないので装置を小型化することができ
るという効果がある。
As described above, according to the present invention, the value corresponding to the data write state on the recording medium is set in the write state identification flag, and the data to be written to the recording medium and the write state identification in the backup storage means are set. The value of the flag is stored, and when the operation sequence related to writing data to the recording medium is interrupted, the data at the time when the operation is interrupted with reference to the value of the write state identification flag stored in the backup storage means. The write state is determined, and if it is determined that the data is being written at the point of interruption, the data stored in the backup storage unit is read and the data is written to the recording medium. Even if the operation sequence related to data writing is interrupted during Since it is possible to write the data content to be written into the recording medium again from the step, there is an effect that it is possible to prevent the abnormal data is written to the recording medium. Further, since a capacitor or the like is not used unlike the related art, there is an effect that the device can be downsized.

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

【図1】 この発明の実施の形態1によるデータ書き込
み装置を使用したディジタル放送受信装置の構成を示す
ブロック図である。
FIG. 1 is a block diagram showing a configuration of a digital broadcast receiving device using a data writing device according to a first embodiment of the present invention.

【図2】 実施の形態1によるデータ書き込み装置の具
体的な構成例を示す図である。
FIG. 2 is a diagram showing a specific configuration example of a data writing device according to the first embodiment.

【図3】 従来のデータ書き込み装置としての機能を有
するICカードシステムの構成を示すブロック図であ
る。
FIG. 3 is a block diagram showing a configuration of an IC card system having a function as a conventional data writing device.

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

1 ディジタル放送受信ボード、2 ICカードインタ
フェース(データ書き込み手段)、3 ICカードソケ
ット、4 ICカード(記録媒体)、5 放送受信/復
号部、6 映像出力コネクタ、7 音声出力コネクタ、
8 アンテナ入力コネクタ、9 パーソナルコンピュー
タ(データ書き込み手段、データ書き込み装置)、10
CPU、11 ハードディスク(バックアップ用記憶
手段)、11a バックアップ用の記憶領域(バックア
ップ用記憶手段)、12 RAM、13 ローカルバ
ス、14 コントローラ(データ書き込み手段)、15
書き込みフラグ(書き込み状態識別フラグ)、16
クロック信号、17 データ信号、18 電源、19
リセット信号、20 カード検出信号、21 リード・
ライト設定信号、22 クロック信号、23 データ信
号、24 アドレス信号、25 リセット信号、26
アクセス要求信号、27 チップセレクト信号、28
リード・ライト設定信号。
REFERENCE SIGNS LIST 1 digital broadcast receiving board, 2 IC card interface (data writing means), 3 IC card socket, 4 IC card (recording medium), 5 broadcast receiving / decoding section, 6 video output connector, 7 audio output connector,
8 antenna input connector, 9 personal computer (data writing means, data writing device), 10
CPU, 11 hard disk (backup storage means), 11a backup storage area (backup storage means), 12 RAM, 13 local bus, 14 controller (data writing means), 15
Write flag (write state identification flag), 16
Clock signal, 17 data signal, 18 power supply, 19
Reset signal, 20 card detection signal, 21 read
Write setting signal, 22 clock signal, 23 data signal, 24 address signal, 25 reset signal, 26
Access request signal, 27 chip select signal, 28
Read / write setting signal.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 原谷 淳 神奈川県海老名市下今泉810番地 株式会 社日立製作所デジタルメディアシステム事 業部内 (72)発明者 町田 芳広 神奈川県海老名市下今泉810番地 株式会 社日立製作所デジタルメディアシステム事 業部内 (72)発明者 岡山 祐孝 神奈川県川崎市麻生区王禅寺1099番地 株 式会社日立製作所システム開発研究所内 (72)発明者 森野 東海 神奈川県川崎市麻生区王禅寺1099番地 株 式会社日立製作所システム開発研究所内 Fターム(参考) 5B058 CA26 KA04 KA08 YA20 5B065 BA09 CE12 EA18 EA24 5C064 CB08 CC01 CC04  ──────────────────────────────────────────────────続 き Continuing from the front page (72) Inventor Atsushi Haratani 810 Shimo-Imaizumi, Ebina-shi, Kanagawa Prefecture Inside the Digital Media System Business Division, Hitachi, Ltd. (72) Inventor Yoshihiro Machida 810 Shimo-Imaizumi, Ebina-shi, Kanagawa Prefecture (72) Inventor Yutaka Okayama 1099 Ozenji Temple, Aso-ku, Kawasaki City, Kanagawa Prefecture Inside Hitachi Systems Development Laboratory (72) Inventor 1099 Ozenji, Aso-ku, Kawasaki City, Kanagawa Prefecture, Japan Address F-term in Hitachi, Ltd. Systems Development Laboratory (Reference) 5B058 CA26 KA04 KA08 YA20 5B065 BA09 CE12 EA18 EA24 5C064 CB08 CC01 CC04

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 記録媒体に対するデータ書き込み状態に
応じた値が設定される書き込み状態識別フラグと、 上記記録媒体に書き込むべきデータ及び上記書き込み状
態識別フラグの値が記憶されるバックアップ用記憶手段
と、 上記記録媒体に対するデータ書き込みに係る動作シーケ
ンスが中断されると、上記バックアップ用記憶手段に記
憶した上記書き込み状態識別フラグの値を参照して中断
された時点におけるデータ書き込み状態を判定する書き
込み状態判定手段と、 この書き込み状態判定手段によって上記中断された時点
がデータ書き込み中であると判定されると、上記バック
アップ用記憶手段に記憶した上記記録媒体に書き込むべ
きデータを読み出して上記記録媒体に対するデータ書き
込みを行うデータ書き込み手段とを備えたデータ書き込
み装置。
1. A write state identification flag for setting a value according to a data write state on a recording medium; backup storage means for storing data to be written on the recording medium and a value of the write state identification flag; When an operation sequence related to writing data to the recording medium is interrupted, a write state determining unit that determines a data write state at the time of interruption by referring to a value of the write state identification flag stored in the backup storage unit When it is determined by the write state determining means that the data is being written at the time of the interruption, data to be written to the recording medium stored in the backup storage means is read, and data writing to the recording medium is performed. Data writing with data writing means to perform Burn-in device.
【請求項2】 記録媒体に対するデータ書き込み状態に
応じた値が設定される書き込み状態識別フラグと、上記
記録媒体に書き込むべきデータ及び上記書き込み状態識
別フラグの値が記憶されるバックアップ用記憶手段とを
備えたデータ書き込み装置のデータ書き込み方法におい
て、 上記記録媒体にデータを書き込む際に、上記記録媒体に
書き込むべきデータ及び上記書き込み状態識別フラグの
書き込み中を示す値を、上記バックアップ用記憶手段に
予め記録するバックアップステップと、 上記記録媒体に対してデータ書き込み処理を行い、デー
タ書き込みが完了すると上記バックアップ用記憶手段に
記憶させた上記書き込み状態識別フラグを書き込み完了
を示す値に書き替える書き込みステップと、 この書き込みステップにおける上記記録媒体に対するデ
ータ書き込みに係る動作シーケンスが中断されると、上
記バックアップ用記憶手段に予め記憶した上記書き込み
状態識別フラグの値を参照して中断された時点が上記記
録媒体に対するデータ書き込み中であったか否かを判定
する書き込み状態判定ステップと、 この書き込み状態判定ステップにて上記中断された時点
がデータ書き込み中であったと判定されると、上記バッ
クアップ用記憶手段に予め記憶しておいたデータを読み
出して、上記書き込みステップにて上記記録媒体に対す
るデータ書き込み動作を再開させる書き込み再開ステッ
プとを備えたことを特徴とするデータ書き込み装置のデ
ータ書き込み方法。
2. A write state identification flag in which a value according to a data write state on a recording medium is set, and backup storage means in which data to be written on the recording medium and a value of the write state identification flag are stored. In the data writing method of the data writing device, when writing data to the recording medium, data to be written to the recording medium and a value indicating that the writing state identification flag is being written are previously recorded in the backup storage means. A write step of performing a data write process on the recording medium, and rewriting the write state identification flag stored in the backup storage means to a value indicating the write completion when the data write is completed; The above record in the writing step When the operation sequence related to writing data to the medium is interrupted, referring to the value of the write state identification flag previously stored in the backup storage means, the time at which the operation was interrupted is to determine whether the data was being written to the recording medium. When it is determined in the write state determination step that the time of the interruption is data writing, the data stored in advance in the backup storage unit is read out. A data rewriting step for resuming a data writing operation on the recording medium in the writing step.
JP2001024623A 2001-01-31 2001-01-31 Data writing device and data writing method Pending JP2002229744A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001024623A JP2002229744A (en) 2001-01-31 2001-01-31 Data writing device and data writing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001024623A JP2002229744A (en) 2001-01-31 2001-01-31 Data writing device and data writing method

Publications (1)

Publication Number Publication Date
JP2002229744A true JP2002229744A (en) 2002-08-16

Family

ID=18889737

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001024623A Pending JP2002229744A (en) 2001-01-31 2001-01-31 Data writing device and data writing method

Country Status (1)

Country Link
JP (1) JP2002229744A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005038419A (en) * 2003-06-27 2005-02-10 Dainippon Printing Co Ltd System for issuing ic card instantly, system for managing individual secret data, and system and method for writing the same data
CN109254878A (en) * 2018-09-27 2019-01-22 北京中电华大电子设计有限责任公司 A kind of intelligent card power failure backup method write based on word and data structure
WO2020140069A1 (en) * 2018-12-28 2020-07-02 Micron Technology, Inc. Interruption of program operations at a memory sub-system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005038419A (en) * 2003-06-27 2005-02-10 Dainippon Printing Co Ltd System for issuing ic card instantly, system for managing individual secret data, and system and method for writing the same data
JP4603825B2 (en) * 2003-06-27 2010-12-22 大日本印刷株式会社 IC card immediate issue system and individual secret data writing system
CN109254878A (en) * 2018-09-27 2019-01-22 北京中电华大电子设计有限责任公司 A kind of intelligent card power failure backup method write based on word and data structure
CN109254878B (en) * 2018-09-27 2021-09-17 北京中电华大电子设计有限责任公司 Smart card power-down backup method and data structure based on character writing
WO2020140069A1 (en) * 2018-12-28 2020-07-02 Micron Technology, Inc. Interruption of program operations at a memory sub-system
US10929056B2 (en) 2018-12-28 2021-02-23 Micron Technology, Inc. Interruption of program operations at a memory sub-system
US11442656B2 (en) 2018-12-28 2022-09-13 Micron Technology, Inc. Interruption of program operations at a memory sub-system
US11803321B2 (en) 2018-12-28 2023-10-31 Micron Technology, Inc. Interruption of program operations at a memory sub-system

Similar Documents

Publication Publication Date Title
KR100607842B1 (en) Information processing apparatus and information processing method
US8250560B2 (en) Information processing apparatus
US20080098239A1 (en) Storage medium control method
US20050281540A1 (en) Information management method, information playback apparatus, and information management apparatus
JP5503539B2 (en) Method and system for repairing a damaged hard disk file system
EP1102275A2 (en) Recording apparatus and program recording medium
US8019198B2 (en) Recording and reproducing apparatus
EP1801808A1 (en) Electronic device and scene skipping method
US7502294B2 (en) Information recording and playback apparatus, content management method, and content management program capable of preventing illegal copying of content
JP2002300517A (en) Reproducing device, reproducing method and receiver device
JP5177939B2 (en) Information processing device
US20030233665A1 (en) Digital broadcast receiving apparatus, method, and program
KR20060131443A (en) Cable broadcasting receiver, reset method thereof, and data structure
JP2002229744A (en) Data writing device and data writing method
JP3769236B2 (en) Digital information recording / playback system
JP2005135269A (en) Electronic equipment
JP4292230B1 (en) Digital broadcast reception recording / reproducing apparatus and digital broadcast reception recording / reproduction method
US20070233960A1 (en) Command processing apparatus and command processing method
JP2006344060A (en) Information processor, and information processing method
JP2001054038A (en) Digital broadcast receiver
KR100790038B1 (en) Video display apparatus capable of application code data up-loading and control method thereof
JP2001339676A (en) Information processing equipment
JP4564319B2 (en) Communication device and communication method
JP2004157861A (en) Transfer method of command to memory card, and electronic equipment
JP2005341008A (en) Digital broadcast receiver

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040726

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070316

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070410

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070911