JP2016202742A - Game machine circuit for performing encryption or decryption, pair of game machine circuits, game machine substrate, and game machine - Google Patents

Game machine circuit for performing encryption or decryption, pair of game machine circuits, game machine substrate, and game machine Download PDF

Info

Publication number
JP2016202742A
JP2016202742A JP2015090343A JP2015090343A JP2016202742A JP 2016202742 A JP2016202742 A JP 2016202742A JP 2015090343 A JP2015090343 A JP 2015090343A JP 2015090343 A JP2015090343 A JP 2015090343A JP 2016202742 A JP2016202742 A JP 2016202742A
Authority
JP
Japan
Prior art keywords
circuit
encryption
communication
authentication value
gaming machine
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
JP2015090343A
Other languages
Japanese (ja)
Inventor
功 辰野
Isao Tatsuno
功 辰野
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.)
LETech Co Ltd
Original Assignee
LETech Co Ltd
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 LETech Co Ltd filed Critical LETech Co Ltd
Priority to JP2015090343A priority Critical patent/JP2016202742A/en
Publication of JP2016202742A publication Critical patent/JP2016202742A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent a fraudulent conduct such as data alteration by using a false substrate, an intermediate substrate, etc., or a modification of signal lines, in the communication between substrates in a game machine.SOLUTION: One-way cryptocommunication is performed between substrates of a game machine. Accordingly, authentication of a main substrate is performed and use of a false substrate becomes impossible. Furthermore, eavesdropping and alteration of data are prevented by performing encryption.SELECTED DRAWING: Figure 3

Description

本発明は、暗号化又は復号化を行う遊技機用回路、一組の遊技機用回路、遊技機用基板、及び、遊技機に関する。   The present invention relates to a gaming machine circuit that performs encryption or decryption, a set of gaming machine circuits, a gaming machine board, and a gaming machine.

第1の回路が第2の回路に情報を送信し、第2の回路が第1の回路に応答(アクノレッジ(ACK又はNACK))を返すことができる構成において、セキュアな通信を行うために、第1の回路及び第2の回路が認証を行う必要性がある。
第1の回路は遊技のおける抽選機能を有しているので、第1の回路へは外部からの信号はいかなる形でも入れる事は好ましくない。特に通常の通信方式を用いている場合には、情報量を多くできるので、第1の回路での抽選に関わる情報を秘匿して伝達する事の可能性を排除できない。そこで第2の回路が第1の回路へ送るのは、必要最低限の応答だけとする事で第1の回路への影響が生じない様にする構成とする。
In order to perform secure communication in a configuration in which the first circuit transmits information to the second circuit and the second circuit can return a response (acknowledge (ACK or NACK)) to the first circuit, There is a need for the first circuit and the second circuit to perform authentication.
Since the first circuit has a lottery function for games, it is not preferable to input any signal from the outside to the first circuit. In particular, when a normal communication method is used, the amount of information can be increased, and thus it is not possible to exclude the possibility of concealing and transmitting information related to the lottery in the first circuit. Therefore, the second circuit sends the first circuit to the first circuit only by a necessary minimum response so as not to affect the first circuit.

例えば、パチンコ、回胴式遊技機とも称されるパチスロなどの遊技機では、回路又は回路を含む基板間の認証が特に必要とされている。   For example, in a gaming machine such as a pachinko machine or a pachislot machine that is also referred to as a revolving game machine, authentication between circuits or boards including circuits is particularly required.

遊技機は、機器の主な動作を管理する主基板、賞球を払出す等を行う払出基板、遊技機の面白さを演出する表示基板といった複数の電子基板、枠台や、他の機構を有しており、それら全体で1つのユニット機器として用いられる。   The gaming machine has a plurality of electronic boards such as a main board that manages the main operation of the equipment, a payout board that pays out prize balls, a display board that produces the fun of the gaming machine, a frame base, and other mechanisms. They are used as a unit device as a whole.

遊技機の通信において、RS232C規格準拠のシリアル通信、以前、良く用いられていたセントロニクス標準に準拠したパラレル通信等の比較的シンプルな通信手段が採用されている。一方で、USBやイーサネットといったプロトコルを用いた通信はあまり用いられていない。   In communication of gaming machines, relatively simple communication means such as serial communication conforming to the RS232C standard and parallel communication conforming to the Centronics standard that has been widely used before are employed. On the other hand, communication using a protocol such as USB or Ethernet is not often used.

近年、遊技者が、中古の遊技機を入手して、基板間の通信内容を知る事は比較的容易に行う事ができる。そして、このような遊技者が通信内容を解析して、遊技機器に不正を行う手段を見出し、自己で用いて不正をおこなったり、不法行為を行おうとするものに手段を伝達して不正を行わせしめることがある。このような不正の対策として、一般の業界では、基板間の通信に暗号通信を用いることが知られている。   In recent years, it has been relatively easy for a player to obtain a used gaming machine and know the contents of communication between boards. Then, such a player analyzes the communication contents, finds a means for cheating on the gaming machine, and conducts cheating by transmitting the means to those who try to cheat or conduct illegal activities by themselves. There are times when you want to. As a countermeasure against such a fraud, it is known in the general industry that encryption communication is used for communication between substrates.

現在、遊技機で用いられている暗号通信に関し、主基板に用いられているセキュリティ機能を有するマイコンの外側に暗号化集積回路(IC)を搭載して、受け側の基板側では復号ICを用いて復号してから受け側のプロセッサ(マイコン)へ入力することも可能である。すなわち、主基板におけるプロセッサ(マイコン)と暗号ICとの間の通信、並びに、受け側の基板におけるプロセッサ(マイコン)と復号ICとの間の通信は、暗号化されていない平文通信である。したがって、その平文通信をモニターすれば、その通信内容は知られてしまう可能性がある。   Currently, with regard to encryption communication used in gaming machines, an encryption integrated circuit (IC) is mounted outside the microcomputer having the security function used on the main board, and a decryption IC is used on the receiving board side. It is also possible to input to the receiving processor (microcomputer) after decoding. That is, the communication between the processor (microcomputer) on the main board and the encryption IC and the communication between the processor (microcomputer) on the receiving board and the decryption IC are plaintext communications that are not encrypted. Therefore, if the plaintext communication is monitored, the communication content may be known.

これに関し、表示基板であれば、遊技機器の遊技の結果(特に賞球)に及ぼす影響は少ないので、従来の通信を用いても、問題となる可能性が低い。一方で、主基板と賞球を払い出す払出し基板との間の通信が遊技者に知られてしまうと、この通信回路に本来は有り得ない中継基板を設置する等して、入賞してもいない賞球を払出す、といった不正行為が可能となる。実際に、そのような不正行為が行われたこともある。   In this regard, since the display substrate has little influence on the game result (especially a prize ball) of the gaming machine, even if conventional communication is used, the possibility of a problem is low. On the other hand, if communication between the main board and the payout board for paying out the prize ball is known to the player, a prize is not awarded, for example, by installing a relay board that is not possible in this communication circuit. Unauthorized actions such as paying out prize balls are possible. In fact, there has been such fraud.

本発明は、上記のような回路又はその回路を含む基板間の通信、例えば、機器が遊技機である場合に主基板同士、又は、主基板と主基板以外の基板との間の通信のセキュリティを高めることができる。これにより、データの盗聴や改ざんによる不正行為を防止する。   The present invention provides communication security between the circuits as described above or between the boards including the circuits, for example, when the device is a game machine, or between the main boards or between the main board and a board other than the main board. Can be increased. This prevents fraudulent acts due to data tapping and tampering.

また、遊技機であれば、上記のようにデータの盗聴や改ざんを困難にすることによって、基板間の通信において偽基板や中間基板などを用いたデータの改ざんや、信号線の改造といった不正行為を防止することができる。   In the case of gaming machines, fraudulent acts such as falsification of data using a fake board or intermediate board, or modification of signal lines in communication between boards by making it difficult to wiretap or tamper with data as described above. Can be prevented.

さらに、主基板及び/払出基板の暗号、復号回路をマイコンに搭載してワンチップの回路として実現することによって、主基板におけるプロセッサ(マイコン)と暗号ICとの間の通信、並びに、受け側の基板におけるプロセッサ(マイコン)と復号ICとの間の通信が無くなり、基板の外における平文通信を排除することができる。更に内部のROMに格納されているプログラムを読めなくして暗号・復号の為の処理、認証用のコード、暗号に用いられるキーも秘匿性を高める事が可能となる。   Furthermore, the encryption / decryption circuit for the main board and / or the payout board is mounted on the microcomputer and realized as a one-chip circuit, so that the communication between the processor (microcomputer) and the encryption IC on the main board, and the receiving side Communication between the processor (microcomputer) on the substrate and the decryption IC is eliminated, and plaintext communication outside the substrate can be eliminated. Furthermore, it is possible to improve the secrecy of the encryption / decryption process, the code for authentication, and the key used for encryption by making it impossible to read the program stored in the internal ROM.

本発明による一組の遊技機用回路の実施例は、認証値を第1の暗号鍵で暗号化する第1の暗号通信回路を有する第1の回路と、前記第1の回路からの片方向通信を提供する第1の通信経路と、前記第1の回路への片方向通信を提供する第2の通信経路とを介して前記第1の回路に接続されている第2の回路であって、前記第1の通信経路を介して前記第1の回路から暗号化された前記認証値を受信し、受信した暗号化された前記認証値を第2の暗号鍵で復号化する第2の暗号通信回路を有し、予め記憶されている認証値と復号化された認証値とを比較し、比較結果に応じて、応答を前記第2の通信経路を介して前記第1の回路に送信する第2の回路と、を備える。   An embodiment of a set of gaming machine circuits according to the present invention includes a first circuit having a first encryption communication circuit for encrypting an authentication value with a first encryption key, and a one-way from the first circuit. A second circuit connected to the first circuit via a first communication path providing communication and a second communication path providing unidirectional communication to the first circuit; Receiving the encrypted authentication value from the first circuit via the first communication path and decrypting the received encrypted authentication value with a second encryption key It has a communication circuit, compares the authentication value stored in advance with the decrypted authentication value, and transmits a response to the first circuit via the second communication path according to the comparison result. A second circuit.

本発明の実施例による遊技機を背面からみた状態の遊技機内部の電子基板の構成を示す。1 shows a configuration of an electronic board inside a gaming machine when the gaming machine according to an embodiment of the present invention is viewed from the back. 本発明の実施例による各電子基板を示す。1 shows each electronic substrate according to an embodiment of the present invention. 本発明による実施例の主基板及び払出基板をより詳細に示している。Fig. 3 shows in more detail the main substrate and the payout substrate of an embodiment according to the invention. 本発明による暗号通信の実施例1を示す。Example 1 of the encryption communication by this invention is shown. 本発明による暗号通信の実施例2を示す。Example 2 of cryptographic communication according to the present invention will be described. 本発明による暗号通信の実施例3を示す。Embodiment 3 of encryption communication according to the present invention will be described. ワンチップで構成される主基板が有する回路を示す。The circuit which the main board comprised by one chip has is shown.

