JPH0624358B2 - Data writing device - Google Patents
Data writing deviceInfo
- Publication number
- JPH0624358B2 JPH0624358B2 JP1177381A JP17738189A JPH0624358B2 JP H0624358 B2 JPH0624358 B2 JP H0624358B2 JP 1177381 A JP1177381 A JP 1177381A JP 17738189 A JP17738189 A JP 17738189A JP H0624358 B2 JPH0624358 B2 JP H0624358B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- data
- capacity memory
- written
- address
- 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
Description
【発明の詳細な説明】 産業上の利用分野 本発明はICカード等に個人識別番号(ID)を書込むため
の装置、あるいは放送衛星による有料放送システムの受
信端末等において、個人識別データあるいは個別マスタ
鍵の書込みを行う装置に関する。TECHNICAL FIELD The present invention relates to an apparatus for writing a personal identification number (ID) to an IC card or the like, or a receiving terminal of a pay broadcasting system using a broadcasting satellite, etc. The present invention relates to a device for writing a master key.
従来の技術とその問題点 従来、諸般の産業分野の情報処理システムにおいて広く
ICカードが利用されている。ICカードは一般に、論理回
路を含む半導体ICに、命令の理解、論理的選択、データ
の一時的または永久的な記憶などのいくつかの機能を持
たせ、このICを携行や取扱いに便利なようにプラスチツ
ク・カード内にパツケージしたものが多い。ICカードの
記憶内容は外部へ読み出したり、あるいは、内部的な情
報処理や判断のために用いられることもある。また、IC
カードに内蔵された記憶回路には、書込まれたデータの
変更可能なもの及び不可能なものがある。例えば記憶回
路の記憶域に書込まれたデータを変更不可能にするため
には、その書込み回路を破壊したり、あるいは、データ
自体を選択的に破壊すればよい。このようなICカードを
利用する情報処理システムにおいて、IDすなわち個人識
別番号や個別マスタ鍵などのデータのICカードへの書込
みは一般に、その利用システムの一個所に設けた中央管
理センタで集中的にこれを行うのが普通とされており、
それとは逆に、システム中の複数の区域をそれぞれ管轄
する複数の分散局ごとに、分散的かつ同時的に大量の書
込みをすることは行われていなかつた。その主な理由と
して次の点が挙げられる。Conventional technology and its problems Widely used in information processing systems in various industrial fields.
IC card is used. IC cards generally make a semiconductor IC containing logic circuits have some functions such as instruction understanding, logical selection, and temporary or permanent storage of data, so that this IC is convenient for carrying and handling. Many of them are packaged in plastic cards. The stored contents of the IC card may be read out or used for internal information processing or judgment. Also, IC
Some of the storage circuits built in the card can change the written data and some cannot. For example, in order to make the data written in the memory area of the memory circuit unmodifiable, the write circuit may be destroyed, or the data itself may be selectively destroyed. In an information processing system using such an IC card, writing of data such as an ID, that is, a personal identification number or an individual master key, to the IC card is generally centralized at a central management center provided in one place of the using system. It is customary to do this,
On the contrary, it has not been possible to write a large amount of data in a distributed and simultaneous manner at each of a plurality of distributed stations that respectively manage a plurality of areas in the system. The main reasons are as follows.
(イ)分散させて、数個所以上で書込みを行なう場合に
は、書込むべきデータの管理が比較的困難であり、特に
データの機密保持を保証するために一層の配慮が必要と
なる。(B) When data is distributed and written at several locations, it is relatively difficult to manage the data to be written, and further consideration must be given especially to guarantee the confidentiality of the data.
(ロ)また、分散させて書込みをすると、一利用者のIDを
表わすデータと同一のデータが、その利用者の属する分
散局と異なる分散局において、別の不揮発性メモリ(N
−M)または揮発性メモリ(V−M)に書込まれる恐れが
ある。(B) Further, when data is distributed and written, the same data as the data representing the ID of one user is stored in another nonvolatile memory (N
-M) or volatile memory (VM).
(ハ)書込み装置の概要を公表すれば、一般的には秘密が
保たれなくなるので、本発明の如く公表しても秘密が保
てるような構造のものは従来なかつた。(C) If the outline of the writing device is publicly disclosed, it is generally impossible to keep the secret. Therefore, there has been no structure having a structure that can keep the secret even if it is disclosed as in the present invention.
ところで、近年における社会の高度情報化の展開に伴う
通信メデイアの高度化・多様化の一環として、我国では
本格的な衛星放送が実施段階に入ろうとしている。公衆
の情報ニーズの多様化や放送サービスの充実等に指向す
るものの一つに、放送衛星によるテレビジヨン放送にお
ける有料方式があるが、この有料方式の成功的な実施の
ためには、統一的基準に則りつつ、予測される技術的諸
問題に対する有効な解決手段の開発を必要とする。そし
て、放送衛星テレビ有料方式では、機密性の保持ならび
に関連情報の配布の迅速性・正確性の保証などのため、
加入者の個人識別番号やマスタ鍵などのデータが書込ま
れたメモリが各端末に組込まれると予想されるので、こ
のメモリへのデータの書込みを如何に効率的に、確実
に、経済的に行なうかは、重要な課題の1つである。と
いうのは、放送衛星テレビ有料方式の特殊性にかんが
み、前述した集中的か分散的かのいずれであろうとも、
従来の書込み方式をそのまま適用するわけにはいかない
からである。By the way, as part of the sophistication and diversification of communication media accompanying the development of advanced information technology in society in recent years, full-scale satellite broadcasting is about to enter the implementation stage in Japan. One of the things aimed at diversifying the public's information needs and enhancing broadcasting services is the pay system for television broadcasting by broadcasting satellites. Therefore, it is necessary to develop effective solutions to predicted technical problems. In the paid broadcasting satellite television system, in order to maintain confidentiality and guarantee the swiftness / accuracy of distribution of related information,
Since it is expected that each terminal will be equipped with a memory in which data such as the subscriber's personal identification number and master key is written, how efficiently, reliably and economically the data can be written in this memory. Whether to do it is one of the important issues. Because of the peculiarity of the broadcasting satellite television pay system, whether it is the above-mentioned intensive or decentralized,
This is because the conventional writing method cannot be applied as it is.
発明の解決すべき課題とその解決手段の特徴 かくして本発明の目的は、従来のICカード等のメモリへ
のID等のデータ書込方式に随伴する前述の問題点を解決
することに指向して、放送衛星テレビジヨンの有料方式
等に有効に適用できる、斬新にして有用性の豊かなデー
タ書込み装置を提供することにある。SUMMARY OF THE INVENTION Problems to be Solved by the Invention and Characteristics of Solving Means Thus, the object of the present invention is directed to solving the above-mentioned problems associated with the conventional method of writing data such as an ID to a memory such as an IC card. The present invention is to provide a novel and highly useful data writing device that can be effectively applied to a pay system of broadcasting satellite television.
上述の目的を達成するために、本発明の書込み装置は、
個人識別番号やマスタ鍵などの書込むべきデータはすべ
て1つの中央管理センタで集中的に管理する一方、分散
した各受信端末にある各書込み装置に対して、この中央
管理センタから所要のデータを配送するようにし、そし
て各書込み装置を物理的に施錠できるように構成すると
ともに、暗号化アルゴリズムに使う個人用のマスタ鍵は
すべて中央管理センタで保管することを特徴とし、ま
た、各書込み装置では、自動的に揮発性メモリまたは不
揮発性メモリへデータの書込みを行ない、書込済フラグ
を各データに対応させて書込むことによつて、同じデー
タが重複して書込まれるのを防止する。In order to achieve the above-mentioned object, the writing device of the present invention comprises:
All the data to be written such as personal identification number and master key are centrally managed by one central management center, while the required data is written from each central management center to each writing device in each distributed receiving terminal. It is characterized in that it is delivered and configured so that each writing device can be physically locked, and that all personal master keys used for encryption algorithms are stored in a central management center. By automatically writing data to the volatile memory or the non-volatile memory and writing the written flag in association with each data, the same data is prevented from being written twice.
以下に図面を参照する説明により、本発明の具体的構成
及びその作用を明らかにする。The specific configuration and operation of the present invention will be clarified by the following description with reference to the drawings.
実施例 第1図は本発明に従うデータ書込み装置の一実施例の全
体構成を示すブロツク図であり、そしてこの実施例装置
の動作は第2図のフロチヤートにその概要が示される。Embodiment FIG. 1 is a block diagram showing the overall construction of an embodiment of a data writing apparatus according to the present invention, and the operation of this embodiment apparatus is outlined in the flowchart of FIG.
先ず第1図において、1Kは物理的な鍵、1Bは鍵によつて
施錠できる箱すなわち筺体であつて、筺体1Bの中には相
対的に大容量の不揮発性メモリ(N−M)2が収納されて
いる。一方、10は相対的に小容量の不揮発性メモリ(N
−M)または揮発性メモリ(V−M)である。この実施例
では、小容量のメモリ10以外の主要な構成部分1〜13は
全て、1つの筺体に収納されている。すなわち、第3図
の斜視図は装置の外観を示しており、図中、24は小容量
のメモリ10を装着するためのICソケツトである。First, in FIG. 1, 1K is a physical key, and 1B is a box or a housing that can be locked by the key, and a relatively large capacity nonvolatile memory (NM) 2 is contained in the housing 1B. It is stored. On the other hand, 10 is a non-volatile memory (N
-M) or volatile memory (VM). In this embodiment, all the main constituent parts 1 to 13 other than the small-capacity memory 10 are housed in one housing. That is, the perspective view of FIG. 3 shows the external appearance of the apparatus, and in the figure, 24 is an IC socket for mounting the small-capacity memory 10.
そこで、第2図と第3図を参照しつつ、第1図の実施例
装置の動作を明らかにする。ここでは、ID番号を多数の
不揮発性メモリ(N−M)10に書込む場合を考える。先ず
メモリ10をソケツト24に装着し、次に書込み指示スイツ
チ3を投入すると、主制御回路4からは制御パルス信号
が出力され、当初カウント0にセツトしてあつたインク
リメント・カウンタ5は、この制御信号パルスをカウン
トして増分+1となる。インクリメント・カウンタ5の
内容は読出しアドレス・カウンタ6に伝えられ、さらに
これは制御パルスの制御のもとに読出しアドレスとして
箱1B内の大容量の不揮発性メモリ2に伝えられる。イン
クリメント・カウンタ5の内容をそのまま大容量メモリ
2の読出しアドレスとしてもよいが、列と行のアドレス
で指定する場合は、5の出力を読出しアドレス・カウン
タ6で変換する方がよい。IDが全部で32ビツトであると
すると、インクリメント・カウンタ5の出力に対応した
アドレスの1列、例えばa0〜a11のある値、ここでは1
の1列分32ビツト(このアドレスをb0〜b4とする)を大
容量のメモリ2(その記憶容量を212×32≒128Kbitと
仮定)へ伝える。このような作用は主制御回路4中のカ
ウンタを適宜に設計することにより、簡単に得られる。
主制御回路4から32ビツト(00000〜11111)のアドレス信
号を読出しアドレス・カウンタ6を介して大容量メモリ
2へ順次に伝え、32個のメモリセル内のデータ32ビツト
を読出して、バツフアメモリ7へ伝える。なお、バツフ
アメモリ7への書込み方式はメモリ10への書込みと同じ
である。読出しアドレスの発生が終つた時点で、主制御
回路4から制御信号を書込み制御回路8へ伝えて、メモ
リ10を書込みモードにする一方、主制御回路4からは読
出し制御回路14へ制御信号を送つて、バツフアメモリ
7を読出しモードにする。バツフアメモリ7とメモリ10
とは同一の記憶容量及び同一の構成を有するが、7は揮
発性メモリ(V−M)、10は不揮発性メモリ(N−M)にし
ておく。Therefore, the operation of the embodiment apparatus shown in FIG. 1 will be clarified with reference to FIGS. 2 and 3. Here, consider a case where the ID number is written in a large number of nonvolatile memories (NM) 10. First, when the memory 10 is attached to the socket 24, and then the write instruction switch 3 is turned on, a control pulse signal is output from the main control circuit 4, and the increment counter 5 which was initially set to 0 counts this control. The signal pulse is counted and the increment becomes +1. The contents of the increment counter 5 are transmitted to the read address counter 6, which is further transmitted to the large-capacity nonvolatile memory 2 in the box 1B as a read address under the control of the control pulse. The content of the increment counter 5 may be used as it is as the read address of the large-capacity memory 2, but in the case of designating the column and row addresses, it is better to convert the output of 5 by the read address counter 6. Assuming that the ID is 32 bits in total, one column of the address corresponding to the output of the increment counter 5, for example, a value of a 0 to a 11 , which is 1 in this case.
32 bits for one column (this address is assumed to be b 0 to b 4 ) are transmitted to the large-capacity memory 2 (assuming the storage capacity is 2 12 × 32≉128 Kbit). Such an action can be easily obtained by appropriately designing the counter in the main control circuit 4.
An address signal of 32 bits (00000 to 11111) is sequentially transmitted from the main control circuit 4 to the large-capacity memory 2 through the read address counter 6, and 32 bits of data in 32 memory cells are read out to the buffer memory 7. Tell. The writing method to the buffer memory 7 is the same as the writing method to the memory 10. When the generation of the read address is completed, the main control circuit 4 sends a control signal to the write control circuit 8 to put the memory 10 in the write mode, while the main control circuit 4 sends the control signal to the read control circuit 14. Then, the buffer memory 7 is set to the read mode. Memory 7 and memory 10
Has the same storage capacity and the same configuration, but 7 is a volatile memory (VM) and 10 is a non-volatile memory (NM).
主制御回路4から読出し・書込みアドレスのデータを書
込み制御回路8へ伝え、メモリ10の書込みアドレスは書
込みアドレスカウンタ9を介して書込み制御回路8から
メモリ10へ伝え、またバツフアメモリ7の読出しアドレ
スは読出し制御回路14を介して、8から7へ与える。こ
のようにして、バツフアメモリ7の内容を読出し、メモ
リ10へそれを書込む。バツフアメモリ7とメモリ10のア
ドレス中、例えば行b0〜b4を前述のごとく00000から111
11まで変化させることは容易である。仮りに、7及び10
が大容量のメモリであつても、列アドレスa0〜an(nは
整数)を固定しておけばよい。7から10へ32ビツトのデ
ータの書込みが終了すると、その内容は10から読出され
る。これは読出し制御回路14と書込み制御回路8で制
御される。すなわち、書込み制御回路8において書込み
の終了を検知し、メモリ10を書込みモードから解放す
る。それにより、10も読出しモードとなる。このように
して、7と10に同じアドレスを与えて読出し、1ビツト
ずつ32ビツトを比較回路11で比較し、7の出力と10の出
力が同一ならば、OKの記号を表示部12に表示し、逆
に、1ビツトでも異なれば、NGの記号を12に表示す
る。比較回路11による判定がOKの場合には、主制御回
路4はプリンタ13に制御信号を与えて、メモリ10に書込
まれている内容をプリントアウトさせる。この場合、32
ビツト全部をプリントするか否かの制御は、4から11を
介して行なう。プリンタ13の速度に合わせ、11を制御
し、10の内容をゆつくり読み出すことは充分に可能であ
る。プリントした後、主制御回路4からインクリメント
・カウンタ5にインクリメント・パルスを供給する。し
たがつて、大容量メモリ2のアドレスは、次の32ビツト
の存在するa0〜a11となる。Data of the read / write address is transmitted from the main control circuit 4 to the write control circuit 8, the write address of the memory 10 is transmitted from the write control circuit 8 to the memory 10 via the write address counter 9, and the read address of the buffer memory 7 is read. It is given from 8 to 7 through the control circuit 14. In this way, the contents of the buffer memory 7 are read and written to the memory 10. In the addresses of the buffer memory 7 and the memory 10, for example, the rows b 0 to b 4 are read from 00000 to 111 as described above.
It's easy to change up to 11. Temporarily, 7 and 10
Even if is a large-capacity memory, the column addresses a 0 to a n (n is an integer) may be fixed. When the writing of 32-bit data from 7 to 10 is completed, the contents are read from 10. This is controlled by the read control circuit 14 and the write control circuit 8. That is, the write control circuit 8 detects the end of writing and releases the memory 10 from the write mode. As a result, 10 is also in the read mode. In this way, the same address is given to 7 and 10, 32 bits are compared one by one in the comparison circuit 11, and if the output of 7 and the output of 10 are the same, the OK symbol is displayed on the display unit 12. On the contrary, if even one bit is different, the NG symbol is displayed at 12. When the determination by the comparison circuit 11 is OK, the main control circuit 4 gives a control signal to the printer 13 to print out the contents written in the memory 10. In this case, 32
Control of whether or not to print all bits is performed through 4 to 11. It is quite possible to read the contents of 10 by controlling 11 according to the speed of printer 13 and reading the contents of 10. After printing, the main control circuit 4 supplies an increment pulse to the increment counter 5. Therefore, the addresses of the large-capacity memory 2 are a 0 to a 11 where the next 32 bits exist.
以上の動作を繰り返して、合計212=4096個のデータ
を、メモリ10の4096個の記憶域M1〜M4096に順次に書込
む。上述の例では、32ビツトのIDを書込んだ場合につい
て説明した。しかし、大規模な有料放送の受信端末、あ
るいは、ICカードによる個別判別などを考えると、より
多量のデータ(ID)を書込んだり、あるいは1端末(1
メモリ)毎に別の鍵(コード)を書込んだりする必要が
あるが、上述の方法において、64ビツト(000000〜1111
11)のアドレスを変化させ、1つのa0〜a11のアドレス
当り64ビツトのデータを書込み読出すことは容易なこと
である。この場合、大容量メモリ2の記憶容量は、上記
のものの2倍、つまり 256Kbitsとなる。32ビツトは約
40億に相当するので、例えば、日本国民全員がICカード
を所持し、それぞれ個別の鍵(コード)を持つようにす
ることも可能である。By repeating the above operation, a total of 2 12 = 4096 pieces of data are sequentially written into the 4096 storage areas M 1 to M 4096 of the memory 10. In the above-mentioned example, the case where the 32-bit ID is written has been described. However, considering a large-scale pay-broadcast receiving terminal or individual identification with an IC card, a larger amount of data (ID) can be written, or one terminal (1
It is necessary to write a different key (code) for each memory, but in the above method, 64 bits (000000-1111)
Changing the address of the 11), is an easy to issue write read one a 0 ~a 11 addresses per 64 bits of data. In this case, the storage capacity of the large-capacity memory 2 is twice as large as that described above, that is, 256 Kbits. 32 bits is about
Since it is equivalent to 4 billion, it is possible that, for example, all Japanese citizens carry IC cards and each has an individual key (code).
次に本発明のデータ書込み装置のシステム的運用例につ
いて、第4図を参照して説明する。第4図において、16
は中央管理センタで、例えばID32ビツトと鍵コード32ビ
ツトの管理を行なう。すなわち、ID番号が判れば鍵のコ
ード番号も判る。ここで大容量メモリ 2Ai, 2Bi, 2Ciに
それぞれ4096種類の異なるIDと鍵コードを書込み、安全
を保証する方法でA工場(17A)、B工場(17B)、C工場
(17C)へ運び、各工場の書込み装置15A,15B,15C
(第3図の15に同じ)の箱15内に挿入し、鍵1Kをかけ
る。これは中央管理センタの操作員が行なえばよく、各
工場は書込み装置を破壊しない限り大容量メモリ2Ai,2B
iまたは2Ciの内容を知ることができない。それ故、機密
が保証される。なお、大容量メモリ2としては、フロツ
ピーデイスクやICカードが考えられる。Next, an example of systematic operation of the data writing device of the present invention will be described with reference to FIG. In FIG. 4, 16
Is a central management center, which manages, for example, ID 32 bits and key code 32 bits. That is, if the ID number is known, the code number of the key is also known. Here, 4096 different IDs and key codes are written in the large-capacity memories 2A i , 2B i , and 2C i , respectively, to ensure the safety, so that factory A (17A), factory B (17B), factory C
(17C), write device 15A, 15B, 15C of each factory
Insert it in the box 15 (same as 15 in Fig. 3) and lock the key 1K. This can be done by the operator of the central management center, and each factory will have a large memory 2A i , 2B unless the writing device is destroyed.
I cannot know the contents of i or 2C i . Therefore, confidentiality is guaranteed. As the large capacity memory 2, a floppy disk or an IC card can be considered.
ところで、システム中のいずれかのデータ書込み装置15
において、その大容量メモリ2の内容の一部または全部
が2度にわたつて読出され、重複して書込みが行なわれ
るといけないので、これを防止する対策について第5図
及び第6図を参照して説明する。これまでの説明では、
データ(ID)は32ビツト、鍵コードは32ビツトとした
が、ここでは説明の簡易化を考慮して、データは31ビツ
トとする。この場合、IDの総数は約20億となるが、実用
上は何ら問題はない。By the way, one of the data write devices 15 in the system
In this case, since some or all of the contents of the large-capacity memory 2 must be read twice and duplicated writing must be performed, refer to FIGS. 5 and 6 for measures to prevent this. Explain. In the explanation so far,
Although the data (ID) is 32 bits and the key code is 32 bits, the data is 31 bits here in consideration of simplification of description. In this case, the total number of IDs is about 2 billion, but there is no problem in practical use.
さて第5図において、6Aは主制御回路4によつて制御さ
れる(図中、接続線は省略)アドレスカウンタで、その
間のインクリメント・カウンタ(図示しない)により増
分してアドレスa0〜a11を変化させる。6Bはb0〜b5の64
ビツトのアドレスを指定するアドレスカウンタである。
今仮りに、鍵コード32ビツト、ID31ビツト、フラグ1ビ
ツトの順で大容量メモリ2にデータが書込まれており、
第4図の中央管理センタ16から工場へメモリ2を渡す
時は、前記のフラグは0であるとする。最初のアドレス
(a0〜a11は全て0)のデータ63ビツトの読出しは、主
制御回路4からフリツプフロツプ6Fにセツトパルスが供
給されることによつて始まるが、単安定マルチバイブレ
ータ6M1の出力はLレベルである故、メモリ2は読出し
モード(逆のモードになるメモリもある)となつてお
り、最初の1ビツトはメモリ2の出力のデータラインに
現れている。フリツプフロツプ6Fがセツトされ、それの
Q出力がHレベルになると、パルス発振器6Sが発振す
る。パルス発振器6Sの発振周波数は、メモリ2のデータ
書込み・読出し周期の最小時間よりも長い繰返し周波数
に選定するが、これが高過ぎる場合には、分周してから
アドレスカウンタ6Bに送ればよい。また仮りに、6Sの発
振周波数を100KHzとすれば、アドレスカウンタ6Bの出力
b0〜b5は10μsec毎に変化する。従つて、メモリ2から3
1ビツトを読出す時間は310μsecである。そしてb0〜b5
が全て1になると、NANDゲート6Gの出力はLレベルとな
つて、フリツプフロツプ6Fをリセツトするので、それの
Q出力はLレベルとなつて6Sの発振を停止させる。、一
方、単安定マルチ6M1は例えば100μsec幅でHレベルの
Q出力を出力してメモリ2を書込みモードにし、+Bす
なわち1の信号をb0〜b5の最後のアドレス111111の個所
に書込む。また単安定マルチ6M1のQ出力の後縁で単安
定マルチ6M2が駆動されて例えば10μsec幅のQ出力を生
じ、このQ出力によつてアドレスカウンタ6Bがクリアさ
れる。従つて、次のa0〜a11のアドレスになつた時、b0
〜b5は全て0である。以下、上述の動作を繰返す。この
ようにすれば、大容量メモリ2に、IDと鍵コードの合計
63ビツトとを対にして、1ビツトのフラグのみが書込ま
れる。このようにしておくと、大容量メモリ2の内容を
全部読出してメモリ10へ書込んでいなくとも、後続の大
容量メモリ2と順次に交換できるから、未使用のIDと鍵
コードの判別ができることになる。In FIG. 5, 6A is an address counter controlled by the main control circuit 4 (connection line is omitted in the figure), and is incremented by an increment counter (not shown) in between to address a 0 to a 11. Change. 6B is b 0 to b 5 64
An address counter for designating the bit address.
Now, temporarily, data is written in the large-capacity memory 2 in the order of key code 32 bits, ID 31 bits, and flag 1 bit.
When the memory 2 is transferred from the central management center 16 of FIG. 4 to the factory, the flag is set to 0. The first address (a 0 ~a 11 all 0) reading of data 63 bits of the main control circuit but has Setsutoparusu the flip flop 6F from 4 begins connexion by be supplied, the output of the monostable multivibrator 6M 1 is Since it is at the L level, the memory 2 is in the read mode (there is also a memory in which the mode is reversed), and the first one bit appears in the data line at the output of the memory 2. When the flip-flop 6F is set and its Q output becomes H level, the pulse oscillator 6S oscillates. The oscillation frequency of the pulse oscillator 6S is selected to be a repetition frequency longer than the minimum time of the data write / read cycle of the memory 2, but if it is too high, it may be divided and then sent to the address counter 6B. If the 6S oscillation frequency is 100 KHz, the address counter 6B output
b 0 to b 5 change every 10 μsec. Therefore, memory 2 to 3
The time to read one bit is 310 μsec. And b 0 ~ b 5
When all become 1, the output of the NAND gate 6G becomes L level and the flip-flop 6F is reset, so that its Q output becomes L level and stops the oscillation of 6S. On the other hand, the monostable multi 6M 1 outputs a Q output of H level with a width of 100 μsec to put the memory 2 in the write mode, and writes + B, that is, a signal of 1 to the last address 111111 of b 0 to b 5. . Further, the monostable multi 6M 2 is driven at the trailing edge of the Q output of the monostable multi 6M 1 to generate a Q output having a width of, for example, 10 μsec, and the Q output clears the address counter 6B. Therefore, when the next address of a 0 to a 11 is reached, b 0
~ B 5 are all 0. Hereinafter, the above operation is repeated. By doing this, the total of the ID and key code will be stored in the large capacity memory 2.
Paired with 63 bits, only the 1-bit flag is written. By doing so, even if the entire contents of the large-capacity memory 2 are not read and written in the memory 10, they can be sequentially exchanged with the succeeding large-capacity memory 2, so that the unused ID and key code can be discriminated. You can do it.
次に、フラグの立つているIDと鍵コードを二重に読出
し、重複して書込むことがないようにするための対策に
ついて述べる。第6図は、第5図を変形してメモリ10
(第1図参照)を取替える毎に、アドレスカウンタ6Bの
b0〜b5中の111111の部分のフラグをチエツクするように
構成したチエツク回路を含んでおり、以下のごとく動作
する。主制御回路4を操作して負パルスを出力させて、
単安定マルチバイブレータ4Mを駆動する。この4Mの出力
パルスの幅を例えば10msecとし、そのHレベルの間、
セレクタ6Cの出力にはそれの入力c0〜c5が現われるもの
とする。入力c0〜c5は全て1である故、それはフラグの
あるアドレスを指定する。この時、アドレスカウンタ6A
がa0〜a11のある値、例えばnであるとすると、この
時、大容量メモリ2の出力は0または1である。0の場
合には、NANDゲート62には出力が現われないので、第5
図と同様の動作となる。すなわち、単安定マルチ4MのQ
出力がLレベルになると、フリツプフロツプ6Fがセツト
され、セレクタ6Cはb0〜b5を出力し、ANDゲート61がオ
ンになるからである。一方、大容量メモリ2の出力が1
の場合には、NANDゲート62の出力は負となり、ORゲー
ト63の出力も負となつて、アドレスカウンタ6Aを増分+
1する。すなわち、6Aのアドレスはa0〜a11は(n+1)
となる。一方、NANDゲート6Gの出力を考えると、c0
〜c5の全部の信号1が6Gへも送られ、6Gの出力は負レベ
ルとなるが、単安定マルチ4Mの出力がHレベルの間、A
NDゲート61は遮断されており、6M1を駆動しないの
で、メモリ2のW/R端子はLレベル、すなわち、読出
しモードを保持する。またフリツプフロツプ6Fはリセツ
トされるが、そのQ出力は単安定マルチ4Mの出力の後縁
でセツトされるまで、何回リセツトされても支障はな
い。アドレスカウンタ6Aのアドレスa0〜a11が(n+1)
であつても、フラグが1なら、さらに(n+2)という具
合に6Aのアドレスa0〜a11は10進換算で1から4095まで
進み、再び0に戻ることにより、合計4096のアドレスを
指定する。すなわち、単安定マルチ4Mの出力がHレベル
である10msecの間に4096のアドレスを変化させること
になる。これは1アドレス当り約0.5μsecであるから、
読出しには充分な時間といえる。万一、読出しのために
短いのであれば、単安定マルチ4Mの出力の幅を 100mse
cにしてもよい。Next, we will describe the countermeasures for reading the flagged ID and key code twice and preventing duplication. FIG. 6 is a modified version of FIG.
(See Fig. 1)
It includes a check circuit configured to check the flag of 111111 in b 0 to b 5 , and operates as follows. Operate the main control circuit 4 to output a negative pulse,
Drives monostable multivibrator 4M. The width of this 4M output pulse is set to 10 msec, for example, and during the H level,
It is assumed that the inputs c 0 to c 5 appear at the output of the selector 6C. Since inputs c 0 -c 5 are all 1, it specifies a flagged address. At this time, address counter 6A
Is a value of a 0 to a 11 , for example, n, the output of the large capacity memory 2 is 0 or 1. If it is 0, no output appears in the NAND gate 62.
The operation is similar to that shown in the figure. That is, Q of monostable multi 4M
When the output becomes L level, the flip-flop 6F is excisional selector 6C outputs b 0 ~b 5, because the AND gate 61 is turned on. On the other hand, the output of the large capacity memory 2 is 1
In the case of, the output of the NAND gate 62 becomes negative and the output of the OR gate 63 also becomes negative, and the address counter 6A is incremented +
Do 1 That, a 0 ~a 11 6A address of (n + 1)
Becomes On the other hand, considering the output of the NAND gate 6G, c 0
All the signals 1 of ~ c 5 are sent to 6G and the output of 6G becomes a negative level, but while the output of monostable multi 4M is H level, A
Since the ND gate 61 is cut off and 6M 1 is not driven, the W / R terminal of the memory 2 holds the L level, that is, the read mode. Although the flip-flop 6F is reset, its Q output can be reset any number of times until it is set at the trailing edge of the output of the monostable multi 4M. The addresses a 0 to a 11 of the address counter 6A are (n + 1)
In even filed, if the flag is 1, the flow advances further (n + 2) address 6A so on a 0 ~a 11 from 1 decimal terms 4095, by returning to zero again, to address the total 4096 . That is, 4096 addresses are changed during 10 msec when the output of the monostable multi 4M is H level. Since this is about 0.5 μsec per address,
It can be said that the time is sufficient for reading. If it is too short for reading, set the output width of the monostable multi 4M to 100mse.
May be c.
上述のようにして、メモリ10の内容を全部チエツクし、
フラグの有無を調べることができる。またその際、既に
フラグの立つているメモリアドレスの内容をもう一度読
出ことは必要でない。なお、以上の例ではフラグのアド
レスを111111としたが、これが000000でも支障のないこ
とはいうまでもない。Check all the contents of memory 10 as above,
You can check for the presence of flags. At this time, it is not necessary to read the contents of the memory address which has already been flagged again. In the above example, the flag address is 111111, but needless to say, this may be 000000.
発明の効果 以上の説明によつて明らかとなつたように、本発明はそ
の目的を充分に達成するとともに下記の特有の効果を奏
する。EFFECTS OF THE INVENTION As is apparent from the above description, the present invention achieves its objects sufficiently and exhibits the following unique effects.
(a) IDや鍵を重複させることなしに、それぞれのデ
ータ書込み装置を用いて各端末に装着されるべきメモリ
へ順に書込むことができる。(a) It is possible to sequentially write in the memory to be attached to each terminal by using each data writing device without duplicating the ID and the key.
(b) ID、鍵のデータを一度使つたメモリのアドレス
にフラグが立つので、使用済のIDや鍵と、未使用のそ
れとを直ちに判別できる。(b) Since the flag is set at the address of the memory where the ID and key data have been used once, the used ID and key can be immediately discriminated from the unused one.
(c) データ書込み装置に物理的に鍵をかけることがで
きるので、システム内の工場はメモリへの書込みに直接
関与しなくてよく、したがつてデータの機密保持上のセ
キユリテイが高い。(c) Since the data writing device can be physically locked, the factory in the system does not need to be directly involved in the writing to the memory, and therefore the security of data confidentiality is high.
第1図は本発明に係るデータ書込み装置の一実施例の全
体構成を示すブロツク図、第2図は同じくその動作説明
用フローチヤート、第3図は同じくその外観を示す斜視
図、第4図は本発明に従うデータ書込み装置が適用され
るシステムの概要図である。また、第5図は本発明に係
るデータ書込み装置の他の実施例であつて、特にメモリ
の記憶内容の2度読み、重複書込み防止手段を有するも
ののブロツク図、第6図は第5図示の実施例の変形例の
ブロツク図である。FIG. 1 is a block diagram showing the overall configuration of an embodiment of a data writing device according to the present invention, FIG. 2 is a flow chart for explaining the operation thereof, and FIG. 3 is a perspective view showing the appearance thereof, and FIG. FIG. 1 is a schematic diagram of a system to which a data writing device according to the present invention is applied. 5 is a block diagram of another embodiment of the data writing device according to the present invention, in particular, a block diagram of a device having a means for reading the stored contents of the memory twice and a duplicate write preventing means, and FIG. 6 is shown in FIG. It is a block diagram of the modification of an Example.
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭63−103533(JP,A) 特開 昭61−240385(JP,A) 実開 昭61−14554(JP,U) ─────────────────────────────────────────────────── ─── Continuation of front page (56) References JP-A-63-103533 (JP, A) JP-A-61-240385 (JP, A) Actually-opened Sho-61-14554 (JP, U)
Claims (1)
なるアドレス及びマスタ鍵を記憶できる受信端末に装着
される小容量メモリにデータを書込む装置であって、 物理的に施錠可能な筺体内に相対的に大容量のメモリを
設けると共に、前記筺体上に設けた端子に外部から不揮
発性の、または、電池等でバツクアツプされた揮発性
の、相対的に小容量のメモリを接続し、前記大容量のメ
モリの記憶内容の一部を読取って順次に前記小容量のメ
モリに書込むように構成し、 前記一受信端末毎に装着される前記小容量のメモリには
一端末毎に異なるデータが1回だけ書込まれ、かつ、同
一のデータが他の受信端末にデータを書込む際小容量の
メモリに書込まれないようにするために、データと対応
した書込みフラグを記憶する記憶域を前記大容量メモリ
の一部に設けること、を特徴とする前記データ書込み装
置。1. A device for writing data in a small-capacity memory mounted on a receiving terminal capable of storing a different address and master key for each terminal in a signal transmission / reception system, the device being relative to a physically lockable housing. A large-capacity memory is provided, and a non-volatile, or volatile, relatively small-capacity memory backed up by a battery or the like is connected to a terminal provided on the housing from the outside to provide the large-capacity memory. Is configured to read a part of the stored contents of the memory and sequentially write to the small-capacity memory, and the small-capacity memory attached to each one of the receiving terminals stores different data for each terminal. In order to prevent the same data from being written to a small-capacity memory when writing data to another receiving terminal, the storage area for storing a write flag corresponding to the data is written. Large content Providing a portion of the memory, the data writing apparatus according to claim.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1177381A JPH0624358B2 (en) | 1989-07-10 | 1989-07-10 | Data writing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1177381A JPH0624358B2 (en) | 1989-07-10 | 1989-07-10 | Data writing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0342936A JPH0342936A (en) | 1991-02-25 |
| JPH0624358B2 true JPH0624358B2 (en) | 1994-03-30 |
Family
ID=16029947
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1177381A Expired - Lifetime JPH0624358B2 (en) | 1989-07-10 | 1989-07-10 | Data writing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0624358B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3791582B2 (en) * | 1999-09-17 | 2006-06-28 | 株式会社トータルシステムエンジニアリング | Chain store business logistics rationalization system |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6114554U (en) * | 1984-06-25 | 1986-01-28 | 富士通株式会社 | Tabletop encryption device |
| JPS61240385A (en) * | 1985-04-18 | 1986-10-25 | Omron Tateisi Electronics Co | Card issuing device |
| JPS63103533A (en) * | 1986-10-20 | 1988-05-09 | Mitsubishi Electric Corp | Cryptographic communication processing system |
-
1989
- 1989-07-10 JP JP1177381A patent/JPH0624358B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0342936A (en) | 1991-02-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0674318B1 (en) | System and method for write-protecting predetermined portions of a memory array | |
| US5081676A (en) | Method and apparatus for protecting multiple copies of computer software from unauthorized use | |
| US5032708A (en) | Write-once-read-once batteryless authentication token | |
| US4862156A (en) | Video computer system including multiple graphics controllers and associated method | |
| NL8201077A (en) | A COMMUNICATION SYSTEM, CONTAINING A CENTRAL DATA PROCESSING DEVICE, ACCESS STATIONS AND EXTERNAL STATIONS, WHICH A CRYPTOGRAPHIC CHECK IS FORDICULARIZING AN EXTERNAL STATION, AND EXTERNAL STATIONS FOR USE IN SUCH A COMMUNITY. | |
| CA2003377A1 (en) | Epm having an improvement in non-volatile storage of accounting data | |
| JPH0727459B2 (en) | Random number generation method in data processing system and data processing system using this method | |
| US7200759B2 (en) | Method and device for making information contents of a volatile semiconductor memory irretrievable | |
| US5506991A (en) | Printer port adapter with overlaid one-wire interface for electronic key | |
| US5603000A (en) | Integrated circuit memory with verification unit which resets an address translation register upon failure to define one-to-one correspondences between addresses and memory cells | |
| US4712177A (en) | Circuit for a cord carrier having a memory and an access control unit for secure data access | |
| JPH0624358B2 (en) | Data writing device | |
| US5493665A (en) | Portable memory device and method of securing the integrity of stored data therein utilizing a starting address and a stored memory cycle number | |
| JPH09265254A (en) | Mutual authentication system for information storage media | |
| JPS627251A (en) | Multifunctional telephone set | |
| JP2000181802A (en) | Semiconductor storage device | |
| US20030024984A1 (en) | Clock frequency control method and device, and IC card reading/writing apparatus using the same | |
| RU2006924C1 (en) | Device for information input-output | |
| JPH02112082A (en) | Microprocessor and IC card using it | |
| JPS5837272A (en) | Electric signal transmitter | |
| JPS62233867A (en) | Read-only memory | |
| JPH1173375A (en) | IC card | |
| GB2157040A (en) | Electronic data reader/writer | |
| JP2864765B2 (en) | Data carrier | |
| JPH0793620B2 (en) | Decryption device |