【0001】[0001]
【発明の属する技術分野】本発明は、制御に乱数を用い
るギャンブルマシーン、ゲームマシーン等の遊技機、或
いは科学計算を行う演算装置等に使用して好適な確率的
選択装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a stochastic selection device suitable for use in a gaming machine such as a gambling machine or a game machine using a random number for control or an arithmetic device for performing scientific calculations.
【0002】[0002]
【従来の技術】従来、上記装置においては、演算処理や
プログラム処理の分岐を疑似乱数を用いて確率的に選択
する場合が多い。疑似乱数は数式等を使用してプログラ
ム処理のみで比較的簡単に生成できる人工的な乱数で、
コスト的に安価に実現できる利点があるが、長期的に見
ると得られる乱数値に周期性を有するという欠点があっ
た。そこで、疑似乱数の代わりに周期性を全く有しない
自然現象を利用して生成される自然乱数(例えば、特開
平06−291620号公報参照)を使用するものも提
案されている。疑似乱数に代わりこの自然乱数を使用す
ることにより、例えば、上記遊技機においては、人為的
不正のない当たり発生確率を得ることができると共に、
全くランダムにプログラムを分岐させて行くことにより
偶発的なゲーム展開を実現できる。また、演算装置に用
いれば、質の高い演算やプログラム中の処理の分岐で確
率的選択を行う上で極めて有効な手段となる。2. Description of the Related Art Conventionally, in the above-described apparatus, branches of arithmetic processing and program processing are often selected stochastically using pseudo random numbers. Pseudo-random numbers are artificial random numbers that can be generated relatively easily using only mathematical formulas and program processing.
Although there is an advantage that it can be realized at low cost in terms of cost, there is a disadvantage that the random number value obtained in the long term has periodicity. Therefore, there has been proposed a device using natural random numbers (for example, see Japanese Patent Application Laid-Open No. 06-291620) generated by using natural phenomena having no periodicity instead of pseudo random numbers. By using this natural random number instead of the pseudo random number, for example, in the above-mentioned gaming machine, it is possible to obtain a hit occurrence probability without artificial injustice,
By branching the program at random, accidental game development can be realized. Further, when used in an arithmetic unit, it is an extremely effective means for performing probabilistic selection by high-quality arithmetic and branching of processing in a program.
【0003】[0003]
【発明が解決しようとする課題】ところで、この自然乱
数は、例えば、放射線や熱雑音等のように時間的にラン
ダムに発生する何等かのパルス信号を利用して生成され
るものであるから、パルスの発生を確認するランダムな
時間を要し、よって、短時間に大量の乱数を発生させる
のには自ずと限界があった。特に、放射線を用いた乱数
発生器では、放射線検出部の劣化に加え、環境への悪影
響を考慮すると無作為に放射線量を多くしてパルスの発
生頻度を高くすることはできない。このことは、高速演
算に自然乱数を用いる場合の大きな障害となっていた。The natural random number is generated by using any pulse signal generated at random in time, such as radiation or thermal noise. It took a random time to confirm the generation of a pulse, and thus there was naturally a limit to generating a large number of random numbers in a short time. In particular, in a random number generator using radiation, it is not possible to randomly increase the radiation dose and increase the frequency of pulse generation in consideration of the adverse effect on the environment in addition to the deterioration of the radiation detection unit. This has been a major obstacle in using natural random numbers for high-speed calculations.
【0004】例えば、演算装置等で乱数を用いた演算が
実行される場合、演算過程において乱数の使用頻度が乱
数の発生頻度より少ない場合は良いが、乱数の使用頻度
が発生頻度を上回るような高速処理を行う場合は乱数の
生成が追いつかなくなり、新たな乱数が生成される迄の
間が待ち状態となり、演算処理が滞ることになる。For example, when an operation using a random number is performed by an arithmetic device or the like, it is good that the frequency of use of the random number is lower than the frequency of occurrence of the random number in the operation process, but it is preferable that the frequency of use of the random number exceeds the frequency of occurrence. When high-speed processing is performed, the generation of random numbers cannot keep up, and a wait state is generated until a new random number is generated, and the arithmetic processing is delayed.
【0005】本発明は、上記従来の問題点に鑑みて成さ
れたもので、自然乱数を用いた種々の演算やプログラム
中の分岐で確率的な選択を効率良く行うことができる確
率的選択装置を提供することを目的としている。The present invention has been made in view of the above-mentioned conventional problems, and a stochastic selection device capable of efficiently performing stochastic selection by various operations using natural random numbers and branches in a program. It is intended to provide.
【0006】[0006]
【課題を解決するための手段】すなわち、本発明の確率
的選択装置は、逐次生成される自然乱数を使用して確率
的な選択を行う確率的選択装置(1)において、自然乱
数用データを生成する乱数用データ発生部(2)と、当
該乱数用データ発生部(2)の乱数用データを蓄積する
記憶部(3)と、当該記憶部(3)に蓄積された乱数用
データを基に確率的選択信号を発生する確率的選択回路
部(4)とを有して成ることを特徴とする。A stochastic selection device according to the present invention is a stochastic selection device for performing stochastic selection using sequentially generated natural random numbers. A random number data generation unit (2) to be generated, a storage unit (3) for storing random number data of the random number data generation unit (2), and a random number data stored in the storage unit (3). And a stochastic selection circuit section (4) for generating a stochastic selection signal.
【0007】ここで、前記記憶部(3)の蓄積データは
新たに生成される自然乱数用データにより逐次上書きさ
れていく。Here, the stored data in the storage section (3) is sequentially overwritten by newly generated natural random number data.
【0008】また、本発明の確率的選択装置は、演算機
能およびプログラム機能を備えた装置(C)に設けら
れ、その確率的選択信号により演算処理やプログラム処
理の分岐を確率的に選択するために使用される。Further, the stochastic selection device of the present invention is provided in a device (C) having an operation function and a program function, for stochastically selecting a branch of an operation process or a program process by the stochastic selection signal. Used for
【0009】上記構成を有する本発明の確率的選択装置
によれば、乱数等の必要頻度がランダムパルスの発生頻
度を上回るような高速演算処理を実行した場合でも、既
にメモリに大量に蓄えられている乱数データを逐次使用
することで、滞り無く演算処理を実行することができ
る。According to the probabilistic selection device of the present invention having the above-described configuration, even when a high-speed calculation process in which the required frequency of a random number or the like exceeds the frequency of occurrence of a random pulse is executed, a large amount is already stored in the memory. The arithmetic processing can be executed without delay by sequentially using the existing random number data.
【0010】[0010]
【発明の実施の形態】以下、図1、図2に基づいて本発
明の一実施形態を説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS.
【0011】図1は本発明に係る確率的選択装置のブロ
ック構成図、図2は、本発明の確率的選択装置の使用例
を示す図である。FIG. 1 is a block diagram of a stochastic selection device according to the present invention, and FIG. 2 is a diagram showing an example of use of the stochastic selection device of the present invention.
【0012】図1に示すように、本実施形態に係る確率
的選択装置1は、自然乱数の基になるパルス時間間隔デ
ータ(以下、乱数用データという)を生成する乱数用デ
ータ発生部2と、この乱数用データを蓄積するメモリ3
と、蓄積された乱数用データに基づいて確率的選択信号
を発生する確率的選択回路部4とで構成されている。As shown in FIG. 1, a stochastic selection device 1 according to the present embodiment includes a random number data generator 2 for generating pulse time interval data (hereinafter referred to as random number data) on which natural random numbers are based. , A memory 3 for storing the random number data
And a stochastic selection circuit unit 4 for generating a stochastic selection signal based on the stored random number data.
【0013】更に、前記乱数用データ発生部2は、放射
性物質の放射線やダイオードの熱雑音等の自然現象を利
用してランダムなパルスPを発生させるランダムパルス
発生器10と、該ランダムパルスPの時間間隔を計数す
るカウンター11と、計数用の基準クロックCKを発生
する基準クロック発生器13と、当該カウンター11の
計数値、即ち乱数用データを一時的に保持するラッチ回
路12とで構成されている。Further, the random number data generator 2 includes a random pulse generator 10 for generating a random pulse P using natural phenomena such as radiation of a radioactive substance and thermal noise of a diode; It comprises a counter 11 for counting a time interval, a reference clock generator 13 for generating a reference clock CK for counting, and a latch circuit 12 for temporarily holding the count value of the counter 11, that is, data for random numbers. I have.
【0014】前記メモリ3は、D−RAMのような書き
換え可能な揮発性メモリが使用されている。また、前記
確率的選択回路部4は、複数の比較器14とこれら比較
器出力の内の1つを選択し確率的選択信号を送出するゲ
ート回路群15で構成されている。As the memory 3, a rewritable volatile memory such as a D-RAM is used. The stochastic selection circuit section 4 is composed of a plurality of comparators 14 and a gate circuit group 15 for selecting one of the comparator outputs and transmitting a stochastic selection signal.
【0015】上記構成では、ランダムパルス発生器10
からランダムパルスPが出力されると、基準クロック発
生器13で発生したクロックCKによってカウンタ11
がカウントアップ動作を開始する。このカウントアップ
動作は次のランダムパルスPが発生するまで継続し、次
のパルスPが入力するとカウンタ11のカウント値はク
リアされ、再びカウント値ゼロの状態からカウントアッ
プ動作を開始する。この時、ラッチ回路12には直前の
カウント値、即ち、逐次発生するランダムパルスPのパ
ルス時間間隔データが取り込まれる。このラッチデータ
は逐次メモリ3に送られ、例えば、000番地,001
番地,002番地・・・というようにメモリ3の書き込
みアドレスを逐次更新しながら、古いデータの上に新た
なデータを上書きしていく。従って、メモリ3には常に
新しい乱数用データが蓄積されることになる。In the above configuration, the random pulse generator 10
Outputs a random pulse P from the counter 11 by the clock CK generated by the reference clock generator 13.
Starts the count-up operation. This count-up operation is continued until the next random pulse P is generated. When the next pulse P is input, the count value of the counter 11 is cleared, and the count-up operation is started again from the state where the count value is zero. At this time, the immediately preceding count value, that is, pulse time interval data of the randomly generated random pulse P is taken into the latch circuit 12. The latch data is sequentially sent to the memory 3 and, for example, address 000, 001
The new data is overwritten on the old data while sequentially updating the write address of the memory 3 such as address, 002. Therefore, new random number data is always stored in the memory 3.
【0016】メモリ3から読み出された乱数用データA
は複数の比較器14に送られ、各々比較器14に予め入
力されている比較データBの範囲時間値D0〜Dnと比
較される。Random number data A read from the memory 3
Is sent to the plurality of comparators 14 and is compared with the range time values D0 to Dn of the comparison data B input to the comparators 14 in advance.
【0017】本実施形態では、A>Bの時に各比較器1
4よりHが出力されるようになっており、後段のゲート
回路15によってメモリ3からの一つの読み出しデータ
に対し、確率的選択信号F0〜Fnの内の何れか一つが
Hとなるように選択される。In this embodiment, when A> B, each comparator 1
4 is output from H. The gate circuit 15 at the subsequent stage selects one of the stochastic selection signals F0 to Fn for one read data from the memory 3 so as to become H. Is done.
【0018】尚、各々の確率選択信号F0〜FnがHと
なる確率は、前記範囲時間値D0〜Dnを適当に設定す
ることで自由に調整することができる。The probability that each of the probability selection signals F0 to Fn becomes H can be freely adjusted by appropriately setting the range time values D0 to Dn.
【0019】従って、本実施形態の確率的選択装置1に
おいて、確率的選択信号F0〜Fnにそれぞれ適当な数
字を割り振れば乱数発生器として使用するとができ
る。、また、図2のように、確率的選択装置1をプログ
ラム機能を備えた演算装置Cに搭載することにより、確
率的選択装置1からの確率的選択信号F0〜Fnそのも
のを演算中のプログラム中の処理S1,S2,S3・・
・の分岐選択用の信号として使用することもできる。Therefore, in the stochastic selection device 1 of the present embodiment, if appropriate numbers are assigned to the stochastic selection signals F0 to Fn, they can be used as random number generators. Also, as shown in FIG. 2, the stochastic selection device 1 is mounted on an arithmetic device C having a program function, so that the probabilistic selection signals F0 to Fn from the stochastic selection device 1 themselves are calculated during the program. Processing S1, S2, S3 ...
It can also be used as a signal for branch selection.
【0020】図2において、演算装置C側は演算処理中
にプログラムの分岐が発生した時に確率的判定装置1の
メモり3に対して確率的選択信号の送出を要求する。こ
の要求信号に応じてメモリ3は逐次データの読み出しを
実行し、確率的選択回路部4を経て確率的選択信号F0
〜Fnを発生する。尚、メモリ3の内容はランダムに読
みだしても勿論構わない。演算装置側では、この確率的
選択信号F0〜Fnの各々に処理S1,S2,S3・・
・・を対応させておき、演算装置Cの分岐処理におい
て、確率的選択信号F0〜Fnの内”H”となった処理
を実行すれば良い。In FIG. 2, the arithmetic unit C requests the memory 3 of the stochastic determination unit 1 to transmit a stochastic selection signal when a program branch occurs during arithmetic processing. In response to the request signal, the memory 3 sequentially reads out data, and passes through the stochastic selection circuit 4 to the stochastic selection signal F0.
To Fn. The contents of the memory 3 may be read out at random. On the arithmetic device side, processing S1, S2, S3,...
.. May be made to correspond to each other, and in the branching process of the arithmetic unit C, the process of “H” of the stochastic selection signals F0 to Fn may be executed.
【0021】このように、本発明では、乱数用データ発
生部2より逐次発生する乱数用データをメモリ3に蓄積
しておいて、使用要求に応じて乱数用データを必要な量
だけ読み出しして使用することができる。メモリ3の蓄
積データはランダムパルスPの発生タイミングに関係無
く即座に読みだすことができるから、演算装置Cの演算
処理を滞らせることはない。従って、自然ランダムパル
ス源として放射線を用いた場合でも、極僅かな線量の使
用で良いから、放射線による環境への影響を無くせると
共に、装置のコストの削減が図れる。また、搭載するメ
モリ3の容量は大きければ大きいほど良いが、実行され
る演算の規模や処理速度等に応じて適宜好適な容量を決
定する方がより経済的である。As described above, according to the present invention, random number data sequentially generated by the random number data generation unit 2 is stored in the memory 3 and a required amount of random number data is read out in response to a use request. Can be used. Since the stored data in the memory 3 can be read immediately regardless of the timing of the generation of the random pulse P, the arithmetic processing of the arithmetic unit C is not interrupted. Therefore, even when radiation is used as a natural random pulse source, it is sufficient to use a very small dose, so that the influence of radiation on the environment can be eliminated and the cost of the apparatus can be reduced. The larger the capacity of the memory 3 to be mounted, the better. However, it is more economical to appropriately determine a suitable capacity in accordance with the scale of the operation to be executed, the processing speed, and the like.
【0022】尚、メモリ3の内容は常に新しい乱数用デ
ータに更新されているから、データ間の相関性や周期性
は全くないと言って良い。従って、本発明の確率的選択
装置1を遊技機の乱数発生器として使用した場合でも、
従来のような当たり確率に対する人為的な不正行為が成
される恐れはない。Since the contents of the memory 3 are constantly updated with new random number data, it can be said that there is no correlation or periodicity between the data. Therefore, even when the stochastic selection device 1 of the present invention is used as a random number generator of a gaming machine,
There is no danger of artificial fraud with the hit probability as in the past.
【0023】[0023]
【発明の効果】以上説明したように、本発明の確率的選
択装置によれば、乱数用データ発生部で生成された乱数
用データは逐次メモリに蓄積されているので、乱数等の
必要頻度がランダムパルスの発生頻度を上回るような高
速演算処理を実行した場合でも、既にメモリに蓄積され
ているデータを利用して滞り無く演算を継続することが
できる。また、乱数等の使用が無い時に乱数用データ発
生部で生成された乱数用データをメモリに蓄積して次の
使用要求に備えることができるので極めて効率が良い。As described above, according to the stochastic selection device of the present invention, since the random number data generated by the random number data generation unit is sequentially stored in the memory, the required frequency of the random number and the like is reduced. Even when a high-speed calculation process that exceeds the frequency of occurrence of random pulses is performed, the calculation can be continued without delay using data already stored in the memory. Further, when the random number data is not used, the random number data generated by the random number data generation unit can be stored in the memory to prepare for the next use request, which is extremely efficient.
【0024】従って、自然ランダムパルス源として放射
線を用いた場合でも極僅かな線量の使用で良いから、放
射線による環境への影響を無くせると共に、コストの削
減が図れる。Therefore, even when radiation is used as the natural random pulse source, it is sufficient to use a very small dose, so that the influence of radiation on the environment can be eliminated and the cost can be reduced.
【図1】本発明に係る確率的選択装置を示すブロック構
成図である。FIG. 1 is a block diagram showing a stochastic selection device according to the present invention.
【図2】同、確率的選択装置が使用される一例を示した
説明図である。FIG. 2 is an explanatory diagram showing an example in which a stochastic selection device is used.
1 確率的判定装置 2 乱数用データ発生部 3 記憶部(メモリ) 4 確率的選択回路部 C 演算機能やプログラム機能を備えた装置(演算装
置)REFERENCE SIGNS LIST 1 stochastic determination device 2 random number data generation unit 3 storage unit (memory) 4 stochastic selection circuit unit C device with arithmetic and program functions (arithmetic device)
───────────────────────────────────────────────────── フロントページの続き (72)発明者 アナンダ ビターナゲ 東京都港区新橋5丁目36番11号 いわき電 子株式会社内 (72)発明者 清水 隆邦 東京都港区新橋5丁目36番11号 いわき電 子株式会社内 (72)発明者 鯉渕 美佐子 東京都港区新橋5丁目36番11号 いわき電 子株式会社内 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Ananda Bitternage 5-36-11 Shimbashi, Minato-ku, Tokyo Inside Iwaki Denshi Co., Ltd. (72) Inventor Takakuni Shimizu 5-36-11 Shimbashi, Minato-ku, Tokyo (72) Inventor Misako Kobuchi 5-36-11 Shimbashi, Minato-ku, Tokyo Inside Iwaki Electronics Co., Ltd.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000212155AJP2002024000A (en) | 2000-07-13 | 2000-07-13 | Stochastic selection device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000212155AJP2002024000A (en) | 2000-07-13 | 2000-07-13 | Stochastic selection device |
| Publication Number | Publication Date |
|---|---|
| JP2002024000Atrue JP2002024000A (en) | 2002-01-25 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2000212155APendingJP2002024000A (en) | 2000-07-13 | 2000-07-13 | Stochastic selection device |
| Country | Link |
|---|---|
| JP (1) | JP2002024000A (en) |
| Publication | Publication Date | Title |
|---|---|---|
| EP1430391B1 (en) | Hash-based pseudo-random number generator | |
| US7376687B2 (en) | Pseudo-random number generator | |
| JP2889171B2 (en) | Pachinko game device control method and device | |
| US9063807B2 (en) | Method and structure for provably fair random number generator | |
| US8166086B2 (en) | Method and circuit for generating random numbers, and computer program product therefor | |
| CN109615370A (en) | Object select method and device, electronic equipment | |
| US5706029A (en) | Apparatus and method for retrieving data from a joystick | |
| US20140136584A1 (en) | Method and Apparatus for Generating Random Numbers | |
| WO2021138716A1 (en) | Systems and computer-implemented methods for generating pseudo random numbers | |
| US20080016135A1 (en) | Method and apparatus for generating an initial value for a pseudo-random number generator | |
| US7233965B2 (en) | Continuous random number generation method and apparatus | |
| US20090150467A1 (en) | Method of generating pseudo-random numbers | |
| JPH11290535A (en) | Pseudo-random number generating device for game machine | |
| JP2002024000A (en) | Stochastic selection device | |
| Cox | Twocats (and skinnycat): A compute time and sequential memory hard password hashing scheme | |
| JP2000241169A5 (en) | ||
| JPH08129480A (en) | Random number generation IC and pachinko game machine | |
| CN114257233B (en) | System and method for driving logic circuits with uncertain clock edge variations | |
| Mackenzie | Memcoin2: a hybrid proof of work/proof of stake cryptocurrency | |
| JP2002008132A (en) | Probabilistic determination device and random number generation device | |
| CN104050034A (en) | Apparatus and method for non-blocking execution of static scheduled processor | |
| JPH11262570A (en) | Random number generating device for game machine | |
| JPH04140828A (en) | Random number generating device | |
| JP2003524916A (en) | Encoding method for performing cryptographic processing | |
| EP1986122A1 (en) | Secure processing unit |
| Date | Code | Title | Description |
|---|---|---|---|
| A02 | Decision of refusal | Free format text:JAPANESE INTERMEDIATE CODE: A02 Effective date:20040212 |