図1は、本発明の実施例による遊技機を背面からみた状態の遊技機内部の電子基板の構成を示す。遊技機100は、その内部に主基板105、表示基板110及び払出基板115を有する。主基板105は、ケーブル120を介して表示基板110に接続されており、さらに、ケーブル125を介して払出基板115に接続されている。一実施例において、ケーブル120及び125を介した通信は、シリアル通信や、パラレル通信とすることができる。シリアル通信の例としては、RS232C規格準拠のシリアル通信があり、パラレル通信の例としては、セントロニクス標準に準拠したパラレル通信がある。   FIG. 1 shows a configuration of an electronic board inside a gaming machine when the gaming machine according to an embodiment of the present invention is viewed from the back. The gaming machine 100 includes a main board 105, a display board 110, and a payout board 115 therein. The main board 105 is connected to the display board 110 via the cable 120 and further connected to the payout board 115 via the cable 125. In one embodiment, communication via cables 120 and 125 can be serial communication or parallel communication. An example of serial communication is serial communication compliant with the RS232C standard, and an example of parallel communication is parallel communication compliant with the Centronics standard.

主基板105は、遊技機全体の機能を制御し、入賞するか否かに関する抽選も実行する。表示基板110及び払出基板115は、主基板105から命令及び/又はデータを受信する。表示基板110は、主基板105からの命令に基づいて、遊技機の演出を制御する。払出基板115は、主基板105からの命令に基づいて、入賞の際に賞球の払出を制御する。ここで、主基板、払出基板、表示基板は、一例であり、遊技機は、他の機能を実現する基板を含んでいてもよい。また、当業者であれば理解可能であるように、基板が回路から構成されるようにしてもよいし、基板によって実現される機能を回路によって実現されるようにしてもよい。   The main board 105 controls the functions of the entire gaming machine and also executes a lottery regarding whether or not to win. The display board 110 and the payout board 115 receive commands and / or data from the main board 105. The display board 110 controls the effect of the gaming machine based on a command from the main board 105. The payout board 115 controls the payout of prize balls at the time of winning based on a command from the main board 105. Here, the main board, the payout board, and the display board are examples, and the gaming machine may include a board that realizes another function. Further, as can be understood by those skilled in the art, the substrate may be configured by a circuit, and the function realized by the substrate may be realized by the circuit.

図2は、本発明の実施例による各電子基板を示す。主基板105は、少なくとも主基板プロセッサ205を有する。主基板プロセッサ205は、1又は2以上のプロセッサであってもよい。主基板105は、ケーブル120の通信経路215を介して表示基板110に命令及び/又はデータを送信する。通信経路215は、主基板105から表示基板110への片方向通信を提供する。主基板105は、ケーブル125の通信経路220を介して払出基板115に命令及び/又はデータを送信する。通信経路220は、主基板105から払出基板115への片方向通信を提供する。払出基板115は、ケーブル125の通信経路225を介して応答を表すデータを主基板105に送信する。通信経路225は、払出基板115から主基板105への片方向通信を提供する。一実施例において、表示基板110は、ケーブル120の通信経路225とは異なる通信経路(図示せず)を介して応答を表すデータを主基板105に送信するようにしてもよい。応答を表すデータの例としては、命令の受信確認又は受信が確認できないことを表すデータ、命令の実行完了又は未完了を表すデータなどがある。   FIG. 2 shows each electronic substrate according to an embodiment of the present invention. The main board 105 has at least a main board processor 205. The main board processor 205 may be one or more processors. The main board 105 transmits commands and / or data to the display board 110 via the communication path 215 of the cable 120. The communication path 215 provides one-way communication from the main board 105 to the display board 110. The main board 105 transmits commands and / or data to the payout board 115 via the communication path 220 of the cable 125. The communication path 220 provides one-way communication from the main board 105 to the payout board 115. The payout board 115 transmits data representing a response to the main board 105 via the communication path 225 of the cable 125. The communication path 225 provides one-way communication from the payout board 115 to the main board 105. In one embodiment, the display board 110 may transmit data representing a response to the main board 105 via a communication path (not shown) different from the communication path 225 of the cable 120. Examples of data representing a response include data indicating that the command has been confirmed to be received or not received, and data indicating whether or not the command has been executed.

表示基板110は、少なくとも表示基板プロセッサ230、表示基板メモリ235及びグラフィックプロセッサ240を有する。表示基板プロセッサ230は、1又は2以上のプロセッサであってもよい。表示基板メモリ235は、ROM又はRAM、又は、その両方であってもよい。表示基板メモリ235は、表示基板プロセッサ230及び/又はグラフィックプロセッサ240が表示器245に表示する演出に関するキャラクタなどのデータを記憶している。グラフィックプロセッサ240は、図2では4つのプロセッサから構成されているが、1又は2以上のグラフィックプロセッサであってもよい。表示基板110は、表示器245に接続又は一体化されており、表示器245を制御して様々な演出を表示する。表示器245の例としては、液晶表示器などであって、カラーやモノクロ画像を提供する。必要に応じて、表示器245や他の手段によって、音声が提供されてもよい。   The display substrate 110 includes at least a display substrate processor 230, a display substrate memory 235, and a graphic processor 240. The display board processor 230 may be one or more processors. The display substrate memory 235 may be ROM, RAM, or both. The display board memory 235 stores data such as characters relating to effects displayed on the display 245 by the display board processor 230 and / or the graphic processor 240. The graphic processor 240 is composed of four processors in FIG. 2, but may be one or more graphic processors. The display substrate 110 is connected to or integrated with the display 245, and controls the display 245 to display various effects. An example of the display device 245 is a liquid crystal display device that provides a color or monochrome image. If necessary, sound may be provided by the display 245 or other means.

払出基板115は、少なくとも払出基板プロセッサ250を有する。払出基板プロセッサ250は、1又は2以上のプロセッサであってもよい。払出基板115は、さらにカードユニット(図示せず)に接続されていてもよい。カードユニットは、遊技を実施するために必要なコインやパチンコ球などの媒体を遊技者の入力に応じて遊技機に提供する。カードユニットは、回路、基板、装置、又は、それら1以上の組み合わせなどの形態とすることができる。   The payout board 115 has at least a payout board processor 250. The payout board processor 250 may be one or more processors. The payout board 115 may be further connected to a card unit (not shown). The card unit provides a gaming machine with a medium such as a coin or a pachinko ball necessary for carrying out the game in response to the player's input. The card unit can be in the form of a circuit, a substrate, a device, or a combination of one or more thereof.

図2は、主基板プロセッサ205、表示基板プロセッサ230、払出基板プロセッサ250を概略的に示しており、各基板が少なくともプロセッサを有することを示す。各プロセッサは、ワンチップであっても、ワンチップでなくてもよい。それらプロセッサがワンチップである場合、RAMやROMなどの他の構成は、各プロセッサ上に必要である。それらプロセッサがワンチップでない場合、RAMやROMなどの他の構成は、各基板上に必要である。   FIG. 2 schematically shows a main board processor 205, a display board processor 230, and a payout board processor 250, each board having at least a processor. Each processor may or may not be a single chip. If these processors are one-chip, other configurations such as RAM and ROM are required on each processor. If these processors are not one-chip, other configurations such as RAM and ROM are required on each substrate.

図3は、本発明による実施例の主基板105及び払出基板115をより詳細に示している。主基板105は、主基板プロセッサ205、主基板RAM310、主基板ROM315及び主基板暗号通信回路320を少なくとも有する。主基板ROM315は、フラッシュメモリ技術を用いて実現されてもよい。主基板プロセッサ205は、主基板ROM315に記憶されている命令に基づいて処理を実行する。主基板暗号通信回路320は、鍵を用いて暗号化を行うことができ、払出基板115へ暗号化した情報を送信することができる。主基板暗号通信回路320は、暗号化通信及び/又は平文での通信を行う。また、主基板暗号通信回路320は、暗号/復号回路及び通信回路から構成されていてもよい。主基板暗号通信回路320は、暗号化及び/又は復号化を行うための主基板暗号鍵335、及び/又は、認証値を格納する主基板認証値格納回路340を有していてもよい。認証値は、主基板プロセッサ205それぞれに固有な値、主基板プロセッサ205と払出基板プロセッサ250との組で固有な値などとすることができる。主基板暗号通信回路320は、さらに、主基板乱数発生回路345などを有していてもよい。   FIG. 3 shows the main board 105 and the payout board 115 of the embodiment according to the present invention in more detail. The main board 105 includes at least a main board processor 205, a main board RAM 310, a main board ROM 315, and a main board encryption communication circuit 320. The main board ROM 315 may be realized using flash memory technology. The main board processor 205 executes processing based on instructions stored in the main board ROM 315. The main board encryption communication circuit 320 can perform encryption using a key, and can transmit the encrypted information to the payout board 115. The main board encryption communication circuit 320 performs encrypted communication and / or communication in plain text. Further, the main board encryption communication circuit 320 may be configured by an encryption / decryption circuit and a communication circuit. The main board encryption communication circuit 320 may include a main board encryption key 335 for performing encryption and / or decryption and / or a main board authentication value storage circuit 340 for storing an authentication value. The authentication value may be a value unique to each main board processor 205, a value unique to the set of the main board processor 205 and the payout board processor 250, or the like. The main board encryption communication circuit 320 may further include a main board random number generation circuit 345 and the like.

一実施例において、主基板105が有する回路の一部又は全部は、ワンチップで構成することができる。この場合、主基板プロセッサ205が、主基板105が有する回路(主基板RAM310、主基板ROM315及び主基板暗号通信回路320)の一又は二以上を含むように、ワンチップで構成されていてもよい。図7は、ワンチップで構成される主基板105および/または払出基板115が有する回路を示す。主基板105の回路は、ワンチップにおいて、主基板プロセッサコア711、主基板クロック回路712、主基板リセットモード制御回路713、主基板ブートROM714、主基板ブートRAM716、主基板ROM315、主基板RAM310、主基板セキュリティチェック回路751、主基板指定エリア外走行禁止(IAT回路)752、主基板ウォッチドッグタイマ回路(WDT回路)753、主基板認証値格納回路340、主基板乱数回路345、主基板照合回路756及び主基板暗号通信回路320のいずれか一又は二以上を有する。   In one embodiment, some or all of the circuits included in the main board 105 can be configured as a single chip. In this case, the main board processor 205 may be configured in one chip so as to include one or more of the circuits (main board RAM 310, main board ROM 315, and main board encryption communication circuit 320) included in the main board 105. . FIG. 7 shows a circuit included in the main board 105 and / or the payout board 115 configured by one chip. The circuit of the main board 105 is the main board processor core 711, the main board clock circuit 712, the main board reset mode control circuit 713, the main board boot ROM 714, the main board boot RAM 716, the main board ROM 315, the main board RAM 310, the main board in a single chip. Substrate security check circuit 751, travel prohibition outside main board designated area (IAT circuit) 752, main substrate watchdog timer circuit (WDT circuit) 753, main substrate authentication value storage circuit 340, main substrate random number circuit 345, main substrate verification circuit 756 And the main board encryption communication circuit 320.

主基板プロセッサコア711は、主基板ROM315及び/又は主基板ブートROM714に記憶されている指示に基づいて命令を発行し、主基板プロセッサ205を動作させる。主基板クロック回路712は、主基板105内の各要素を同期させて動作させるためのシステムクロック信号を生成する回路である。主基板クロック回路712は、所定の基準クロックを分周し、主基板プロセッサコア711や内部の各回路にシステムクロックとして供給する。   The main board processor core 711 issues a command based on instructions stored in the main board ROM 315 and / or the main board boot ROM 714 to operate the main board processor 205. The main board clock circuit 712 is a circuit that generates a system clock signal for operating each element in the main board 105 in synchronization. The main board clock circuit 712 divides a predetermined reference clock and supplies it as a system clock to the main board processor core 711 and internal circuits.

主基板リセットモード制御回路713は、システムリセット端子(図示せず)から入力された外部システムリセット、内部システムリセット、及び内部ユーザリセットを制御する回路である。内部システムリセット及び内部ユーザリセットは、ウォッチドッグタイマタイムアウト信号又は指定エリア外走行禁止(IAT)発生信号に応じて発生させられる。システムリセットの要求がなされると、主基板プロセッサコア711を含むすべての内部回路が初期化される。ユーザリセットの要求がなされると主基板プロセッサコア711と一部の内部回路が初期化される。内部システムリセットと内部ユーザリセットの動作は、主基板ROM315及び/又は主基板ブートROM714におけるプログラム管理エリア内のデータで選択して設定される。   The main board reset mode control circuit 713 is a circuit that controls an external system reset, an internal system reset, and an internal user reset input from a system reset terminal (not shown). The internal system reset and the internal user reset are generated in response to a watchdog timer time-out signal or an out-of-designated area running prohibition (IAT) generation signal. When a system reset request is made, all internal circuits including the main board processor core 711 are initialized. When a user reset request is made, the main board processor core 711 and some internal circuits are initialized. The operation of the internal system reset and the internal user reset is selected and set by data in the program management area in the main board ROM 315 and / or the main board boot ROM 714.

主基板リセットモード制御回路713は、モードの制御も実行する。主基板リセットモード制御回路713は、システムリセットの入力やフラッシュメモリへの書込みの為のPROMモードを要求する信号の入力やセキュリティチェックの結果により、主基板105のモードをPROMモード、セキュリティモード、ユーザモードに切り替える回路である。ここで各モードについて説明する。
主基板105は、電源投入後、システムリセット信号が入力され、PROMモード信号の入力があると、PROMモードに移行し、PROMモード信号の入力がなければ、セキュリティモードに移行する。
PROMモードは、主基板ROM315に遊技機メーカであるユーザがプログラムを書き込むためのモードで、開発時に使用される開発用の主基板105では再書込みが可能だが、市販される遊技機に搭載される量産用の主基板105においては、書き込みは一度だけ可能になっている。
セキュリティモードは、主基板ブートROM714により実行されるモードであり、チップの初期化を行った後、主基板105の主基板ROM315内のプログラムが改ざんされていないかを判定するセキュリティチェックを行うモードである。セキュリティチェックの演算は、後述の主基板セキュリティチェック回路751が行う。
ユーザモードは、主基板ROM315内のユーザプログラムに従い、遊技機を動作させるモードである。
The main board reset mode control circuit 713 also executes mode control. The main board reset mode control circuit 713 changes the mode of the main board 105 to the PROM mode, the security mode, the user based on the result of the input of the system reset, the input of the signal requesting the PROM mode for writing to the flash memory, and the security check. This is a circuit for switching to a mode. Here, each mode will be described.
The main board 105 shifts to the PROM mode when the system reset signal is input after the power is turned on and the PROM mode signal is input, and shifts to the security mode when the PROM mode signal is not input.
The PROM mode is a mode in which a user who is a game machine maker writes a program to the main board ROM 315 and can be rewritten on the development main board 105 used at the time of development, but is installed in a commercially available gaming machine. On the main substrate 105 for mass production, writing is possible only once.
The security mode is a mode executed by the main board boot ROM 714, and is a mode for performing a security check for determining whether the program in the main board ROM 315 of the main board 105 has been tampered with after the chip is initialized. is there. The security check calculation is performed by a main board security check circuit 751 described later.
The user mode is a mode in which the gaming machine is operated according to the user program in the main board ROM 315.

主基板ブートROM714は、システムリセット時やパワーオン時などにおいて、セキュリティチェックやチップの初期化動作を実行させるためのブートプログラムを格納したROMである。セキュリティのため、セキュリティモード以外ではブート主基板ブートROM714はアクセスできないように制限されている。   The main board boot ROM 714 is a ROM that stores a boot program for executing a security check and a chip initialization operation at the time of system reset or power-on. For security, the boot main board boot ROM 714 is restricted so that it cannot be accessed except in the security mode.

主基板ROM315は、遊技機メーカが遊技機の動作を制御するための遊技制御用プログラムや遊技機制御用データなどからなるユーザプログラムを記憶させるためのROMである。   The main board ROM 315 is a ROM for storing a user program including a game control program and game machine control data for the gaming machine manufacturer to control the operation of the gaming machine.

主基板ブートRAM716は、ブートプログラムが初期化動作を実行する際に使用されるRAMである。セキュリティのため、セキュリティモード以外では主基板ブートRAM716はアクセスできないように制限されている。   The main board boot RAM 716 is a RAM used when the boot program executes an initialization operation. For security reasons, the main board boot RAM 716 is restricted so that it cannot be accessed except in the security mode.

主基板RAM310は、ユーザプログラムの実行時に使用するためのRAMである。主基板ブートRAM716、主基板RAM310は同時に、又は、別個に外部電池、スーパーキャパシタ、等により電源が切られても保持できる様にしてもよい。又は、不揮発性のRAMで構成してもよい。   The main board RAM 310 is a RAM for use when executing a user program. The main board boot RAM 716 and the main board RAM 310 may be held simultaneously or separately even when the power is turned off by an external battery, a super capacitor, or the like. Or you may comprise by non-volatile RAM.

主基板セキュリティチェック回路751は、セキュリティモードにおいて、主基板ROM315内のプログラム等の情報が正規のものであるか否かを検査する回路で、主基板ROM315内のプログラムコード等にハッシュ演算等の所定の演算を行って得たコードと、主基板ROM315におけるプログラム管理エリア内のセキュリティコードとを比較することで、適合を受けたプログラムが改変されていないかを確認する回路である。この時、上記のプログラムに改ざんがないかを確認する行為をセキュリティチェックという。ここでセキュリティコードとは、主基板ROM315内に格納されているプログラムのコードなどにセキュリティチェック時と同様な所定の演算を行って求めた結果をあらかじめ書込んだコードである。上記セキュリティチェックの結果、演算結果のコードとセキュリティコードが一致していれば、正規のプログラムであると判断し、ユーザモードに移行する。一致しなければ、正規のプログラムではないと判断し、パチンコ、回胴、等の遊技を制御するユーザーモードへの移行を行わず、遊技機を動作させない。   The main board security check circuit 751 is a circuit that checks whether information in the program in the main board ROM 315 is legitimate in the security mode. The program code in the main board ROM 315 is subjected to a predetermined operation such as a hash operation. This circuit compares the code obtained by performing the above calculation with the security code in the program management area in the main board ROM 315, thereby confirming whether the adapted program has been altered. At this time, the act of confirming whether the above program has been tampered with is called a security check. Here, the security code is a code in which a result obtained by performing a predetermined calculation similar to that at the time of the security check on a code of a program stored in the main board ROM 315 is written in advance. As a result of the security check, if the code of the operation result matches the security code, it is determined that the program is a legitimate program, and the user mode is entered. If they do not match, it is determined that the program is not a legitimate program, and the game machine is not operated without shifting to a user mode for controlling a game such as a pachinko machine or a spinning cylinder.

主基板IAT(指定エリア外走行禁止)回路752は、ユーザプログラムがプログラム管理エリアで設定された指定エリア内で正しく実行されているかどうかを監視する回路である。指定エリア外でユーザプログラムが実行されると、IAT発生信号を出力し主基板プロセッサコア711をリセットする。   The main board IAT (prohibition of running outside the designated area) circuit 752 is a circuit that monitors whether the user program is correctly executed in the designated area set in the program management area. When the user program is executed outside the designated area, an IAT generation signal is output and the main board processor core 711 is reset.

主基板WDT(ウォッチドッグタイマ)回路753は、チップの暴走を監視するタイマであり、チップからの定期的なアクセスの有無を監視しており、一定時間内にアクセスがないとチップが暴走したと判断し、タイムアウト信号によってプロセッサコア711にリセットの要求を発生させる回路である。前述したプログラム管理エリアは、主基板ROM315内において、ユーザプログラムを実行するのに必要な情報を格納するエリアであるが、プログラム管理エリアにタイムアウト時間を設定することやIAT、WDTのリセットについてシステムリセットを行うかユーザリセットを行うかの選択の設定ができる。   The main board WDT (watchdog timer) circuit 753 is a timer that monitors the runaway of the chip, and monitors the presence or absence of regular access from the chip, and the chip runs away if there is no access within a certain time. This is a circuit that determines and generates a reset request to the processor core 711 by a timeout signal. The program management area described above is an area for storing information necessary for executing a user program in the main board ROM 315. However, a system reset is performed for setting a timeout time in the program management area and resetting the IAT and WDT. You can set whether to perform a user reset or user reset.

主基板認証値格納回路340は、認証値を格納する。一実施例において、主基板認証値格納回路340は、固有データ格納回路に置き換えることができる。この場合、固有データ格納回路は、複数の固有データ(ID)を格納するものであり、その中の特定の情報は、ユーザプログラム及び外部の照合機から読み取ることが可能である。   The main board authentication value storage circuit 340 stores the authentication value. In one embodiment, the main board authentication value storage circuit 340 can be replaced with a unique data storage circuit. In this case, the unique data storage circuit stores a plurality of unique data (ID), and specific information therein can be read from the user program and an external collator.

主基板乱数回路345は、乱数を発生させる回路であり、例えば8ビット乱数を6チャネル、16ビット乱数を4チャネルなどで乱数を発生させることができる。発生させた乱数は、ゲームの抽選などに使用される。後述するが、主基板105及び/又は払出基板115は、乱数に基づいて、暗号鍵を生成してもよい。   The main board random number circuit 345 is a circuit that generates random numbers, and can generate random numbers using, for example, 6 channels of 8-bit random numbers and 4 channels of 16-bit random numbers. The generated random number is used for game lottery and the like. As will be described later, the main board 105 and / or the payout board 115 may generate an encryption key based on a random number.

主基板照合回路756は、外部の照合機と接続し、主基板マイコン105を所定の手順で照合することによって主基板マイコン105の真がんについてのチェックを行うための回路である。主基板照合回路756は、固有データ格納回路(図示せず)に格納された固有データを特定の条件の下で外部に出力することが可能であり、この照合機能の為に作られた外部の照合機により固有データが正規であるか否かにより主基板マイコン105の真贋の判定が可能となる。   The main board verification circuit 756 is a circuit for checking the true cancer of the main board microcomputer 105 by connecting to an external verification machine and checking the main board microcomputer 105 in a predetermined procedure. The main board verification circuit 756 can output the specific data stored in the specific data storage circuit (not shown) to the outside under a specific condition. The authenticity of the main board microcomputer 105 can be determined based on whether or not the unique data is authentic by the collator.

バス330は、主基板プロセッサコア711と主基板105内の他の要素とを接続するものであって、データバス、アドレスバス、制御信号線等の少なくとも一つを含むものである。   The bus 330 connects the main board processor core 711 and other elements in the main board 105, and includes at least one of a data bus, an address bus, a control signal line, and the like.

払出基板115は、払出基板プロセッサ250、払出基板RAM355、払出基板ROM360及び払出基板暗号通信回路365を少なくとも有する。払出基板ROM360は、フラッシュメモリ技術を用いて実現されてもよい。払出基板プロセッサ250は、払出基板ROM360に記憶されている命令に基づいて処理を実行する。払出基板暗号通信回路370は、鍵を用いて暗号化及び/又は復号化を行うことができ、主基板105と通信することができる。払出基板暗号通信回路370は、暗号化通信及び/又は平文での通信を行う。また、払出基板暗号通信回路370は、暗号/復号回路及び通信回路から構成されていてもよい。払出基板暗号通信回路370は、暗号化及び/又は復号化を行うための払出基板暗号鍵370を有していてもよい。払出基板暗号鍵370は、さらに、認証値などを有していてもよい。   The payout board 115 includes at least a payout board processor 250, a payout board RAM 355, a payout board ROM 360, and a payout board encryption communication circuit 365. The payout board ROM 360 may be realized using flash memory technology. The payout board processor 250 executes processing based on instructions stored in the payout board ROM 360. The payout board encryption communication circuit 370 can perform encryption and / or decryption using a key, and can communicate with the main board 105. The payout board encryption communication circuit 370 performs encrypted communication and / or communication in plain text. Further, the payout board encryption communication circuit 370 may be configured by an encryption / decryption circuit and a communication circuit. The payout board encryption communication circuit 370 may have a payout board encryption key 370 for performing encryption and / or decryption. The payout board encryption key 370 may further have an authentication value or the like.

一実施例において、払出基板115が有する回路に一部又は全部は、主基板105と同様に、ワンチップで構成することができる。この場合、払出基板プロセッサ250が、払出基板115が有する回路(払出基板RAM355、払出基板ROM360及び払出基板暗号通信回路365)の一又は二以上を含むように、ワンチップで構成されていてもよい。さらに、払出基板115がワンチップで構成される場合、払出基板115は、図7に示した主基板105の各要素(主基板プロセッサコア711、主基板クロック回路712、主基板リセットモード制御回路713、主基板ブートROM714、主基板ブートRAM716、主基板ROM315、主基板RAM310、主基板セキュリティチェック回路751、主基板IAT回路752、主基板WDT回路753、主基板認証値格納回路340、主基板乱数回路345、主基板照合回路756及び主基板暗号通信回路320)と同様な要素のいずれか一又は二以上を有するようにしてもよい。   In one embodiment, part or all of the circuit included in the payout substrate 115 can be configured as a single chip, like the main substrate 105. In this case, the payout board processor 250 may be configured as a single chip so as to include one or more of the circuits (the payout board RAM 355, the payout board ROM 360, and the payout board encryption communication circuit 365) included in the payout board 115. . Further, when the payout board 115 is configured as a single chip, the payout board 115 includes elements of the main board 105 shown in FIG. 7 (main board processor core 711, main board clock circuit 712, main board reset mode control circuit 713). , Main board boot ROM 714, main board boot RAM 716, main board ROM 315, main board RAM 310, main board security check circuit 751, main board IAT circuit 752, main board WDT circuit 753, main board authentication value storage circuit 340, main board random number circuit 345, the main board verification circuit 756, and the main board encryption communication circuit 320) may have any one or more of the same elements.

主基板105と払出基板115とは、通信経路220及び225を介して接続されている。通信経路220は、主基板105から払出基板115への片方向通信を実現し、通信経路225は、払出基板115から主基板105への片方向通信を実現する。一実施例において、払出基板115は、通信経路225を介して主基板105へ応答(アクノレッジ(ACK又はNACK))を送る。一実施例において、払出基板115は、主基板105へ応答のみを送る、及び/又は、主基板105は、払出基板115から応答のみを受け付けるようにすることができる。   Main board 105 and payout board 115 are connected via communication paths 220 and 225. The communication path 220 realizes one-way communication from the main board 105 to the payout board 115, and the communication path 225 realizes one-way communication from the payout board 115 to the main board 105. In one embodiment, the payout board 115 sends a response (acknowledge (ACK or NACK)) to the main board 105 via the communication path 225. In one example, the payout board 115 may send only a response to the main board 105 and / or the main board 105 may accept only a response from the payout board 115.

主基板暗号通信回路320は、主基板暗号鍵335又は他の鍵を用いてデータを暗号化する。データは、どのようなデータであってもよく、認証値や命令に関するデータとすることができる。主基板暗号通信回路320は、暗号化されたデータを払出基板暗号通信回路365に送信し、払出基板暗号通信回路365は、暗号化されたデータを受信する。払出基板暗号通信回路365は、主基板暗号通信回路320から送信された暗号化データを払出基板暗号鍵370又は他の鍵を用いて復号化する。   The main board encryption communication circuit 320 encrypts data using the main board encryption key 335 or another key. The data may be any data and may be data relating to an authentication value or a command. The main board encryption communication circuit 320 transmits the encrypted data to the payout board encryption communication circuit 365, and the payout board encryption communication circuit 365 receives the encrypted data. The payout board encryption communication circuit 365 decrypts the encrypted data transmitted from the main board encryption communication circuit 320 by using the payout board encryption key 370 or another key.

暗号通信の実施例1(あらかじめ設定された共通鍵を使った方法)
図4は、本発明による暗号通信の実施例1を示す。主基板暗号通信回路320は、払出基板115への命令に関するデータと認証値とを主基板暗号鍵335を用いて暗号化して(ステップ405)、暗号化データを通信経路220を介して払出基板暗号通信回路365に送信する(ステップ410)。一実施例において、主基板暗号通信回路320は、少なくとも認証値を暗号化して送信するように構成されていてもよい。この場合、暗号化データは、暗号化された認証値のみだけであってもよい。
Example 1 of encryption communication (method using a preset common key)
FIG. 4 shows a first embodiment of cryptographic communication according to the present invention. The main board encryption communication circuit 320 encrypts the data related to the instruction to the payout board 115 and the authentication value using the main board encryption key 335 (step 405), and the encrypted data is sent out via the communication path 220. The data is transmitted to the communication circuit 365 (step 410). In one embodiment, the main board encryption communication circuit 320 may be configured to encrypt and transmit at least the authentication value. In this case, the encrypted data may be only the encrypted authentication value.

認証値は、固有値や、計算によって得られる値などとすることができる。固有値の例としては、認証用識別子などがあり、図3において、主基板105が認証用識別子に相当する認証値を主基板認証値格納回路340に有しているように、主基板105及び払出基板115は予め固有値を有している必要がある。計算によって得られる値の例としては、CRC(Cyclic Redundancy Check)値、チェックサム値、ハッシュ値などとすることができる。それらの値を、送信対象のデータから得ることができる値とした場合、主基板105及び払出基板115の両方が同じ計算を実行できるようにする。例えば、主基板105は、送信対象データを送信する前に、その送信対象データのチェックサム値を計算し、送信対象データ及びチェックサム値を暗号化するとともに、払出基板115に送信する。払出基板115は、暗号化された送信対象データ及びチェックサム値を復号化し、復号化した送信対象データからチェックサム値を計算する。上記述べた固有値及び計算によって得られる値の例は、例示にすぎず、他の方式によって得られる固有値及び計算によって得られる値であってもよい。   The authentication value may be a unique value or a value obtained by calculation. Examples of eigenvalues include an authentication identifier. In FIG. 3, the main board 105 and the payout are such that the main board 105 has an authentication value corresponding to the authentication identifier in the main board authentication value storage circuit 340. The substrate 115 needs to have a specific value in advance. Examples of values obtained by calculation include CRC (Cyclic Redundancy Check) values, checksum values, hash values, and the like. When these values are values that can be obtained from the transmission target data, both the main board 105 and the payout board 115 can execute the same calculation. For example, before transmitting the transmission target data, the main board 105 calculates the checksum value of the transmission target data, encrypts the transmission target data and the checksum value, and transmits the encrypted data to the payout board 115. The payout board 115 decrypts the encrypted transmission target data and the checksum value, and calculates the checksum value from the decrypted transmission target data. The eigenvalues and values obtained by calculation described above are merely examples, and eigenvalues obtained by other methods and values obtained by calculation may be used.

払出基板暗号通信回路365は、暗号化データを主基板暗号通信回路320から受信する。払出基板暗号通信回路365は、暗号化データを払出基板暗号鍵370を用いて復号化する(ステップ415)。本実施例において、主基板暗号鍵335と払出基板暗号鍵370とは、あらかじめ格納されている共通暗号鍵である。   The payout board encryption communication circuit 365 receives the encrypted data from the main board encryption communication circuit 320. The payout board encryption communication circuit 365 decrypts the encrypted data using the payout board encryption key 370 (step 415). In this embodiment, the main board encryption key 335 and the payout board encryption key 370 are common encryption keys stored in advance.

一実施例において、認証値が固有値である場合、払出基板暗号通信回路365は、認証識別子などの認証値を払出基板RAM355、払出基板ROM360又は他の記憶装置に予め記憶しておくことができる。復号化されたデータには、認証値が含まれていることから、払出基板暗号通信回路365は、主基板105から送信された認証値を取得することができる。これに関し、認証識別子は、一例であり、他の固有値であってもよい。   In one embodiment, when the authentication value is a unique value, the payout board encryption communication circuit 365 can store an authentication value such as an authentication identifier in advance in the payout board RAM 355, the payout board ROM 360, or another storage device. Since the decrypted data includes the authentication value, the payout board encryption communication circuit 365 can acquire the authentication value transmitted from the main board 105. In this regard, the authentication identifier is an example and may be another unique value.

一実施例において、認証値が計算によって得られる値である場合、復号化されたデータには送信対象のデータ及び当該データから計算された認証値が含まれていることから、払出基板暗号通信回路365は、暗号化された認証値を復号化することによって、主基板105から送信された認証値を取得することができる。また、払出基板115は、主基板105における認証値に関する計算と同じものを用いて、復号化した送信対象のデータから認証値を計算する。   In one embodiment, when the authentication value is a value obtained by calculation, since the decrypted data includes the data to be transmitted and the authentication value calculated from the data, the payout board encryption communication circuit 365 can acquire the authentication value transmitted from the main board 105 by decrypting the encrypted authentication value. The payout board 115 calculates the authentication value from the decrypted data to be transmitted, using the same calculation as that for the authentication value in the main board 105.

認証値が固有値である場合、払出基板暗号通信回路365は、復号化された認証値と払出基板115に予め記憶されている認証値とを比較する(ステップ420)。または、認証値が計算によって得られる値である場合、払出基板暗号通信回路365は、復号化した送信対象のデータから計算された認証値と復号化された認証値とを比較する(ステップ420)。払出基板暗号通信回路365は、比較された両認証値が同じ値である場合、主基板105を認証することができる。上記固有値は予め格納された値であって、基板毎、マイコン毎に異なる固有値とすることができる。一実施例において、固有値は、各基板との組毎に異なる固有値であってもよい。   When the authentication value is a unique value, the payout board encryption communication circuit 365 compares the decrypted authentication value with the authentication value stored in advance in the payout board 115 (step 420). Alternatively, when the authentication value is a value obtained by calculation, the payout board encryption communication circuit 365 compares the authentication value calculated from the decrypted data to be transmitted with the decrypted authentication value (step 420). . The payout board encryption communication circuit 365 can authenticate the main board 105 when both of the compared authentication values are the same value. The eigenvalue is a value stored in advance, and can be a different eigenvalue for each board and for each microcomputer. In one embodiment, the eigenvalue may be a different eigenvalue for each set with each substrate.

払出基板暗号通信回路365(又は払出基板115)は、さらに、比較された両認証値が同じ値である場合、ACK応答を通信経路225を介して主基板105(又は主基板暗号通信回路320)に送信する(ステップ425)。払出基板暗号通信回路365は、比較された両認証値が同じ値でない場合、応答を送信しない、または、NACK応答を送信する。これにより、主基板105は、ACK応答を受信する(ステップ430)と、払出基板115が主基板105を認証したことを知ることができる。   The payout board encryption communication circuit 365 (or the payout board 115) further sends an ACK response to the main board 105 (or the main board encryption communication circuit 320) via the communication path 225 when the compared authentication values are the same. (Step 425). When the compared authentication values are not the same value, the payout board encryption communication circuit 365 does not transmit a response or transmits a NACK response. Thus, when the main board 105 receives the ACK response (step 430), it can know that the payout board 115 has authenticated the main board 105.

一実施例において、主基板105は、単にACK応答を受けることや、所定の時間又は所定の時間内にACK応答を受けること(例えば、主基板105から暗号化データを送信してから応答を受信するまでの時間が所定の時間であること又は所定の時間内であること)に応じて、払出基板115を認証することができる。これにより、主基板105と払出基板115との間で相互認証が実現される。通常、遊技機において、払出基板115は、主基板105へACK又はNACKの応答しか送ることができない。主基板105と払出基板115との間で、複雑な処理である相互認証を実行することは難しい。しかしながら、本発明の実施例によれば、払出基板115がACK又はNACKの応答しか送ることができない場合であっても、主基板105及び払出基板115は、相互認証を実現することができる。   In one embodiment, the main board 105 simply receives an ACK response or receives an ACK response at a predetermined time or within a predetermined time (for example, after transmitting encrypted data from the main board 105 and receiving a response). The payout board 115 can be authenticated in accordance with the predetermined time or within the predetermined time. Thereby, mutual authentication is realized between the main board 105 and the payout board 115. Normally, in a gaming machine, the payout board 115 can send only an ACK or NACK response to the main board 105. It is difficult to execute mutual authentication, which is a complicated process, between the main board 105 and the payout board 115. However, according to the embodiment of the present invention, the main board 105 and the payout board 115 can realize mutual authentication even when the payout board 115 can send only an ACK or NACK response.

他の実施例において、比較された認証値が同じ値でない場合、払出基板暗号通信回路365(又は払出基板115)は、認証エラーを表すNACK応答を通信経路225を介して主基板105(又は主基板暗号通信回路320)に送信するようにしてもよい。これにより、払出基板115は、賞球の処理に応じないことを通知できる、遊技機が動作を開始しないようにすることができる、故障又は不正行為の存在の可能性を通知することができる。一実施例において、主基板105が認証エラーを表すNACK応答を所定の回数以上(1以上)受信した場合、主基板105は、遊技機においてエラーが発生していと判定することができる。一実施例において、払出基板115が比較された認証値が同じ値でないことを所定の回数以上判定した場合、払出基板115は、認証エラーを表すNACK応答を通信経路225を介して主基板105(又は主基板暗号通信回路320)に送信するようにしてもよい。主基板105は、認証エラーがあると判断した場合、主基板セキュリティチェック回路751を動作させる、主基板照合回路756を動作させる、主基板プロセッサ205をリセトするために主基板リセットモード制御回路713を動作させる、警告を発する、及び/又は、システム全体を停止するように、システム停止、リセットなどの命令を実行してもよい。   In another embodiment, if the compared authentication values are not the same value, the payout board encryption communication circuit 365 (or the payout board 115) sends a NACK response indicating an authentication error via the communication path 225 to the main board 105 (or the main board). You may make it transmit to the board | substrate encryption communication circuit 320). Thereby, the payout board 115 can notify that it does not respond to the processing of the winning ball, can prevent the gaming machine from starting the operation, and can notify the possibility of the presence of a malfunction or fraud. In one embodiment, when the main board 105 receives a NACK response indicating an authentication error for a predetermined number of times (one or more), the main board 105 can determine that an error has occurred in the gaming machine. In one embodiment, when it is determined that the authentication value compared with the payout board 115 is not the same value more than a predetermined number of times, the payout board 115 sends a NACK response indicating an authentication error via the communication path 225 to the main board 105 ( Alternatively, it may be transmitted to the main board encryption communication circuit 320). When the main board 105 determines that there is an authentication error, the main board 105 operates the main board security check circuit 751, operates the main board verification circuit 756, and sets the main board reset mode control circuit 713 to reset the main board processor 205. Instructions such as system stop, reset, etc. may be executed to activate, issue a warning, and / or stop the entire system.

暗号通信の実施例2(乱数値を用い共通関数により共通暗号鍵を作成する方法)
図5は、本発明による暗号通信の実施例2を示す。本実施例において、主基板乱数発生回路345は、乱数を生成する(ステップ505)。主基板暗号通信回路320は、主基板乱数発生回路345が生成した乱数をハッシュ関数などの所定の関数に適用することによって、暗号鍵を生成する(ステップ510)。主基板暗号通信回路320は、生成した暗号鍵を用いて払出基板115への命令などのデータ及び認証値を暗号化する(ステップ515)。主基板暗号通信回路320は、乱数及び暗号化データを通信経路220を介して払出基板暗号通信回路365に送信する(ステップ520)。
Example 2 of cryptographic communication (method of creating a common cryptographic key using a random function using a random value)
FIG. 5 shows a second embodiment of encrypted communication according to the present invention. In this embodiment, the main board random number generation circuit 345 generates a random number (step 505). The main board encryption communication circuit 320 generates an encryption key by applying the random number generated by the main board random number generation circuit 345 to a predetermined function such as a hash function (step 510). The main board encryption communication circuit 320 encrypts data such as a command to the payout board 115 and an authentication value using the generated encryption key (step 515). The main board encryption communication circuit 320 transmits the random number and the encrypted data to the payout board encryption communication circuit 365 via the communication path 220 (step 520).

払出基板暗号通信回路365は、主基板暗号通信回路320から乱数及び暗号化データを受信する。払出基板暗号通信回路365は、主基板暗号通信回路320のハッシュ関数と同じハッシュ関数を予め有しており、受信した乱数をハッシュ関数に適用し、暗号鍵を生成する(ステップ525)。払出基板暗号通信回路365は、生成した暗号鍵を用いて暗号化データを復号化し、復号化された認証値を生成する(ステップ530)。払出基板暗号通信回路365は、復号化された認証値を用いて、図4のステップ420と同様の比較を実行する(ステップ535)。比較された両認証値が同じ値である場合、払出基板暗号通信回路365は、主基板105を認証することができる。払出基板暗号通信回路365は、比較された両認証値が同じ値であることに応じて、暗号通信の実施例1(図4のステップ425)と同様に、ACK応答を主基板105に送信することができる(ステップ530)。比較された両認証値が同じ値でない場合の処理は、暗号通信の実施例1の実施例と同様とすることができる。本実施例において、乱数は一例であり、暗号鍵を生成するための情報は、乱数以外の他の所定の情報であってもよい。本実施例において、ハッシュ関数は一例であり、主基板105は、他の手段を用いて、暗号鍵を生成する、又は、暗号鍵を生成するためのシードを作成してもよい。この場合、払出基板115は、主基板105と同様の手段を用いて、暗号鍵を作成する手段を有する必要がある。   The payout board encryption communication circuit 365 receives the random number and the encrypted data from the main board encryption communication circuit 320. The payout board encryption communication circuit 365 has the same hash function as the hash function of the main board encryption communication circuit 320 in advance, and applies the received random number to the hash function to generate an encryption key (step 525). The payout board encryption communication circuit 365 decrypts the encrypted data using the generated encryption key, and generates a decrypted authentication value (step 530). The payout board encryption communication circuit 365 performs a comparison similar to step 420 in FIG. 4 using the decrypted authentication value (step 535). When both compared authentication values are the same value, the payout board encryption communication circuit 365 can authenticate the main board 105. The payout board cipher communication circuit 365 transmits an ACK response to the main board 105 in the same manner as in the first embodiment of cipher communication (step 425 in FIG. 4) in response to the comparison of the two authentication values. (Step 530). The processing in the case where the two authentication values compared are not the same value can be the same as that in the first embodiment of the encrypted communication. In this embodiment, the random number is an example, and the information for generating the encryption key may be predetermined information other than the random number. In the present embodiment, the hash function is an example, and the main board 105 may generate the encryption key using other means or create a seed for generating the encryption key. In this case, the payout board 115 needs to have means for creating an encryption key using the same means as the main board 105.

他の実施例において、上記乱数を含む主基板105が払出基板115に送信するデータは予め設定された共通鍵で暗号化されても良い。これにより、通信経路220上で送信されるデータは、暗号化されていることから、よりセキュリティが改善される。本実施例において、主基板105及び払出基板115は、予め共通鍵を有している必要がある。   In another embodiment, data transmitted from the main board 105 including the random number to the payout board 115 may be encrypted with a preset common key. Thereby, since the data transmitted on the communication path 220 is encrypted, the security is further improved. In the present embodiment, the main board 105 and the payout board 115 need to have a common key in advance.

暗号通信の実施例3(公開鍵暗号方式を用い共通暗号鍵を受け渡す方法)
図6は、本発明による暗号通信の実施例3を示す。本実施例において、暗号通信に公開鍵暗号方式を用いることができる。主基板暗号通信回路320は、公開鍵及び共通鍵を有し、払出基板暗号通信回路365は、公開鍵に対応する秘密鍵を有する。これにより、秘密鍵を有するのは、払出基板115のみであることから、賞球の管理において重要な役割を果たす払出基板115が用いる秘密鍵を秘匿化することによって、よりセキュリティを向上させることができる。主基板暗号通信回路320は、共通鍵を公開鍵を用いて暗号化し(ステップ605)、暗号化された共通鍵を通信経路220を介して払出基板暗号通信回路365に送信する(ステップ610)。
Example 3 of encryption communication (method of delivering a common encryption key using a public key encryption method)
FIG. 6 shows a third embodiment of the cryptographic communication according to the present invention. In this embodiment, a public key cryptosystem can be used for encrypted communication. The main board encryption communication circuit 320 has a public key and a common key, and the payout board encryption communication circuit 365 has a secret key corresponding to the public key. Accordingly, since only the payout board 115 has the secret key, the security can be further improved by concealing the secret key used by the payout board 115 that plays an important role in the management of prize balls. it can. The main board encryption communication circuit 320 encrypts the common key using the public key (step 605), and transmits the encrypted common key to the payout board encryption communication circuit 365 via the communication path 220 (step 610).

払出基板暗号通信回路365は、公開鍵により暗号化された共通鍵を主基板暗号通信回路320から受信する。払出基板暗号通信回路365は、暗号化データを秘密鍵を用いて復号化する(ステップ615)。これにより、払出基板115は、共通鍵を取得する。払出基板暗号通信回路365(又は払出基板115)は、ACK応答を通信経路225を介して主基板105(又は主基板暗号通信回路320)に送信する(ステップ620)。   The payout board encryption communication circuit 365 receives the common key encrypted with the public key from the main board encryption communication circuit 320. The payout board encryption communication circuit 365 decrypts the encrypted data using the secret key (step 615). Thereby, the payout board | substrate 115 acquires a common key. The payout board encryption communication circuit 365 (or the payout board 115) transmits an ACK response to the main board 105 (or the main board encryption communication circuit 320) via the communication path 225 (step 620).

主基板暗号通信回路320(又は主基板110)は、払出基板暗号通信回路365(又は払出基板115)からACK応答を受信したことに応じて、払出基板115への命令のデータと認証値とを共通鍵を用いて暗号化して(ステップ625)、暗号化データを通信経路220を介して払出基板暗号通信回路365に送信する(ステップ630)。   In response to receiving the ACK response from the payout board encryption communication circuit 365 (or the payout board 115), the main board encryption communication circuit 320 (or the main board 110) outputs the command data and the authentication value to the payout board 115. Encryption is performed using the common key (step 625), and the encrypted data is transmitted to the payout board encryption communication circuit 365 via the communication path 220 (step 630).

払出基板暗号通信回路365は、暗号化データを主基板暗号通信回路320から受信する。払出基板暗号通信回路365は、暗号化データをステップ615において復号化した共通鍵を用いて復号化する(ステップ635)。暗号化データを復号化した後の処理である「認証値を比較する」ステップ640及び「認証値が同じ場合、応答を送信する」(ステップ645)はそれぞれ、図1のステップ420及び425と同様にすることができる。   The payout board encryption communication circuit 365 receives the encrypted data from the main board encryption communication circuit 320. The payout board encryption communication circuit 365 decrypts the encrypted data using the common key decrypted in step 615 (step 635). The processing after decrypting the encrypted data, “Compare authentication values” step 640 and “Send response if authentication values are the same” (step 645), are the same as steps 420 and 425 in FIG. 1, respectively. Can be.

上記例において、主基板暗号通信回路320が公開鍵及び共通鍵を有し、払出基板暗号通信回路365が公開鍵に対応する秘密鍵を有していたが、主基板暗号通信回路320が秘密鍵及び共通鍵を有し、払出基板暗号通信回路365が秘密鍵に対応する公開鍵を有するようにしてもよい。これにより、払出基板115は、主基板105が正規な基板であるか否かを判断することができる。主基板暗号通信回路320は、秘密鍵を用いて送信対象のデータ及び認証値を暗号化し、送信する。払出基板115は、暗号化されたデータを秘密鍵に対応する公開鍵で復号化し、認証値の比較を実行する。これにより、比較された認証値の値が同じ値である場合、主基板105だけが秘密鍵を有していることから、払出基板115は、主基板105が正規な基板であることを判定することができる。本実施例において、秘密鍵で暗号化されるデータは、共通鍵又は他の情報のデータとすることがきる。秘密鍵で暗号化されるデータが共通鍵では無い場合、主基板105は、共通鍵を払出基板115に送信しないことから、主基板105及び払出基板115は、予め共通鍵を有している必要がある。   In the above example, the main board encryption communication circuit 320 has a public key and a common key, and the payout board encryption communication circuit 365 has a secret key corresponding to the public key. The payout board encryption communication circuit 365 may have a public key corresponding to the secret key. Thereby, the payout board | substrate 115 can judge whether the main board | substrate 105 is a regular board | substrate. The main board encryption communication circuit 320 encrypts the data to be transmitted and the authentication value using the secret key and transmits the encrypted data. The payout board 115 decrypts the encrypted data with the public key corresponding to the secret key, and compares the authentication values. As a result, when the compared authentication values are the same value, only the main board 105 has a secret key, so the payout board 115 determines that the main board 105 is a legitimate board. be able to. In this embodiment, the data encrypted with the secret key can be a common key or other information data. If the data encrypted with the secret key is not a common key, the main board 105 does not transmit the common key to the payout board 115, so the main board 105 and the payout board 115 need to have a common key in advance. There is.

本実施例の変形例として、共通鍵の代わりに「暗号通信の実施例2」で説明した乱数を用いた暗号化を用いることができる。   As a modified example of the present embodiment, the encryption using the random numbers described in the “encrypted communication embodiment 2” can be used instead of the common key.

本実施例の変形例として、認証値は、ステップ625で共通鍵を用いて暗号化されたが、ステップ605で公開鍵を用いて暗号化されるようにしてもよい。この場合、払出基板115における認証値の比較は、ステップ640ではなく、ステップ615から620の間で行われる。   As a modification of the present embodiment, the authentication value is encrypted using the common key in step 625, but may be encrypted using the public key in step 605. In this case, the comparison of the authentication values on the payout board 115 is performed not between step 640 but between steps 615 and 620.

初期化
遊技機100に電源が投入された時や、リセットされる時などのように、基板が初期化される時、主基板105、表示基板110、払出基板115及び他の基板は、初期化処理を行う。その際、主基板105と表示基板110及び払出基板115との間の通信経路215及び220を、無信号状態、通信が差動通信である場合は主基板105が非作動通信を行う、通信がシリアル通信である場合は主基板105ブレーク信号を送信するなどの、通常の通信(例えば、命令及び/又はデータを送受信する通信)で用いられない状況にすることによって、表示基板110及び払出基板115は、主基板105が初期化を行っていることを知ることができる。一実施例において、払出基板115が、通信経路220が通常の通信で用いられない状況で通信がなされていることを取得した時、暗号通信が開始されることを得ることができる。
When the board is initialized, such as when the initialization gaming machine 100 is powered on or reset, the main board 105, the display board 110, the payout board 115, and other boards are initialized. Process. At that time, the communication paths 215 and 220 between the main board 105 and the display board 110 and the payout board 115 are in a no-signal state. In the case of serial communication, the display substrate 110 and the payout substrate 115 are set in a state that is not used in normal communication (for example, communication for transmitting and receiving commands and / or data) such as transmitting a break signal of the main substrate 105. Can know that the main substrate 105 is being initialized. In one embodiment, when the payout board 115 acquires that communication is performed in a situation where the communication path 220 is not used for normal communication, it can be obtained that encrypted communication is started.

他の実施例において、通信経路220が通常の通信で用いられない状況で通信がなされている場合、払出基板115は、「暗号通信の実施例3」における暗号化が公開鍵及び秘密鍵方式であるか又は共通鍵方式であるかを判定することができる。すなわち、通信経路220が通常の通信で用いられない状況で通信がなされた後の通信は、公開鍵及び秘密鍵方式で暗号化した通信又は共通鍵方式で暗号化した通信であることをルールとして決めることにより、暗号通信で用いられている鍵方式の判定が可能となる。一実施例において、通信経路220が通常の通信で用いられない状況で通信がなされた後の通信は、公開鍵及び秘密鍵方式で暗号化した通信であることをルールとして決めることにより、払出基板115が暗号通信に鍵方式が公開鍵及び秘密鍵方式であることを判定する。鍵方式が公開鍵及び秘密鍵方式であると判定された場合、払出基板115は、暗号化された新しい共通鍵を受信することができることから、主基板105は、公開鍵を用いて暗号化する共通鍵を変更することができる。これにより、主基板105と払出基板との間で用いられる共通鍵を変更することができることから、セキュリティをより強固なものとすることができる。一実施例において、共通鍵が変更されるタイミングは、主基板105が共通鍵を用いて暗号化した回数が所定の回数を超えたとき、所定の周期などとすることができる。さらに、所定の回数は、共通鍵を変更するタイミングで主基板105より払出基板115へ異なる値を送信し、可変とすることもできる。一実施例において、所定の回数は、共通鍵を変更するタイミングで毎回異なる値が用いられても良い。   In another embodiment, when communication is performed in a situation where the communication path 220 is not used for normal communication, the payout board 115 uses the public key and private key encryption in the “encryption communication embodiment 3”. It can be determined whether there is a common key system or not. That is, as a rule, communication after communication is performed in a situation where the communication path 220 is not used for normal communication is communication encrypted with a public key and secret key method or communication encrypted with a common key method. By determining, it becomes possible to determine the key method used in the encryption communication. In one embodiment, the payout board is determined by determining, as a rule, that communication after communication is performed in a situation where the communication path 220 is not used for normal communication is communication encrypted with a public key and secret key method. 115 determines that the key system for encryption communication is a public key and a secret key system. When it is determined that the key method is the public key and secret key method, the payout board 115 can receive the new encrypted common key, and thus the main board 105 encrypts using the public key. The common key can be changed. Thereby, since the common key used between the main board | substrate 105 and the payout board | substrate can be changed, security can be made stronger. In one embodiment, the timing at which the common key is changed may be a predetermined period when the number of times the main board 105 has encrypted using the common key exceeds a predetermined number. Further, the predetermined number of times can be changed by transmitting different values from the main board 105 to the payout board 115 at the timing of changing the common key. In one embodiment, a different value may be used for the predetermined number of times each time the common key is changed.

その他
主基板105は、ダミーデータを通信経路220を介して払出基板115に送信することができる。これにより、送信されるデータ(通常のデータ又はダミーデータ)が常に連続していることから、データが盗聴された場合であっても、解読を困難にすることができる。本実施例において、払出基板115は、データがダミーデータであるか否かを判定する必要がある。例えば、ダミーデータには、ダミーデータであることを表すデータが付加されている、所定のタイミングのときにダミーデータが送信されるなどとすることができる。これにより、偽造者は、データが送られる度にACKなどの応答を返し実際とは違う動作を行う払出基板を偽造し、偽装行為を行ったとしても、暗号が解明されない限り、ダミーデータと真のデータとの区別を行えないため、動作タイミングを同じとする偽造行為(遊技機に実際とは違う動作を行わせる行為)が困難となる効果がある。
The other main board 105 can transmit dummy data to the payout board 115 via the communication path 220. Thereby, since the data to be transmitted (normal data or dummy data) is always continuous, it is possible to make the decoding difficult even if the data is wiretapped. In the present embodiment, the payout board 115 needs to determine whether the data is dummy data. For example, dummy data may be added with data indicating dummy data, or dummy data may be transmitted at a predetermined timing. As a result, even if the forger returns a response such as ACK each time data is sent and forges a payout board that performs a different action, and impersonates, the counterfeiter will authenticate the dummy data as long as the cipher is not clarified. Therefore, it is difficult to perform a counterfeiting action (an act of causing a gaming machine to perform an operation different from the actual operation) having the same operation timing.

各基板のRAMやROMなどのメモリは、外部からの読出し防止機能を備えていてもよい。これにより、ソフトウェアの解析を困難にし、回路や、マイコン、基板などの偽物の作成を困難にする。   Memory such as RAM and ROM on each board may have an external read prevention function. This makes software analysis difficult and makes it difficult to create counterfeits such as circuits, microcomputers, and boards.

上記の実施例において、主基板105と通信する基板として、払出基板115を用いて説明した。しかしながら、主基板105と通信する基板は、通信するための構成を有していれば、表示基板110や他の基板、外部装置であってもよい。   In the above-described embodiment, the payout substrate 115 is used as the substrate that communicates with the main substrate 105. However, the substrate that communicates with the main substrate 105 may be the display substrate 110, another substrate, or an external device as long as it has a configuration for communicating.

また、主基板105の通信機能を他の基板が実現してもよい。例えば、払出基板115が主基板105と同様の通信機能を有し、払出基板115がカードユニットと通信してもよい。この場合、カードユニットが払出基板115に応答を返す。   Further, another board may realize the communication function of the main board 105. For example, the payout board 115 may have the same communication function as the main board 105, and the payout board 115 may communicate with the card unit. In this case, the card unit returns a response to the payout board 115.

上記の実施例において、ハードウエアで実現するよう説明されたいくつかの要素の一部又は全ては、ソフトウェアで実現することができ、そして、ソフトウェアで実現するよう説明されたいくつかの要素の一部又は全ては、ハードウエアで実現することができることは理解されるであろう。特に、主基板暗号通信回路320及び/又は払出基板暗号通信回路365の機能の一部又は全部は、プロセッサによって実行されるソフトウエアとして、実現することができる。   In the above embodiment, some or all of some elements described to be realized by hardware can be realized by software, and one of some elements described to be realized by software is one of them. It will be understood that some or all can be implemented in hardware. In particular, some or all of the functions of the main board encryption communication circuit 320 and / or the payout board encryption communication circuit 365 can be realized as software executed by a processor.

上記の実施例において、基板は、回路自体又は回路から構成されることができる。また、基板は、基板の機能の一部又は全部を実現するマイコンを含んでいてもよい。   In the above embodiment, the substrate can be composed of the circuit itself or the circuit. Further, the substrate may include a microcomputer that realizes part or all of the functions of the substrate.

以上に説明した処理又は動作フローにおいて、あるステップにおいて、そのステップではまだ利用することができないはずのデータを利用しているなどの処理又は動作フロー上の矛盾が生じない限りにおいて、処理又は動作フローを自由に変更することができる。   In the process or operation flow described above, unless there is a contradiction in the process or operation flow, such as using data that should not be used in that step, the process or operation flow described above. Can be changed freely.

以上に説明してきた各実施例に関し、各実施例の一部又は全部を組み合わせて一つの実施例として実現されてもよい。   Regarding each embodiment described above, a part or all of each embodiment may be combined and realized as one embodiment.

以上に説明してきた各実施例は、本発明を説明するための例示であり、本発明はこれらの実施例に限定されるものではない。本発明は、その要旨を逸脱しない限り、種々の形態で実施することができる。   Each Example described above is an illustration for explaining the present invention, and the present invention is not limited to these Examples. The present invention can be implemented in various forms without departing from the gist thereof.

105 主基板
110 表示基板
115 払出基板
120、125 ケーブル
205 主基板プロセッサ
230 表示基板プロセッサ
235 表示基板メモリ
240 グラフィックプロセッサ
250 払出基板プロセッサ
310 主基板RAM
315 主基板ROM
320 主基板暗号通信回路
330 主基板バス
335 主基板暗号鍵
340 主基板認証値格納回路
345 主基板乱数発生回路
355 払出基板RAM
360 払出基板ROM
365 払出基板暗号通信回路
370 払出基板暗号鍵
375 払出基板バス
711 主基板プロセッサコア
712 主基板クロック回路
713 主基板リセットモード制御回路
714 主基板ブートROM
716 主基板ブートRAM
751 主基板セキュリティチェック回路
752 主基板IAT回路
753 主基板WDT回路
756 主基板照合回路
105 Main board 110 Display board 115 Delivery board 120, 125 Cable 205 Main board processor 230 Display board processor 235 Display board memory 240 Graphic processor 250 Delivery board processor 310 Main board RAM
315 Main board ROM
320 Main board encryption communication circuit 330 Main board bus 335 Main board encryption key 340 Main board authentication value storage circuit 345 Main board random number generation circuit 355 Delivery board RAM
360 Dispensing board ROM
365 Delivery board encryption communication circuit 370 Delivery board encryption key 375 Delivery board bus 711 Main board processor core 712 Main board clock circuit 713 Main board reset mode control circuit 714 Main board boot ROM
716 Main board boot RAM
751 Main board security check circuit 752 Main board IAT circuit 753 Main board WDT circuit 756 Main board verification circuit

Claims (22)

一組の遊技機用回路であって、
認証値を第1の暗号鍵で暗号化する第1の暗号通信回路を有する第1の回路と、
前記第1の回路からの片方向通信を提供する第1の通信経路と、前記第1の回路への片方向通信を提供する第2の通信経路とを介して前記第1の回路に接続されている第2の回路であって、前記第1の通信経路を介して前記第1の回路から暗号化された前記認証値を受信し、受信した暗号化された前記認証値を第2の暗号鍵で復号化する第2の暗号通信回路を有し、予め記憶されている認証値と復号化された認証値とを比較し、比較結果に応じて、応答を前記第2の通信経路を介して前記第1の回路に送信する第2の回路と、
を備えている、一組の遊技機用回路。
A set of gaming machine circuits,
A first circuit having a first encryption communication circuit for encrypting an authentication value with a first encryption key;
Connected to the first circuit via a first communication path that provides unidirectional communication from the first circuit and a second communication path that provides unidirectional communication to the first circuit. A second circuit that receives the encrypted authentication value from the first circuit via the first communication path, and uses the received encrypted authentication value as a second cipher A second encryption communication circuit for decrypting with the key, comparing the authentication value stored in advance with the decrypted authentication value, and depending on the comparison result, a response is sent via the second communication path; A second circuit for transmitting to the first circuit;
A set of gaming machine circuits.
前記第1の回路は、前記第1の暗号鍵を予め有し、前記第2の回路は、前記第2の暗号鍵を予め有し、前記第1の暗号鍵は、前記第2の暗号鍵と同じである、請求項1に記載の一組の遊技機用回路。   The first circuit has the first encryption key in advance, the second circuit has the second encryption key in advance, and the first encryption key is the second encryption key. A set of gaming machine circuits according to claim 1, wherein 前記第1の回路は、前記第1の暗号鍵に関連する所定の情報を前記第2の回路に送信し、前記第2の回路は、前記所定の情報を受信し、当該所定の情報に基づいて前記第2の暗号鍵を生成する、請求項1に記載の一組の遊技機用回路。   The first circuit transmits predetermined information related to the first encryption key to the second circuit, and the second circuit receives the predetermined information and based on the predetermined information The set of gaming machine circuits according to claim 1, wherein the second encryption key is generated. 前記第1の暗号鍵は、公開鍵であり、前記第2の暗号鍵は、前記公開鍵に対応する秘密鍵である、請求項1に記載の一組の遊技機用回路。   The set of gaming machine circuits according to claim 1, wherein the first encryption key is a public key, and the second encryption key is a secret key corresponding to the public key. 前記第1の暗号鍵は、秘密鍵であり、前記第2の暗号鍵は、前記秘密鍵に対応する公開鍵である、請求項1に記載の一組の遊技機用回路。   2. The set of gaming machine circuits according to claim 1, wherein the first encryption key is a secret key, and the second encryption key is a public key corresponding to the secret key. 一組の遊技機用回路であって、
共通鍵である第1の暗号鍵を公開鍵である第2の暗号鍵で暗号化し、認証値を第1の暗号鍵で暗号化する第1の暗号通信回路を有する第1の回路と、
前記第1の回路からの片方向通信を提供する第1の通信経路と、前記第1の回路への片方向通信を提供する第2の通信経路とを介して前記第1の回路に接続されている第2の回路であって、前記第1の通信経路を介して前記第1の回路から暗号化された前記第1の暗号鍵及び前記認証値を受信し、受信した暗号化された前記第1の暗号鍵を前記公開鍵である第2の暗号鍵に対応する秘密鍵である第3の暗号鍵で復号化し、受信した暗号化された前記認証値を復号化した前記第1の暗号鍵で復号化する第2の暗号通信回路を有し、予め記憶されている認証値と復号化された認証値とを比較し、比較結果に応じて、応答を前記第2の通信経路を介して前記第1の回路に送信する第2の回路と、
を備えている、一組の遊技機用回路。
A set of gaming machine circuits,
A first circuit having a first encryption communication circuit that encrypts a first encryption key that is a common key with a second encryption key that is a public key and encrypts an authentication value with the first encryption key;
Connected to the first circuit via a first communication path that provides unidirectional communication from the first circuit and a second communication path that provides unidirectional communication to the first circuit. A second circuit that receives the first encryption key and the authentication value encrypted from the first circuit via the first communication path, and receives the encrypted The first encryption key obtained by decrypting the first encryption key with a third encryption key that is a secret key corresponding to the second encryption key that is the public key, and decrypting the received encrypted authentication value A second encryption communication circuit for decrypting with the key, comparing the authentication value stored in advance with the decrypted authentication value, and depending on the comparison result, a response is sent via the second communication path; A second circuit for transmitting to the first circuit;
A set of gaming machine circuits.
一組の遊技機用回路であって、
所定のデータから計算により認証値を得て、当該所定のデータ及び認証値を第1の暗号鍵で暗号化する第1の暗号通信回路を有する第1の回路と、
前記第1の回路からの片方向通信を提供する第1の通信経路と、前記第1の回路への片方向通信を提供する第2の通信経路とを介して前記第1の回路に接続されている第2の回路であって、前記第1の通信経路を介して前記第1の回路から暗号化された前記所定のデータ及び前記認証値を受信し、受信した暗号化された前記所定のデータ及び前記認証値を第2の暗号鍵で復号化し、復号化した前記所定のデータから前記計算により認証値を得る第2の暗号通信回路を有し、前記計算により得られた認証値と復号化された認証値とを比較し、比較結果に応じて、応答を前記第2の通信経路を介して前記第1の回路に送信する第2の回路と、
を備えている、一組の遊技機用回路。
A set of gaming machine circuits,
A first circuit having a first encryption communication circuit that obtains an authentication value by calculation from predetermined data and encrypts the predetermined data and the authentication value with a first encryption key;
Connected to the first circuit via a first communication path that provides unidirectional communication from the first circuit and a second communication path that provides unidirectional communication to the first circuit. A second circuit that receives the encrypted predetermined data and the authentication value from the first circuit via the first communication path, and receives the encrypted encrypted predetermined circuit A second encryption communication circuit that decrypts the data and the authentication value with a second encryption key and obtains the authentication value from the decrypted predetermined data by the calculation, and decrypts the authentication value and the authentication value obtained by the calculation; A second circuit that compares the authentication value and transmits a response to the first circuit via the second communication path according to the comparison result;
A set of gaming machine circuits.
前記第1の回路は、前記第1の暗号鍵を予め有し、前記第2の回路は、前記第2の暗号鍵を予め有し、前記第1の暗号鍵は、前記第2の暗号鍵と同じである、請求項7に記載の一組の遊技機用回路。   The first circuit has the first encryption key in advance, the second circuit has the second encryption key in advance, and the first encryption key is the second encryption key. A set of gaming machine circuits according to claim 7, wherein 前記第1の回路は、前記第1の暗号鍵に関連する所定の情報を前記第2の回路に送信し、前記第2の回路は、前記所定の情報を受信し、当該所定の情報に基づいて前記第2の暗号鍵を生成する、請求項7に記載の一組の遊技機用回路。   The first circuit transmits predetermined information related to the first encryption key to the second circuit, and the second circuit receives the predetermined information and based on the predetermined information The set of gaming machine circuits according to claim 7, wherein the second encryption key is generated. 前記第7の暗号鍵は、公開鍵であり、前記第2の暗号鍵は、前記公開鍵に対応する秘密鍵である、請求項1に記載の一組の遊技機用回路。   The set of gaming machine circuits according to claim 1, wherein the seventh encryption key is a public key, and the second encryption key is a secret key corresponding to the public key. 前記第7の暗号鍵は、秘密鍵であり、前記第2の暗号鍵は、前記秘密鍵に対応する公開鍵である、請求項1に記載の一組の遊技機用回路。   The pair of gaming machine circuits according to claim 1, wherein the seventh encryption key is a secret key, and the second encryption key is a public key corresponding to the secret key. 前記第1の回路がワンチップで構成され、及び/又は、前記第2の回路がワンチップで構成されている、請求項1ないし11のいずれか一つに記載の一組の遊技機用回路。   The set of gaming machines according to any one of claims 1 to 11, wherein the first circuit is configured by one chip and / or the second circuit is configured by one chip. . 請求項1ないし12のいずれか一つに記載の一組の遊技機用回路を用いて構成される一又は二以上の遊技機用基板。   One or two or more gaming machine boards configured using the set of gaming machine circuits according to any one of claims 1 to 12. 請求項1ないし12のいずれか一つに記載の一組の遊技機用回路を有する遊技機又は請求項6に記載の一又は二以上の基板を有する遊技機。   A gaming machine having a set of gaming machine circuits according to any one of claims 1 to 12, or a gaming machine having one or more boards according to claim 6. 暗号化を行う遊技機用回路であって、
認証値を第1の暗号鍵で暗号化する第1の暗号通信回路を、前記暗号化を行う遊技機用回路である第1の回路に備え、
前記第1の暗号通信回路は、前記第1の回路からの片方向通信を提供する第1の通信経路を介して暗号化された前記認証値を第2の回路に送信し、
前記第2の回路において、受信した暗号化された前記認証値を第2の暗号鍵で復号化され、予め記憶されている認証値と復号化された認証値とが比較され、前記第1の回路は、比較結果に応じて、応答を前記第1の回路への片方向通信を提供する第2の通信経路を介して前記第2の回路から受信する、暗号化を行う遊技機用回路。
A circuit for a gaming machine that performs encryption,
A first encryption communication circuit that encrypts an authentication value with a first encryption key is provided in a first circuit that is a circuit for a gaming machine that performs the encryption,
The first cryptographic communication circuit transmits the encrypted authentication value to a second circuit via a first communication path that provides one-way communication from the first circuit;
In the second circuit, the received encrypted authentication value is decrypted with a second encryption key, a pre-stored authentication value is compared with the decrypted authentication value, and the first circuit A circuit for a gaming machine that performs encryption, wherein the circuit receives a response from the second circuit via a second communication path that provides one-way communication to the first circuit in accordance with the comparison result.
暗号化を行う遊技機用回路であって、
共通鍵である第1の暗号鍵を公開鍵である第2の暗号鍵で暗号化し、認証値を第1の暗号鍵で暗号化する第1の暗号通信回路を、前記暗号化を行う遊技機用回路である第1の回路に備え、
前記第1の暗号通信回路は、前記第1の回路からの片方向通信を提供する第1の通信経路を介して暗号化された前記第1の暗号鍵及び前記認証値を第2の回路に送信し、
前記第2の回路において、受信した暗号化された前記第1の暗号鍵が前記公開鍵である第2の暗号鍵に対応する秘密鍵である第3の暗号鍵で復号化され、受信した暗号化された前記認証値が復号化した前記第1の暗号鍵で復号化され、予め記憶されている認証値と復号化された認証値とが比較され、前記第1の回路は、比較結果に応じて、応答を前記第1の回路への片方向通信を提供する第2の通信経路を介して前記第2の回路から受信する、暗号化を行う遊技機用回路。
A circuit for a gaming machine that performs encryption,
A first encryption communication circuit that encrypts a first encryption key that is a common key with a second encryption key that is a public key and encrypts an authentication value with the first encryption key. In preparation for the first circuit,
The first encryption communication circuit sends the first encryption key and the authentication value encrypted via a first communication path providing one-way communication from the first circuit to a second circuit. Send
In the second circuit, the received encrypted first encryption key is decrypted with a third encryption key that is a secret key corresponding to the second encryption key that is the public key, and the received encryption The encrypted authentication value is decrypted with the decrypted first encryption key, the authentication value stored in advance is compared with the decrypted authentication value, and the first circuit In response, a circuit for a gaming machine that performs encryption, receiving a response from the second circuit via a second communication path that provides one-way communication to the first circuit.
暗号化を行う遊技機用回路であって、
所定のデータから計算により認証値を得て、当該認証値及び当該所定のデータを第1の暗号鍵で暗号化する第1の暗号通信回路を、前記暗号化を行う遊技機用回路である第1の回路に備え、
前記第1の暗号通信回路は、前記第1の回路からの片方向通信を提供する第1の通信経路を介して暗号化された前記認証値及び前記所定のデータを第2の回路に送信し、
前記第2の回路において、受信した暗号化された前記認証値及び前記所定のデータが第2の暗号鍵で復号化され、復号化した前記所定のデータから前記計算により得られる認証値と復号化された認証値とが比較され、前記第1の暗号通信回路は、比較結果に応じて、応答を前記第1の回路への片方向通信を提供する第2の通信経路を介して前記第2の回路から受信する、暗号化を行う遊技機用回路。
A circuit for a gaming machine that performs encryption,
A first encryption communication circuit that obtains an authentication value by calculation from predetermined data and encrypts the authentication value and the predetermined data with a first encryption key is a circuit for a gaming machine that performs the encryption. For one circuit,
The first encryption communication circuit transmits the encrypted authentication value and the predetermined data to the second circuit via a first communication path that provides one-way communication from the first circuit. ,
In the second circuit, the received encrypted authentication value and the predetermined data are decrypted with a second encryption key, and the authentication value and decryption obtained from the decrypted predetermined data are calculated. And the first cryptographic communication circuit sends a response via a second communication path that provides a one-way communication to the first circuit according to the comparison result. A circuit for a gaming machine that performs encryption received from the above circuit.
復号化を行う遊技機用回路であって、
第1の回路からの片方向通信を提供する第1の通信経路を介して前記第1の回路から受信される暗号化された認証値を第2の暗号鍵で復号化する第2の暗号通信回路を、前記復号化を行う遊技機用回路である第2の回路に備え、
前記第2の回路は、予め記憶されている認証値と復号化された前記認証値とを比較し、比較結果に応じて、応答を前記第1の回路への片方向通信を提供する第2の通信経路を介して前記第1の回路に送信する、復号化を行う遊技機用回路。
A circuit for a gaming machine that performs decryption,
Second encrypted communication for decrypting an encrypted authentication value received from the first circuit via a first communication path providing one-way communication from the first circuit with a second encryption key A circuit is provided in a second circuit which is a circuit for a gaming machine that performs the decoding,
The second circuit compares a pre-stored authentication value with the decrypted authentication value and provides a one-way communication to the first circuit in response to a comparison result. A game machine circuit for decoding, which is transmitted to the first circuit via the communication path.
復号化を行う遊技機用回路であって、
第1の回路からの片方向通信を提供する第1の通信経路を介して前記第1の回路から受信される公開鍵である第2の暗号鍵で暗号化した共通鍵である第1の暗号鍵及び第1の暗号鍵で暗号化した認証値を受信し、前記第1の暗号鍵を前記公開鍵である第2の暗号鍵に対応する秘密鍵である第3の暗号鍵で復号化し、復号化した前記第1の暗号鍵で前記認証値を復号化する第2の暗号通信回路を、前記復号化を行う遊技機用回路である第2の回路に備え、
前記第2の回路は、予め記憶されている認証値と復号化された前記認証値とを比較し、比較結果に応じて、応答を前記第1の回路への片方向通信を提供する第2の通信経路を介して前記第1の回路に送信する、復号化を行う遊技機用回路。
A circuit for a gaming machine that performs decryption,
A first cipher that is a common key encrypted with a second cipher key that is a public key received from the first circuit via a first communication path that provides one-way communication from the first circuit Receiving an authentication value encrypted with the key and the first encryption key, decrypting the first encryption key with a third encryption key that is a secret key corresponding to the second encryption key being the public key, A second encryption communication circuit for decrypting the authentication value with the decrypted first encryption key is provided in a second circuit that is a circuit for a gaming machine that performs the decryption,
The second circuit compares a pre-stored authentication value with the decrypted authentication value and provides a one-way communication to the first circuit in response to a comparison result. A game machine circuit for decoding, which is transmitted to the first circuit via the communication path.
復号化を行う遊技機用回路であって、
第1の回路からの片方向通信を提供する第1の通信経路を介して前記第1の回路から受信される暗号化された認証値及び所定のデータを第2の暗号鍵で復号化し、所定のデータから認証値を計算する第2の暗号通信回路を、前記復号化を行う遊技機用回路である第2の回路に備え、
前記第2の回路は、計算によって得られた認証値と復号化された前記認証値とを比較し、比較結果に応じて、応答を前記第1の回路への片方向通信を提供する第2の通信経路を介して前記第1の回路に送信する、復号化を行う遊技機用回路。
A circuit for a gaming machine that performs decryption,
An encrypted authentication value and predetermined data received from the first circuit via a first communication path providing one-way communication from the first circuit are decrypted with a second encryption key, A second encryption communication circuit that calculates an authentication value from the data of the second circuit, which is a circuit for a gaming machine that performs the decryption,
The second circuit compares the authentication value obtained by calculation with the decrypted authentication value, and provides a one-way communication to the first circuit in response to the comparison result. A game machine circuit for decoding, which is transmitted to the first circuit via the communication path.
前記第1の回路がワンチップで構成され、及び/又は、前記第2の回路がワンチップで構成されている、請求項15ないし17のいずれか一つに記載の暗号化を行う遊技機用回路、又は、請求項18ないし20のいずれか一つに記載の復号化を行う遊技機用回路。   The gaming machine for performing encryption according to any one of claims 15 to 17, wherein the first circuit is configured by one chip and / or the second circuit is configured by one chip. A circuit or a game machine circuit for decoding according to any one of claims 18 to 20. 請求項15ないし17及び21のいずれか一つに記載の暗号化を行う遊技機用回路、及び/又は、請求項18ないし21のいずれか一つに記載の復号化を行う遊技機用回路を用いて構成される一又は二以上の基板。   A gaming machine circuit that performs encryption according to any one of claims 15 to 17 and 21, and / or a gaming machine circuit that performs decryption according to any one of claims 18 to 21. One or two or more substrates configured to be used.
JP2015090343A 2015-04-27 2015-04-27 Game machine circuit for performing encryption or decryption, pair of game machine circuits, game machine substrate, and game machine Pending JP2016202742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015090343A JP2016202742A (en) 2015-04-27 2015-04-27 Game machine circuit for performing encryption or decryption, pair of game machine circuits, game machine substrate, and game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015090343A JP2016202742A (en) 2015-04-27 2015-04-27 Game machine circuit for performing encryption or decryption, pair of game machine circuits, game machine substrate, and game machine

Publications (1)

Publication Number Publication Date
JP2016202742A true JP2016202742A (en) 2016-12-08

Family

ID=57486204

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015090343A Pending JP2016202742A (en) 2015-04-27 2015-04-27 Game machine circuit for performing encryption or decryption, pair of game machine circuits, game machine substrate, and game machine

Country Status (1)

Country Link
JP (1) JP2016202742A (en)

Similar Documents

Publication Publication Date Title
US8423779B2 (en) Compounding security with a security dongle
CA2816498C (en) Device for and method of handling sensitive data
US8775316B2 (en) Wagering game with encryption and authentication
RU2310907C1 (en) Method for ensuring safety of game devices and a game device for its realization
US7549922B2 (en) Software security for gaming devices
US20080254850A1 (en) Trusted Computing in a Wagering Game Machine
CA2450201C (en) Method and apparatus for securing gaming machine operating data
JP2011072520A (en) Game system
US8241115B2 (en) Multiple key failover validation in a wagering game machine
JP6137808B2 (en) Gaming machine control board, chip, and related method
JP3491065B2 (en) Gaming machine inspection equipment
JP2016202742A (en) Game machine circuit for performing encryption or decryption, pair of game machine circuits, game machine substrate, and game machine
KR101059227B1 (en) Operation information display device and control method of arcade game machine
JP2015107267A (en) Game machine, game machine system, and chip and board thereof
JP2000000369A (en) Game controller
JP2015126805A (en) Game machine, game machine system, and micro computer and substrate therefor
JP2001252452A (en) Arithmetic processing unit for game and game system
WO2020242338A1 (en) Method for verifying the result of a game when gambling online
AU2017204350A1 (en) An electronic gaming machine
AU2012202166A1 (en) An electronic gaming machine